worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<bqv> Check hydra
h0m1 has quit [Quit: WeeChat 2.9]
h0m1 has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJFLU
<{^_^}> [nixpkgs] @cdepillabout merged pull request #95606 → haskellPackages.ihaskell-*: unbreak → https://git.io/JJd5Y
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJFLT
la-jesystani has quit [Ping timeout: 246 seconds]
alp has quit [Ping timeout: 272 seconds]
kleisli has joined #nixos
xdefrag has joined #nixos
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @zowoq opened pull request #95633 → sqlite: 3.32.3 -> 3.33.0 → https://git.io/JJFLB
Spiney has joined #nixos
<ashkitten> hmm i'm actually curious if there's a way to build grub menu options for an alt system configuration
<ashkitten> like you build 2 system configs at once with one as your fallback
kraeXen has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJFLP
xdefrag has quit [Quit: WeeChat 2.7.1]
<bqv> > options.nested
<{^_^}> value is a function while a set was expected, at (string):320:1
<bqv> ashkitten: grep nixpkgs for nested
e has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer pushed 11 commits to python-unstable: https://git.io/JJFLA
ddellacosta has joined #nixos
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #95571 → python37Packages.azure-mgmt-netapp: 0.10.0 -> 0.12.0 → https://git.io/JJdaT
<{^_^}> [nixpkgs] @jonringer pushed 0 commits to master: https://git.io/JJFtU
<{^_^}> [nixpkgs] @zowoq opened pull request #95634 → cargo-release: fix darwin build → https://git.io/JJFtI
mariatsji has joined #nixos
<samueldr> ashkitten: yes there is
kalbasit has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #95635 → bgnet: 3.0.21 -> 3.1.2 → https://git.io/JJFtn
<samueldr> ashkitten: up to and including 20.03 https://nixos.org/nixos/options.html#nesting.
leotaku has quit [Ping timeout: 240 seconds]
proofofkeags has quit [Ping timeout: 260 seconds]
<samueldr> ashkitten: 20.09pre and up https://github.com/NixOS/nixpkgs/pull/81848
<{^_^}> #81848 (by grahamc, 23 weeks ago, merged): specialisation: replace nesting with named configurations
leotaku has joined #nixos
<bqv> I was close
griff_ has quit [Quit: griff_]
<ashkitten> ooh
mariatsji has quit [Ping timeout: 256 seconds]
<infinisil> > option "nested"
<infinisil> {^_^}: Don't stress it, you can do it!
<samueldr> infinisil: since that option just doesn't exist it won't help :)
<{^_^}> [ ]
<infinisil> Damnit
<samueldr> > option "nesting"
<samueldr> (except on unstable)
veleiro has quit [Ping timeout: 246 seconds]
<infinisil> > :v option
<{^_^}> option = (import <nixbotlib/options.nix>).option
<{^_^}> [ ]
* infinisil can't remember what it does
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95637 → python27Packages.eventlet: 0.25.2 -> 0.26.1 → https://git.io/JJFtz
griff_ has joined #nixos
<Church-> Well, lesson learned. Don't bridge my dang external interface on a host it seems. :|
<Church-> Now I gotta drag a monitor and keyboard out
justanotheruser has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @marsam closed pull request #88684 → python37Packages.loguru: 0.4.1 -> 0.5.0 → https://git.io/Jfany
<{^_^}> [nixpkgs] @marsam closed pull request #76795 → pythonPackages.tablib: 0.12.1 -> 0.14.0 enable tests remove patches → https://git.io/JexYC
stigo has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam closed pull request #87320 → python27Packages.ijson: 2.6.1 -> 3.0.3 → https://git.io/JfCsw
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to python-unstable: https://git.io/JJFth
stigo has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #95614 → golangci-lint: 1.28.3 -> 1.30.0 → https://git.io/JJdxc
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJFqJ
veleiro has joined #nixos
edk_ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #95548 → postgresqlPackages.plv8: 2.3.14 -> 2.3.15 → https://git.io/JJdns
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJFqL
justanotheruser has joined #nixos
veleiro has quit [Ping timeout: 264 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
proofofkeags has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
veleiro has joined #nixos
h0m1 has quit [Ping timeout: 244 seconds]
proofofkeags has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #nixos
h0m1 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
stephaneyfx has joined #nixos
<ZerataX> trying to package an application that uses this to decide where the 32 or 64bit libraries are and I'm not sure how to go about this
kalbasit_ has joined #nixos
kalbasit_ has quit [Ping timeout: 240 seconds]
lisovinvlad has left #nixos [#nixos]
<Miyu-saki> pbb: Hi, are you around?
aleph- has quit [Disconnected by services]
Church- is now known as aleph-
Church- has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cb1996818ed (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<Miyu-saki> pbb: If you're still using mixnix, then https://gist.github.com/adrianparvino/6e88097b30e2d938719e367fced769e6
waleee-cl has quit [Quit: Connection closed for inactivity]
kraeXen has quit [Ping timeout: 246 seconds]
<dsal> nix-copy-closure is pretty nice. Kind of wish I had a way to put it in a sort of container.
<dsal> I want nix-copy-closure into a file, but only the things that aren't in hydra
<simpson> dockerTools can put a closure/package into a Docker-compatible container: https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed 6 commits to python-unstable: https://git.io/JJFY0
knerten1 has joined #nixos
<srxl> Is there an equivalent of`--keep-failed` for `nix build`?
<{^_^}> [nixpkgs] @zowoq opened pull request #95639 → buildGo{Module,Package} packages: remove enableParallelBuilding = true → https://git.io/JJFYP
<{^_^}> [nixpkgs] @marsam merged pull request #90281 → fast-downward: 2019-05-13 -> 19.12, build on darwin, fix runtime issues → https://git.io/JfQaI
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JJFYX
knerten2 has quit [Ping timeout: 256 seconds]
alexherbo20 has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo20 is now known as alexherbo2
kraeXen has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #95626 → python: tvnamer: 2.5.1 -> 3.0 → https://git.io/JJFTf
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JJFYb
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<srxl> nevermind, looks like throwing that straight on is fine
aw has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
spacefrogg has joined #nixos
<bqv> > lib.types
<{^_^}> { addCheck = <CODE>; attrs = { _type = "option-type"; check = <PRIMOP>; description = <CODE>; emptyValue = <CODE>; functor = <CODE>; getSubModules = null; getSubOptions = <CODE>; merge = <CODE>; name ...
<bqv> > lib.types.str
<{^_^}> [nixpkgs] @valencik opened pull request #95640 → idris2: 0.2.0 -> 0.2.1 → https://git.io/JJF3v
<{^_^}> { _type = "option-type"; check = <CODE>; description = <CODE>; emptyValue = <CODE>; functor = <CODE>; getSubModules = null; getSubOptions = <CODE>; merge = <LAMBDA>; name = "str"; substSubModules = <C...
<dsal> I installed some packages using nix-copy-closure -- is there a way to reference them in my configuration.nix?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #95511 → doc: Add anchors to stdenv variables → https://git.io/JJ5pH
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJF3w
user_0x58 has quit [Ping timeout: 260 seconds]
slack1256 has joined #nixos
reanimus has joined #nixos
<dsal> I just made a var. Not completely sure this is rooted. Woo.
stephank has quit [Quit: stephank]
stephank has joined #nixos
lunaa has joined #nixos
kraeXen has quit [Remote host closed the connection]
justache has quit [Quit: The Lounge - https://thelounge.chat]
mariatsji has joined #nixos
justache has joined #nixos
user_0x58 has joined #nixos
<energizer> situation: when i plug ssd over usb i can POST and get into Stage 1, but it doesn't find the main partition. When i plug same ssd over sata, i can't even get into Stage 1
<energizer> any ideas?
<energizer> just blinking underscore
<energizer> when i mount the drive on another computer i can look around and everything seems fine
<clever> energizer: did you use unetbootin or dd?
<energizer> it's my main nixos system, i was running it yesterday
alexherbo2 has quit [Ping timeout: 256 seconds]
mariatsji has quit [Ping timeout: 264 seconds]
<clever> ah, try using the grub menu to rollback?
<energizer> not a new install
justache has quit [Quit: The Lounge - https://thelounge.chat]
<energizer> on usb i can try that; on sata i can't even get to grub
justache has joined #nixos
kraeXen has joined #nixos
kalbasit_ has joined #nixos
<daddy_james[m]> how would I fix this?
<daddy_james[m]> I have the frei0r package installed
<daddy_james[m]> looks like this include is run at install time
<daddy_james[m]> would I have to clear my nix store or something and rebuild it to fix it?
<daddy_james[m]> I originally installed kden without frei0r
<colemickens> do any of the irc bots do presence notification? so I can ask to be pinged when someone messages next?
<clever> energizer: launch an interactive shell (i) and try to poke around, can you see the rootfs?
mariatsji has joined #nixos
<daddy_james[m]> <daddy_james[m] "would I have to clear my nix sto"> this did not fix it btw
<energizer> clever: the only way i know how to look around is blkid, and afaict lsblk doesn't even list the boot partition that is currently showing this screen
Mateon1 has quit [Remote host closed the connection]
<clever> energizer: check lsusb, does the usb device show up?
<energizer> clever: idk how to interpret that, it's just bus # device # id #
kalbasit_ has quit [Ping timeout: 240 seconds]
<clever> energizer: the device id will be vendor-id and product-id pairs
mariatsji has quit [Ping timeout: 256 seconds]
<clever> energizer: then run lsusb on another machine, with the same stick, do you see the same vid:pid pair?
<clever> energizer: did dmesg in stage-1 show the usb stick connecting?
Mateon1 has joined #nixos
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #95613 → kubernetes: 1.18.6 -> 1.18.8 → https://git.io/JJdx3
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJFsb
o1lo01ol1o has joined #nixos
mariatsji has quit [Ping timeout: 240 seconds]
kalbasit_ has joined #nixos
<energizer> clever: there's a ton of stuff there so i might be missing it but i dont see an obvious "samsung ssd sata over usb"-lookin thing. the usb is a usb-sata adapter to a samsung sata ssd
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<clever> energizer: if you unplug and replug the usb drive, does dmesg gain more lines?
<{^_^}> [nixpkgs] @kalbasit opened pull request #95641 → Opensource/nixpkgs/init/gitpert → https://git.io/JJFGR
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95642 → python27Packages.exifread: 2.1.2 -> 2.3.1 → https://git.io/JJFG0
pjt_tmp has joined #nixos
<energizer> clever: if i unplug and replug the usb adapter it notices. replugging the drive from the usb adapter it doesn't notice
<energizer> er, yeah it does
<clever> energizer: ls -l /dev/disk/by-uuid/ ?
pjt_tmp has quit [Ping timeout: 256 seconds]
<energizer> clever: ls /dev/disk no such file or directory
<clever> energizer: does blkid find things now?
<energizer> clever: no
<clever> energizer: are you using a usb keyboard?
pfr has quit [Ping timeout: 256 seconds]
<energizer> clever: yes, over a hub
<{^_^}> [nixpkgs] @wchresta opened pull request #95643 → idris2: Enable --install, bugfixes → https://git.io/JJFGr
<energizer> *docking station
pjt_tmp has joined #nixos
<clever> energizer: and if you plug the usb hdd into the same hub?
dramforever has quit [Ping timeout: 240 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
kalbasit has quit [Remote host closed the connection]
<energizer> clever: insert boot media
cole-h has joined #nixos
kalbasit_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jonringer pushed 10 commits to python-unstable: https://git.io/JJFGA
<energizer> ]
kalbasit has joined #nixos
<clever> energizer: not sure what else to check then
kalbasit has quit [Ping timeout: 246 seconds]
proofofkeags has joined #nixos
<energizer> clever: i stuck the drive in another box and it booted
dramforever has joined #nixos
dramforever has joined #nixos
dramforever has quit [Changing host]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95644 → python37Packages.crashtest: 0.3.0 -> 0.3.1 → https://git.io/JJFZ4
<clever> energizer: if it wasnt setup to boot over usb, that could be the problem
<energizer> clever: but in the original box it failed over sata
<clever> weird
proofofkeags has quit [Ping timeout: 240 seconds]
la-jesystani has joined #nixos
asdf11234 has joined #nixos
asdf11234 has quit [Remote host closed the connection]
dramforever has quit [Ping timeout: 256 seconds]
<Akshay[m]> hiya o/
<Akshay[m]> I'm having some trouble with using `light` for backlight on my intel graphics laptop, I have enabled it with `programs.light.enable` and added my user to the `video` group, running light at the command line gives me the following:
<Akshay[m]> running with `sudo`, however, works fine
<clever> Akshay[m]: if you run `id`, does it say your in the light group?
<Akshay[m]> clever: nope it dosen't
<clever> Akshay[m]: you need to relog for changes to your groups to take effect
<Akshay[m]> clever: ah i see, thanks, ill give that a go
<Akshay[m]> clever: weird, the output of `id` is ```uid=1000(np) gid=100(users) groups=100(users),1(wheel),3(tty),17(audio),26(video),174(input)``` after a full reboot too
<clever> Akshay[m]: how did you add yourself to the light group?
proofofkeags has joined #nixos
<Akshay[m]> clever: i added myself to the `video` group, should I add myself to a `light` group as well? can't seem to find a group like that under `/etc/group`
<clever> Akshay[m]: oh, misread the msg
<clever> Akshay[m]: what output does the light command give? thats missing
<clever> matrix didnt pass it on to irc
<Akshay[m]> <Akshay[m] "light.png"> does this image contain relevant info?
<Akshay[m]> clever: ah i see, gimme a mo, ill make a paste
<clever> ah, that image
<clever> 2020-08-17 01:23:31 * Akshay[m] uploaded an image: light.png (72KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/NJOYtdQctlZUwlSmLWnUzDkc/light.png >
<clever> it shows up like this on this end
<Akshay[m]> huh, it seems to have fixed itself now, i guess rebooting was the solution
<clever> Akshay[m]: what does `ls -l /sys/class/backlight/intel_backlight/brightness` say?
<clever> it was probably the video group that was absent from `id`
<Akshay[m]> right, that was probably it
<Akshay[m]> thanks a bunch clever
<clever> yep
pfr has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
cybrian has quit [Quit: cya]
cybrian has joined #nixos
ninjin_ has quit [Remote host closed the connection]
ninjin_ has joined #nixos
pfr has quit [Ping timeout: 240 seconds]
<siraben> #95491 is merged but when I update my nixpkgs-unstable channel the package in question doesn't build
<{^_^}> https://github.com/NixOS/nixpkgs/pull/95491 (by marsam, 1 day ago, merged): zathura: fix build on darwin
<siraben> Does updating my nixpkgs-unstable channel not make it go to HEAD in nixpkgs?
ddellacosta has quit [Ping timeout: 256 seconds]
<bqv> no, it goes to nixpkgs-unstable :p
pfr has joined #nixos
<bqv> master is usually ~2 days ahead
<{^_^}> [nixpkgs] @jonringer opened pull request #95645 → azure-cli: lessen number of overrides → https://git.io/JJFnW
<siraben> ah ok
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95646 → python27Packages.asn1crypto: 1.3.0 -> 1.4.0 → https://git.io/JJFnu
Rusty1 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #95621 → linux_zen: 5.7.10 -> 5.8.1 → https://git.io/JJFv9
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JJFnz
cybrian has quit [Quit: cya]
ishan has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #95644 → python37Packages.crashtest: 0.3.0 -> 0.3.1 → https://git.io/JJFZ4
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.crashtest: 0.3.0 -> 0.3.1 »: https://git.io/JJFnP
<ishan> I have been using Nixos(unstable channel) for a while I have noticed whenever I update the system it has to download around 2GB of data. Is there a way I can improve this?
cybrian has joined #nixos
kraeXen has quit [Quit: [ - ]]
<ishan> I mean reduce the data it downloads while updating the system.
cosimone has joined #nixos
endformationage has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @vbgl merged pull request #95045 → coqPackages.interval: 3.4.2 → 4.0.0 → https://git.io/JJMin
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.interval: 3.4.2 → 4.0.0 »: https://git.io/JJFnx
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<{^_^}> [nixpkgs] @jonringer opened pull request #95647 → python3Packages.azure-storage-blob: 2.1.0 -> 12.4.0 → https://git.io/JJFcJ
<{^_^}> [nixpkgs] @jonringer closed pull request #95607 → arrow-cpp: 0.17.1 -> 1.0.0 → https://git.io/JJdFC
<srhb> ishan: Probably not, thought without knowing what data is being transferred, it's hard to say.
<srhb> ishan: At a guess, 2GB sounds like a plausible amount for new hashes in a normal system.
<{^_^}> [nixpkgs] @kwshi opened pull request #95648 → ocamlPackages.containers: 2.7 -> 3.0 → https://git.io/JJFcG
<srhb> ishan: Unlike in other distros, changes in a dependency propagates to every package that depends on it, changing their hashes at the very least.
pfr has quit [Ping timeout: 240 seconds]
palo1 has joined #nixos
<pikajude> is there a functional replacement for pip2nix and pypi2nix?
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
griff_ has quit [Quit: griff_]
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
pfr has joined #nixos
mariatsji has joined #nixos
<ishan> @srhb: That's a bummer because I can only use 2GB of data per day after which the speed is reduced.
<srhb> ishan: Then you may wish to upgrade less frequently, or use stable.
<srhb> ishan: Though even with stable releases, NixOS does require a lot more data transfer than normal distros.
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<ishan> srhb: yeah I might have to move away from it at some point but I might continue to use home-manager.
veleiro has quit [Ping timeout: 256 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<srhb> ishan: home-manager has the same basic premise though -- it's an intentional feature of nix itself.
marusich has quit [Ping timeout: 244 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}> [nixpkgs] @jonringer pushed 6 commits to python-unstable: https://git.io/JJFcw
mariatsji has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #95649 → ocamlPackages.containers: 2.7 → 3.0 → https://git.io/JJFcr
<Ke> I believe mostly no, you could maybe remove unneeded deps or similat
<Ke> stable is probably less noisy and only 6 months old at best
lunaa has quit [Quit: Leaving]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @danieldk merged pull request #95630 → rust-bindgen: 0.53.2 -> 0.54.1 → https://git.io/JJFkF
<{^_^}> [nixpkgs] @danieldk closed pull request #89015 → rust-bindgen: 0.53.2 -> 0.54.0 → https://git.io/Jfrl1
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJFcM
la-jesystani has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95650 → python37Packages.etesync: 0.11.1 -> 0.12.1 → https://git.io/JJFcQ
pfr has quit [Ping timeout: 246 seconds]
mrte has quit [Ping timeout: 265 seconds]
pfr has joined #nixos
ishan has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
proofofkeags has joined #nixos
dramforever has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
slack1256 has quit [Ping timeout: 260 seconds]
dramforever has quit [Client Quit]
dps910 has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
<dps910> Hello :^)
<dps910> How could I add this to my nixos config https://github.com/NixOS/nixpkgs/pull/82032, I am new to nixos not sure how I would do it.
<{^_^}> #82032 (by Ralith, 23 weeks ago, merged): linuxPackages.rtl88x2bu: init at 2020-03-05
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ceed263e4c6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
sangoma has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #95651 → broot: 0.19.4 -> 0.20.0 → https://git.io/JJFCG
<{^_^}> [nixpkgs] @danieldk merged pull request #95620 → kopia: 0.6.0 -> 0.6.2 → https://git.io/JJFv0
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJFC0
<dsal> How do I read a blob into a variable?
<dsal> I don't want to embed an entire config into my configuration.nix
proofofkeags has joined #nixos
lorimer has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @danieldk merged pull request #95616 → qgroundcontrol: 4.0.9 -> 4.0.10 → https://git.io/JJdpi
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJFC6
dansho has joined #nixos
spudly- has joined #nixos
<manveru> dsal: what kind of blob?
evhan` is now known as evhan
<dsal> Just a config file.
<manveru> you can use `builtins.readFile`
proofofkeags has quit [Ping timeout: 256 seconds]
<manveru> or `lib.fileContents` (which strips the trailing newline)
spudly has quit [Ping timeout: 246 seconds]
dps910 has quit [Read error: Connection reset by peer]
spudly- is now known as spudly
<dsal> Thanks. I think that's what I'm looking for.
<siraben> What's the difference between nix-collect-garbage and nix-collect-garbage -d?
<dsal> -d
<dsal> -d goes hard
cfricke has joined #nixos
<Ke> after reboot and a bit of testing I'd normally do --delete-old, it basically disallows you to do revert of the upgrade
<{^_^}> [nixpkgs] @jonringer closed pull request #95560 → python3Packages.rsa: 4.1.1 -> 4.6 → https://git.io/JJdR4
<{^_^}> [nixpkgs] @jonringer merged pull request #95650 → python37Packages.etesync: 0.11.1 -> 0.12.1 → https://git.io/JJFcQ
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.etesync: 0.11.1 -> 0.12.1 »: https://git.io/JJFW6
<{^_^}> [nixpkgs] @jonringer merged pull request #95642 → python27Packages.exifread: 2.1.2 -> 2.3.1 → https://git.io/JJFG0
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.exifread: 2.1.2 -> 2.3.1 »: https://git.io/JJFWi
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95652 → python27Packages.blis: 0.4.1 -> 0.7.1 → https://git.io/JJFWX
<srhb> siraben: Without -d (--delete-old) only unreachable store paths are deleted. --delete-old deletes all generations of all profiles that are not active currently, meaning the garbage collection root on all their store paths are removed as well, freeing them for deletion.
<srhb> siraben: In practice, --delete-old, --delete-older-than 7d etc. makes it impossible to rollback / rollback to generations older than 7d.
pjt_tmp has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95653 → python27Packages.colander: 1.7.0 -> 1.8.2 → https://git.io/JJFlI
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #95654 → [20.03] palemoon: 28.10.0 -> 28.12.0 → https://git.io/JJFlL
alp has joined #nixos
nate48423 has joined #nixos
<nate48423> denaro and the american government is getting my human brain and i go through things like no sleep, not comprehending, changing taste of food. please tell your world leaders i dont want amaerica to get my human brain and its serious terrorism going on in the country with denaro chips inside of people
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
mallox has joined #nixos
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
turion has joined #nixos
<{^_^}> [nixpkgs] @priegger opened pull request #95655 → factorio: update all versions to 1.0.0 → https://git.io/JJFlg
mariatsji has joined #nixos
marek has quit [Ping timeout: 246 seconds]
Uma has quit [Ping timeout: 258 seconds]
anders^ has quit [Ping timeout: 260 seconds]
griff_ has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #95657 → buildGo{Module,Package}: remove enableParallelBuilding → https://git.io/JJF8t
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
<siraben> srhb: I see. Thank you!
cole-h has quit [Quit: Goodbye]
`_ has joined #nixos
user_0x58 has quit [Ping timeout: 244 seconds]
m0rphism has joined #nixos
Ariakenom has joined #nixos
<`_> I'm having an odd issue in which I'm attempting to import all-ish nix files from a directory, via pkgs.lib.attrsets.mapAttrs', builtins.readDir, and import. Unfortunately some of these files have other relative imports such as ../../some-file.nix, which seems to cause it to fail. So with `importFromDir x` I'm seeing that it is using `/nix/store/somehash-x` as a directory from which to base relative
<`_> paths off of, which is incorrect, given that x is not the root directory of my nix project.
<{^_^}> [nixpkgs] @jonringer merged pull request #95632 → python3Packages.svglib: init at 1.0.0 → https://git.io/JJFIz
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJF8R
<clever> `_: dont quote paths and variables using paths
<`_> clever: What do you mean?
<clever> `_: path + "/${foo}" will remain as a path, and ../ can work, "${path}/${foo}" will copy path to /nix/store/hash-path and then ../ is /nix/store and it all breaks
<`_> Aha!
<`_> clever: I'll try that, thank you
* clever heads off to bed
<`_> Do it, I dare you
<{^_^}> [nixpkgs] @zowoq merged pull request #95639 → buildGo{Module,Package} packages: remove enableParallelBuilding = true → https://git.io/JJFYP
<{^_^}> [nixpkgs] @zowoq pushed 7 commits to master: https://git.io/JJF82
stephaneyfx has quit [Quit: Leaving]
<`_> clever: That did it. Thank you so much.
est31 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « awscli: 1.18.109 -> 1.18.120 »: https://git.io/JJF8Q
est31 has joined #nixos
<lassulus>
pfr has quit [Ping timeout: 240 seconds]
niso has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.7.1]
Ariakenom has joined #nixos
mariatsji has quit [Remote host closed the connection]
FRidh has joined #nixos
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
bahamas has joined #nixos
rembo10 has quit [Quit: ZNC 1.8.1 - https://znc.in]
lsix has joined #nixos
rembo10 has joined #nixos
graf_blutwurst has joined #nixos
o1lo01ol1o has joined #nixos
mariatsji has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 272 seconds]
sangoma has quit [Read error: Connection reset by peer]
<_habnabit> how do you do the equivalent of systemd unit dropins? using nixos's definitions for the docker and dnsmasq services, but i'd like to add a dropin so dnsmasq is after docker
alp has quit [Remote host closed the connection]
alp has joined #nixos
<srhb> _habnabit: As in an after directive?
<_habnabit> srhb, right
<srhb> _habnabit: systemd.services.dnsmasq.after = [ "docker.service" ];
<srhb> _habnabit: https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E.after
<_habnabit> srhb, yeah, but that doesn't clobber what it previously defined as its own after?
<srhb> _habnabit: We don't need dropins usually, because the NixOS module system takes care of merging the options sanely for us.
smatting_ has joined #nixos
<srhb> _habnabit: Nope. lists of strings merge by concatenating together.
<_habnabit> srhb, huh ok. well that works
<srhb> _habnabit: You can always check the rendered unit to see whether it does the right thing.
alexherbo2 has joined #nixos
<_habnabit> srhb, i still get worried sometimes that it's the "right" output for the wrong reasons
lsix has quit [Ping timeout: 260 seconds]
<srhb> _habnabit: If I understand you correctly, I'd guess that's just a question of getting comfortable with the module merging rules. :)
lsix has joined #nixos
<_habnabit> srhb, oh sure! but i mean way wider in general, like learning about merging rules in the first place
sangoma has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Rizary opened pull request #95659 → nixpkgs-fmt: 0.9.0 -> 1.0.0 → https://git.io/JJFBA
<{^_^}> [nixpkgs] @danieldk opened pull request #95660 → python3Packages.finalfusion: init at 0.7.1 → https://git.io/JJFBp
Poshe has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #95661 → labplot, cantor, liborigin, analitza: inits → https://git.io/JJFRT
Poshe has quit [Remote host closed the connection]
mariatsji has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @danieldk merged pull request #95628 → cargo-fund: init at 0.2.0 → https://git.io/JJFTC
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJFRB
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsj_ has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #95594 → SoftHSM: 2.5.0 -> 2.6.1 → https://git.io/JJdMK
<{^_^}> [nixpkgs] @alyssais pushed commit from @leenaars to master « softhsm: 2.5.0 -> 2.6.1 (#95594) »: https://git.io/JJFR5
gthm has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @saschagrunert opened pull request #95662 → oci-seccomp-bpf-hook: new at 1.2.0 → https://git.io/JJF0m
bahamas has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 240 seconds]
edk_ is now known as e
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
thc202 has joined #nixos
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/JJFEU
<{^_^}> [nix] @edolstra merged pull request #3922 → Test `RemoteStore::buildDerivation` → https://git.io/JJS74
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJFEt
<{^_^}> [nix] @edolstra merged pull request #3918 → Allow trustless building of CA derivations --- contains #3922 → https://git.io/JJyuI
<{^_^}> [nixpkgs] @worldofpeace pushed to master « gnome3.gnome-logs: fix 'unable to read system logs' »: https://git.io/JJFEG
<{^_^}> [nix] @edolstra merged pull request #3932 → Don't try to parse signature check as commit timestamp → https://git.io/JJ7s7
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJFEc
<{^_^}> [nixpkgs] @worldofpeace merged pull request #95654 → [20.03] palemoon: 28.10.0 -> 28.12.0 → https://git.io/JJFlL
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JJFER
xavierm02 has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93407 → palemoon: 28.10.0 -> 28.12.0 → https://git.io/JJnnm
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJFE0
pjhenning[m] has quit [Quit: Idle for 30+ days]
Houtworm[m] has quit [Quit: Idle for 30+ days]
l33[m] has quit [Quit: Idle for 30+ days]
cjbassi[m] has quit [Quit: Idle for 30+ days]
scatteredray[m] has quit [Quit: Idle for 30+ days]
piotrszegda[m] has quit [Quit: Idle for 30+ days]
tbenst[m] has quit [Quit: Idle for 30+ days]
blahaj[m] has quit [Quit: Idle for 30+ days]
nrdxp[m]1 has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
Lars[m]4 has quit [Quit: Idle for 30+ days]
comrandroxaos[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
sigmundv_ has joined #nixos
euandreh has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95666 → python27Packages.emoji: 0.5.4 -> 0.6.0 → https://git.io/JJFEQ
jared-w has quit [Read error: Connection reset by peer]
wpcarro has quit [Read error: Connection reset by peer]
lally has quit [Read error: Connection reset by peer]
bradparker has quit [Read error: Connection reset by peer]
sorear has quit [Ping timeout: 244 seconds]
teozkr_ has quit [Read error: Connection reset by peer]
etrepum has quit [Read error: Connection reset by peer]
philipcristiano has quit [Ping timeout: 272 seconds]
mitsuhiko has quit [Read error: Connection reset by peer]
s1341 has quit [Read error: Connection reset by peer]
aristid has quit [Read error: Connection reset by peer]
joshmeredith has quit [Read error: Connection reset by peer]
ryjm has quit [Read error: Connection reset by peer]
SrPx has quit [Read error: Connection reset by peer]
vdemeester has quit [Read error: Connection reset by peer]
r0bby has quit [Read error: Connection reset by peer]
nz_ has quit [Read error: Connection reset by peer]
davetapley has quit [Write error: Connection reset by peer]
cvlad- has quit [Read error: Connection reset by peer]
ctp has quit [Read error: Connection reset by peer]
alanz_ has quit [Ping timeout: 260 seconds]
eoli3n has joined #nixos
philipcristiano has joined #nixos
ctp has joined #nixos
sorear has joined #nixos
ryjm has joined #nixos
lally has joined #nixos
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @JohnTitor opened pull request #95667 → cargo-crev: 0.16.1 -> 0.17.0 → https://git.io/JJFu4
cvlad- has joined #nixos
<hpfr> looks like emacs 27 needs --with-cairo to avoid imagemagick and to render color emoji, do I need to add this to configureFlags? surprised it's not exposed as an option when stuff like `nativeComp` is
davetapley has joined #nixos
vdemeester has joined #nixos
nz_ has joined #nixos
SrPx has joined #nixos
aristid has joined #nixos
joshmeredith has joined #nixos
r0bby has joined #nixos
alanz_ has joined #nixos
etrepum has joined #nixos
jared-w has joined #nixos
wpcarro has joined #nixos
mitsuhiko has joined #nixos
bradparker has joined #nixos
<hpfr> just tried that and still not getting color emoji :/
s1341 has joined #nixos
teozkr_ has joined #nixos
knupfer has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Dr8128 has joined #nixos
<adisbladis> hpfr: That's my bad :/
<adisbladis> I could swear I added --with-cairo, but it seems I didn't push it
cosimone has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @adisbladis opened pull request #95668 → emacs: Add --with-cairo when X is enabled → https://git.io/JJFgL
<{^_^}> [nixpkgs] @adisbladis merged pull request #95668 → emacs: Add --with-cairo when X is enabled → https://git.io/JJFgL
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JJFgC
knupfer has quit [Ping timeout: 244 seconds]
<Dr8128> Is Ethereum Classic avaliable? "nix search ethereum classic" gives "* nixos.altcoins.go-ethereum-classic (go-ethereum-classic)" but listing altcoins.go-ethereum-classic and go-ethereum-classic do not work.
<Dr8128> I mean they do not work in my systemPackages in my config files
<Dr8128> file*
la-jesystani has joined #nixos
fendor has joined #nixos
<adisbladis> Dr8128: It was removed a bit over a year ago since it had no acive maintainer and didn't build any more
sangoma has quit [Ping timeout: 240 seconds]
fendor__ has joined #nixos
fendor_ has quit [Ping timeout: 260 seconds]
<Dr8128> adisbladis: Thanks. Guess I'll just make a custom package, then.
sputny has joined #nixos
<adisbladis> Feel free to add it to nixpkgs if you are willing to maintain it :)
<hpfr> I recompiled with --with-cairo but still don't get color emoji for what it's worth
turlando has joined #nixos
fendor has quit [Client Quit]
fendor__ is now known as fendor
<adisbladis> hpfr: I think it also depends on your font?
<hpfr> yeah I've tried with `(set-fontset-font t 'symbol "emoji" nil)` but get nothing, I have emojis working fine with fontconfig so idk
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95669 → python27Packages.intervaltree: 3.0.2 -> 3.1.0 → https://git.io/JJF2e
la-jesystani has quit [Ping timeout: 256 seconds]
snackoverflow[m] has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/49f6cbaaa9e (from 79 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
malook has joined #nixos
sangoma has joined #nixos
orivej has joined #nixos
malook has quit [Client Quit]
malik has joined #nixos
<Dr8128> adisbladis: I might. I'd like to support Ethereum Classic, too. I like the currency.
turlando has quit [Remote host closed the connection]
turlando has joined #nixos
lord| has quit [Ping timeout: 260 seconds]
lord| has joined #nixos
marek_ has joined #nixos
Uma has joined #nixos
anders^ has joined #nixos
bbarker has quit [Read error: Connection reset by peer]
eoli3n_ has joined #nixos
isHavvy has quit [Quit: Computer Restarted or Restarting IRC]
nature has joined #nixos
Havvy has joined #nixos
kraem has quit [Read error: Connection reset by peer]
bennofs has joined #nixos
kraem has joined #nixos
mariatsj_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #95670 → tflint: 0.18.0 -> 0.19.0 → https://git.io/JJFVn
orivej has quit [Ping timeout: 240 seconds]
turlando has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/cb1996818ed (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
sigmundv_ has quit [Read error: Connection reset by peer]
Havvy has quit [Remote host closed the connection]
sigmundv_ has joined #nixos
Havvy has joined #nixos
<{^_^}> [nixpkgs] @dasj19 opened pull request #95671 → aisleriot: 3.22.9 -> 3.22.11 → https://git.io/JJFrK
<{^_^}> [nixpkgs] @maxxk opened pull request #95672 → python3Packages.pylint-django: 2.1.0 -> 2.3.0, run tests → https://git.io/JJFri
malik has quit [Remote host closed the connection]
alp has quit [Ping timeout: 264 seconds]
mariatsji has joined #nixos
rajivr has joined #nixos
smatting_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95673 → python37Packages.prawcore: 1.4.0 -> 1.5.0 → https://git.io/JJFrd
mariatsji has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f184fe352bc (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/078b9f8aa68 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95674 → python37Packages.openwrt-luci-rpc: 1.1.2 -> 1.1.3 → https://git.io/JJFok
<{^_^}> [flake-registry] @edolstra merged pull request #2 → add nur to registry → https://git.io/JJLTZ
<{^_^}> [flake-registry] @edolstra pushed 2 commits to master: https://git.io/JJFom
<{^_^}> [flake-registry] @edolstra merged pull request #3 → add nixos-hardware → https://git.io/JJLOo
<{^_^}> [flake-registry] @edolstra pushed 2 commits to master: https://git.io/JJFoO
alp has joined #nixos
turlando has joined #nixos
<{^_^}> [nixpkgs] @erikarvstedt opened pull request #95675 → xdg-utils: add missing dependencies → https://git.io/JJFoC
pfr has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #95676 → dovecot: 2.3.10.1 -> 2.3.11.3 → https://git.io/JJFol
<{^_^}> [nixpkgs] @NickHu opened pull request #95677 → fonts.fontconfig-penultimate: remove dependency on fontconfig_210 → https://git.io/JJFo4
<{^_^}> [nixpkgs] @thongpv87 closed pull request #94882 → add ibus-bamboo engine for ibus input method → https://git.io/JJXtu
zupo has joined #nixos
gxt has joined #nixos
dingenskirchen has joined #nixos
guest34 has joined #nixos
fnlaai has joined #nixos
<fnlaai> hi there
<fnlaai> anyone develop reason?
mariatsji has joined #nixos
<fnlaai> why all binaries doesn't exist or could not be executed ? anyone know? the ldd is fine
<{^_^}> [nixpkgs] @ajs124 opened pull request #95678 → sogo: 4.3.2 -> 5.0.0 → https://git.io/JJFoi
<fnlaai> is it because linux vdso on nixos?
<Mic92> fnlaai: it's because nixos don't hard code ld-linux-x86-64.so.2 to /lib/ld-linux-x86-64.so.2 but usese a path in /nix/store You can use autoPatchelfHook or buildFhsUserenv to fix this
nixbitcoin has quit [Remote host closed the connection]
turlando has quit [Ping timeout: 256 seconds]
nixbitcoin_ has joined #nixos
<Mic92> linux-vdso.so.1 is always provided by the kernel on NixOS and other linux-based distributions.
<Mic92> It does not appear in ldd because the kernel maps it at runtime.
<{^_^}> [nixpkgs] @romildo merged pull request #95334 → luna-icons: init at 2020-08-09 → https://git.io/JJH1t
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JJFo7
<{^_^}> [nixpkgs] @mweinelt opened pull request #95679 → homeassistant: 0.114.0 -> 0.114.2 → https://git.io/JJFoF
<Mic92> fnlaai: https://nixos.wiki/wiki/FAQ#I.27ve_downloaded_a_binary.2C_but_I_can.27t_run_it.2C_what_can_I_do.3F
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJFoA
misuzu has quit [Remote host closed the connection]
misuzu has joined #nixos
ilyaigpetrov has joined #nixos
eoli3n_ has quit [Ping timeout: 256 seconds]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #95680 → john: ship internal perl modules → https://git.io/JJFKI
<Nafai> If I wanted to install ledger from nixpkgs (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/office/ledger/default.nix), but wanted to have it use Python3.8, how would I do that? This is on nixpkgs, not Nix OS. It's been a while since I've written a lot of Nix derivations, so I forget how to override these things.
<fnlaai> Mic92 thx mic
<Nafai> Oh, I think I figured it out.
<fnlaai> linux-vdso.so.1 (0x00007ffc115e7000) libm.so.6 => /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/libm.so.6 (0x00007f732a4c2000) libdl.so.2 => /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/libdl.so.2 (0x00007f732a4bd000) libc.so.6 => /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/libc.so.6
<fnlaai> (0x00007f732a2fe000) /lib64/ld-linux-x86-64.so.2 => /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib64/ld-linux-x86-64.so.2 (0x00007f732bfd1000)but Mic92 i guess the binary was right?
<{^_^}> [nixpkgs] @flokli opened pull request #95681 → nixos/fonts: remove fontconfig-penultimate → https://git.io/JJFKE
<Mic92> fnlaai: no there is /lib64/ld-linux-x86-64.so.2
<Mic92> you can correct that with the patchelf binary
<Mic92> It should be /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib64/ld-linux-x86-64.so.2
<Mic92> instead
<yorick> fnlaai: yes
<yorick> weird stuff.
<fnlaai> Mic92 it is linked to that
<fnlaai> @yori
<fnlaai> yorick yuck
<{^_^}> [nixpkgs] @NickHu closed pull request #95677 → fonts.fontconfig-penultimate: remove dependency on fontconfig_210 → https://git.io/JJFo4
<yorick> fnlaai: are you using bs-platform?
<fnlaai> yorick nope?
<fnlaai> i download it from github
guest34 has quit [Remote host closed the connection]
<fnlaai> and then tried
<fnlaai> tried to run it
<fnlaai> bs-platform is though to run anyway must have do this and those
<{^_^}> [nixpkgs] @erikarvstedt opened pull request #95682 → nixos-option: use the system's nix package → https://git.io/JJFK6
<fnlaai> yorick i guess it'll work without bs-platform
<fnlaai> ?
<yorick> fnlaai: bs-platform has is all the reason binaries with the path set correctly
<hpfr> what happens if you list your host machine as a remote builder? you can ssh to your own IP, would it do that or would nix know it's not remote
<yorick> fnlaai: I do mkdir node_modules && ln -s /nix/store/...-bs-platform-7.3.2 ./node_modules/bs-platform, then I do npm install to get the rest
<fnlaai> @yori
<yorick> hpfr: I *think* it knows it's not remote when it's exactly 'localhost'
<yorick> (with bs-platform from nixpkgs)
<hpfr> yorick: hmm the use case I'm considering is having a shared list of remote builders with names from ssh config that map to a static IP on my local network
<fnlaai> yorick are you able to use to use refmt?
philr has quit [Ping timeout: 240 seconds]
<yorick> fnlaai: hmm, no, that's in 'reason' in nixpkgs
<yorick> fnlaai: but you can just install that
<yorick> you're doing native reason?
<fnlaai> yeah i was trying it right now
<fnlaai> I plan to write reason web(react) and native also, cause anyway it was syntax sugar for ocaml right?
<yorick> yeah
<fnlaai> the esy thingy also hard to do, must do nix-shell thingy this and those before u able to execute
bahamas has joined #nixos
<{^_^}> esy/esy#858 (by dejanr, 1 year ago, closed): Not installed globally on NixOS
mariatsji has quit [Read error: No route to host]
mariatsji has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
smatting_ has joined #nixos
<fnlaai> @yorick bs-platform is easy to install locally it's just need deps, pass it with nix-shell -p gcc this and those deps, and yuck, it must be installed locally, idk globally haha
<yorick> fnlaai: you can nix-shell -p bs-platform
<{^_^}> [nixpkgs] @mweinelt opened pull request #95683 → ansible: 2.9.12 -> 2.10.0; ansible_2_7: drop → https://git.io/JJF6g
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f184fe352bc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<fnlaai> yeah i know but it was 7.0.1 not rescript yet haha.
<{^_^}> [nixpkgs] @mweinelt merged pull request #95508 → nixos/nextcloud: update nginx config → https://git.io/JJ5xz
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JJF6K
a-h has joined #nixos
<fnlaai> yorick making overlay in nixos not so easy as making in gentoo I guess, change my midn.
kleisli has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @alyssais opened pull request #95684 → squashfs-tools-ng: 1.0.0 -> 1.0.1 → https://git.io/JJF6M
guest123 has joined #nixos
nixuser has joined #nixos
work_ has joined #nixos
<{^_^}> [patchelf] @lheckemann opened pull request #229 → patchelf: Check ELF endianness before writing new runpath → https://git.io/JJF6N
<guest123> Hello here. I am having some trouble with building Nixos in a Raspberry Pi B+. It cannot build the `bootstrap-tools` because the hash doesn't match when downloading them from `https://www.cs.helsinki.fi/u/tmtynkky/nixos-arm/bootstrap-2017-04-13-1f32d4b4/armv6l/bootstrap-tools.tar.xz`. At this point I am a bit stuck I cannot manually change the hash
<guest123> in the `/root/.nix-defexpr` I do not have Git installed so I cannot clone the nixpkgs and build from there. I dunno how to proceed. Any help would be much appreciated.
<sphalerite> guest123: the hash shouldn't really need changing, that's weird.
<sphalerite> guest123: that said, you should be able to copy the nixpkgs already on there from /root/.nix-defexpr and modify then use that.
<sphalerite> guest123: much like a git clone but without any git :)
<fnlaai> yorick npm i -g bs-platform with .npm-global set is ok
<guest123> sphalerite I didn't know I could simply copy-paste and edit. I will give it a try. Thanks!
dingenskirchen has joined #nixos
turlando has joined #nixos
dingenskirchen has quit [Client Quit]
orivej has joined #nixos
kleisli has joined #nixos
<iwq> is there a way to generate a structure(pkgs = { key1 = { subkey1 = true; } } etc) of pkgs using Nix without evaluating the whole nixpkgs?
<iwq> i've tried f = v: (builtins.mapAttrs (name: value: if (builtins.tryEval value).success && ! pkgs.lib.isDerivation value && builtins.isAttrs value then f value else name) v);
<iwq> (the else name should actually be else true there)
<infinisil> iwq: lib.filterAttrs
<iwq> but although it seems to work for top-most level, when i try to traverse the structure it evaluates something and fails at AAAAsomething
<{^_^}> [nixpkgs] @ju1m opened pull request #95686 → transmission: fix BindReadOnlyPaths= → https://git.io/JJFid
<iwq> infinisil: (pkgs.lib.filterAttrs (name: pkgs.lib.isDerivation)) pkgs also tries to evaluate the (on-purpose) failing package
knupfer has joined #nixos
<infinisil> iwq: Well if you only need key1 then it's `filterAttrs (name: value: name == "key1")`
<a-h> Has anyone encountered an error like "The option `nixpkgs.localSystem' defined in `<unknown-file>' does not exist."? If the file isn't known, where can I look to solve the problem? :)
<a-h> Has anyone encountered an error like "The option 'nixpkgs.localSystem' defined in '<unknown-file>' does not exist."? If the file isn't known, where can I look to solve the problem? :)
<{^_^}> LnL7/nix-darwin#216 (by roberth, 1 day ago, open): documentation: Don't set localSystem which doesn't exist
<iwq> infinisil: i need to generate the whole (import <nixpkgs> {}) tree structure, not only a specific key
alp has quit [Read error: Connection reset by peer]
alp_ has joined #nixos
<infinisil> iwq: No idea what you mean by your example then
<a-h> @{^_^} - Thanks!
mariatsji has quit [Ping timeout: 260 seconds]
<infinisil> a-h: (that's a bot fyi :))
<a-h> Ah, that does make sense. :)
<a-h> Because the issue doesn't really help.
<infinisil> Well, I linked to it, the bot just showed its info lol
<iwq> infinisil: for all sets in (import <nixpkgs> {}) i want to a: if the value is not a set, change it to `true` b: if the value is a set, goto the start of my message
meck has quit [Quit: ZNC 1.8.1 - https://znc.in]
<infinisil> a-h: So what's your context then, if it's not nix-darwin?
meck has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #92838 → network manager plugins (iodine/vpnc) without gnome → https://git.io/JJmQq
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/JJFPg
<a-h> It is, it's just that I'm not referencing localSystem in the darwin-configuration.nix file.
<a-h> I get that the documentation might be wrong, and lead people to using it, but I'm not.
<a-h> I had a happy system until this morning.
<a-h> I wanted to upgrade to the latest version of Go, but something went _very_ wrong and I ended up with incorrect permissions on the nix store directory.
meck has quit [Client Quit]
<a-h> I probably did something stupid, so I wiped out /nix and tried reinstalling everything from scratch.
<a-h> That's the point of nix, right...
<infinisil> a-h: You don't have to reference localSystem to get that error, it's referenced mistakenly internally in nix-darwin, and the PR fixes it
meck has joined #nixos
<a-h> Thanks, that makes sense. So it seems I have a broken system until I can install the PR'd version or find another workaround.
<infinisil> I guess you can disable the docs to work around it
waleee-cl has joined #nixos
<a-h> Any pointers on how to do that? I'm not sure how I'd go about disabling the documentation. I didn't realise it wasn't a change to a README or something until you said!
<infinisil> documentation.enable = false
<{^_^}> [nixpkgs] @FRidh opened pull request #95687 → pythonPackages.toPythonModule: also support `overridePythonAttrs`. → https://git.io/JJFPj
fnlaai has quit [Remote host closed the connection]
<a-h> Thanks infinisil - that really did the job. I'm back in business.
<infinisil> iwq: I see, you were close with the tryEval thing, the problem is that isDerivation itself can fail to evaluate, so you need to tryEval that
<a-h> Really appreciate it!
<infinisil> a-h: Np :)
sangoma has quit [Read error: Connection reset by peer]
<a-h> I can get back on to my fun work - writing a Gemini server in Go - http://github.com/a-h/gemini - I need to upgrade Go so I can use some new features that improve extensibility of client TLS certificate management.
<iwq> infinisil: thanks! that gets me further, I still have a little problem, when I try to builtins.toJSON the result, nix-repl segfaults, so i'm guessing there is infinite recursion going on somewhere
<infinisil> Try to use nix-instantiate --eval instead, nix repl has some weird semantics sometimes
<iwq> infinisil: nix-instantiate also segfaults, "error: stack overflow (possible infinite recursion)"
<{^_^}> [nixpkgs] @marius851000 opened pull request #95688 → [20.03] tor-browser: disable hardening by default (#93154) → https://git.io/JJFXa
<infinisil> Ah yeah that is indeed inf rec then
<iwq> s/also segfaults/errors/
<infinisil> iwq: There's things like pkgs.pkgs.pkgs.pkgs....
<infinisil> > pkgs.pkgs.pkgs.pkgs.pkgs.hello
<{^_^}> "<derivation /nix/store/4pmrswlhqyclwpv12l1h7mr9qkfhpd1c-hello-2.10.drv>"
<iwq> do you know how i could filter that out?
<infinisil> There's more too, pkgsCross, pkgsi686Linux, etc.
<infinisil> That you could do with filterAttrs
<iwq> I could count depth, and if I hit depth 6 i stop trying to filter that attribute set
<infinisil> iwq: What are you using the result for?
<iwq> the end goal is to use it for autocompletion
<infinisil> I'd probably just use builtins.attrNames for that then, and not recurse unless you have to
<{^_^}> [nixpkgs] @mweinelt merged pull request #95674 → python37Packages.openwrt-luci-rpc: 1.1.2 -> 1.1.3 → https://git.io/JJFok
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JJFX9
mariatsji has joined #nixos
bahamas has quit [Ping timeout: 246 seconds]
a-h has quit [Remote host closed the connection]
smatting_ has quit [Ping timeout: 260 seconds]
griff_ has quit [Quit: griff_]
mariatsji has quit [Ping timeout: 260 seconds]
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « pythonPackages.scipy_1_3: only for python 3 »: https://git.io/JJF1X
mariatsji has joined #nixos
smatting_ has joined #nixos
alp_ has quit [Ping timeout: 256 seconds]
sangoma has joined #nixos
georgyo_ is now known as georgyo
<{^_^}> [patchelf] @edolstra closed pull request #151 → Fix #150 - Check ELF endianness before writing new runpath → https://git.io/f4Hwj
<{^_^}> [patchelf] @edolstra merged pull request #229 → patchelf: Check ELF endianness before writing new runpath → https://git.io/JJF6N
<{^_^}> [patchelf] @edolstra pushed 2 commits to master: https://git.io/JJFMg
<{^_^}> [nixpkgs] @FRidh merged pull request #95609 → Python packages set updates → https://git.io/JJdbY
<{^_^}> [nixpkgs] @FRidh pushed 387 commits to staging: https://git.io/JJFMa
<{^_^}> [nixpkgs] @FRidh pushed 380 commits to staging-next: https://git.io/JJFMK
mariatsji has quit [Ping timeout: 256 seconds]
markus1199 has quit [Ping timeout: 264 seconds]
markus1189 has joined #nixos
bahamas has joined #nixos
lorimer has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #95689 → sopel: 7.0.5 -> 7.0.6 → https://git.io/JJFDO
<{^_^}> [nixpkgs] @mweinelt merged pull request #95676 → dovecot: 2.3.10.1 -> 2.3.11.3 → https://git.io/JJFol
<{^_^}> [nixpkgs] @mweinelt pushed 4 commits to release-20.03: https://git.io/JJFD6
<{^_^}> [nixpkgs] @mweinelt merged pull request #95673 → python37Packages.prawcore: 1.4.0 -> 1.5.0 → https://git.io/JJFrd
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JJFDQ
dansho has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ryantm closed pull request #95637 → python27Packages.eventlet: 0.25.2 -> 0.26.1 → https://git.io/JJFtz
<{^_^}> [nixpkgs] @ryantm merged pull request #95150 → navidrome: 0.27.0 -> 0.29.0 → https://git.io/JJyJw
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJFyG
alp_ has joined #nixos
<graf_blutwurst> a bit of an embarassing question but does anyone have an idea how to add ihp using niv?
orivej has quit [Ping timeout: 246 seconds]
<infinisil> graf_blutwurst: Not sure why that would be embarassing, but if you have used niv before, it shouldn't be any different than any other repo
`_ has quit [Quit: WeeChat 2.6]
<graf_blutwurst> infinisil: I would have thought so (niv add digitallyinduced/ihp) but then i get this "opening file '/nix/store/rqicvsk1l14sjjwimsrs7wq8kk59qv1c-ihp-src/default.nix': No such file or directory"
<infinisil> graf_blutwurst: You can only do `import sources.foo` if that source has a default.nix file in the root, otherwise you need `import (sources.foo + "/some-other-file.nix")`
<graf_blutwurst> ahhh i see. I'll tinker around with this! but that makes sense thanks!
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
metreo has joined #nixos
knupfer1 is now known as knupfer
a-h has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
__Sander__ has quit [Ping timeout: 265 seconds]
proofofkeags has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/edadf130fc8 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mariatsji has joined #nixos
gustavderdrache has joined #nixos
Rusty1 has joined #nixos
mariatsji has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95690 → python27Packages.parse: 1.15.0 -> 1.16.0 → https://git.io/JJFHs
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AndersonTorres has joined #nixos
jperras is now known as jperras-vet-visi
jperras-vet-visi is now known as jperras
<AndersonTorres> Hello, people! Quick question: why "fonts.fontconfig.enable = true;" is failing in my system?
<AndersonTorres> It refuses to evaluate, saying fontconfig 2.10.x is too old and with security bugs
sangoma has quit [Ping timeout: 246 seconds]
<AndersonTorres> But without it I can't use some web browsers, namely Brave and Chromium.
a-h has quit [Remote host closed the connection]
kraem has quit [Read error: Connection reset by peer]
<srhb> AndersonTorres: Think we need some more information. Is that the only fontconfig you have? Which version of NixOS?
<srhb> AndersonTorres: That version was recently removed and isnt actually used anywhere by default iirc
<graf_blutwurst> hmmm adding the bespoke nix file doesn't add the binaries correctly :|
<AndersonTorres> Well, as far as I know I am only calling "nixos-rebuild switch" as root. and it throws the error
<AndersonTorres> srhb, nixos-version returns "20.09pre238896.16fc531784a (Nightingale)"
<srhb> AndersonTorres: Well, fonts.fontconfig.enable = true is not sufficient to trigger that error on that commit of nixpkgs (if that's also what you're building)
<AndersonTorres> I am using unstable channel.
<srhb> AndersonTorres: Yeah. You must have some other relevant config/overlays/whatnot that causes the issue.
<srhb> AndersonTorres: Look for references to fontconfig_210. You should have none.
drewr has quit [Quit: brb]
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #95558 → postman: 7.26.0 -> 7.30.1 → https://git.io/JJdBf
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJFQg
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95691 → python27Packages.relatorio: 0.9.1 -> 0.9.2 → https://git.io/JJFQa
<AndersonTorres> Oh, now I know. The reference is a bit crossed. penultimate.enable is true. I flipped to false and it is now OK!
<AndersonTorres> Thanks, srhb !
__Sander__ has joined #nixos
<{^_^}> #95681 (by flokli, 2 hours ago, open): nixos/fonts: remove fontconfig-penultimate
<srhb> AndersonTorres: Great :)
drewr has joined #nixos
is_null has joined #nixos
orivej has joined #nixos
turion has quit [Ping timeout: 272 seconds]
sangoma has joined #nixos
ManiacOfMadness has joined #nixos
nixuser has quit [Read error: Connection reset by peer]
alp_ is now known as alp
<Ke> trace-cmd -T seems to be broken on nixos
<Ke> sudo trace-cmd stream -T -e block:block_bio_queue
veleiro has joined #nixos
ManiacOfMadness has quit [Read error: No route to host]
<Ke> nixos20.03 with default kernel and trace-cmd from normal nixpkgs
zupo has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
ManiacOfMadness has joined #nixos
ManiacOfMadness has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « Re-Revert "linux: Init 5.8" »: https://git.io/JJF5J
ManiacOfMadness has joined #nixos
turlando has quit [Ping timeout: 256 seconds]
mariatsji has quit [Remote host closed the connection]
proofofkeags has quit [Ping timeout: 240 seconds]
mariatsji has joined #nixos
jumper149 has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.7.1]
jb55 has quit [Quit: jb55]
ixxie has joined #nixos
jb55 has joined #nixos
mariatsji has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cbaaba7a202 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<Ke> thoughtpolice: does trace-cmd -T work for you?
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<jumper149> What are the different ways to manage the user environment (packages) declaratively on NixOS? Only home-manager and the nixos-option environment.systemPackages?
<infinisil> ,declarative jumper149
<{^_^}> jumper149: There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env; 2) buildEnv, providing more control over the paths that are linked into the profile; 3) home-manager, providing nixos-like config for your ~. https://git.io/fp0aU contains a comparison of the three methods and a sample expression for option 2.
cfricke has quit [Quit: WeeChat 2.9]
ManiacOfMadness has quit [Ping timeout: 256 seconds]
knupfer has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
slack1256 has joined #nixos
fendor_ has joined #nixos
fendor_ has quit [Client Quit]
ManiacOfMadness has joined #nixos
o1lo01ol_ has joined #nixos
ManiacOfMadness has quit [Read error: No route to host]
guest123 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
slack1256 has quit [Ping timeout: 264 seconds]
kraem has joined #nixos
Habbie has quit [Ping timeout: 260 seconds]
Spiney has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ehmry opened pull request #95692 → nim: patch to fix dynamic library loading → https://git.io/JJFdO
Spiney has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
justache is now known as itamz
<pbogdan> just upgraded to latest nixos-unstable and it seems fonts installed with home-manager are no longer recognised / picked up at all
itamz is now known as justache
<pbogdan> is that intentional or some sort of regression?
<{^_^}> [nixpkgs] @LnL7 merged pull request #95364 → neovim: fix build on Darwin → https://git.io/JJ7Um
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/JJFd0
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cbaaba7a202 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
metreo has quit [Quit: Leaving.]
kleisli has quit [Ping timeout: 260 seconds]
marsh has quit [Remote host closed the connection]
marsh has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #95474 → gnome3.mutter: 3.36.4 -> 3.36.5 → https://git.io/JJ52f
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « gnome3.mutter: 3.36.4 -> 3.36.5 »: https://git.io/JJFdQ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95693 → python27Packages.Keras: 2.3.1 -> 2.4.3 → https://git.io/JJFdA
gthm has quit [Ping timeout: 240 seconds]
<Mic92> https://packages.debian.org/bullseye/nix-bin landed in debian bullseye
<Mic92> The only issue is that it will be quite an old nix at some point
<Mic92> But maybe new enough to bootstrap a newer nix version
<{^_^}> [nixpkgs] @dasj19 opened pull request #95694 → gnome-shell: 3.36.4 -> 3.36.5 → https://git.io/JJFFI
mariatsji has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.7.1]
<lb5tr> pbogdan: what kind of font and in which software?
<lb5tr> I have a problem where terminus is not recognized in xfce4-terminal and awesome-wm
<ottidmes> Mic92: The github workflow you shared with me to potentially automate testing of nix-prefetch, is that free to use?
mariatsji has quit [Read error: No route to host]
<Mic92> ottidmes: I am not sure, which one you mean.
mariatsji has joined #nixos
<ottidmes> Mic92: Good to know too, but I meant whether you can freely use those github workflows, I mean, it looks like VMs, and I thought that cannot be just free
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95695 → python37Packages.mautrix: 0.5.8 -> 0.6.1 → https://git.io/JJFFw
<Mic92> ottidmes: its free for opensource project and they have some free minutes for private repos as well.
malik has joined #nixos
<ottidmes> Mic92: Cool :) Guess I will be using them too then
<Mic92> ottidmes: you could also use https://github.com/Mic92/nixos-shell to quickly test nixStable/nixUnstable on your own machine, but CI is always a good idea for testing contributions.
<{^_^}> [nixpkgs] @jonringer merged pull request #95647 → python3Packages.azure-storage-blob: 2.1.0 -> 12.4.0 → https://git.io/JJFcJ
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.azure-storage-blob: 2.1.0 -> 12.4.0 »: https://git.io/JJFFX
<ottidmes> Mic92: Thanks, I will have a look, makes me think of WSL
<Mic92> it is, but declaritive.
<Izorkin> Mic92: fully checked the PR nginx?
<Mic92> Izorkin: you mean the update, no. I only read it.
<Mic92> I am currently at work.
<Izorkin> ok
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95696 → python27Packages.python-redis-lock: 3.5.0 -> 3.6.0 → https://git.io/JJFbq
work_ has quit [Quit: Connection closed for inactivity]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 382 commits to staging: https://git.io/JJFbz
ddellacosta has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @magnetophon to master « gwc: init at 0.22-4 (#88975) »: https://git.io/JJFNJ
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #88975 → gwc: init at 0.22-4 → https://git.io/Jfwd4
<{^_^}> [nixpkgs] @primeos pushed to master « inxi: 3.1.05-4 -> 3.1.06-1 »: https://git.io/JJFNk
<{^_^}> [nixpkgs] @oxalica opened pull request #95697 → osu-lazer: 2020.806.0 -> 2020.814.0 → https://git.io/JJFNI
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #91341 → bschaffl: init at 0.3 → https://git.io/Jfxzz
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @magnetophon to master « bschaffl: init at 0.3 (#91341) »: https://git.io/JJFNt
<{^_^}> [nixpkgs] @oxalica opened pull request #95698 → rust-analyzer: 2020-08-10 -> 2020-08-17 → https://git.io/JJFN3
__Sander__ has quit [Read error: Connection reset by peer]
__Sander__ has joined #nixos
meh` has joined #nixos
mariatsji has quit [Read error: No route to host]
mariatsji has joined #nixos
mariatsj_ has joined #nixos
mariatsji has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #90187 → bslizr: 1.2.6 -> 1.2.8 → https://git.io/JfH8C
mariatsj_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @orivej-nixos pushed 2 commits to master: https://git.io/JJFAv
proofofkeags has joined #nixos
stephaneyfx has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #82442 → geonkick: init at 2.3.3 → https://git.io/Jv6KB
<{^_^}> [nixpkgs] @orivej-nixos pushed 3 commits to master: https://git.io/JJFAm
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
proofofkeags has quit [Ping timeout: 246 seconds]
vikingman has quit [Ping timeout: 260 seconds]
rogue_koder has quit [Ping timeout: 260 seconds]
rogue_koder has joined #nixos
AndersonTorres has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #84240 → bchoppr: init at 1.6.4 → https://git.io/JvbgZ
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @magnetophon to master « bchoppr: init at 1.6.4 (#84240) »: https://git.io/JJFA0
jumper149 has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @jonringer merged pull request #95652 → python27Packages.blis: 0.4.1 -> 0.7.1 → https://git.io/JJFWX
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JJFAg
sangoma has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @jtojnar merged pull request #95437 → screenkey: 0.9 -> 1.2 → https://git.io/JJ5qS
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JJFAX
bahamas has joined #nixos
proofofkeags has joined #nixos
sangoma has joined #nixos
sputny1 has joined #nixos
proofofkeags has quit [Ping timeout: 260 seconds]
sputny has quit [Ping timeout: 260 seconds]
sputny1 is now known as sputny
dbmikus has joined #nixos
rogue_koder_ has joined #nixos
rogue_koder has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #95672 → python3Packages.pylint-django: 2.1.0 -> 2.3.0, run tests → https://git.io/JJFri
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJFxU
CodeSpelunker has joined #nixos
smatting_ has quit [Ping timeout: 260 seconds]
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « gimp: reorder the expression »: https://git.io/JJFx2
smatting_ has joined #nixos
shabius_ has joined #nixos
shabius_ has quit [Remote host closed the connection]
shabius_ has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.8]
shabius has quit [Ping timeout: 272 seconds]
ddellacosta has joined #nixos
Nafai has quit [Quit: WeeChat 2.7.1]
vika_nezrimaya has joined #nixos
<vika_nezrimaya> Ah, the joys of reproducible builds and software isolation
<vika_nezrimaya> Was playing a Windows-only game via Wine, suddenly discovered that the new Wine has a regression that makes my game slow to a crawl
<vika_nezrimaya> `nix path-info /nix/store/*-wine-*-staging/bin/wine --json | jq -r 'sort_by(.registrationTime) | map({ "path": .path, "time": .registrationTime })[-2].path'`
<vika_nezrimaya> and boom, I have the path to Wine I used last time I played the game, before updating
<vika_nezrimaya> On topic of Nix store paths, is there a way, knowing the hash for a package, to get a Nixpkgs revision that can produce that exact package from its expressions?
<clever> vika_nezrimaya: ah, that sounds like a handy command, ive previously just used: ls -l /nix/var/nix/profiles/system*/sw/bin/wine
<clever> vika_nezrimaya: that just lists every version of wine used for every past generation
<vika_nezrimaya> I use `nix shell nixpkgs#wineStaging` to get the newest Wine every time
<vika_nezrimaya> so I don't really have Wine in my profiles
<clever> vika_nezrimaya: not directly, but if you use what i just gave, you can find the nixos that contained that wine
<clever> and the nixos derivation puts a nixpkgs rev into its name
<vika_nezrimaya> I don't install Wine in profiles
<clever> ah, but if its not in a profile, you have problems
<clever> youll need to bisect nixpkgs and use nix-diff
<srhb> vika_nezrimaya: In general no, there's no way back. It reduce to sifting through hashes and seeing if either you or someone else (hydra) had it, so you can figure out the expression from there
<vika_nezrimaya> Hm, I bisected Nixpkgs before to reproduce bugs
<clever> first, `nix-store -q --deriver /nix/store/foo` to find the .drv for the given path
<vika_nezrimaya> --deriver?
<clever> then `nix-instantiate -A wineStaging` in a nixpkgs clone, to get a drv for the current checkout
<vika_nezrimaya> never heard of this flag
<clever> and then nix-diff to compare the 2 drv files
<clever> then decide if its newer or older (compare versions of deps) and bisect good/bad
<clever> repeat until there is no diff
<vika_nezrimaya> clever: unknown-deriver
<vika_nezrimaya> is this normal?...
<clever> then you garbage-collected the .drv file
<vika_nezrimaya> oops! :3
<clever> and your only solution is brute-force
<vika_nezrimaya> stuff happens
<clever> `nix-instantiate -A wineStaging` every revision of nixpkgs, until you get a match
<vika_nezrimaya> oh noes :3
<vika_nezrimaya> that's rough
<vika_nezrimaya> could leave it overnight though
<clever> you can narrow the search, by only bothering with revisions where wine is the same version
<vika_nezrimaya> I really need a way to query Hydra
<clever> and start at the most recent, then work backwards
<vika_nezrimaya> it could help
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95699 → python27Packages.python-stdnum: 1.13 -> 1.14 → https://git.io/JJFpm
<vika_nezrimaya> Hydra builds every single revision of Nixpkgs so surely it could contain the same revision of Wine and know which derivations produced it
<clever> yeah, it should be in the hydra DB
<clever> what store path are you using, what was the registrationTime time for it?
<clever> there is one other trick available
zupo has joined #nixos
<vika_nezrimaya> {"path":"/nix/store/5gzkb53wvw9cll684fh60n0bc2dvv1l6-wine-5.12-staging","time":1597068609}
<clever> this file, contains the nixpkgs revision of nixos-unstable over time
__monty__ has joined #nixos
<vika_nezrimaya> oh wow
<vika_nezrimaya> so this is... every time there's a new rev, this file gets a new line with the rev and the timestamp?
<clever> yep
smatting_ has quit [Ping timeout: 260 seconds]
<vika_nezrimaya> sounds like a weird version of git log
<clever> its only the revisions that make it into the channel
<clever> so those that pass testing in hydra, and are covered by the cache
<clever> and i think its the timestamp of when it entered the channel, not when the commit was made
<vika_nezrimaya> still sounds like a git log
<clever> the timestamps are offset by hours or even days
<clever> and the revisions skip a lot
<vika_nezrimaya> 32b46dd897ab2143a609988a04d87452f0bbef59
<vika_nezrimaya> this sounds like it could be the revision
<clever> [clever@amd-nixos:~/apps/nixpkgs-hasura]$ nix-instantiate --eval -A wineStaging.outPath
<clever> "/nix/store/zgvgxp0c11sdyw1a5s29bnixsvcs0rq8-wine-5.5-staging"
<bqv> Ltns, vika_nezrimaya, ottidmes
<clever> the rev i'm on, is too old, 5.5 vs 5.12
<clever> so i'm going to tell bisect that 5.5 is good and 5.14 is bad
<clever> and repeat...
<ottidmes> bqv: Typo of sorts? Seems gibberish to me :P
<clever> [clever@amd-nixos:~/apps/nixpkgs-hasura]$ git checkout 96069f7d890b90cbf4e8b4b53e15b036210ac146
<clever> [clever@amd-nixos:~/apps/nixpkgs-hasura]$ nix-instantiate --eval -A wineStaging.outPath
<clever> "/nix/store/5gzkb53wvw9cll684fh60n0bc2dvv1l6-wine-5.12-staging"
<clever> vika_nezrimaya: boom!
<bqv> ottidmes: "long time no see"
<vika_nezrimaya> yay! :3
<ottidmes> bqv: lol, I put the thing, including vika nezrimaya into Google Translate with detect language thinking it was some language I was not familar with, but its a name :P good to know
<bqv> Vika is a person, silly
blub has joined #nixos
<vika_nezrimaya> I am in fact a person
ScottHDev has joined #nixos
<vika_nezrimaya> Vika is short for Victoria
bennofs has quit [Ping timeout: 260 seconds]
<vika_nezrimaya> it's a female name
<vika_nezrimaya> and Nezrimaya (actually, Незримая) is my mothertongue Russian for "Invisible" but in a fancy way
<vika_nezrimaya> something between invisibile and imperceptible
<vika_nezrimaya> it's a convoluted metaphor about me being trans basically
<wpcarro> any `buildkite-agents` users here? The systemd unit that's attempting to start `buildkite-agent` cannot read my `/etc/secrets/buildkite-agent-token` because `permission denied`. I suspect it needs `sudo` for the user, but now I'm a bit lost
<wpcarro> The user is `buildkite-agent-socrates`, which is a name that the Nix express that writes the `systemd` unit generates
<clever> wpcarro: are you using the systemd service for it?
<wpcarro> `services.buildkite-agents`
<ottidmes> vika_nezrimaya: My bad! If I put the Russian into translate I do indeed get invisible
<clever> wpcarro: plus nixops?
bahamas has quit [Ping timeout: 264 seconds]
<wpcarro> clever: no nixops atm
<clever> wpcarro: sounds like you just need to chown /etc/secrets/buildkite-agent-token to the right user
<ScottHDev> Hello, do you know if a sambanetfs module exists or am I oblige to touch the system files?(I'm trying to mount a samba share as non root)
<wpcarro> clever: that sounds reasonable. Can I express that in Nix code? Or should I just do it ad-hoc?
<vika_nezrimaya> Currently bisecting Nixpkgs to determine which commit introduced the bad Wine
<clever> wpcarro: if the key was created manually, then you also need to chown it manually
<blub> Hi, can someone please help me on building a kde tool. I'm talking about this one https://store.kde.org/p/1127039/ I just cloned the repo from here https://gitlab.com/ita1024/semantik created a shell.nix and tried to build by starting with ./wav configure build, but get this error Could not find Qt5Svg - Semantik requires Qt >= 5 and dont know how
<blub> to fix it, and couldnt find a tutorial or documentation about it
<wpcarro> clever: brilliant - thank you
<clever> vika_nezrimaya: and then you can go further, bisect wine to find out which commit broke it!!
<bqv> and then bisect the commit too!
<clever> vika_nezrimaya: nix-build -E 'with import ~/apps/nixpkgs {}; wineStaging.overrideAttrs(old: { src = ./.; })'
<bqv> (we need to go deeper)
* vika_nezrimaya kinda scared of bisecting a not-previously-known repository but really wishing to do it
<clever> vika_nezrimaya: that will build wineStaging from the nixpkgs attr, but override the src to come from . so you can bisect wine
<clever> so nix takes care of the entire mess of building it
<ScottHDev> blub add qt5.qtsvg to buildInputs
<vika_nezrimaya> clever: I use flakes tho so it'll be something like `nix build --impure "nixpkgs#wineStaging.overrideAttrs (old: { src = ./.; })"
<blub> yes i treid but didnt work
<ScottHDev> What was the error. The same as above?
<blub> yes
<clever> vika_nezrimaya: you want to base it on the same nixpkgs revision that built the good/bad wine (around the point where the version changed)
<ScottHDev> Can you send me the shell.nix so that I can try it at home?
<clever> vika_nezrimaya: there may be other changes in nixpkgs, that make it unable to build versions too old/new
<ScottHDev> (threw termbin if possible)
<vika_nezrimaya> Then `/home/vika/Projects/nixpkgs#wineStaging.<...>`
<blub> { pkgs ? (import <nixpkgs> { }) }:pkgs.mkShell (with pkgs; { buildInputs = [ python3 gettext pkgconfig qt5.full qt5.qttools qt5.qtsvg ];})
<vika_nezrimaya> since I have a Nixpkgs checkout on my laptop for debug purposes
smatting_ has joined #nixos
<ScottHDev> hmmmm. This doesn't look like a derivation, though I don't really know what mkShell does.
<ScottHDev> could I just replace it with libsForQt5.mkDerivation?
lawr3nce has joined #nixos
<wpcarro> clever: I ran `chown buildkite-agent-socrates /etc/secrets/buildkite-agent-token`, but when I test `sudo -u buildkite-agent-socrates cat /etc/secrets/buildkite-agent-token`, I still get a `Permission denied` error. Do I need to alter directory permissions as well?
<clever> ScottHDev: its just a function that calls stdenv.mkDerivation and sets a name for you
<clever> ScottHDev: i try to avoid it, since it causes more confusion
<ottidmes> Is there already an estimate when 2.4 will be the next nixStable? Will that be 20.09 or is it simply not yet clear?
<clever> wpcarro: you need +x on a directory in order to do anything with the contents of a directory
dingenskirchen has joined #nixos
<ScottHDev> Do you try to avoid mkShell or libsForQt5.mkDerivation clever
<ScottHDev> ?
<clever> wpcarro: either other+x, group+x or owner+x
<clever> ScottHDev: mkShell, because it confuses people when they need to siwtch to libsForQt5.mkDerivation
<ScottHDev> Ok
fnlaai has joined #nixos
<fnlaai> hello again
Nafai has joined #nixos
<wpcarro> clever: setting `chown +x /etc/secrets` worked... great! I never knew directories need executable flags for files to be read from them...
smatting_ has quit [Ping timeout: 272 seconds]
<blub> it says error: attribute 'mkDerivation' missing, at /src/semantik/shell.nix:3:1
<clever> wpcarro: +r on a dir lets you list the contents, +x lets you interact with the contents (cd, and do anything with a content)
orivej has quit [Ping timeout: 256 seconds]
<clever> wpcarro: +x only, means you are blind, and must know the name to open a thing
<wpcarro> that's really vital to know - ty
<vika_nezrimaya> that's why all dirs are 755 and files are 644 with the default umasks
<ScottHDev> Yep, @blub
<clever> but private stuff may be o-rwx, to cut outsiders off
<ScottHDev> I'm currently figuring out how to build semantik
justanotheruser has joined #nixos
kraeXen has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<vika_nezrimaya> clever: and REALLY private stuff will be 600 or 700 to prevent tampering even within the group
<clever> yeah
<vika_nezrimaya> like SSH private keys or GnuPG keychains!
<clever> i also try to -w any secret keys and their matching pub file
<clever> so they never get out of sync
<wpcarro> where can I learn more about these conventions? Just experience?
lawr3nce has quit [Remote host closed the connection]
<blub> ScottHDev thank you a lot!
<clever> wpcarro: i think its in a man page, but i forget which one
<clever> wpcarro: when i was new to linux, i just dove head-first into /usr/share/man/ and read half the pages ......
<vika_nezrimaya> clever: nice trick
<ottidmes> wpcarro: its mentioned in the manpage of chmod, had it happen to me few months back to, owner had +x, but my friend had trouble working with my files only to find out that group did not had +x
<wpcarro> clever: I think I ought to do that...
<wpcarro> ottidmes: I'm worried that I'll get burned by this again!
<wpcarro> even though it makes sense rn
<vika_nezrimaya> And I only recently learned about git init --shared
<vika_nezrimaya> that allows to automatically allow the current group to access your repository and push into it
<ottidmes> wpcarro: made a helper shell function for it that fixes those permissions for me among other things
<wpcarro> ottidmes: useful form of documentation ime
* vika_nezrimaya thinking of eschewing Gitlab and Gitolite and just use Gitweb and SSH push access to a shared repo, gated by /etc/passwd
<clever> vika_nezrimaya: i did mess with that kind of thing over ssh and nfs in the past, but now that ive paid for my github, i have unlimited private repos, so i dont bother with it as much
<{^_^}> [nixpkgs] @jonringer opened pull request #95700 → doc/python: add pytestCheckHook section → https://git.io/JJFhl
<vika_nezrimaya> clever: I'm kinda happy with public GitLab repos except they don't have ARM64 runners which I really-really need to build stuff for my RPi
<clever> vika_nezrimaya: have you seen the command= stuff in authorized_keys ?
<ottidmes> wpcarro: yep, that was part of it, also in line with the Nix way of going about it, making it explicit in my config somewhere
<{^_^}> [nixpkgs] @gebner opened pull request #95701 → source-han-*: reduce closure size by 2x → https://git.io/JJFhB
<vika_nezrimaya> clever: I've heard of it and used it once to restrict a user account with a certain key to only playing a harmless game via SSH
<vika_nezrimaya> it can restrict the commands that user can run and forward the commands to a special command that decides if the user is allowed to run a command or not
<vika_nezrimaya> as far as I can remember
<clever> vika_nezrimaya: yep
<vika_nezrimaya> so why did you mention it?
<clever> just thought you might want to know of it, and use it for stuff
<vika_nezrimaya> :3
<vika_nezrimaya> well I do know of it, just not using it too much
<clever> vika_nezrimaya: another neat trick is https://blog.filippo.io/ssh-whoami-filippo-io/
<vika_nezrimaya> is this the famous key detector?
<vika_nezrimaya> the one that tries to guess your github username
<{^_^}> [nixpkgs] @oxalica closed pull request #95697 → osu-lazer: 2020.806.0 -> 2020.814.0 → https://git.io/JJFNI
<vika_nezrimaya> oh yes it is!!!
<vika_nezrimaya> Sadly the SSH host is down :c
<bqv> lol
<vika_nezrimaya> also we should probably take this to #nixos-chat
dbmikus has quit [Quit: WeeChat 2.9]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
sangoma has quit [Ping timeout: 256 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}> [nixpkgs] @Thra11 opened pull request #95702 → llvm_10: disable failing test on 32-bit ARM → https://git.io/JJFhX
kraeXen has quit [Ping timeout: 244 seconds]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos
<{^_^}> [nixpkgs] @gebner opened pull request #95703 → vampire: 4.4 -> 4.5.1 → https://git.io/JJFjJ
cjpbirkbeck has joined #nixos
bahamas has joined #nixos
nij has joined #nixos
nij has quit [Client Quit]
georgyo[m]1 is now known as georgyo_m
FRidh has quit [Quit: Konversation terminated!]
bahamas has quit [Ping timeout: 246 seconds]
kraeXen has joined #nixos
dongcarl has quit [Read error: Connection reset by peer]
kim0 has joined #nixos
nij has joined #nixos
<nij> Removed windows on my gf's old laptop and tried to install archlinux.
dongcarl has joined #nixos
<nij> My usual installation workflow for thinkpad didn't work..
<nij> So I installed nixOS instead, thinking it would be harder.
<nij> But it's so easy =___= and configuration.nix worked almost right away.
<nij> (in love <3)
<srhb> nij: Nice :)
fendor has quit [Remote host closed the connection]
cloud has joined #nixos
<vika_nezrimaya> NixOS has a big feature which can bite you sometimes
georgyo_m is now known as georgyo[m]
<vika_nezrimaya> If it works, it works all the time. If it doesn't work, it will never work with the same configuration
<nij> vika_nezrimaya: That's great to know! I plan to migrate fully into nixOS, so it'd be nice to be precautioned.
<nij> What were some cases for you?
<vika_nezrimaya> Well, right now the reproducibility allows me to trace bugs to certain changes in software (like my example with Wine above - my game wasn't running well after an update so I'm tracing which change introduced this) and to ensure I can always recreate my whole system from scratch
<vika_nezrimaya> Let's say my laptop's hard drive dies
<vika_nezrimaya> I buy an SSD, pop it into the system, pop in a NixOS flash drive
<vika_nezrimaya> download my configuration and realize it
<vika_nezrimaya> and I'm running again in five minutes + how much is needed to download all the programs
<vika_nezrimaya> Considering I have a non-standard WiFi card that requires an out-of-tree kernel module that's great
mkaito has quit [Quit: ZNC 1.7.5 - https://znc.in]
<ottidmes> Same with VPSes, with NixOS it is now a breeze for me to switch to another VPS provider
<cloud> I'm trying to make the Spotify icon show up under Gnome. On my NixOS install, ~/.nix-profile/share contains an icons folder, which has, among others, the spotify-client.png. Now I'm on Arch with Home Manager and the icon folder is missing. I was trying to figure out why and noticed that while HM has extraOutputsToLink, it does not have pathsToLink ... is there a reason why and could that be the
<cloud> reason why spotify's icon does not work under Arch + HM?
ncf is now known as nf
spudly has quit [Ping timeout: 256 seconds]
<nij> vika_nezrimaya: I had similar problem. If you use configuration.nix autogenerated by nixos, and inject your own setup after things are setup, will that be fine?
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<bqv> if i play my cards right, my system will soon be so declarative that it's actually possible for me to up and move my entire desktop in one swift motion, both infrastructure and data
<vika_nezrimaya> As long as you back up your configuration.nix and remember which NixOS and nixpkgs revision you're using, you'll be able to recreate your system back from oblivion byte-for-byte
spudly has joined #nixos
<vika_nezrimaya> My tooling does this for me (git + Nix flakes, a proposed standard for reproducible Nix expressions)
<vika_nezrimaya> (+ a wrapper I wrote, inspired by nixos-rebuild)
<vika_nezrimaya> If you want to see how did I accomplish this, my code is open-source at https://gitlab.com/vikanezrimaya/nix-flake
<vika_nezrimaya> I hope I did write the URL right
<nij> I'm not advanced enough to knoe what flake is. Tried last week.
<nij> why is that necessary?
<nij> (still learning what a nix shell is .. btw)
<bqv> > injectVika
<{^_^}> undefined variable 'injectVika' at (string):320:1
<bqv> pls
<bqv> you might be interested in nixus, by the way
<bqv> i've started using it
<bqv> it supports flakes, technically
<vika_nezrimaya> nij: it's not neccesary, it's a convinience for me
<vika_nezrimaya> it makes my system use a predictable version of NixOS distribution
<vika_nezrimaya> And helps me version my own configuration
<vika_nezrimaya> bqv: nixus? googling it
<vika_nezrimaya> or more like quacking, because I use duckduckgo :D
<vika_nezrimaya> we should make "quack" a verb
<bqv> i use qwant
<srhb> nij: Don't worry, you'll get a long way without flakes, no need to worry about it yet :)
<bqv> i'd love to just use "internet search" as a verb
<bqv> but i'm too trained to say "google"
<nij> srhb: :) thanks!
<nij> I use emacs a lot (with doom), and am still figuring out what's a functional/reproducible way to configure it.
<vika_nezrimaya> nij: may I recommend home-manager? It supports configuring Emacs with downloading packages for it
<vika_nezrimaya> Not sure what emacs-doom is but I'm pretty sure it's packaged in Nixpkgs somehow if it's popular enough
<srhb> vika_nezrimaya: I think it's fair to call it a kind of "emacs flavor" like Spacemacs.
<vika_nezrimaya> bqv: sounds like nixops competitor
dongcarl has quit [Read error: Connection reset by peer]
<vika_nezrimaya> srhb: oh, still think it's somehow packaged or can be packaged
<srhb> Sure sure :)
<vika_nezrimaya> Everything can be stuffed into Nix if you try hard enough!
<nij> vika_nezrimaya: YES I'm aware of it and knew it's the way.. but I cannot figure that out either
<bqv> vika_nezrimaya: that, and also morph
<nij> vika_nezrimaya: I should be more specific..
<rycee> cloud: Try adding `targets.genericLinux.enable = true` to your configuration, switch, and relog.
<bqv> i like it more than nixops
<nij> emacs-doom is a distro of emacs
dongcarl has joined #nixos
<nij> (done well recommended)
kraeXen has quit [Ping timeout: 240 seconds]
<rycee> cloud: Ah, the directory is not there at all? Then I have no idea.
<ottidmes> My system still has some stuff that is impure (projects with uncommited files and such) that I do not want to give up, hence I have yet to commit to using flakes yet
<nij> niso: what's that overlay stuff about?
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<niso> nij: overlays are a way to configure nixos packages https://nixos.wiki/wiki/Overlays
<nij> ah! lemme take a look at it. i havent heard of it
<srhb> ottidmes: fwiw the restrictions on clean repos have been lifted somewhat
<nij> btw here i dont have a terminal that helps bring up an url.. so i was being a bit lazy
<nij> gotta make that right too
<ottidmes> srhb: It has? Yay! Will give it another look then :)
<niso> nij: anyways, emacs-overlay is able to read emacs configuration files (using e.g. use-package) and to work with them
<niso> nij: thus it could be seen as a replacement for straight.el (if i understood it right)?
<srhb> ottidmes: Yes, recent versions will emit a warning and compute a narHash of the dirty directory.
<bqv> i just built my own alternative to that
<bqv> it's in nix, so it's nicer
<niso> woha, @nixus auto-rollback, nice! would have saved me some trouble (kinda wondering if it could be used for a side-channel attack though :P )
sangoma has joined #nixos
<bqv> niso: that feature cost me my uptime >_>
<nij> niso: I see.. I see it includes "emacs.el" in the file.
<niso> nij: exactly, it parses it
<nij> In general for programs that intakes an "rc" file like emacs, is there a better way to configure?
<niso> bqv: oh, how that?
<nij> cuz parsing an external rc file is not functional
<bqv> nij: rc files are just text. nix specialises in text :)
<srhb> nij: To a first approximation I just version rc files by including them verbatim in my config
<nij> the file parsed should also be a part of the generation hash
<srhb> nij: (Rather than importing them to nix types, that is)
<niso> nij: it is
<nij> !!!!!!
<srhb> This gives you versioning and rollbacks without much work at all
<bqv> niso: well, a deployment failed and it rolled back, the rollback failed so it rebooted, lol
<nij> WHOAW
<nij> Im so amazed.
<niso> bqv: oh, that's mean
<infinisil> :D
<nij> niso: how about things other than emacs? is that what overlay is supposed to do?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8d9f9fda647 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
cloud has quit [Quit: WeeChat 2.9]
<niso> nij: no, the main reason to use overlays is to modify existing packages
<nij> (the nix wiki has a picture explaining overlay.. but I don't get it :(
<nij> niso: hmmm..
<niso> nij: e.g. if a package declaration doesnt' fulfill your needs, or you want to enable a feature flag
<nij> What if I want my ranger.rc to be included as a part of my nixos system?
<niso> nij: checkout home-manager for managing config-files
<nij> oh
<srhb> nij: Think of overlays as functions that take nixpkgs as input and produce a slightly different nixpkgs, to your specification.
<srhb> That's really all there is to it
<nij> hmmm so should i use overlay, or home-manager?
<srhb> They are not orthogonal. :)
<nij> @@
<srhb> I use both.
<vika_nezrimaya> infinisil: hi! :3 I just got a stack overflow by trying to evaluate github:infinisil/nixus/master#example/default.nix, is this normal?
<nij> @_@
Kurt44 has joined #nixos
<niso> nij: with home-manager use can use e.g. home.file to specify a file's target/source and it will be automatically copied to the store
<srhb> nij: Overlays is the sort of thing you grab for when you need to add or modify a package locally
<niso> nij: and symlinked to the target
<srhb> nij: home-manager is NixOS for your home dir.
<ScottHDev> Do you know if a sambanetfs module exists or am I oblige to touch the system files?(I'm trying to mount a samba share as non root)
fnlaai has quit [Remote host closed the connection]
<nij> For ranger and qutebrowser, every time they are launched they read the rc file. In this case what would you use?
<bqv> > pkgs.smbnetfs
<{^_^}> "<derivation /nix/store/i9f45ka99a9f7plz418iqpal1fwvp3p6-smbnetfs-0.6.2.drv>"
<niso> nij: home-manager
<infinisil> vika_nezrimaya: It's a derivation, so I'd build or instantiate it instead of evaluating
<srhb> nij: Making rc files in your homedir is basically what home-manager is for.
<ScottHDev> sorry but this isn't a module.
<vika_nezrimaya> infinisil: sorry for confusion, I actually tried to nix-build it
<nij> I see.. really have to learn home-manager next!
<nij> Thanks :D :D
<bqv> vika_nezrimaya: LOL
<infinisil> vika_nezrimaya: Command used?
nate48423 has quit [Ping timeout: 256 seconds]
<nij> I hope I can use home-manager for emacs right?
<vika_nezrimaya> `git clone <...> && cd nixus && nix-build example/default.nix` -> error: stack overflow (possible infinite recursion)
nate48423 has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
<nij> Well, it's currently reading config.el anyways, which is an rc file more or less.
<srhb> nij: home-manager doesn't really care about the consumer of the file it links in place. You can use it for any sort of dotfile shenanigans.
<infinisil> vika_nezrimaya: Hm that's concerning, I can't reproduce it
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
<nij> srhb: great to know :D
<vika_nezrimaya> infinisil: nix --version?
<infinisil> 2.3.4
<bqv> he's not flakey
<infinisil> A bit outdated I know :P
<bqv> i'll see if i can reproduce
dongcarl has quit [Read error: Connection reset by peer]
<vika_nezrimaya> infinisil: trying to reproduce with non-flakes Nix
<infinisil> Other than the nix version, I think I removed all impurities recently
<infinisil> Well, if you explicitly pass the system, but that shouldn't cause inf rec
<vika_nezrimaya> no impurities, that's flake support for free, yay
dongcarl has joined #nixos
<vika_nezrimaya> Trying to build on Nix 2.3.7
<infinisil> bqv urged me to remove the impurities because they wanted to use it with flakes :)
<niso> nij: emacs fetches it's own modules (often from melpa) thus using home-manager would be somewhat pointless
<bqv> infinisil: i can reproduce :p
kraeXen has joined #nixos
<vika_nezrimaya> infinisil: I might want to use it with flakes too
<niso> nij: unless you use it maybe with straight.el
<nij> niso: I see... this is actually what I'm pondering now.
<infinisil> bqv: Which nix version?
<{^_^}> [nixpkgs] @Ma27 pushed 32 commits to glibc232: https://git.io/JJbvZ
<vika_nezrimaya> `nix shell nixpkgs#nix -c bash -c "nix --version && nix-build example/default.nix"` -> error: unexpected end-of-file
<infinisil> vika_nezrimaya: Also which one for you?
<nij> If an rc file sources another external source, that would not be good.
<bqv> nix (Nix) 3.0pre20200814_13e49be
<niso> nij: but to get started emacs might be the last thing you want to migrate. especially in the beginning if you get stuck, it's nice to have an editor you can modify
<infinisil> 3.x :o
<nij> Or we should include all what is sourced into our hash.
<vika_nezrimaya> 2.3.7 for this one, 2.4pre20200521_00b562c for flakes
<vika_nezrimaya> wait WE HAVE nix 3.0 ALREADY?!!
<vika_nezrimaya> Since when?!
<srhb> A few weeks or so.
<bqv> eelco bumped the ver like a week ago
<srhb> Very pre though.
<nij> niso fortunately vim is fine for me too
<bqv> it's not a release
<nij> niso: thanks for that tip
<srhb> infinisil: I believe it's a real stack overflow though
<niso> nij: yw, i was just comming out of a 2day-limbo after a failed migration :P
<vika_nezrimaya> srhb: i'm all about using software that CLEARLY SAYS "do not use in production" in production
<vika_nezrimaya> I guess that's why I still don't have a job
<srhb> infinisil: Setting stack and rerunning a few times actually causes resource temporarily unavailable.
<bqv> vika_nezrimaya: love that lifestyle
<nij> niso: :S
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « nixos/nextcloud: update nginx config »: https://git.io/JJbvC
<infinisil> srhb: srhb "setting stack"?
<nij> niso: So would emacs-overlay solve that problem?
<nij> Does it include what my emacs.rc source?
<nij> s/source?/sources?
<niso> nij: i think emacs calls it init.el :P
<nij> yep just in case you are not familiar ;P
metreo has joined #nixos
bahamas has quit [Ping timeout: 256 seconds]
<niso> nij: and yes, i think so, however i'm not using it myself - it's still on my todo list
<srhb> infinisil: Sorry, limiting it :)
<nij> niso: :D :D gotcha
<infinisil> Argh I can't reproduce, using nix from latest nixpkgs master
<nij> i should also limit my time use on this laptop.. nixos is so addicting
<bqv> infinisil: daemon?
<nij> my work is lacking speed cuz i spent too much time with my nixos xD
<infinisil> `nix-build -A nix` in nixpkgs master repo, then ~/src/nixpkgs/result/bin/nix-build example still works
<niso> nij: one thing which made me pospone it is that init.el is source code, thus i'm constantly modifying it, thus i need a development workflow (since i don't want to switch the system-state after each change)
<infinisil> bqv: Not for the daemon no, though I think evaluation happened in the client
<infinisil> happens
<vika_nezrimaya> infinisil: which means that we got a heisenbug? in a Nix-based project?!
<vika_nezrimaya> I thought that's impossible with Nix
<Mic92> nij: Leechblock for firefox helps with that.
orivej has joined #nixos
<nij> Mic92: I thought that only blocks firefox?
<nij> Mic92: on my arch machine I have a script that kills certain stuff at certain time
<infinisil> vika_nezrimaya: Were you able to make it work with nix version 2.3.7?
<nij> I handed my root password to my gf who knows little about IT so i think im fine
<infinisil> Oh was that the "unexpected end-of-file"?
<vika_nezrimaya> yep
<Mic92> nij: yes. not sure what aspect you want to block.
<nij> even without internet nixos is fun toy for me
<nij> there's really no way now :'(
<vika_nezrimaya> Don't worry, you'll get used it
<vika_nezrimaya> You just need a period of time to play with your shiny new system
<vika_nezrimaya> Then eventually you WILL run out of things to tweak and/or your procrastination will take over
<vika_nezrimaya> and you'll be back to normal
<Mic92> yeah at some point everything just work.
<infinisil> vika_nezrimaya: Um so try using your normal nix version and pass -v or so
<infinisil> I'd like to have some trace to maybe see what's going on
<nij> hope that day will come soon :D
<vika_nezrimaya> infinisil: it prints every file it evaluates
<infinisil> Indeed
<vika_nezrimaya> that's a bit too many lines for IRC, I'll try to make a gist
<infinisil> Oh yes definitely
<{^_^}> [nixpkgs] @danieldk merged pull request #95698 → rust-analyzer: 2020-08-10 -> 2020-08-17 → https://git.io/JJFN3
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJbv1
nij has quit [Quit: leaving]
<bqv> would you like some more v's?
<vika_nezrimaya> more v's? I'll have one for now, please
<bqv> lmao
<Unode> depending on your preference
<infinisil> bqv: Is it reproducibly xen at the end?
<bqv> yes
<bqv> i tried twice
<bqv> and vika's matches :p
<infinisil> Hm and vika_nezrimaya also has xen at the end
<vika_nezrimaya> Which means... it's Nixpkgs fault for being recursive?
<infinisil> Not necessarily, but maybe
<infinisil> But really, why would this be different for you and me
<vika_nezrimaya> Let's all build the same Nix!
<vika_nezrimaya> We have Nix to build Nix, it should be easy!
<bqv> infinisil: how old's your nixpkkgs
<vika_nezrimaya> My system-wide nix is /nix/store/dcyn2x9bwak044f758bfki3nkzfyblb7-nix-2.4pre20200521_00b562c/bin/nix-build
<bqv> let's see how close we can get our systems before you can reproduce it
<infinisil> I mean I think the daemon shouldn't even matter (but maybe it does)
<infinisil> I guess I'll first update a system to latest nixos-unstable to see if I can reproduce it then
<srhb> bqv: Try being root, set ulimit -s unlimited, then try to reproduce
dongcarl has quit [Read error: Connection reset by peer]
<srhb> I believe it's really just blowing the stack.
<infinisil> Looks like it, but like why would it
<bqv> ack, ulimit...
<srhb> Not sure. Skirting around some limit for a while, and this brings us close?
<bqv> vika_nezrimaya: can you try that
dongcarl has joined #nixos
<vika_nezrimaya> nix-build as root with ulimit -s unlimited? sure
malik has quit [Remote host closed the connection]
<srhb> The @args in xen is suspicious
<infinisil> Oh actually I do have in mind that nixpkgs for a while produced stack overflows
<vika_nezrimaya> It's downloading Nixpkgs again, please wait...
<infinisil> But probably only for a specific nix version
<infinisil> Or recent ones
<srhb> I believe the way xen/generic.nix uses @args blows up
<{^_^}> [nixpkgs] @rycee opened pull request #95706 → openambit: init at 0.5 → https://git.io/JJbv7
<srhb> Probably in combination with checkMeta
<vika_nezrimaya> Wait, I got a different error!
<vika_nezrimaya> error: file 'nixpkgs/nixos/modules/profiles/qemu-guest.nix' was not found in the Nix search path (add it using $NIX_PATH or -I), at /home/vika/Projects/nixus/example/hardware-configuration.nix:8:7
<infinisil> WHAT
<vika_nezrimaya> I don't have a NixOS channel
<bqv> lmao what
<infinisil> How can there be 4 different behaviors for the same thing
<bqv> that sounds so very wrong
<vika_nezrimaya> I used flakes every time I wanted to build my system? and I just never used channels?
<srhb> fwiw I noticed nix 3 generating invalid store paths during the "end of file" error
* vika_nezrimaya rolling on the floor
<infinisil> Okay I'll just try updating the nixpkgs used in the example
<infinisil> Stand by
<bqv> vika_nezrimaya: oh no not the channels thing, i don't either
<{^_^}> [nixpkgs] @gebner merged pull request #95703 → vampire: 4.4 -> 4.5.1 → https://git.io/JJFjJ
<bqv> i meant that nixpkgs eval is using nix_path
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JJbvp
<vika_nezrimaya> I'll try to set a channel
<bqv> anyway our thai food has arrived, bbl
<vika_nezrimaya> evaluating...
<srhb> fwiw I can reproducibly evaluate it with a small stack as long as the xen package is fixed.
<srhb> So yeah, a nixpkgs bump should do it.
<vika_nezrimaya> IT'S WORKIIIIIING
<vika_nezrimaya> for some reason
<vika_nezrimaya> It's downloading packages so it must have evaluated successfully
<infinisil> Yea
<infinisil> Wait, you set a channel and this makes it work?
<infinisil> Ah wait
<infinisil> Ahh yeah
<vika_nezrimaya> umm... and also ulimit thing
<infinisil> There's an impurity in the example
<vika_nezrimaya> There is!
<infinisil> Well
<vika_nezrimaya> There shouldn't be
<infinisil> It's an impurity in nixos-generate-config tbh
<vika_nezrimaya> also can you make a flake example somehow? or does bqv have a public example somewhere?
<vika_nezrimaya> infinisil: it is
<infinisil> vika_nezrimaya: bqv: Check out this branch: https://github.com/Infinisil/nixus/tree/example-nixpkgs-update
<vika_nezrimaya> did you mean to write "checkout"? :P
<infinisil> Hehe
<bqv> vika_nezrimaya: my config is public, as ever
<bqv> github:bqv/nixrc
<bqv> it's all in flake.nix
<vika_nezrimaya> srhb: is the ulimit -s unlimited thing per-shell?
<bqv> hope you like novels
<vika_nezrimaya> bqv: i don't know if I do but I sure like fanfiction
<srhb> vika_nezrimaya: Yes, but like I said the real solution is the fixed xen derivation :)
<bqv> vika_nezrimaya: this one's not very raunchy, tbh
<infinisil> bqv: vika_nezrimaya: Would love to know if any of you can make any weird errors anymore with the branch there
dingenskirchen has quit [Quit: dingenskirchen]
<{^_^}> [nixpkgs] @Mic92 merged pull request #95686 → transmission: fix BindReadOnlyPaths= → https://git.io/JJFid
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJbft
<vika_nezrimaya> "weird errors" I am myself a weird error of nature
turion has joined #nixos
<infinisil> :P
<bqv> infinisil: works now :p
<vika_nezrimaya> evaluating...
<bqv> or at least, it's doewnloading something
<infinisil> Nice, that's one down!
<joesventek> Anyone successfully using udiskie on NixOS? No matter what I try, udiskie tells me: "unhandled device". However, using `udiskctl mount` works just fine.
<joesventek> Any ideas?
<vika_nezrimaya> Ouch, my computer dipped into my battery! so overloaded
<vika_nezrimaya> trying to bisect nixpkgs#wineStaging on another workspace
<bqv> * vika_nezrimaya
<{^_^}> [nixpkgs] @Mic92 merged pull request #95522 → nixos/transmission: handle watch-dir → https://git.io/JJdU4
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJbfO
rajivr has quit [Quit: Connection closed for inactivity]
Kurt44 has quit [Remote host closed the connection]
<vika_nezrimaya> bqv: you need some more comments around the deployScriptPhases because I have no idea what are they doing
<{^_^}> [nixpkgs] @danieldk merged pull request #95667 → cargo-crev: 0.16.1 -> 0.17.0 → https://git.io/JJFu4
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJbfZ
<vika_nezrimaya> infinisil: evaluation successful, building...
<infinisil> Very nice
<infinisil> So actually now I'm not sure whether it was the impurity that caused this or the nixpkgs version
<infinisil> But whatever
<infinisil> (or which caused what)
<srhb> Huh, guess I am mistaken then :)
<vika_nezrimaya> infinisil: It was the Nixpkgs version used
<{^_^}> [nixpkgs] @Ma27 opened pull request #95708 → Bump a few packages related to the Matrix ecosystem → https://git.io/JJbfW
<bqv> vika_nezrimaya: suffice to say, you don't want the git-tag one. the nix-copy-alias one just replaces nix-copy-closure usage with nix copy
sputny has quit [Remote host closed the connection]
<vika_nezrimaya> What about filter-known-hosts?
<bqv> lol i just pushed that like 2 seconds ago, jesus
<bqv> yeah skip that too, tbh
<bqv> it just filters out some spam i get
<bqv> i think that's just due to my ssh config
<bqv> my known_hosts is /dev/null
* infinisil wouldn't recommend that
<infinisil> Like, not using known_hosts
<vika_nezrimaya> Why
xlei has joined #nixos
<bqv> it's a security feature
<infinisil> It makes sure you're not connecting to the wrong server
<bqv> i just ignore it
<bqv> i do have visualhostkey on
<bqv> in my defence
<infinisil> By adding the servers public key to your known_hosts, you know to get the right server. Similarly how the server has your public key in authorized_keys to know you're the right person
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95709 → python37Packages.jupyterlab: 2.1.5 -> 2.2.4 → https://git.io/JJbfu
<vika_nezrimaya> Also I have my hostkeys in DNS, so when I connect from a machine, DNSSEC has my back
<vika_nezrimaya> I hope
<infinisil> I recently wrote a Nixus module for SSH which automatically sets both authorized_keys and known_hosts: https://github.com/Infinisil/nixus/blob/master/modules/ssh.nix
<vika_nezrimaya> does SSH verify DNSSEC when querying for SSHFP records?
<infinisil> (on the target/source machine respectively, because Nixus can do that!)
<bqv> i might be ok with that, tbh
<bqv> but the dnssec idea seems nicer
<infinisil> I still haven't bothered to set up DNSSEC for my domain, want to eventually though
<vika_nezrimaya> I use desec.io which handles DNSSEC for me!
<vika_nezrimaya> Also it has an API. In fact, the API is the only way to set the DNS records so they had to get it right the first time
growpotkin has joined #nixos
nij has joined #nixos
<vika_nezrimaya> and they sure did, it's perfect
wnklmnn has joined #nixos
<infinisil> I would like to keep managing records myself, but maybe that's a bad idea
<ScottHDev> blub This waf building system is quite a mess for Qt5 projects, I need to manually remap all mkspecs locations in postPatch...
bennofs has joined #nixos
<{^_^}> [nixpkgs] @koslambrou opened pull request #95710 → pythonPackages.argparse: init at 1.4.0 → https://git.io/JJbfH
<blub> @ScottHDev do you have a working derivation, or a skeleton with some advice on how to do it, then I can try it myself?
<{^_^}> [nixpkgs] @ryantm closed pull request #95699 → python27Packages.python-stdnum: 1.13 -> 1.14 → https://git.io/JJFpm
Thra11 has quit [Ping timeout: 256 seconds]
kraeXen has quit [Ping timeout: 256 seconds]
<nij> I'm trying out home-manager and need some help..
<nij> I'm following the code here
<nij> In the block that follows "FOr a more secure version"
<nij> I copied and pasted that to my configuration.nix
<nij> I tried to append that at the end of the file. DIdn't work.
<{^_^}> [nixpkgs] @jonringer closed pull request #95710 → pythonPackages.argparse: init at 1.4.0 → https://git.io/JJbfH
<nij> I also tried append that at the end, but before the last "}" of the file; didn't work..
alp has joined #nixos
<vika_nezrimaya> infinisil: any reason why nixus doesn't use ControlPath in ssh_config?
<nij> I think I don't fully understand how "let" works
<vika_nezrimaya> The `let` expression lets you declare some new variables in scope of an expression
<vika_nezrimaya> For example: `let a = 4; in { b = a + 1; }` will result in equivalent expression to `{ b = 5 }`
<nij> yep..
<vika_nezrimaya> > let a = 4; in { b = a + 1; }
<{^_^}> { b = <CODE>; }
<nij> but it parses incorrectly
<nij> error: unexpected LET
<vika_nezrimaya> You're using let in a wrong place. Can I see your expression?
<vika_nezrimaya> > ({ stuff = let a = 4; in { b = a + 1; }; }).stuff.b
<{^_^}> 5
<vika_nezrimaya> that's how you use let in an attribute set
gthm has joined #nixos
<nij> oh you cannot use let ... in { let ... in {...}} ?
<nij> (nested let)
<vika_nezrimaya> You used let in an attribute set incorrectly, that's why it wouldn't parse.
<vika_nezrimaya> I've extracted your let expression to the top of the file and made it return your configuration with home-manager variable injected into the scope.
<vika_nezrimaya> Open two files side-by-side and observe the difference
<{^_^}> [nixpkgs] @flokli merged pull request #95635 → bgnet: 3.0.21 -> 3.1.2 → https://git.io/JJFtn
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJbJt
<vika_nezrimaya> And nested let expressions are okay
<nij> I see
<nij> I had {{import..}} rather than {import..}
<nij> that's why it failed
<vika_nezrimaya> > ({ stuff = let a = 4; in { b = let c = 4; in c + a; }; }).stuff.b
<{^_^}> 8
<vika_nezrimaya> boom!
<vika_nezrimaya> Nested lets, as you can see, are absolutely okay, as long as you use them as values in attribute sets
<vika_nezrimaya> And you accidentally tried to merge an attribute set with another one. This is possible too, using //
gthm has quit [Ping timeout: 240 seconds]
Cale has quit [Ping timeout: 264 seconds]
<vika_nezrimaya> Observe the following:
<vika_nezrimaya> > { a = 4; } // { b = 5; }
<{^_^}> { a = 4; b = 5; }
<vika_nezrimaya> These two attribute sets were just merged in one!
<vika_nezrimaya> This can be used to have a hand-written attribute set be merged with one generated through a function, for example
<vika_nezrimaya> Or to inject custom settings into an attribute set returned by a function
<vika_nezrimaya> > (custom: ({ a = 4; } // custom)) { b = 5; }
<{^_^}> { a = 4; b = 5; }
Thra11 has joined #nixos
Cale has joined #nixos
<vika_nezrimaya> Thanks {^_^} for helping me to demo this
<vika_nezrimaya> good bot
lsix has quit [Quit: WeeChat 2.9]
<nij> vika_nezrimaya: got it :D
<nij> yay
<vika_nezrimaya> I'm glad I could be helpful
<{^_^}> [nixpkgs] @koslambrou opened pull request #95711 → pythonPackages.rdflib-jsonld: init at 0.5.0 → https://git.io/JJbJr
noudle has joined #nixos
<vika_nezrimaya> I got into the very same mistake when I was starting out with Nix
<{^_^}> [nixpkgs] @jonringer merged pull request #95660 → python3Packages.finalfusion: init at 0.7.1 → https://git.io/JJFBp
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJbJP
<noneucat> {^_^}++
<{^_^}> {^_^}'s karma got increased to 212, that's Numberwang!
<vika_nezrimaya> Numberwang?
<vika_nezrimaya> {^_^}++
<{^_^}> {^_^}'s karma got increased to 213
<nij> {^_^}++
<{^_^}> {^_^}'s karma got increased to 214
<nij> {^_^}++
<{^_^}> {^_^}'s karma got increased to 215
<nij> {^_^}++
<{^_^}> {^_^}'s karma got increased to 216
<vika_nezrimaya> uwu
<nij> Hmm
<nij> now it works yay!
<vika_nezrimaya> yay! :3
<nij> but i wonder who defined the rule in home manager
<nij> I have configured my git in home manager successfully
<nij> but who decided what the rules are
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<nij> If I want to configure another program XYZ in home manager, how would that work?
<wnklmnn> Hi, I'm running NixOS on channel 20.03 with kernel 5.6.18. I'm trying to get linuxPackages_5_6.rtl8812au running but the build fails :( Should I open an issue for that?
<nij> (assuming few people use "XYZ")
ixxie has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dywedir merged pull request #95651 → broot: 0.19.4 -> 0.20.0 → https://git.io/JJFCG
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JJbJN
<vika_nezrimaya> nij: If the program XYZ loads its settings from a config file, the most basic option will be `{ home.files.XYZ = { target = ".xyzrc"; text = ""<verbatim config file>""; }; }`
<vika_nezrimaya> OR
<vika_nezrimaya> if the program uses .config/xyzrc you can do this:
<vika_nezrimaya> `{ xdg.configFile.XYZ = { target = "xyzrc"; text = ""<verbatim config file>""; }`
<vika_nezrimaya> Oops, forgot the last }
<bqv> vika_nezrimaya: desec looks cool!
<bqv> may ..investigate
<nij> vika_nezrimaya: <verbatim> that means I need to paste the content in my expr.nix??!
<nij> or just the path to it?
tokudan has quit [Remote host closed the connection]
<vika_nezrimaya> The content itself
<vika_nezrimaya> BUT
<vika_nezrimaya> you can also include the text file itself by using builtins.readFile <path to your file, relative to the expr.nix>
tokudan has joined #nixos
eoli3n_ has joined #nixos
<vika_nezrimaya> Every time the file you read changes, the build result will also change, reflecting the changes!
<rycee> `home.file.".xyzrc".text = "<verbatim config file>";` or `xdg.configFile.xyzrc.text = "<verbatim config file>"` also works and might be a bit more ergonomic.
<vika_nezrimaya> rycee: True! I personally prefer the keys in xdg.configFile to reflect program names
<vika_nezrimaya> so I use the `target` extensively to rewrite the config paths
<vika_nezrimaya> or I remember me doing that
<vika_nezrimaya> Haven't really touched these bits in a long time
<vika_nezrimaya> I just wanted to play a game but decided to debug Wine in Nixpkgs and now I'm helping people in IRC while it compiles. NixOS changed my life
<infinisil> vika_nezrimaya: You mean this line here? (The ControlPath question): https://github.com/Infinisil/nixus/blob/master/modules/deploy.nix#L111
<{^_^}> [nixpkgs] @drewrisinger opened pull request #95713 → python3Packages.qiskit: 0.19.6 -> 0.20.0 & update components → https://git.io/JJbUc
<infinisil> vika_nezrimaya: That's to prevent it from reusing a previous SSH connection. Because that line is supposed to check if a new connection can be established
<vika_nezrimaya> What about #L175?
<bqv> vika_nezrimaya: irc master race
<nij> vika_nezrimaya: Wow so the magic lies in `builtins.readFile`
<vika_nezrimaya> Yep! It imports the contents of ANY file as a string!
<nij> it replaces the block with the actual content while building
<nij> GREAT
<nij> this is the thing that I was looking for
<vika_nezrimaya> <3
<vika_nezrimaya> Nix is awesome, isn't it?
<nij> <3 <3
<nij> so good
<nij> we need larger user base
<nij> and it's so easy to build a setup for beginners
<infinisil> vika_nezrimaya: Same reason I think
<infinisil> Hm
<nij> i mean there are more and more people popularizing linux online recently
<infinisil> I guess it's not essential there
<nij> but not many people address nixos
<nij> and in fact it's the easiest
<nij> if one writes a nix config for beginner, then the beginner can always get the same stuff
sadmin has joined #nixos
<vika_nezrimaya> NixOS is guaranteed to reproducibly work or not work, depending on your configuration, but it will always be consistent
<vika_nezrimaya> If it fails, it will always fail unless you change something!
<vika_nezrimaya> :D
<nij> it needs more attention
<nij> btw there's another similar os called guix
<nij> has anyone used it?
<vika_nezrimaya> Heard about it
<nij> i switched from vim to emacs mainly because of lisp
<vika_nezrimaya> Basically NixOS with lots of Lisp and repos containing strictly free software
<nij> perhaps i would do that one day :'(
<nij> (switching to guix)
<vika_nezrimaya> you might like it, or not, depending on how much you depend on proprietary bits
<nij> oh it's strictly free? :(
<bqv> it used to support importing some nixos packages
<bqv> not anymore
<vika_nezrimaya> like redistributable Linux firmware or non-free programs like Discord
<bqv> so yep, glhf
<vika_nezrimaya> bqv: seriously? why
<vika_nezrimaya> what's glhf
<drakonis> ah guix
malook has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #95714 → Duplicity fix b2 backend → https://git.io/JJbUE
<bqv> vika_nezrimaya: it just changed the nix code too much for that to work anymore
<nij> hopefully someone will unfree guix again
<drakonis> it definitely needs a lot of polish in some areas
kraeXen has joined #nixos
janneke_ has joined #nixos
janneke_ is now known as janneke`
janneke` has quit [Client Quit]
<nij> vika_nezrimaya: you basically taught me through how to use home-manager
janneke has quit [Ping timeout: 244 seconds]
janneke_ has joined #nixos
<vika_nezrimaya> Essentially home-manager is built around home.files and xdg.configFile, so, yeah, that's all you need to know about basic home-manager use
<nij> and now many home.nix online become resourcess for me to study
<vika_nezrimaya> it just places files into some locations via clever scripting
<nij> thanks :D ! so much
<nij> i wonder why people still use other OS....
<nij> like arch
<nij> is it b/c archlinux let you customize stuff more?
<vika_nezrimaya> nij: man configuration.nix home-configuration.nix, also the Nixpkgs manual online
janneke_ is now known as janneke
inkbottle has joined #nixos
<bqv> and systemd user daemons
zebrag has quit [Ping timeout: 246 seconds]
<nij> vika_nezrimaya: much more fun
<lunik1> I like the lispness of guix but not the freeness
<nij> lunik1: i guess so
<nij> it would be nice if they can let people choose if they want freeness or not
<energizer> nij: i think most people dont like spending several hours every week to write software for installing packages
<bqv> lunik1: same. i really want to like it, but firstly, it's way too GNU, and secondly, it doesn't have anything flake-like yet
<nij> i would be fine if they make "purely free" the default
<lunik1> I haven't looked into flakes yet, is there a good place to start?
mariatsji has joined #nixos
<nij> energizer: ? isn't nixos easy to ocnfigure?
<energizer> nij: no
<vika_nezrimaya> lunik1: RFC49, the flakes proposal, may or may not be a good starting point
<nij> bqv: what is flake in a nutshell? im more curious about it now
<lunik1> I think there are some non-free channels for guix but they haven't really taken off
<vika_nezrimaya> https://gitlab.com/vikanezrimaya/nix-flake is a working flake that I use, you can dissect it to see how it works
<bqv> ^
boogiewoogie[m] has joined #nixos
<bqv> modification of nix to not require channels and to run on much more pure evaluation, allowing for composability of multiple repos
<energizer> nij: or, depends on your defninition of easy. i've put a fair amount of time into it and i still struggle with packaging
<wnklmnn> Is there a way to easily test this PR on my local system? https://github.com/NixOS/nixpkgs/pull/85833
<{^_^}> #85833 (by danielfullmer, 16 weeks ago, open): [20.03] rtl8812au: 5.2.20.2_28373.20190903 -> 5.6.4.2_35491.20200318
<nij> energizer: I see. I put much time in it as well, but I gradually think it would be easily done if more people our community make good starting configs.
<wpcarro> I'm running into strange permissions errors again... `sudo -u buildkite-agent-socrates stat /home/wpcarro/nixpkgs-channels` is `permission denied`, but it looks like the directory is `r-x` for all. Any reason I'd have have this problem?
<vika_nezrimaya> quickstart: `$(nix-build "<nixpkgs>" -A nixFlakes --no-out-link)/bin/nix build nixpkgs#hello`
<nij> energizer: as for packaging.. i'm not at that level yet. so i cannot tell
<lunik1> I like Arch because the package selection is great and you don't have to compile much
<nij> lunik1: community is stronger you mean?
<lunik1> and because it's a fairly standard distro in terms of setup you don't run into the occasional weird issue like you do in nixos
<nij> lunik1: why do we have to compile more in nixos (im still learning :P
<vika_nezrimaya> occasional weird issues? elaborate please
<vika_nezrimaya> nij: actually all of the NixOS software is built from source
<colemickens> does anyone serve a "toplevel" out of an NFS dir?
<vika_nezrimaya> BUT thanks to reproducibility of Nix builds, successful builds can be substituted with artifacts from a binary cache
<nij> vika_nezrimaya: you mean everytime I install nixos it compiles all programs in configuration.nix?
<energizer> colemickens: toplevel?
knupfer has joined #nixos
<vika_nezrimaya> Strictly speaking, it can do that
<lunik1> vika_nezrimaya: anything in nixpkgs is usually fine, but random scripts/other programs may or may not work depending on how much they assume
<colemickens> config.system.build.toplevel, to be exact.
<nij> lunik1: i see..
<nij> i've only successfully installed arch on thinkpad x220 and 200..
<vika_nezrimaya> But as you probably don't want it to take too long, Nix uses a binary cache to substitute successful builds with pre-baked artifacts
Darkmatter66_ has joined #nixos
<nij> i'd imagine if i want to install arch on a random computer it'd be hard
<vika_nezrimaya> Nix makes reproducible builds a breeze, so this is harmless
Darkmatter66 has quit [Ping timeout: 260 seconds]
<vika_nezrimaya> Every package in the Nix store has a hash which uniquely identifies the package and its build inputs
<nij> vika_nezrimaya: i think so. compiling was a nightmare b/c you don't know if it would break after 3hrs compiling
<lunik1> you usually only have to compile something if you've done some overrides (or you're using one of the -small channels)
<vika_nezrimaya> Knowing the hash (which you can derive out of your configuration), you can try to pull the package out of the binary cache if it exists there
malook1 has joined #nixos
<lunik1> doing Arch the "proper way" can be a pain, yeah. Especially the first time.
<vika_nezrimaya> If the package isn't present, it builds it using the instructions detailed in Nixpkgs and your configuration
<nij> vika_nezrimaya: i was building a program one time, it took 6 hours and broke b/c of lacking one tool
<lunik1> there used to be a good guide on the wiki but it was kinda disassembled
<nij> lunik1: Yeah
malook1 has quit [Client Quit]
<vika_nezrimaya> nij: with Nix this can't happen, unless the Nix expression is incorrect, in which case your system will simply not install
<nij> lunik1: I thought nixos is harder until today.
<nij> lunik1: I purged windows from my gf's old and dying laptop
<lunik1> nixos isn't hard it's just weird
<nij> and thought an arch would be a good alternatives
<energizer> nij: using nixos is hard.
<nij> it has UEFI and many other weird protection..
<vika_nezrimaya> A syntactically correct Nix expression, simply speaking, is guaranteed to either build or fail consistently. Anything else is a bug and should be reported as such :p
<nij> couldn't put arch on but nixos worked so fast
<lunik1> so you need to know what advice for "Linux" out there actually applies to a nixos system
<energizer> nij: i wouldn't recommend it except for experienced software developers
<nij> energizer: oooh
<samueldr> vika_nezrimaya: guaranteed to consistently? are you sure? :)
<vika_nezrimaya> samueldr: unless you got a bug with reproducibility, of course
<samueldr> vika_nezrimaya: ambient impurities like the filesystem the build runs on are not bugs in Nix per se
<samueldr> yeah
<nij> samueldr: no?!
<vika_nezrimaya> samueldr: hmm, you do have a point here
<nij> what's going on here?!
<samueldr> or feature detection of the CPU
<vika_nezrimaya> nij: we're digging into internals of Nix :p
<lunik1> I wouldn't choose nixos for someone who couldn't be described as an enthusiast
<samueldr> they are issues in the reproducible-builds realm of issues :)
<nij> i know. would love to know more
<samueldr> (but yeah, in practice it gives a good enough guarantee about build results)
<nij> lunik1: AH. I thought it's fully reproducible thus easier. So far my experience has been great. Maybe I will run into a wall soon :(
<energizer> there was a list somewhere of things that can violate reproducibility, cant find it atm
<infinisil> NixOS is decently easy.. As long as you stay within module-supported territory
wnklmnn has quit [Quit: Leaving]
<samueldr> (I just wanted to point out that Nix itself can't provide the guarantee)
<nij> infinisil: what is module-supported?
<vika_nezrimaya> nij: Nix tries to isolate every package it builds as much as possible. It uses a special user without a home folder, fakes the time to always be January 1st 1970 (there are some exceptions, but these are rare), disallows network access and some more
<nij> infinisil: i mean what does that word mean?
<{^_^}> [nixpkgs] @flokli merged pull request #95580 → binwalk-full: enable visual entropy graphing (needs matplotlib) → https://git.io/JJdrv
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJbTm
<energizer> infinisil: does anybody?
<infinisil> nij: NixOS is essentially a set of modules that provide functionality, e.g. the module that implements services.xserver.enable = true
<nij> vika_nezrimaya: OH :O
<Unode> nij: anything that is included in the package repository.
<nij> I see. But if you want to explore, you'd have wish yourself good luck..
<nij> :(
<Unode> well, not good luck but you'll need to learn quite a bit to get there. Depending on what you are aiming at.
<vika_nezrimaya> Additionally, since /nix/store has hashes in names of every package, no package can know about anything else than it got provided as build inputs... unless it SOMEHOW guesses the hash which is impossible
<vika_nezrimaya> so the builds have dependencies that are clear
<vika_nezrimaya> You can build a closure out of a package and its build inputs and it will always work
inkbottle has quit [Quit: Konversation terminated!]
<vika_nezrimaya> That's how nix can copy programs and even whole NixOS installations between computers!
inkbottle has joined #nixos
<nij> vika_nezrimaya: but every computer is different
<nij> well ok.. i mean some computers are VERY different from another
shibboleth has joined #nixos
<Unode> nij: you usually don't have to deal with that. The Linuc kernel takes care of most of the difference.
<nij> why would the same setting works for different computers?
<nij> Unode: oH
<vika_nezrimaya> Well, yeah, an x86 package wouldn't work on a Raspberry Pi
<vika_nezrimaya> But as long as processor architectures are compatible, it will run
<energizer> for example: today on nixos i tried and failed to install pytorch
<lunik1> nij: anything not related to hardware, yes
<energizer> it would've been trivial in any other distro or os
<nij> energizer: why did it fail? figured it out?
wnklmnn has joined #nixos
<energizer> nij: it failed because nix is hard to use. this kind of thing happens all the time
<nij> energizer: :O
<Unode> energizer: not sure I agree with you there. Sounds like the blame is on nix :)
<vika_nezrimaya> on the upside, if you do figure out how to do something, it will work
<vika_nezrimaya> it will always work
<nij> vika_nezrimaya: yes that's great to know..
<lunik1> I usually let nix just handle the system-level stuff, if I wanted to do some development with python I'd just use virtualenvs
<energizer> Unode: what do you disagree with?
<nij> but it seems that my expectation is wrong that I can leave arch soon
kalbasit has joined #nixos
CodeSpelunker has quit [Remote host closed the connection]
<nij> lunik1: what if i want to setup a home server on nixos
<Unode> energizer: that nix is "hard". I've had very "easy" experiences with software that wasn't packaged for nix but still worked fine.
<nij> do you think that would cause me lots of trouble?
CodeSpelunker has joined #nixos
<lunik1> nij: I have one, what do you want to know?
<Unode> or managed to make it work with little effort
<Unode> but, I do agree on the "not standard" and "not for the faint for heart" part :)
turion has quit [Ping timeout: 272 seconds]
<nij> lunik1: im a simple man.. just want a server that replaces my dropbox and put on a personal site
<nij> lunik1: would it be hard to do that on nixos? at my level?
<energizer> Unode: sure, most of the packages are easy to install. but i still spend hours every week trying to install stuff that would've been and `apt install` away
<nij> energizer: after you figured them out, was it easy for you to contribute your success to nixos community?
<Unode> energizer: well, it's only "apt install" away because someone did the work of packaging it. If the same is true for nix, the entry effort is the same.
<lunik1> nij: looks like nextcloud is packaged, which afaik is the go-to self-hosted dropbox replacement
<nij> Unode: I was thinking about that too! and on nixos that knowledge lasts
<nij> lunik1: thanks for that info!!
<energizer> nij: no, my pull request sat in limbo for months for no concrete reason
<vika_nezrimaya> energizer: python3.withPackages (pythonPackages: [pythonPackages.pytorch]) will give you a Python 3 with Pytorch in its PYTHON_PATH
<nij> energizer: :( :(
<Unode> but I agree that most software isn't prepared to work with nix which can be quite a hassle, whereas ".deb" for debian/ubuntu are not so uncommon. Specially in commercial software.
<lunik1> I don't know to what extent you would have to mess around with creating the required databases
<lunik1> I usually use docker for this kind of thing
<vika_nezrimaya> Docker on NixOS is supported too
<nij> wonderful <3
<energizer> vika_nezrimaya: did you try it?
<vika_nezrimaya> It's building for me right now
<Unode> energizer: probably because it went unnoticed. Nix is still mostly a volunteer effort, and the number of open pull requests/issues speaks for itself.
<energizer> vika_nezrimaya: it's gonna fail
<lunik1> of course a home server is not a perfect dropbox replacement as there is no off-site backup
<Unode> as is flatpack which gives your a few additional options.
<energizer> Unode: yes, the number of *open* pull requests is growing by hundreds annually
<vika_nezrimaya> energizer: That's sad! Let's see where it fails
<Unode> energizer: that means only that there's more work than people available.
<{^_^}> [nixpkgs] @koslambrou closed pull request #95711 → pythonPackages.rdflib-jsonld: init at 0.5.0 → https://git.io/JJbJr
cole-h has joined #nixos
<energizer> Unode: yes i understand why
kalbasit has quit [Ping timeout: 240 seconds]
<Unode> I have pull requests that were reviewed, needed more work from my part and are still there waiting for me or another volunteer to pick them up.
v0|d has joined #nixos
<nij> lunik1: I would have to back it up in another way :)
<nij> energizer: :(
<nij> But while nixOS has small community
<nij> why is the package so complete for beginners like me?
<Unode> it mostly works for me locally but it needs to be more polished for it to be useful to others.
<lunik1> nij: yes, look into something like backblaze b2 or amazon glacier
<Unode> nij: not so small, but not so big either. Depends what part of the community you are referring to.
<nij> is it because 1. people here are mostly enthusiasts? 2. it's easy to package and once packaged it wont fail>
<nij> ?
<vika_nezrimaya> The fact that I have 5 packages building concurrently on my 4-thread processor shows
<vika_nezrimaya> My system isn't slow thanks to scheduling and priorities being configured correctly, but the package builds are slow
<Unode> nij: personally, because I see the value over other options. With nixOS I haven't had an issue with upgrades/updates in a long time. Can't say the same of other systems I use on other computers.
<lunik1> nij: it's also that most of the commonly used packages do have enough support
<nij> I see
<lunik1> if you need niche python library or obscure media player you might run into a missing/outdated/buggy package, but firefox or GNOME should be fine
<lunik1> I think also nixpkgs has some degree of automation to update packages but somebody else would have to speak on that
<Unode> nij: what you also find with nix is that most users eventually contribute something because once you learn it, it's not that hard to add some things. In other communities you are often "just a user" and never go past that.
<vika_nezrimaya> lunik1: ryantm might have something to say about auto updates
<nij> Unode: I like this feature/vibe :)
<vika_nezrimaya> In fact aren't they the creator of the r-ryantm bot that version-bumps some Nixpkgs derivations?
<lunik1> that's also true, I found adding a package very easy
<Unode> lunik1: yes, this is all behind the scenes. you typically don't interact with that unless you are managing the cogs behind the nix/nixos front.
aborsu has joined #nixos
<lunik1> for simpler packages you can basically just copy an existing default.nix and change the relevant variables
<Unode> vika_nezrimaya: true there. Nixpkgs also has some pretty sophisticated bots assisting.
<Unode> of-borg comes to mind
<ryantm> lunik1: What's your question?
choward6 has joined #nixos
<lunik1> ryantm: there was just a general discussion about how the nixpkgs tree stays large and up-to-date despite a relatively small community, and I mentioned that (afaik) there is some automation involved
<lunik1> but I don't know much beyond that
euandreh has quit [Ping timeout: 272 seconds]
blub has left #nixos [#nixos]
<ryantm> Since most of the package definitions are simple code, there are a bunch of different succesful automation initiatives.
<numkem> is there a way to install a global KDE theme? It used to work just fine on Arch but it doesn't work on Nix, I assume it has something to do with paths, just wondering if someone found a way to make it work
<{^_^}> [nixpkgs] @aborsu opened pull request #95715 → jupyterhub: fix authenticator configuration → https://git.io/JJbkY
<ryantm> The AUR has 9500 maintainers, we have 1400 maintainers, but AUR has 14k packages up to date and we have 24k.
sangoma has quit [Ping timeout: 256 seconds]
<nij> vika_nezrimaya: how would you use builtin.read..? to configure alter this expression?
<colemickens> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
bennofs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<ryantm> (numbers according to Repology: https://repology.org/repositories/statistics/newest )
<lunik1> ryantm: I guess for many packages you can just bump the version and update the checksum?
<nij> ryantm: We have 24k???!?!?!?! Why would nixos be harder to use than arch?
<bqv> because declarative
kim0 has quit [Quit: Connection closed for inactivity]
wnklmnn has quit [Quit: Leaving]
<energizer> more because sandbox
<nij> ?
<ryantm> Repology says we have 44k non-unique packages. AUR has 24k.
<lunik1> tbh the reason I started using nixos in the first place because it was one of only 2 distros that packaged the specific set of packages I needed for my homeserver =p
<vika_nezrimaya> nij: Whatever's in .text goes into a qutebrowser/config.py and then `home.files.".config/qutebrowser/config.py".text = builtins.readFile ./qutebrowser/config.py;`
__Sander__ has quit [Quit: Konversation terminated!]
<vika_nezrimaya> That's how you refactor this kind of configs
<lunik1> you have to add the 10k or so in the standard arch repos for it to be a fair comparison, but it's still impressive
<lunik1> where does raspian get an extra 2k packages from over Debian...
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> Could we get help merging this PR? https://github.com/NixOS/nixpkgs/pull/87766
<{^_^}> #87766 (by ysndr, 13 weeks ago, open): nodePackages.mermaid-cli: init 8.4.8
<selfsymmetric-mu> It's working and tested, but we're having trouble getting it merged.
<nij> vika_nezrimaya: I see, so the home-manager creates the config file for you?!
<selfsymmetric-mu> Been resolved with master twice, but it just gets out of date again when it doesn't get merged.
<vika_nezrimaya> nij: Yep
<ryantm> It's debatable whether it is fair but nixpkgs numbers on Repology include all of Hackage.
<vika_nezrimaya> In fact, instead of builtins.readFile you could generate a string with a function and it will be pasted into the config file
mariatsji has quit [Remote host closed the connection]
<ryantm> There's also other large package sets like R that are in nixpkgs, but not included in Repology.
<lunik1> distros will also split up packages differently
<lunik1> it's not perfect but I think it gives an accurate impression
<nij> vika_nezrimaya: Im impressed again :D
mariatsji has joined #nixos
<nij> vika_nezrimaya: nixos would be definitely hard to use if no one like you were here to help
<nij> highly appreciated :D and to all of you
<nij> thank you i have to dash off
<vika_nezrimaya> I learned everything I knew from manuals and source code
<vika_nezrimaya> Oh, the joy of using open source software
<bqv> manuals and source code are great but have you tried sith lords?
<infinisil> selfsymmetric-mu: I'll merge it if you ping me when rebased and CI succeeded
<Unode> selfsymmetric-mu: I can't do the merge but looking at the request that's a very long list of dependencies being touched and some being removed. When you say tested, do you mean just the package you are adding or everything else that depends on the packages you are updating with this pull request?
zeta_0 has joined #nixos
malook has left #nixos ["ERC (IRC client for Emacs 26.3)"]
nij has quit [Remote host closed the connection]
mariatsji has quit [Ping timeout: 260 seconds]
<selfsymmetric-mu> Unode: I mean just the package we're adding. I'm not sure if that diff is accurate anymore since it's drifted into conflict with master. Again.
<energizer> what happened here? nix run nixpkgs.conda --command conda -> error: unable to exec 'conda': No such file or directory
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/eb8080d979b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<zeta_0> hello there, i'm trying to build nixos for raspberry pi, but i docker/docker-compose is throwing errors? https://dpaste.org/sJJ4 https://github.com/Robertof/nixos-docker-sd-image-builder
<Unode> energizer: the conda package doesn't provide a conda binary, but instead a "conda-shell" which will have "conda" in it's PATH.
lisovinvlad has joined #nixos
<Unode> conda is one of those packages that is a bit tricky to have working so instead you run it from a shell that has all the necessary environment set.
<zeta_0> i just have docker/docker-compose installed, am i supposed to do anything extra in order to get this working? note: i have never used docker before.
lisovinvlad has left #nixos [#nixos]
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Unode> zeta_0: how did you install docker & docker-compose?
zupo has joined #nixos
<zeta_0> Unode: i installed them in my home-packages(home.nix).
<Unode> If you are on NixOS you probably also need to add "virtualisation.docker.enable = true" to your config.
zupo has quit [Client Quit]
<Unode> hum... I'm not familiar with home-packages. But docker needs to run a daemon as root so that's probably why you are getting permission errors.
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<zeta_0> Unode: thanks for the help, i'll enable that option, and run the command as root, to see if it fixes my issue.
<{^_^}> [nixpkgs] @flokli opened pull request #95716 → nixos/fontconfig: fix 50-user.conf handling → https://git.io/JJbIn
orivej has quit [Ping timeout: 240 seconds]
<zeta_0> cool, i found good documentation for docker: https://nixos.wiki/wiki/Docker
alp has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #95702 → llvm_10: disable failing test on 32-bit ARM → https://git.io/JJFhX
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JJbIu
<{^_^}> [nixpkgs] @matthewbauer merged pull request #95680 → john: ship internal perl modules → https://git.io/JJFKI
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JJbIz
<{^_^}> [nixpkgs] @flokli merged pull request #95716 → nixos/fontconfig: fix 50-user.conf handling → https://git.io/JJbIn
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJbIa
<{^_^}> [nixpkgs] @matthewbauer merged pull request #95363 → crda: fix cross compilation → https://git.io/JJ7JY
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JJbIw
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos
CodeSpelunker has quit [Quit: CodeSpelunker]
choward6 has quit [Quit: The Lounge - https://thelounge.chat]
zangi has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
aborsu has quit [Quit: aborsu]
eta has quit [Remote host closed the connection]
eta has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
kleisli has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #95684 → squashfs-tools-ng: 1.0.0 -> 1.0.1 → https://git.io/JJF6M
<{^_^}> [nixpkgs] @alyssais pushed to master « squashfs-tools-ng: 1.0.0 -> 1.0.1 »: https://git.io/JJbIF
gustavderdrache has quit [Quit: Leaving.]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos
Dr8128 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #95681 → nixos/fonts: remove fontconfig-penultimate → https://git.io/JJFKE
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/JJbLL
eoli3n_ has quit [Ping timeout: 264 seconds]
<colemickens> please someone have pity on me, where is 'fastboot'?
* colemickens flashtool?
orivej has joined #nixos
ScottHDev has quit [Ping timeout: 245 seconds]
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<danielrf[m]> colemickens: androidenv.androidPkgs_9_0.platform-tools
<cole-h> ^
kraeXen has quit [Remote host closed the connection]
* colemickens doesn't see any of that in `nix-env -qaP` weird
<danielrf[m]> yeah, it's not super discoverable unfortunately
<colemickens> and yet, it works. wat
<colemickens> anyway, thank you :)
<danielrf[m]> np :)
alp has quit [Ping timeout: 240 seconds]
thc202 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @koslambrou reopened pull request #95711 → pythonPackages.rdflib-jsonld: init at 0.5.0 → https://git.io/JJbJr
rardiol has joined #nixos
kraeXen has joined #nixos
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos
<cole-h> colemickens: I think it's because it needs you to accept the android_sdk license?
rardiol_ has joined #nixos
<colemickens> oh right, nix-env / config all that jazz, makes sense
rardiol has quit [Ping timeout: 256 seconds]
Darkmatter66_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
kraeXen has quit [Read error: Connection reset by peer]
kraeXen1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
kraeXen1 is now known as kraeXen
Darkmatter66 has joined #nixos
nij has joined #nixos
dongcarl has quit [Read error: Connection reset by peer]
<nij> I'm still stuck with configuring my qutebrowser with home-manager :(
knupfer1 has quit [Ping timeout: 260 seconds]
<nij> specifically, I'm looking at this expression
<nij> this expression was called by another home.nix
dongcarl has joined #nixos
<{^_^}> [nixpkgs] @KAction opened pull request #95717 → git-vanity-hash: init at 2020-02-26 → https://git.io/JJbLS
<nij> I tried to paste `config = {...` in to my configuration.nix but it says the option `home` is not available
<nij> I do have home-manager working. For example. I have configured vim by home-manager.users.me.programs.vim in configuration.nix already
<nij> reading `man home-configuration`, it seems that I have to put this into ~/.config/nixpkgs/home.nix
<nij> I did that, but it still didn't work :O
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1e3f09feaa5 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @Infinisil opened pull request #95718 → lib/modules: Fix nonexistant option error → https://git.io/JJbLA
__monty__ has quit [Quit: leaving]
kraeXen has quit [Remote host closed the connection]
kraeXen has joined #nixos
<niso> nij: you can use home-manager in two different ways, if you plae the config in ~/.config you'll use it interactively, if you use it via module, you'll use it via your configuration.nix
<niso> s/plae/place
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #85496 → kapitonov-plugins-pack: init at 1.2.1 → https://git.io/JfJdQ
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @magnetophon to master « kapitonov-plugins-pack: init at 1.2.1 (#85496) »: https://git.io/JJbtU
ScottHDev has joined #nixos
dongcarl has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #82825 → freqtweak: init at unstable-2019-08-03 → https://git.io/JvXoU
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @magnetophon to master « freqtweak: init at unstable-2019-08-03 (#82825) »: https://git.io/JJbtk
kraeXen has quit [Remote host closed the connection]
kraeXen has joined #nixos
sadmin has quit [Quit: Lost terminal]
<ScottHDev> By any chance, do you know if the user bulb will come back or how could I contact him?
<ScottHDev> *how I could
dongcarl has joined #nixos
o1lo01ol_ has quit [Remote host closed the connection]
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ScottHDev has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
Rusty1 has joined #nixos
kleisli_ has joined #nixos
kleisli has quit [Ping timeout: 260 seconds]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos
<{^_^}> [nixpkgs] @wchresta closed pull request #95643 → idris2: Enable --install, bugfixes → https://git.io/JJFGr
tazjin has quit [Remote host closed the connection]
tazjin has joined #nixos
kraeXen has quit [Ping timeout: 260 seconds]
<zangi> is there nix library to get same output of `nproc` ?
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #89171 → uhhyou.lv2: init at unstable-2020-07-31 → https://git.io/JfKLy
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @magnetophon to master « uhhyou.lv2: init at unstable-2020-07-31 (#89171) »: https://git.io/JJbtH
dongcarl has quit [Read error: Connection reset by peer]
<infinisil> zangi: What do you need this for?
dongcarl has joined #nixos
<zangi> I have multiple machines and I wish to have one `configuration.nix` that if it's on machine A it uses `{ nix.buildCores = 4; }`, if on machine B it uses `{ nix.buildCores = 8; }`
<zangi> something like that
MmeQuignon has quit [Quit: WeeChat 2.8]
<nij> niso: the config I posted.. which way does it use? I would hope to use the configuration.nix way, but would also like to builtin.readFile the external config qutebrowser.py.
<trepetti[m]> anyone know how to make sure DATE and TIME get set in builds?
<trepetti[m]> wait, didnt mean to bold them __ DATE __ and __ TIME __
<trepetti[m]> the macros that are part of the c compiler for those "built on: " messages
nij has quit [Quit: leaving]
<infinisil> zangi: You can set it to 0 for it to use all available cores
<infinisil> See the documentation on nix.buildCores
nixbitcoin has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #91937 → [20.03] openafs: 1.6.23 -> 1.6.24 → https://git.io/JJJQl
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-20.03: https://git.io/JJbq4
lisovinvlad has joined #nixos
lisovinvlad has left #nixos [#nixos]
nixbitcoin_ has quit [Ping timeout: 240 seconds]
dongcarl has quit [Read error: Connection reset by peer]
mbrgm_ has joined #nixos
<Graypup_> can you get cabal2nix to generate a nix file for an example?
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
<Graypup_> or am i going to just have to do this in a somewhat dumb way?
dongcarl has joined #nixos
la-jesystani has joined #nixos
<Graypup_> (like, an example executable from examples/)
<infinisil> Graypup_: cabal2nix works on any cabal file
orivej has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @trepetti opened pull request #95720 → ujprog: init at 3.0.92 → https://git.io/JJbqD
<Graypup_> infinisil, sorry! I was having a bit of dyslexia and thought it said "example" and had native support, when really everyone just puts them in conditionals with inconsistently named flags lol
<Graypup_> (instead of "executable")
<Graypup_> mixing up cargo and cabal
eoli3n_ has joined #nixos
kleisli_ has quit [Remote host closed the connection]
evils has quit [Ping timeout: 240 seconds]
kleisli_ has joined #nixos
eoli3n__ has joined #nixos
dongcarl has quit [Read error: Connection reset by peer]
eoli3n_ has quit [Ping timeout: 240 seconds]
dongcarl has joined #nixos
evils has joined #nixos
meh` has quit [Ping timeout: 260 seconds]
eoli3n__ has quit [Ping timeout: 260 seconds]
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #81606 → slurm: 19.05.5.1 -> 20.02.4.1 → https://git.io/JvakS
<{^_^}> [nixpkgs] @markuskowa pushed 4 commits to master: https://git.io/JJbmt
sigmundv_ has quit [Read error: Connection reset by peer]
sigmundv_ has joined #nixos
avn has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
philr has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #95721 → chromium: prefer VMS with 'big-parallel' → https://git.io/JJbmu
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos
bennofs has joined #nixos
Soo_Slow has joined #nixos
yaroot has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
avn has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]