worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<nh2> clever: yeah that is a pretty random special-casing of one thing there
<sondr3> No hashes starting with ‘e’, ‘t’, ‘o’ or ‘u’ in /nix/store? https://discourse.nixos.org/t/no-hashes-starting-with-e-t-o-or-u-in-nix-store/4906
<sondr3> anyone have any clue why this is? I'm extremely curious
<clever> src/libutil/hash.cc:const string base32Chars = "0123456789abcdfghijklmnpqrsvwxyz";
<clever> sondr3: its not just that it cant start with an e, but it wont have an e anywhere in the hash
<sondr3> oh that's even more of a fun fact
<sondr3> do you know why?
<clever> 72 // omitted: E O U T
<clever> 73 const string base32Chars = "0123456789abcdfghijklmnpqrsvwxyz";
<monty> sondr3: Those just happen to be the characters dropped. Otherwise there'd be too many for base32
<clever> and i think they omited letters needed for certain words, so you cant spell bad words
<monty> I don't get omitting u and t but not i or l though.
<monty> Even v/w and m/n are more confusing.
<monty> Ah, assumed it'd be optimized for least confusing.
<xel> Hi, I am attempting to use NixOS to compile a Rust binary in NixOS. When I try to run it within a different OS (Ubuntu in this case), I get `No such file or directory` when it definitely is within the directory. I did verify that the binary is 64-bit. Could this be a problem with linking because of the non-standard filesystem structure of NixOS?
<monty> Thankfully sass is a perfectly valid part of a hash : >
<monty> Almost definitely.
<monty> You need to provide the entire closure.
<clever> xel: if you run `file` on the binary, youll see the path to the dynamic linker, and that must exist for it to run
<monty> A static binary *might* be a way to get around that issue.
<monty> Oh, you can just change the linker?
<xel> Can you?
<clever> monty: thats exactly what patchelf does, to make non-nix stuff work under nixos
CptCaptain has quit [Quit: WeeChat 2.6]
<clever> and you could use patchelf to do the reverse, but you may run into compatability problems
<clever> your basically throwing away half the benefits of nix when you do it
<xel> so what would be the best solution for this? worst-case I could just compile it in a VM or container
<clever> just tell nix to build a static executable
<clever> then it works anywhere, and your still using the libc defined in nixpkgs
<xel> how would I do that for Rust?
<clever> xel: use pkgs.pkgsStatic instead of plain pkgs
<nh2> clever: hmm, it seems like no matter how I override `libXtst` (top-level in `pkgs`, in `X11` or `xorg`), this reference to it in my statically linked GTK app https://github.com/nh2/static-haskell-nix/pull/67/files#diff-5a873d92c00133aa8d3f0a425a93aac2R839 (line 839 on the right side) does not refer to it. I can put arbitrary garbage into the my overridden libXtsts, they are not evaluated
<clever> that will make all binaries static
t58 has quit [Quit: Leaving]
<xel> alright, I'll give that a try
<ddima> monty: congrats for fixing ;)
<xel> thank you :)
<monty> Didn't actually come up with any of the steps but I typed them over flawlessly : )
<monty> nn, all
<clever> nh2: due to the // going on, you might need to override both?
monty has left #nixos [#nixos]
vandenoever has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @globin opened pull request #74089 → nixos/tests: fail on failing subtests → https://git.io/JePmv
bvdw has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
bvdw has joined #nixos
<nh2> xel: if you build all your rust dependencies statically into the binary, so that it only depends on glibc at the end, then the patchelf approach should work (but make sure that you use an older-or-equals glibc in NixOS than in your Ubuntu, because glibc guarantees only that you can run stuff compiled against older versions on newer oens, not the other way around). I'd say try that first and report if it works.
<nh2> xel: The alternative is fully static executables, as clever said; I have a project `static-haskell-nix` that works on this for Haskell, and right now I'm working on making statically linked Rust executables that link in GTK (https://github.com/nh2/static-haskell-nix/pull/67)
<{^_^}> nh2/static-haskell-nix#67 (by nh2, 1 week ago, open): WIP: C static gtk3 apps
<clever> xel: there is also nix-bundle, which will ship a nix closure, and automatically chroot for you
<nh2> clever: locally I have overridden all 3 (top-level, `X11` and `xorg`) -- or do you mean something else?
<clever> nh2: yeah, thats what i would have done as well
ng0 has quit [Quit: Alexa, when is the end of world?]
<clever> nh2: sometimes, its simpler to edit a fork of nixpkgs, and once its working, transition to overrides
<xel> nh2: I'll try those as well, I did just try using only patchelf to change the interpreter for it, though that does not seem to have fixed it so I will statically link most likely
<clever> xel: you would also have to restore the RPATH to /lib:/usr/lib, and instruct the user to install the right libs
leungbk has quit [Remote host closed the connection]
<nh2> clever: when I use `final.callPackage` as I do there, should that give it the `libXtst` from the same scope?
<{^_^}> [nixpkgs] @flokli merged pull request #74089 → nixos/tests: fail on failing subtests → https://git.io/JePmv
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JePmT
<clever> nh2: yeah, that should be a good work-around
vandenoever has quit [Quit: Konversation terminated!]
<nh2> xel: for static linking, keep in mind that for that you need `.a` files for all your system dependencies (which is where 60% of the work in static-haskell-nix goes into), and you will need to use `musl` instead of glibc (which is what `pkgsStatic` does)
<nh2> clever: but that's what I'm doing, and it does not work
aveltras has quit [Quit: Connection closed for inactivity]
sondr3[m]1 has joined #nixos
<clever> nh2: can you pastebin the entire error when it fails?
<nh2> xel: if you need examples of adding `.a` files to your deps, static-haskell-nix has a lot of them
fenedor has quit [Read error: Connection reset by peer]
<clever> nh2: ive also used glibc static, but i dont think its officially supported
drakonis1 has quit [Ping timeout: 240 seconds]
drakonis1 has joined #nixos
<nh2> clever: if the glibc-statically-linked program uses networking, it will segfault, e.g. https://github.com/nh2/static-haskell-nix/issues/17
<avn> All gimp plugins looks broken btw :/
<{^_^}> nh2/static-haskell-nix#17 (by nh2, 28 weeks ago, open): Document example failure of glibc static linking with NSS somewhere
<p-h[m]> How can I check the syntax of a nix file without evaluating it
<clever> nh2: i think thats only haskell networking, plain c networking works mostly
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #74090 → stdenv, haskell: GHCJS cross compilation without CC → https://git.io/JePmt
<clever> nh2: i think its related to how haskell tries to lookup the protocol# for tcp in /etc/protocols
<clever> which gets routed thru nss
alexherbo2 has quit [Ping timeout: 240 seconds]
<clever> nh2: and if you find the libXTst in the drv for tutorial, and check its lib dir, what files are present?
<nh2> clever: but the problem here is not in the error message; the key thing is that it doesn't use any of my 3 overrides. For example, if I build `nix-build survey/default.nix -A pkgsWithArchiveFiles.libXtst`, it builds my changes, but if I build `pkgsWithArchiveFiles.meson-tutorial-gtk`, then it does not build them, so it's using a non-overridden one
<sondr3> p-h[m]: could you maybe do it with `nix-instantiate --parse`?
<nh2> clever: interestingly `pkgsWithArchiveFiles.xorg.libXtst` also uses the non-overridden one, so it looks like my `xorg.override` is not doing anything
<p-h[m]> thx
<clever> nh2: try using pkgsWithArchiveFiles.extend (overlay) instead of overlays=[overlay] ?
sondr3 has quit [Quit: WeeChat 2.6]
<nh2> clever: if I override all 3 ways with `libXtst = throw "here"`, then `pkgsWithArchiveFiles.xorg.libXtst` still works and does not throw
<clever> nh2: if i'm reading this right, i think your overlay is against pkgs.haskellPackages.X11, not pkgs.X11
<nh2> clever: uh you are totally right, I put it in the wrong overlay -.-
<{^_^}> [nixpkgs] @flokli merged pull request #73929 → nginx-sso: 0.16.1 -> 0.22.0 → https://git.io/Jeisy
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JePmG
<nh2> let me make that sane and report
<nh2> clever: well with that fixed, it reveals that `xorg = previous.xorg.override` doesn't work because `xorg` has no override attribute
<clever> nh2: you want xorg.overrideScope'
<clever> there is both `xorg.overrideScope (super: self: {})` and `xorg.overrideScope' (self: super: {})`
drakonis has quit [Quit: WeeChat 2.6]
<nh2> clever: is it documented somewhere what `overrideScope` does?
<clever> nh2: the same as extend
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm has joined #nixos
<clever> nh2: i also prefer haskellPackages.extend rather then .override + lib.composeExtensions, it just feels cleaner
<clever> nh2: though .extend deletes .override
<nh2> clever: definitely, this stuff should be unified
<clever> i'm also not sure why there is both overrideScope and extend
<nh2> clever: `overrideScope'` seems to bring me further. Is it literally the same as `extend`, i.e. can I use them interchangingly?
<clever> yeah
<clever> but i think overrideScope had a typo (self/super swapped) and they had to make a ' version to fix it
<nh2> clever: yeah, that I saw, if you try to use the old one it throws a deprecation warning (good)
<nh2> clever: but it complains `extend` on `xorg.extend`
<clever> some sets renamed it to extend
<clever> others left it as overrideScope
<clever> nh2: one other thing...
MmeQuignon has quit [Ping timeout: 265 seconds]
<nh2> clever: OK next question: Is there a good way to add `dontDisableStatic = true` to *all* the derivations in `xorg.*`, by mapping over the attrs without mapping over those that aren't valid (like `overrideScope` itself)?
<clever> nh2: using newScope and makeScope together, you can create a new set of packages, that automatically gets its own scoped callPackage and overrideScope'
<clever> i use that pattern any time i'm making a file with more then 2 expr
<nh2> clever: that is useful, I have bookmarked it
<clever> nh2: normally, daedalus depends on wallet, to build installers
<clever> nh2: but for testing purposes, this makes wallet depend backwards on daedalus, and overrideScope itself in
selfsymmetric-mu has joined #nixos
<clever> nh2: so you can now build daedalus installers, from the wallet repo, without having to commit wallet, push wallet, then update the pin in daedalus
<nh2> clever: that makes sense
<clever> the kexec stuff is using it a bit differently, i'm just abusing it as a fixed-point thing, so i can change a number of variables
<clever> it could have also just been a single let block with a bunch of cross-referencing functions
jluttine has quit [Ping timeout: 240 seconds]
boxscape has quit [Ping timeout: 265 seconds]
alex_giusi_tiri has joined #nixos
sb0 has quit [Quit: Leaving]
mexisme has quit [Ping timeout: 240 seconds]
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #73958 → liblapack: 3.8.0 -> 3.9.0 → https://git.io/Jeiur
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JePmw
Khetzal has quit [Remote host closed the connection]
Khetzal has joined #nixos
acarrico has joined #nixos
mexisme has joined #nixos
MmeQuignon has quit [Ping timeout: 240 seconds]
Rusty1 has quit [Remote host closed the connection]
Khetzal has quit [Quit: No Ping reply in 180 seconds.]
Khetzal has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JePmx
Rusty1 has joined #nixos
rople has joined #nixos
mmlb has joined #nixos
Khetzal has quit [Quit: No Ping reply in 180 seconds.]
Khetzal has joined #nixos
xelxebar_ has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
silver has quit [Read error: Connection reset by peer]
Khetzal has quit [Read error: Connection reset by peer]
Khetzal has joined #nixos
sb0 has joined #nixos
mexisme has quit [Read error: Connection reset by peer]
Khetzal has quit [Remote host closed the connection]
Khetzal has joined #nixos
jluttine has joined #nixos
lunik1 has quit [Read error: Connection reset by peer]
lunik1 has joined #nixos
christianpoveda has joined #nixos
<christianpoveda> Hi everyone, I'm trying to migrate my laptop to nixos and I'd like your opinion on a matter, I come from a rolling release distro and I wanted to use nixos-unstable for every package. Is that a good idea?
<clever> christianpoveda: i also use nixos-unstable on all of my machines
<clever> the rollback stuff makes it easy to undo things if the rolling-release does break things
<christianpoveda> clever: How do you use that channel instead of stable?
<christianpoveda> I mean is it there a way to tell nix to use unstable by default in my configuration.nix file?
<clever> christianpoveda: as root, nix-channel --add https://nixos.org/channels/nixos-unstable nixos, then nix-channel --update
Khetzal has quit [Remote host closed the connection]
<christianpoveda> Oh so thats just pointing the nixos channel to nixos-unstable, right?
<clever> yep
h0m1 has quit [Ping timeout: 245 seconds]
<christianpoveda> great thank you :)
h0m1 has joined #nixos
Khetzal has joined #nixos
tsrt^ has quit []
xqcw has joined #nixos
<gchristensen> is there something like squashfs but faster to make?
<clever> gchristensen: i think you can change the block size with squashfs, which would make it compress faster (but not as much)
<srid> How do I uninstall some scripts from my ~/.nix-profile/bin? Even `sudo rm -rf` doesn't work. Specifically trying to remove `~/.nix-profile/bin/hie-*` (because it is conflicting with home-manager install of the hie package)
<clever> gchristensen: mksquashfs is also very good at hammering all cores, so you could forward it to a machine with lots of cores
<srid> I *believe* I had run `nix-env -i` at some point.
<clever> srid: you must uninstall the conflicting package with `nix-env -e name`
<clever> srid: `nix-env -q` will list the package names
<srid> Ah, thanks. Didn't know about -q
<xqcw> How often should you update nixpkgs channel as a nixos user? Is it recommended to do it daily? It seems like it might be more intensive than apt update && apt upgrade, or am I wrong
<srid> Not very often. When I feel like it. Usually twice a month.
<srid> (If things break, you can always rollback using `nix-channel --rolback`)
<xqcw> Okay, got it. Thanks
Khetzal has quit [Remote host closed the connection]
Khetzal has joined #nixos
nfip^ has joined #nixos
mexisme has joined #nixos
xqcw has quit [Quit: leaving]
evils has joined #nixos
<gchristensen> clever: do you know if Ican tell `mount` to mount everything in an fstab, but at a different root? (like: mnt/
<gchristensen> (like /mnt-root/)
justanotheruser has joined #nixos
rople has quit [Ping timeout: 276 seconds]
buckley31002 has quit [Quit: Ping timeout (120 seconds)]
felixfoertsch23 has joined #nixos
rople has joined #nixos
buckley31002 has joined #nixos
felixfoertsch has quit [Ping timeout: 250 seconds]
<nh2> well great github is down
bastion-tester has joined #nixos
pie__ has quit [Ping timeout: 240 seconds]
Chiliparrot has joined #nixos
rople has quit [Ping timeout: 240 seconds]
bastion-tester has quit [Quit: ZNC 1.7.4 - https://znc.in]
bastion-tester has joined #nixos
kolbycrouch has joined #nixos
rople has joined #nixos
<kolbycrouch> anyone know how to install nixos-rebuild/nixos-install on non-nix hosts?
<srid> kolbycrouch: what do you mean by 'non-nix hosts'?
<infinisil> kolbycrouch: Perhaps you're looking for this: https://nixos.org/nixos/manual/index.html#sec-installing-from-other-distro
<kolbycrouch> srid: I meant non-nixos host. I have an armv7 sbc with a ubuntu image on the microSD. I figured that nixos-rebuild would turn in into a proper nixos system without having to write an expression to create an image
<infinisil> The third point in that section
<samueldr> just so you know, cache.nixos.org does not host armv7 binaries, so you'll be building the whole world
alex_giusi_tiri has quit [Quit: Leaving.]
<kolbycrouch> infinisil: Thanks for the info! it looks like that might be what I want.
<kolbycrouch> samueldr: Yes I know, it's not too much of a problem for me to build locally.
<samueldr> great :) just saying in case
<lopsided98> I don't know if anyone has managed to lustrate an ARM device
<kolbycrouch> samueldr: It was a fair warning. Building a system on my rpi1 took nearly 2 weeks :D . My odroid-xu4 ( what I'm using this for ) is powerful enough to build the minimal system in reasonable time though.
shibboleth has quit [Quit: shibboleth]
christianpoveda has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bendlas pushed 2 commits to master: https://git.io/JePOk
<{^_^}> [nixpkgs] @bendlas pushed 2 commits to release-19.09: https://git.io/JePOI
horner has quit [Ping timeout: 250 seconds]
buckley31002 has quit [Quit: The Lounge - https://thelounge.chat]
buckley31002 has joined #nixos
vesper11 has quit [Ping timeout: 252 seconds]
vesper11 has joined #nixos
buckley31002 has quit [Quit: The Lounge - https://thelounge.chat]
lux3 has joined #nixos
buckley310 has joined #nixos
<{^_^}> [nixpkgs] @tbenst opened pull request #74091 → pythonPackages.mlflow: init at 1.4.0 → https://git.io/JePO0
<{^_^}> [nixpkgs] @veprbl opened pull request #74092 → applgrid: fix build → https://git.io/JePOE
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nfip^ has quit []
domogled has joined #nixos
domogled has quit [Client Quit]
iqubic has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
rardiol has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @eraserhd opened pull request #74093 → java classpath hook: allow unbound $CLASSPATH → https://git.io/JeP3O
<kandinski> how can I make my currently booted system-xxx-link profile the default boot before deleting all subsequent ones?
<kandinski> I did `/run/current-system/bin/switch-to-configuration boot` as the manual shows, but when I list /nix/var/nix/profiles/ it still shows the `system -> system-{latest-non-working}-link` symlink
<{^_^}> [nixpkgs] @anmonteiro opened pull request #74094 → Kubernetes cfssl: Allow configuring cfssl API server SANs → https://git.io/JeP30
domogled has joined #nixos
iqubic has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
iqubic has joined #nixos
reanimus has quit [Ping timeout: 245 seconds]
<lopsided98> kandinski: nix-env -p /nix/var/nix/profiles/system --set <path-to-system>
reanimus has joined #nixos
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Khetzal_ has joined #nixos
<lopsided98> kandinski: or maybe nix-env -p /nix/var/nix/profiles/system --switch-generation <generation-number>
Khetzal has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 246 seconds]
nixy3 has quit [Quit: The Lounge - https://thelounge.chat]
nixy3 has joined #nixos
<kandinski> lopsided98: thanks
Khetzal_ has quit [Remote host closed the connection]
Khetzal has joined #nixos
mexisme has joined #nixos
gjabell has quit [Ping timeout: 246 seconds]
endformationage has quit [Ping timeout: 240 seconds]
<DigitalKiwi> what would happen if i did a nixops deploy to the machine i did the nixops deploy from
gjabell has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<ryantm> DigitalKiwi: I do that regularly.
<DigitalKiwi> does it replace the running system or what?
<ryantm> The machine I run nixops from is just my development VM, and I configure it with nixops, so yes, it reconfigures it properly.
<DigitalKiwi> huh interesting
<ryantm> It's not that different from running nixos-rebuild switch
Guest55348 has joined #nixos
<evils> i was under the impression it'd start a guest VM on that machine
Acou_Bass has quit [Ping timeout: 250 seconds]
knupfer has joined #nixos
gagbo has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
Ralith_ has joined #nixos
detran has quit [Remote host closed the connection]
Acou_Bass has joined #nixos
Ralith__ has quit [Ping timeout: 265 seconds]
detran has joined #nixos
gerschtli has quit [Quit: WeeChat 2.6]
gerschtli has joined #nixos
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
o1lo01ol1o has joined #nixos
xel has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
buckley310 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74095 → bitcoin-abc: 0.20.5 -> 0.20.6 → https://git.io/JeP3j
knupfer has quit [Ping timeout: 250 seconds]
Lears has quit [Remote host closed the connection]
Lears has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74096 → audacity: 2.3.2 -> 2.3.3 → https://git.io/JePsO
palo1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
zupo has joined #nixos
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74097 → ace: 6.5.6 -> 6.5.7 → https://git.io/JePsu
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74098 → alsa-firmware: 1.0.29 -> 1.2.1 → https://git.io/JePsX
Guest55348 has quit [Ping timeout: 265 seconds]
mabel has quit [Read error: Connection reset by peer]
zupo has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74099 → atlassian-confluence: 7.0.2 -> 7.0.3 → https://git.io/JePs9
zupo has joined #nixos
<kandinski> I"m really confused here. I'm running `# /run/current-system/bin/switch-to-configuration boot` as it says in https://nixos.org/nixos/manual/index.html#sec-rollback, and on reboot it defaults to the expected profile, but the /nix/var/nix/system symlink still points to the latest, not the new default. Is this the expected behaviour?
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74100 → gnome3.accerciser: 3.34.1 -> 3.34.2 → https://git.io/JePsH
hmpffff has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74101 → alsaPlugins: 1.1.9 -> 1.2.1 → https://git.io/JePsQ
bahamas has quit [Ping timeout: 240 seconds]
v0|d has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74102 → alsaLib: 1.1.9 -> 1.2.1.1 → https://git.io/JePGm
aveltras has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74103 → amazon-ecs-cli: 1.17.0 -> 1.18.0 → https://git.io/JePGR
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74104 → gnome3.adwaita-icon-theme: 3.34.0 -> 3.34.3 → https://git.io/JePGu
<LnL> kandinski: yes, nixos-rebuild will touch the profile
Ariakenom has joined #nixos
Heirlung has quit [Quit: ZNC - http://znc.in]
m0rphism has joined #nixos
Heirlung has joined #nixos
mananamenos_ has joined #nixos
<Ariakenom> specifying outputs in services.xserver.xrandrHeads gives the right order to them, but wrong resolution (1440->1080). Specifying primary in the attribute freezes at login. Any tips?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74105 → bandwidth: 1.5.1 -> 1.9.3 → https://git.io/JePGo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74106 → bdf2psf: 1.193 -> 1.194 → https://git.io/JePGi
<kandinski> LnL sorry, but I don't understand. I'm running generation 109 now, which is the one that grub boots by default, but here's the output of ls -la /nix/var/nix/profiles/*system*: https://termbin.com/etrh
<kandinski> shouldn't the symlink /nix/var/nix/profiles/system also be pointing to system-113-link?
gagbo has quit [Ping timeout: 246 seconds]
octe has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
<LnL> you only booted the generation, nixos-rebuild switch --switch-generation 109 would update the profile
<kandinski> LnL, thanks
<LnL> also note that any future switch/build will be based on your configuration.nix not what the configuration of the current generation was
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74107 → abcm2ps: 8.14.5 -> 8.14.6 → https://git.io/JePGy
<kandinski> LnL yeah, I'm thinking of manually adding annotation points for the configuration.nix and the hash of the channels
<kandinski> (or eventually automating that too, but seems too hard right now)
<kandinski> LnL thanks!
<LnL> there's system.copySystemConfiguration, but that won't follow any imports and doesn't include channel versions
zupo has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #74026 → systemd: v243 > v243.3 → https://git.io/Jeibn
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to staging: https://git.io/JePG5
philr has joined #nixos
<{^_^}> [nixpkgs] @lheckemann pushed commit from @andir to staging-19.09 « systemd: v243 -> v243.3 »: https://git.io/JePGF
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74108 → aws-google-auth: 0.0.32 -> 0.0.33 → https://git.io/JePGb
leungbk has joined #nixos
tjgee has quit [Quit: if i commit suicide, at least a real nigga killed me]
tjg1 has joined #nixos
<kandinski> for completeness, lopsided98's advice was good (thanks!) I just didn't know how to use it properly at first.
Diagon has joined #nixos
dansho has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74109 → bind: 9.14.7 -> 9.14.8 → https://git.io/JePZt
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #74110 → pythonPackages.m3u8: init at 0.5.2 → https://git.io/JePZm
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74111 → abcmidi: 2019.10.13 -> 2019.11.11 → https://git.io/JePZs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74112 → aws-checksums: 0.1.3 -> 0.1.5 → https://git.io/JePZC
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74113 → bibutils: 6.7 -> 6.8 → https://git.io/JePZR
cfricke has joined #nixos
cfricke has quit [Client Quit]
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @andrew-d opened pull request #74114 → nixosTests.syncthing*: port to python → https://git.io/JePZz
Khetzal has quit [Quit: \o/]
hmpffff has joined #nixos
cfricke has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.6]
Ariakenom has joined #nixos
Khetzal has joined #nixos
leungbk has quit [Ping timeout: 245 seconds]
Tucky has joined #nixos
o1lo01ol1o has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #74115 → vegeta: init at 12.7.0 → https://git.io/JePZ9
<Izorkin> etu: please check PR #73908 and #73151
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73908 (by Izorkin, 2 days ago, open): Update php packages
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73151 (by Izorkin, 2 weeks ago, open): php74: init at 7.4 RC6
o1lo01ol1o has quit [Ping timeout: 240 seconds]
domogled has quit [Quit: domogled]
zupo has joined #nixos
smatting has joined #nixos
seanparsons has quit [Quit: ZNC 1.7.4 - https://znc.in]
seanparsons has joined #nixos
gjabell has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74116 → ansifilter: 2.14 -> 2.15 → https://git.io/JePZh
chloekek has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74117 → alsaUtils: 1.1.9 -> 1.2.1 → https://git.io/JePnv
ng0 has joined #nixos
logzet has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74118 → balsa: 2.5.7 -> 2.5.9 → https://git.io/JePnT
<{^_^}> [nixpkgs] @7c6f434c pushed to master « fbvnc: init at 1.0.2 »: https://git.io/JePnI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74119 → armadillo: 9.800.1 -> 9.800.2 → https://git.io/JePnL
m0rphism1 has joined #nixos
gagbo has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
Diagon has quit [Quit: Leaving]
domogled has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74120 → linuxPackages.bpftrace: 0.9.2 -> 0.9.3 → https://git.io/JePnc
gxt has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74121 → avocode: 3.9.6 -> 4.0.1 → https://git.io/JePn0
nobbo has joined #nixos
gagbo has quit [Ping timeout: 240 seconds]
m0rphism1 has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
<nobbo> Can somebody merge this bug fix please: https://github.com/NixOS/nixpkgs/pull/72996
<{^_^}> #72996 (by elohmeier, 2 weeks ago, open): nixos/containers: fix handling of cfg.additionalCapabilities
aveltras has quit [Quit: Connection closed for inactivity]
<rsa> um, i dunno why i cant delete debug output, i did a 'nix-store -r /nix/store/2ppxd1plf2lc6id2nbqk9218l6pzqh7q-openssl-1.1.1d-debug' and got a warning that it can be garbage collected because no roots, but i can't even gc (--delete) it now
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74122 → airsonic: 10.4.2 -> 10.5.0 → https://git.io/JePnr
<{^_^}> [nixpkgs] @adisbladis merged pull request #72996 → nixos/containers: fix handling of cfg.additionalCapabilities → https://git.io/JeaxW
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JePno
<adisbladis> nobbo: ^
<nobbo> adisbladis: ty :-)
<adisbladis> Thank you :)
<{^_^}> [nixpkgs] @filalex77 opened pull request #74123 → nixosTests.rabbitmq: port to python → https://git.io/JePnF
<ij> This command works. Why? % NIX_PATH= nix-env -iA nixos.vitetris
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<ij> I feel like it's not supposed to.
zupo has joined #nixos
<adisbladis> ij: nix-env is channel aware
<adisbladis> ij: Indeed it shouldn't. And the `nix` 2.0 (I guess technically 2.4 or something like that) replacement for `nix-env` will not be channel aware and behave in less surprising ways.
<ij> I guess it's root channel aware as well, because only the root user has that channel, not the user user.
octe has joined #nixos
<adisbladis> Indeed it is
<ij> I tried finding the translation book for nix 2.0, but couldn't. The cheatsheet didn't have nix 2.0
<skrzyp> I've put NixOS on X230 for… fourth time(?) thorough last 6 years. And I can clearly say it has grown up a lot.
<adisbladis> ij: There is no nix 2.0 replacement for nix-env yet
<adisbladis> It's coming
zupo has quit [Client Quit]
<ij> alright, alright
<ij> I guess I got to start following the developments
<adisbladis> Iirc it's `nix profile` or something similar
<skrzyp> But I still miss the "regular" CLI for adding packages, where you can search, install, update, remove and rebuild without a weird parameter invocations like `nix-env -f '<nixpkgs>' -qAP 'regexp'` for searching packages
<adisbladis> skrzyp: That's what I just mentioned :)
<etu> skrzyp: "nix search" is great and fairly new :)
<skrzyp> adisbladis: sorry, I wasn't following
<ij> skrzyp, there's nix-env -iA nixos.package, which is much easier and there's https://nixos.org/nixos/packages.html?channel=nixos-19.09&query=podman
<ij> adisbladis, nice to know that's how it works finally. I was so puzzled by nix-env not obeying NIX_PATH
<skrzyp> etu: but is there `nix install` or `nix remove` too? The tooling is sadly scattered over few spearate binaries
<etu> skrzyp: no :(
<etu> skrzyp: It's comming as adisbladis said above :)
zupo has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #74124 → nixosTests.riak: port to python → https://git.io/JePck
<skrzyp> Anyways… can I somehow regenerate desktop menu entries cache? I've just added a package (claws-mail to be clear) and it didn't show up its desktop entry in KDE Plasma menu.
<adisbladis> skrzyp: Invoke `kbuildsycoca5`
<adisbladis> That nukes the desktop item cache for KDE :)
<adisbladis> And rebuilds from scratch
<skrzyp> Hm. Apparently it didn't helped.
<skrzyp> But I can still call the claws-mail binary itself from term. Maybe the expression is broken in some way.
<adisbladis> Maybe it doesn't provide a .desktop file?
<{^_^}> [nixpkgs] @nomeata opened pull request #74125 → wasmtime: 20191018 -> 20191111 → https://git.io/JePcL
<adisbladis> skrzyp: I just checked and it does..
<adisbladis> The next thing to check is $XDG_DATA_DIRS
<adisbladis> (Where kbuildsycoca5 looks for .desktop files)
<skrzyp> asymmetric: well that's huge
nobbo has quit [Quit: leaving]
MarcWeber has joined #nixos
<skrzyp> adisbladis *
<skrzyp> also, I found something interesting…
<skrzyp> [jskrzypnik@iron:~]$ echo $XDG_DATA_DIRS | sed 's/\:/\n/g' | grep claws || echo "nothing"
<skrzyp> nothing
<skrzyp> [jskrzypnik@iron:~]$ find /nix/store/ -maxdepth 1 -type d -iname "*claws*"
<skrzyp> /nix/store/nb1ylazn0x4xjyzwkrdm7fv8f7s5y3zs-claws-mail-3.17.4
<skrzyp> /nix/store/3qdbc7y4i4i5czfvghkzqwib4rxbxgs0-claws-mail-3.17.4-dev
<skrzyp> [jskrzypnik@iron:~]$ find /nix/store/nb1ylazn0x4xjyzwkrdm7fv8f7s5y3zs-claws-mail-3.17.4 -iname '*desktop*'
<skrzyp> /nix/store/nb1ylazn0x4xjyzwkrdm7fv8f7s5y3zs-claws-mail-3.17.4/share/applications/claws-mail.desktop
m0rphism1 has joined #nixos
<ij> now everyone will complain about pasting stuff directly into irc
mananamenos_ has quit [Remote host closed the connection]
<adisbladis> skrzyp: $XDG_DATA_DIRS will not point directtly at claws. It will point at your user profile and your system profile.
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed commit from @elohmeier to release-19.09 « nixos/containers: fix handling of cfg.additionalCapabilities »: https://git.io/JePcG
<skrzyp> tj: depends on the "acceptable number of lines", I thought 7 are still okay
lukash_|away is now known as lukash_
<adisbladis> skrzyp: I expect something like /home/adisbladis/.nix-profile/share:/etc/profiles/per-user/adisbladis/share:/nix/var/nix/profiles/default/share:/run/current-system/sw/share
<adisbladis> If you installed something with nix-env you'll find it's .desktop file symlinked in /home/$USER/.nix-profile/share/applications/
<skrzyp> adisbladis: really?
<skrzyp> $ echo $XDG_DATA_DIRS | sed 's/\:/\n/g' | wc -l
<skrzyp> 141
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adisbladis> :O
<adisbladis> That's huge
<skrzyp> Yet I still have only 7 pkgs in user env, zero in global.
<adisbladis> Anyway, the important bit is that ~/.nix-profile/share is included
<ij> what's that feature called where you scroll and when you release fingers, it keeps going?
<skrzyp> adisbladis: Yes it is, and Claws desktop entry is symlinked into it
<skrzyp> tj: "natural scrolling"?
zupo has joined #nixos
<adisbladis> skrzyp: Hm, ok. Then I really think kbuildsycoca5 should do the trick...
<skrzyp> adisbladis: But I ran it like… 4 times while we talked. Guessed it might be delayed due to some syncing or anything, but no - it's still not in menu
<ij> skrzyp, I think that's about the direction
<{^_^}> [nixpkgs] @markuskowa merged pull request #74119 → armadillo: 9.800.1 -> 9.800.2 → https://git.io/JePnL
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JePcz
sigmundv has joined #nixos
cfricke has quit [Quit: WeeChat 2.6]
Khetzal has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @filalex77 opened pull request #74126 → nixosTests.home-assistant: port to python → https://git.io/JePcV
Khetzal has joined #nixos
dansho has quit [Quit: Leaving]
alexherbo2 has joined #nixos
domogled has quit [Remote host closed the connection]
MinceR_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74127 → anydesk: 5.4.1 -> 5.5.0 → https://git.io/JePcy
noudle has joined #nixos
MinceR has quit [Ping timeout: 240 seconds]
pie_ has joined #nixos
misterwhatever has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @marsam merged pull request #74108 → aws-google-auth: 0.0.32 -> 0.0.33 → https://git.io/JePGb
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JePcb
misterwhatever has quit [Excess Flood]
DigitalKiwi has quit [Quit: quite.]
Khetzal has quit [Quit: No Ping reply in 180 seconds.]
Khetzal has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74128 → bitcoind: 0.18.1 -> 0.19.0.1 → https://git.io/JePCv
misterwhatever has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74129 → abcl: 1.5.0 -> 1.6.0 → https://git.io/JePCq
Sigma has quit [Ping timeout: 276 seconds]
<raboof> I have a password-protected ~/.ssh/id_rsa, and indeed 'git pull' uses that key and prompts me for a password.
o1lo01ol1o has quit [Ping timeout: 252 seconds]
DigitalKiwi has joined #nixos
<raboof> I'd like it to cache the key for a while though. I've set `default-cache-ttl` and `default-cache-ttl-ssh` in ~/.gnupg/gpg-agent.conf` and restarted, but this didn't have an effect yet
<eyJhb> raboof: isn't that the job of our ssh agent?
<raboof> any idea? (I also have `use-agent` in `~/.gnupg/gpg.conf` but not sure if it matters)
sweep has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74130 → cgal: 4.14 -> 5.0 → https://git.io/JePCG
<raboof> I'm pretty confused how the gpg and ssh agents interact
<eyJhb> Not sure they do at all, but I am not really using gpg for that
<ddima> raboof: gpg-agent can also serve as an ssh agent, but that needs to be configured. see https://github.com/NixOS/nixpkgs/blob/release-19.09/nixos/modules/programs/gnupg.nix#L31)
cosimone has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74131 → charliecloud: 0.11 -> 0.12 → https://git.io/JePCc
<eyJhb> raboof: so basically these - https://nixos.org/nixos/options.html#gnupg.agent
Sigma has joined #nixos
<adisbladis> raboof: Basically they dont interact at all.
misterwhatever has quit [Ping timeout: 265 seconds]
<adisbladis> GPG agent has a mode where it implements the SSH agent interface
<adisbladis> GPG agent also supports openssh keys
rople has quit [Ping timeout: 240 seconds]
<adisbladis> If you use gpg-agent you don't want to use the "regular" ssh agent at all
<adisbladis> SSH knows which agent to speak to through the environment variable SSH_AUTH_SOCK
Khetzal has quit [Remote host closed the connection]
<adisbladis> raboof: If you're not using any of the nixos modules for ssh agents you can add `enable-ssh-support` to ~/.gnupg/gpg-agent.conf
<adisbladis> Though I'm not sure what the default path for the socket is
Khetzal has joined #nixos
m0rphism1 has quit [Ping timeout: 265 seconds]
<raboof> I'm using the nix modules, and `ssh-add` works with either the gpg-agent with ssh support or the ssh agent. Caching the key still didn't work, but I guess `ssh-add` isn't too bad
<eyJhb> raboof: if you have the ssh agent, you shouldn't need to ssh-add it each time
<eyJhb> As far as I know
m0rphism1 has joined #nixos
<adisbladis> eyJhb: With the regular old ssh-agent you need to add it every time as it doesn't persist state (every time being once per agent session)
<adisbladis> Iirc gpg-agent imports the key into your regular gpg keychain, so that will persist (though I might be wrong on this one)
<eyJhb> yeah, once per agent session, which usually for me lasts untill reboot
<eyJhb> Which was what I thought was somewhat the wanted case
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74133 → rust-cbindgen: 0.9.1 -> 0.10.0 → https://git.io/JePCX
<raboof> yeah once per session is OK - and indeed after I ssh-add it it stays available for the rest of the session
fendor has joined #nixos
ivan has quit [Quit: lp0 on fire]
bvdw has quit [Quit: Ping timeout (120 seconds)]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74134 → curaengine: 4.3.0 -> 4.4 → https://git.io/JePCF
ivan has joined #nixos
evilmonads has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74135 → ckbcomp: 1.193 -> 1.194 → https://git.io/JePWT
<{^_^}> [nixpkgs] @filalex77 opened pull request #74136 → runelite: 1.6.0 -> 2.0.0 → https://git.io/JePWk
mexisme has joined #nixos
horner has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74137 → cups-filters: 1.25.11 -> 1.25.12 → https://git.io/JePWt
mexisme has quit [Ping timeout: 246 seconds]
sb0 has quit [Quit: Leaving]
<skrzyp> adisbladis: How weird. Runing kbuildsycoca5 --menutest shows claws-mail.desktop in menu tree dump, yet it's still not visible in the actual KDE menu
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<skrzyp> I've installed qpdfview too and it has the same issue.
<skrzyp> However, when I installed firefox and telegram yesterday, it somehow worked.
<Ashy> hmm, `nix-channel --update` is stuck waiting for a lock and seems to stay this way whenever i've tried in the last couple weeks
<Ashy> except for immediately after a reboot
adamtkh8 has joined #nixos
[Leary] has joined #nixos
zebrag has joined #nixos
<{^_^}> [nixpkgs] @ilikeavocadoes opened pull request #74138 → WIP: nixos: update system.stateVersion disclaimer → https://git.io/JePW3
Ralith__ has joined #nixos
andymandias_ has joined #nixos
Lears has quit [Remote host closed the connection]
adamtkh has quit [Quit: Ping timeout (120 seconds)]
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
inkbottle has quit [Remote host closed the connection]
philr has quit [Ping timeout: 240 seconds]
Ralith_ has quit [Ping timeout: 240 seconds]
eraserhd has quit [Ping timeout: 240 seconds]
amfl has quit [Ping timeout: 240 seconds]
eraserhd has joined #nixos
philr has joined #nixos
noudle_ has joined #nixos
<Ashy> oh, log has this error unit-script-nixos-upgrade-start[23139]: warning: unable to download 'https://nixos.org/channels/nixos-19.09': Couldn't resolve host name (6); retrying in 314 ms
_cyris212 has joined #nixos
<Ashy> ah nope that's old
Piece_Maker has joined #nixos
lemsip has joined #nixos
meatcar_ has joined #nixos
lejonet1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74139 → cppzmq: 4.4.1 -> 4.5.0 → https://git.io/JePWu
lux4 has joined #nixos
mtjmullen has joined #nixos
Gohla_ has joined #nixos
amfl has joined #nixos
m0rphism1 has quit [Ping timeout: 240 seconds]
Serus_ has joined #nixos
Gohla has quit [Quit: Bye.]
cyris212 has quit [Quit: ZNC 1.7.4 - https://znc.in]
ee194350 has quit [Quit: Ping timeout (120 seconds)]
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
meatcar has quit [Remote host closed the connection]
noudle has quit [Ping timeout: 240 seconds]
emilsp has quit [Quit: bye]
mutantmell has quit [Ping timeout: 240 seconds]
lejonet has quit [Remote host closed the connection]
jeaye has quit [Ping timeout: 240 seconds]
Serus has quit [Ping timeout: 240 seconds]
lux3 has quit [Remote host closed the connection]
Piece_Maker is now known as Acou_Bass
Gohla_ is now known as Gohla
<{^_^}> [rfcs] @edolstra merged pull request #45 → [RFC 0045] Deprecating unquoted URL syntax → https://git.io/fjGcF
<{^_^}> [rfcs] @edolstra pushed commit from @7c6f434c to master « [RFC 0045] Deprecating unquoted URL syntax (#45) »: https://git.io/JePWg
ee194350 has joined #nixos
m0rphism1 has joined #nixos
drewc has quit [Ping timeout: 240 seconds]
jeaye has joined #nixos
drakonis has joined #nixos
fendor has quit [Ping timeout: 276 seconds]
drewc has joined #nixos
drakonis1 has quit [Ping timeout: 240 seconds]
romildo has joined #nixos
drakonis_ has joined #nixos
fendor has joined #nixos
morgib has quit [Quit: Connection closed for inactivity]
alexherbo2 has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 276 seconds]
alexherbo2 has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
bvdw has quit [Read error: Connection reset by peer]
Khetzal has quit [Remote host closed the connection]
misterwhatever has joined #nixos
bvdw has joined #nixos
Khetzal has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #74140 → grafana: 6.4.4 -> 6.4.5 → https://git.io/JePWj
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74141 → copyq: 3.9.2 -> 3.9.3 → https://git.io/JePle
<{^_^}> [nixpkgs] @domenkozar merged pull request #73966 → make-options-doc: fix string context issues → https://git.io/Jeiwq
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JePlI
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #73715 → unifiStable: 5.11.39 -> 5.12.22 → https://git.io/JeKET
<{^_^}> [nixpkgs] @lheckemann pushed 3 commits to master: https://git.io/JePlm
ixxie has joined #nixos
iqubic` has joined #nixos
Soo_Slow has joined #nixos
iqubic has quit [Ping timeout: 250 seconds]
psyanticy has joined #nixos
sweep is now known as genesis
genesis has joined #nixos
genesis has quit [Changing host]
Bryophyllum has joined #nixos
<{^_^}> [nix] @puckipedia opened pull request #3238 → Ensure enough space in attrset bindings → https://git.io/JePl1
mananamenos has joined #nixos
<clever> mananamenos: do you want to build dart or use dart?
<mananamenos> clever, i have copied this file to a local directory and want to drop in a shell. Want to try to update the version and play with it
<clever> mananamenos: you need all of the other nix files in that nixpkgs rev, or the versions wont line up right
<clever> mananamenos: and you want to aim nix-shell at the default.nix in the root of the repo, `nix-shell nixpkgs/default.nix -A dart`
Khetzal has quit [Quit: No Ping reply in 180 seconds.]
<mananamenos> thanks
Khetzal has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @apeyroux opened pull request #74144 → c14: change homepage → https://git.io/JePlF
drakonis has joined #nixos
philr has quit [Ping timeout: 240 seconds]
drakonis1 has joined #nixos
<inf> hey. I'm starting to get more and more private nixos boxes... I'd love to get some tips on how to properly lay out my nixos-config repository :) I know this is all down to personal preferences, but I'd really like to get some inspirations...
drakonis_ has quit [Ping timeout: 246 seconds]
civodul has joined #nixos
<gchristensen> how many do you have, and are they isolated or edployed to with nixops or something?
drakonis_ has joined #nixos
<infinisil> ,configsearch
<{^_^}> To search public NixOS/Nixpkgs/NixOps configs, use https://search.tx0.co (Ping ${"til" + "pner"} if it acts up again)
<inf> gchristensen: ~5.
drakonis has quit [Read error: Connection reset by peer]
<infinisil> {^_^}: That was really slow!
<inf> nice, that is exactly what i was looking for.
christianpoveda has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
Bryophyllum has quit [Quit: Bryophyllum]
drakonis_ has joined #nixos
<christianpoveda> Hi everyone, how can I remove a package i installed with `nix-env -iA`? i tried `nix-env -e` but it didn't work
<christianpoveda> nvm I was writing the name of the package wrong
puck has joined #nixos
drakonis1 has quit [Ping timeout: 250 seconds]
cfricke has joined #nixos
drakonis has joined #nixos
<tilpner> Does anyone have nginx serving files straight out of a DynamicUsers StateDirectory? I don't know how to set up the permissions properly
<gchristensen> sounds tricky
drakonis_ has quit [Ping timeout: 245 seconds]
ffl^ has joined #nixos
horner has quit [Quit: zzZzZzZzZZZzzz…]
<mananamenos> clever, i did `nix-shell default.nix -A dart` but dart binary is not visible from the shell
<clever> mananamenos: if you want the dart binary, then you need `nix-shell -I nixpkgs=. -p dart`
christianpoveda has quit [Remote host closed the connection]
drakonis1 has joined #nixos
<mananamenos> clever, when i change a version of package, but do not change its sha256 attr in fetchFromGitHub, nor the the modSha256, it still builds. Shouldn't it throw some error?
fendor has quit [Remote host closed the connection]
<clever> mananamenos: if it can find something with the given sha256 in /nix/store, it will blindly use that, even if its an older version
fendor has joined #nixos
<clever> mananamenos: because you lied to nix and claimed that the output has the same hash
<tilpner> Or if it's something else entirely
<tilpner> "You wanted the source for your project, that has this hash? Look, I have a cat picture with that hash already, you can have that"
<clever> mananamenos: if you replace a few characters with 0's, it will try to download and find the real hash
<clever> tilpner: :D
* tilpner actually does have cat pictures in the store
magneticduck has joined #nixos
bahamas has joined #nixos
magneticduck has quit [Client Quit]
magneticduck has joined #nixos
mexisme has joined #nixos
fendor has quit [Ping timeout: 276 seconds]
misterwhatever has quit [Quit: misterwhatever]
mexisme has quit [Ping timeout: 250 seconds]
noudle_ has quit []
cfricke has quit [Quit: WeeChat 2.6]
cfricke has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #74145 → xorg.xorgserver: 1.20.5 -> 1.20.6 → https://git.io/JeP8z
<{^_^}> [nixpkgs] @eadwu opened pull request #74146 → clight: 3.1 -> 4.0 → https://git.io/JeP82
rardiol has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74147 → cmakeWithGui: 3.15.4 -> 3.15.5 → https://git.io/JeP8D
Khetzal has quit [Remote host closed the connection]
Khetzal has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74149 → cln: 1.3.4 -> 1.3.5 → https://git.io/JeP8x
<{^_^}> [nixpkgs] @filalex77 opened pull request #74150 → frp: init at 0.29.1 → https://git.io/JeP8p
andi- has quit [Ping timeout: 276 seconds]
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #74114 → nixosTests.syncthing*: port to python → https://git.io/JePZz
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeP4U
selfsymmetric-mu has quit [Remote host closed the connection]
m1sosoup has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74151 → brillo: 1.4.8 -> 1.4.9 → https://git.io/JeP43
Chiliparrot has joined #nixos
<betaboon> anyone interested in helping me getting #73237 and #73768 merged ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73237 (by betaboon, 1 week ago, open): nixos/tests/installer: port to python
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73768 (by betaboon, 5 days ago, open): nixos/tests/installer: support useEFIBoot (depends on #73237)
<{^_^}> [nixpkgs] @ajs124 opened pull request #74152 → nextcloud: 17.0.0 -> 17.0.1 → https://git.io/JeP4n
Khetzal has quit [Quit: No Ping reply in 180 seconds.]
<thefloweringash> sorry if this is a FAQ, but if I opened a PR against the wrong base branch, can I change it to another branch (like staging instead of master) without spamming everyone that ever touched nixpkgs?
rauno has quit [Ping timeout: 276 seconds]
fusion809 has quit [Remote host closed the connection]
ddellacosta has joined #nixos
Khetzal has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #74093 → java classpath hook: allow unbound $CLASSPATH → https://git.io/JeP3O
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JeP4l
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/JeP44
LnL has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 7 commits to release-19.09: https://git.io/JeP40
LnL has joined #nixos
LnL has quit [Changing host]
LnL has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #74153 → coq: Fix setup hook → https://git.io/JeP4r
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: Add 5.4 »: https://git.io/JeP46
justanotheruser has quit [Ping timeout: 265 seconds]
<infinisil> thefloweringash: Yeah, rebase on the merge base of upstream master and staging
<infinisil> Something like `git fetch upstream; git rebase --onto $(git merge-base upstream/master upstream/staging) HEAD~1`
bahamas has quit [Quit: leaving]
halfbit has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74154 → clipgrab: 3.8.5 -> 3.8.6 → https://git.io/JeP49
fendor has joined #nixos
drakonis_ has joined #nixos
drakonis2 has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
cfricke has quit [Quit: WeeChat 2.6]
drakonis_ has quit [Ping timeout: 276 seconds]
Makaveli7 has quit [Quit: WeeChat 2.6]
drakonis2 has quit [Quit: WeeChat 2.4]
andi- has joined #nixos
<thefloweringash> infinisil: excellent, thanks
mounty has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @nh2 opened pull request #74155 → graphite2: 1.3.6 -> 1.3.13 → https://git.io/JePBU
FRidh has joined #nixos
ng0_ has joined #nixos
jmeredith has joined #nixos
m1sosoup has quit [Ping timeout: 265 seconds]
m0rphism1 has quit [Ping timeout: 265 seconds]
m1sosoup has joined #nixos
orivej has joined #nixos
ng0 has quit [Ping timeout: 260 seconds]
ng0_ is now known as ng0
mounty has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #74052 → glava: fix glava wants to load shaders from /etc/xdg/glava → https://git.io/Jeij7
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JePBl
<{^_^}> [nixpkgs] @worldofpeace merged pull request #74060 → Regroup all themes under data/themes → https://git.io/JePJR
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to master: https://git.io/JePB8
waleee-cl has joined #nixos
MmeQuignon has quit [Ping timeout: 250 seconds]
sigmundv has quit [Ping timeout: 276 seconds]
horner has joined #nixos
<worldofpeace> hmm, I think we need some part of our review process or a label like timokau mentioned for "needs new reviewer assigned". I have a lot of PRs that I don't think I can continue to review.
<worldofpeace> In the meantime, is there anyone up to the task of helping me out? A lot of them I can't act on.
<betaboon> worldofpeace do you have a list somewhere ?
<worldofpeace> I could make a list betaboon. The hard part is for some PRs, I can see a lot of issues others can't see. It just takes to much time to actually follow up on them.
<ddima> worldofpeace: I can try to have a look as well if there is some list. Ofc no idea if I can handle any of them yet before seeing them.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73996 → dotty: 0.14.0-RC1 -> 0.20.0-RC1 → https://git.io/JeiDY
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JePBb
<betaboon> worldofpeace: yeah thats been my biggest concern on getting involved in reviewing PRs, that i am unsure if i could maintain the expected level of quality
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74156 → datovka: 4.14.0 -> 4.14.1 → https://git.io/JePBN
<ddima> betaboon: well, this has to be learned somehow ;)
<worldofpeace> betaboon: in nixpkgs current state, it asks a lot on the reviewer. I'm also a committer so it can turn into: review, review, review, test, test test, approve/reject, merge, determine if you can backport.
<{^_^}> [nixpkgs] @tw-360vier opened pull request #74157 → cypress 3.5.0 -> 3.6.1 → https://git.io/JePRe
<betaboon> ddima: yeah. as i suggested/asked a while ago: i think it would be best to have some kind of mentoring-program. as in: new reviewers get reviewed by old/proven reviewers for a while as to "train" the new ones in order to maintain a level of quality and scale the usergroup that does reviews
<worldofpeace> if even one of those parts in the chain could be lessened it would help tremendously
<worldofpeace> https://github.com/NixOS/rfcs/pull/50 is going to help me personally a lot. but it's even been hard to keep up with that.
<{^_^}> rfcs#50 (by FRidh, 14 weeks ago, open): [RFC 0050] Merge bot for maintainers
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74158 → byacc: 20190617 -> 20191119 → https://git.io/JePRk
<worldofpeace> betaboon: I've had a similar idea.
sigmundv has joined #nixos
<betaboon> worldofpeace: i am very willing in helping with reviews, but considering that https://github.com/NixOS/nixpkgs/pulls is my expected entry point to do so it is just realy hard as where to start, and what to do to get started
<worldofpeace> betaboon: totally understand.
<worldofpeace> I'm not sure I could give good advice on that currently.
<worldofpeace> In general, I think we accept to many packages. So much so I'm not sure I want to review them. Hopefully that's not taken the wrong way.
ardumont has quit [Ping timeout: 245 seconds]
<ddima> I kinda agree from my limited exprience, I think many things could nicely live outside of the core repo.
<worldofpeace> Totally. I starting to think there should be a restriction on binary packages especially. Kinda understand why fedora has this restriction.
<worldofpeace> i.e 100+ electron blob packages :(
CptCaptain has joined #nixos
<gchristensen> +1
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<CptCaptain> I've added services.openssh.enable = true; to my configuration.nix. Yet the service is not available and there is also no error
<Shoubit> Most of the Electron packages can probably delete their provided binary in their install phase, use a Nixpkgs provided one, and save a bunch of space.
<CptCaptain> What could be the reason for that?
<worldofpeace> we even have to do some pretty poor backports policy stuff just for them. they depend on webservices so it's like I have to backport all their updates to stable.
<gchristensen> CptCaptain: (just checking) have you run nixos-rebuild switch?
<CptCaptain> ghuntley: yes
<worldofpeace> Shoubit: I've tried this, and the thing is what something was compiled with might not match with what's in nixpkgs. so it'll error out.
NobbZ has joined #nixos
<betaboon> CptCaptain: is the sshd service running ?
alexherbo2 has quit [Ping timeout: 252 seconds]
<CptCaptain> betaboon: No. The Systemd service doesn't even exist. ss -lt doesn't output anything
NobbZ has quit [Client Quit]
<clever> CptCaptain: does sshd.service exist in /etc/systemd/system/ ?
m1sosoup has quit [Remote host closed the connection]
<CptCaptain> clever: yes it does
m1sosoup has joined #nixos
<clever> CptCaptain: try `systemctl status sshd.service` ?
<clever> CptCaptain: and is this on the installer iso or a normal install of nixos?
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74159 → catch2: 2.10.2 -> 2.11.0 → https://git.io/JePRQ
o1lo01ol1o has joined #nixos
<ddima> Shoubit: but blobs aside, this is still quite a massive maintenance burden and other implications like security, right? we're basically #2 behind AUR but we have all of that all together, with additional security implications, where AUR is basically "yeah no, you review every package yourself at your own risk. no trust".
<CptCaptain> clever: It was entirely empty
<CptCaptain> But I was able to start it using systemctl start
<CptCaptain> The image is an aarch64 image
<CptCaptain> Maybe it's an issue with that
<jschievink> is anybody using Nix on Arch Linux?
<lordcirth> jschievink, what is your actual question?
<clever> CptCaptain: it may have already had ssh enabled, but auto-start disabled
ardumont has joined #nixos
<jschievink> I keep running into problems where problem segfault because they get linked against mixed dynamic libraries from Nix and Arch
<CptCaptain> clever: What does that mean?
<jschievink> *programs, not problem
<clever> CptCaptain: you have to manually `systemctl start sshd.service` until you stop including the installer profile
<ddima> Shoubit: and some ecosystem just drag in a lot of work with them. Python being kinda one of them, but some we can't avoid in the core set, others we probably could.
<clever> jschievink: nix is supposed to ignore the dynamic libraries the host provides, but LD_LIBRARY_PRELOAD can leak in
<jschievink> I've had that happen with system tools like `ar`, but it mostly happens with things I build myself
<jschievink> clever: can `LD_LIBRARY_PATH` also be a problem?
<clever> jschievink: yes
<jschievink> I had that enabled a while ago, but now it's blank and the problem still happens
<ar> people mistake me for a tool again
<jschievink> I think it caused a few problems a while ago
zupo has quit [Ping timeout: 250 seconds]
<CptCaptain> clever: Do you mean I have to restart?
<clever> CptCaptain: restarting wont make much of a difference
<jschievink> Now my binary seems to use Nix' dynamic linker, but dynamic libs from Arch
<clever> jschievink: sounds like you used the wrong -L flags when compiling
<clever> jschievink: is the nix sandbox enabled?
silver_hook has joined #nixos
<clever> jschievink: was it built manually or with nix-build?
<jschievink> clever: it might be because I've built outside of Nix, but `ld` is still the one from Nix
<jschievink> `gcc` is from Arch though
<CptCaptain> clever: What will make a difference?
<jschievink> I might have messed up my environment
<clever> jschievink: you must use cc-wrapper (a shell script around gcc) for things to correctly use nix
captn3m0 has quit [Read error: Connection reset by peer]
<clever> jschievink: and installing any compiler tools will not work with nix, you must always build inside nix-shell or nix-build
<jschievink> clever: ah, I see
captn3m0 has joined #nixos
<jschievink> would be great to improve the UX here, things segfaulting for no reason is no fun
<clever> jschievink: the moment you start using the arch gcc, nix has lost control and cant stop you from doing things the wrong way
<jschievink> clever: I'd have expected that `gcc` to link against Arch's dynamic linker
<jschievink> but if it uses Nix' `ld` I can see why it might not
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74160 → ccls: 0.20190823.4 -> 0.20190823.5 → https://git.io/JeP0T
<worldofpeace> ddima: yeah, I would really just direct those PRs to NUR. but without https://discourse.nixos.org/t/we-need-more-defined-guidelines-for-package-inclusion/3592, I feel conflicted on even rejecting something.
Makaveli7 has joined #nixos
cosimone has quit [Quit: Terminated!]
<Izorkin> etu: please check PR #73908 and #73151
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73908 (by Izorkin, 3 days ago, open): Update php packages
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73151 (by Izorkin, 2 weeks ago, open): php74: init at 7.4 RC6
<{^_^}> [nixpkgs] @magnetophon opened pull request #74161 → bsequencer: 0.4 -> 1.2.0 → https://git.io/JeP0G
realrokka has quit [Quit: rip]
realrokka has joined #nixos
Guest55348 has joined #nixos
cosimone has joined #nixos
<ddima> worldofpeace: thanks for the link, I've missed that thread. maybe there is some way to make progress there, as it seems dearly needed.
noudle has joined #nixos
andreas303 has quit [Remote host closed the connection]
<gchristensen> clever: did you have a nix expression like make-disk-image but to create a ZFS root?
<ddima> worldofpeace: btw, wrt usage metrics (this ofc only applies to existing packages), thoughtpolice was iirc considering to work a bit on that, so maybe there is already something for at least possibly cleaning out existing packages?
<ikwildrpepper> gchristensen: would love to have that too :)
<gchristensen> ikwildrpepper: :D
<gchristensen> ddima: I talked to somebody on Friday who desperately wanted a "popcon" like feature for Nix/Nixpkgs/NixOS, based on derivation names instead of store paths
andreas303 has joined #nixos
knupfer has joined #nixos
<betaboon> worldofpeace: it seems like almost half of all PRs are package updates, i wonder why those have to be review by hand anyway as most packages have tests. lets say: if its a package-update + it has doCheck + it causes < N rebuilds + all rebuilds have doCheck aswell -> automerge. (havent read RFC0050 completly yet)
<gchristensen> a key point here is that they patch nixpkgs at a very low level, and so their usage would be completely unrepresented if the count is by store path
<betaboon> gchristensen: nixos/tests/installer.nix has something on zfs-root
<gchristensen> yeah, that does the installation to ZFS. I guess that could be made in to a library sort of
<ddima> gchristensen: yeah, its not gonna be without problems. caches/mirrors etc will get in the way too. more like as a noisy metric among many others.
<gchristensen> I think we have the technology to do something a bit more smart
<gchristensen> until recently I didn't realize that usersactually wanted to do it
<clever> gchristensen: yes
<thoughtpolice> gchristensen: I've thought about something like that, too
<gchristensen> I saw the value as mostly one-sided (on the maintainer side) but this was a case where the user was hurt badly by nobody knowing they were using something in nixpkgs
<thoughtpolice> ddima: Yes, part of the motivation is to get ideas about what closures/paths are popular, though we'd need to do a bit more work to tie it to deriv names, etc
<clever> gchristensen: https://gist.github.com/cleverca22/db751e05561e7c74a1f1121242b00985 is the most recent version i think
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74163 → calamares: 3.2.15 -> 3.2.16 → https://git.io/JeP01
<gchristensen> and importantly, they want to send contact information too -- because if they had known something was going to be deleted, they would have taken over maintainership
<clever> gchristensen: its loosely based on the AMI generation, but amazon-image.nix is problematic, it has both aws things and ext3 things mixed together
<gchristensen> awesome!
<gchristensen> ikwildrpepper: ^
<thoughtpolice> gchristensen: That's a bit more work, I think. It's almost something you want CODEOWNERS for, but without the "ownership" part
<adisbladis> CODEUSERS ^_^
<thoughtpolice> More like a "subscriber" to one file. Which in theory would notify them on changes like renames/deletes, etc via GitHub
<gchristensen> they seemed to want to push to us derivations they use
<ikwildrpepper> clever, gchristensen: <3
<gchristensen> automatically
romildo has quit [Quit: Leaving]
<ddima> gchristensen: is there some more in-depth discussion on that somewhere or concrete proposals for implementations? I have some time on my hands but maybe not the sufficient context for what an ideal solution could look like for things. But I also see this situation as one of the biggest challenges - sometimes feels like ~10 (ofc jk) people are spread over 10_000 things.
<gchristensen> no, and I agree with you
<thoughtpolice> gchristensen: Ok, that's even a bit weirder, but I can kinda see it
<gchristensen> thoughtpolice: well, that is how popcon works
<adisbladis> gchristensen: That's probably going to be a component of (un)trustix for other reasons :)
<thoughtpolice> Oh, I see
<adisbladis> Re users pushing derivations they use
<ddima> iirc also somebody was pondering the thought of having some automation/comms channels to detect inactive maintainers and call them to action or so. so its not really the lack of ideas.
<gchristensen> adisbladis: derivation names, specifically, not paths
<thoughtpolice> ddima: I think my work on logging requests to the cache is more or less the only current work going on in that direction right now
<clever> ikwildrpepper: what where you thinking of with zfs disk images?
<adisbladis> gchristensen: Yeah you'd need to map paths back to attribute names
Khetzal has quit [Ping timeout: 245 seconds]
<gchristensen> clever: personally, I want to make rpi images with ZFS roots
<adisbladis> But there will be a source of that data at some point
<clever> gchristensen: ah, ive wanted that too, but havent looked into it yet
<gchristensen> adisbladis: as long as it is calculated locally, true
<adisbladis> For my use case it's to prevent split-view attacks, but it can surely be used for other things
<clever> gchristensen: ive been curious if 32bit zfs would work better there, since it has less ram and the heap size stuff wouldnt be an issue
<gchristensen> interesting
Khetzal has joined #nixos
<ikwildrpepper> clever: I mostly want to replace my current ec2 workers image (which use unionfs) with zfs version
<gchristensen> clever: related: https://seclists.org/oss-sec/2019/q4/98
<ikwildrpepper> (using all available ephemeral disks )
<clever> gchristensen: you might be able to get away with using an x86 runInLinuxVM to generate an arm image, the only tricky part is line 72 of my gist, where you fix the bootloader
FRidh has quit [Quit: Konversation terminated!]
<worldofpeace> Ooh ddima If thoughtpolice has some work on that or ideas on how we could make it a more systemic change that could help.
<clever> ikwildrpepper: youll likely have less to change, since my gist is already able to generate and upload working AMI's, i forget what was left to finish
<thoughtpolice> adisbladis: The deriver is included in the .narinfo, so you can get it that mapping done "on demand" by the logging infrastructure. Unfortunately such a setup would possibly require a JOIN, which is (somewhat) problematic for my infra.
<{^_^}> [nixpkgs] @bcdarwin opened pull request #74164 → ocamlPackages.biocaml: init at 0.10.0 → https://git.io/JeP0F
<raboof> is there a way to pass the derivation hash to the builder script? I guess you could derive it from the `out` environment variable, but perhaps there's a nicer way?
<thoughtpolice> Well, it's not really ultra problematic. But it introduces a resource requirement where one didn't exist before in the infrastructure right now for ClickHouse (JOINs are in memory only)
<clever> raboof: builtins.placeholder "out"
silver_hook has quit [Ping timeout: 265 seconds]
boxscape95 has joined #nixos
<ddima> thoughtpolice: well, I think this can't hurt as a somewhat low-hanging fruit and if the basic infra/tools are in place, it likely will be possible to switch it to derivation names too once other parts are adjusted. looking forward to it and hope some basic stats become available soon (even if just trivial csv with frequencies or so).
<thoughtpolice> ddima: If you're interested in how the new stuff will work, go here: https://www.notion.so/aseipp/The-NixOS-Binary-Cache-db97de6ab19b4d7ab9f4a60cb4cdaaf0
<thoughtpolice> No, it will be far better than some CSVs. :)
<ddima> well, incremental delivery and all ;)
<thoughtpolice> It works already! You can use it today!
<ddima> thanks, I will look at the updated docs. the last thing I saw was your initial proposal from a while ago.
<clever> gchristensen: lines 39-71 of my gist dont care about the target arch, you just need to swap out the config.system.build.toplevel reference (or force lines 37&33 to use an x86 pkgs on an arm build)
<worldofpeace> thoughtpolice: the expressivity of the emoji there is truely on point
<worldofpeace> like both graceful and refined.
<clever> gchristensen: and then use one of the sd-image scripts as an example to fix the bootloader, so it can boot
<gchristensen> worldofpeace: Notion.so encourages that exact level of emojis, it is nice
<thoughtpolice> :D
<adisbladis> thoughtpolice: In my case I don't have narinfo files, only hashes.
<worldofpeace> it's really fab
<thoughtpolice> I really like it a lot. If anyone wants guest permissions on that page to comment etc feel free to ask, too
boxscape95 has quit [Remote host closed the connection]
<clever> gchristensen: also on the subject of packet.net, what do you think about `curl | zfs recv` vs `nixos-install` ?
<thoughtpolice> Need to put the fancy ASCII diagram I drew of the whole pipeline up there, too...
<clever> gchristensen: i can see some issues with recv, since the IP's still have to be customized
knupfer has quit [Remote host closed the connection]
<clever> gchristensen: that reminds me, there was a similar solution for digital ocean, let me find it...
knupfer has joined #nixos
<{^_^}> nixops#605 (by 3noch, 2 years ago, open): DigitalOcean networking module
<clever> gchristensen: this is a systemd service, that will query the instance data on bootup, and configure the right IP
<clever> gchristensen: i think packet.net can do similar? and you could just auto-config the network on boot, without having to bake it in
<{^_^}> [nixpkgs] @jonringer merged pull request #73218 → polybar: 3.4.0 -> 3.4.1 → https://git.io/JewZm
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JePEL
silver_hook has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.6]
<gchristensen> clever: hmm maybe..... that would be really nice, but only an optimisation for customers who select zfs
<clever> gchristensen: the network auto-config could help others too, less to bake into your configuration.nix files
<gchristensen> it has to be baked somewhere
<clever> gchristensen: i could see some less experienced users just breaking everything if they copy a configuration.nix over, and dont import your auto-generated stuff, and having it auto-config on bootup
<clever> gchristensen: the digital ocean thing i linked above, is a systemd service that will configure the network on bootup, without baking it in
<gchristensen> good thing the ycan rollback :)
<clever> gchristensen: and packet.net does have similar api's
<gchristensen> what does it do exactly?
<clever> gchristensen: it disables dhcp, and runs systemd-digitalocean-generator on bootup
<edef> oh hi
<ddima> thoughtpolice: if you see some work to help with progress that can be split out sufficiently from your deeper context, maybe poke me.
<etu> ,locate libQt5Core.so.5
<{^_^}> Found in packages: robo3t, qt5.qtbase, qt59.qtbase, qt511.qtbase
<clever> gchristensen: that will then query http://something/metadata/v1.json, find out what IP it should have, and generate systemd units automatically
<edef> i started writing a packet version of systemd-digitalocean
<edef> but i think i might've lost that code
<gchristensen> ah, that will only work on the first boot
<edef> not quite
<gchristensen> oh?
<edef> custom PXE will leave it enabled for the lifetime of the machine iirc
<gchristensen> yeah, but these are not custom iPXE
<clever> edef: oh, that was you in the nixops issue over 2 years ago! heh
<edef> actually, no, the metadata service remains available
<CptCaptain> services.openssh.enable = true; Only links the openssh service and doesn't enable it. How do I fix that?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74165 → clamav: 0.102.0 -> 0.102.1 → https://git.io/JePEc
<gchristensen> metadata is always available, but if you have no IP you can't talk to it
<edef> yeah
<edef> so first boot you capture the IP
civodul has quit [Ping timeout: 245 seconds]
<edef> or alternatively, you might be able to use a link-local IP
<clever> gchristensen: something you may need to confirm with packet.net admins, but i think you could link-local it (169 ip)
Rusty1 has quit [Ping timeout: 250 seconds]
civodul has joined #nixos
<gchristensen> nah
<gchristensen> I've tried :P
<clever> func fetchMetadata() (metadata *Metadata) { setupLinkLocalNetworking()
<gchristensen> in fact I bricked a ton of boxes through this
<clever> yeah, thats exactly what DO's script does
<edef> i think what i ended up doing was persisting to disk
<gchristensen> DO has the advantage of VMs
<gchristensen> and not physical links with bond-aware switch configurations
<clever> gchristensen: DO also needed this, because you could pause/resume, or even duplicate a VM, and the IP would change
<gchristensen> gotcha
<clever> and that would have bricked nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #74166 → emplace: init at 0.2.5 → https://git.io/JePE8
dsx has quit [Quit: dsx]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74167 → bslizr: 1.2.0 -> 1.2.2 → https://git.io/JePEu
<betaboon> CptCaptain: it should start the service, it does for me since forever. can you provide some more context as to what you are doing / trying to achieve ?
ambro718 has joined #nixos
endformationage has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #74158 → byacc: 20190617 -> 20191119 → https://git.io/JePRk
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « byacc: 20190617 -> 20191119 »: https://git.io/JePEz
<{^_^}> [nixpkgs] @jonringer merged pull request #73873 → aerc: 0.2.1 -> 0.3.0 → https://git.io/Je6Hv
<{^_^}> [nixpkgs] @jonringer pushed commit from @xwvvvvwx to master « aerc: 0.2.1 -> 0.3.0 »: https://git.io/JePE2
<{^_^}> [nixpkgs] @mkaito opened pull request #74168 → vault-bin: 1.1.3 -> 1.3.0 → https://git.io/JePEa
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JePEV
<{^_^}> [nixpkgs] @jtojnar merged pull request #74100 → gnome3.accerciser: 3.34.1 -> 3.34.2 → https://git.io/JePsH
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #74156 → datovka: 4.14.0 -> 4.14.1 → https://git.io/JePBN
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « datovka: 4.14.0 -> 4.14.1 »: https://git.io/JePEr
<CptCaptain> I'm just trying to enable openssh on my raspberry pi. I flashed the image from here: https://hydra.nixos.org/job/nixos/release-19.03/nixos.sd_image.aarch64-linux
<{^_^}> [nixpkgs] @jonringer merged pull request #74151 → brillo: 1.4.8 -> 1.4.9 → https://git.io/JeP43
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « brillo: 1.4.8 -> 1.4.9 »: https://git.io/JePE6
<CptCaptain> and applied this config: https://pastebin.com/CAQY4NPW
<etu> ,locate libQt5SerialPort.so.5
<{^_^}> Found in packages: qt5.full, qt59.full, qt511.full, qt5.qtserialport, qt59.qtserialport, qt511.qtserialport
<{^_^}> [nixpkgs] @jonringer merged pull request #74154 → clipgrab: 3.8.5 -> 3.8.6 → https://git.io/JeP49
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « clipgrab: 3.8.5 -> 3.8.6 »: https://git.io/JePEP
dsx has joined #nixos
<clever> CptCaptain: imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix> ];
<CptCaptain> Is that an issue?
<clever> CptCaptain: one min...
<gchristensen> thoughtpolice: I wonder if we can make it so you can edit the Nixos org configurations wiki to put all this goodness in to one place
<thoughtpolice> There is a page there but like. Notion is so much better. ;_;
<thoughtpolice> For now I actually redirected the beta cache to that page for updates. Not sure what info should be permanent there vs Notion.
<clever> CptCaptain: which enables ssh, but disables auto-start!
mexisme has joined #nixos
<clever> CptCaptain: so yes, sd-image-aarch64.nix is your problem
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73134 → nixosTests.plasma5: port to python → https://git.io/JeVMW
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JePEM
<CptCaptain> clever: Should I switch to base.nix?
<CptCaptain> or something else?
<thoughtpolice> Some things like design notes, TODO are probably best left on Notion. Things that users and maintainers want to know are probably best left on the nixos wiki
<clever> CptCaptain: but if you remove that, it may cease to boot, so a new option must exist, that sets the right options for an rpi
<thoughtpolice> Like who to contact, diagnostic info, etc
<CptCaptain> clever: What would that line be for an amd64 machine?
<clever> CptCaptain: you may need to try removing it, see what breaks, and then find a working minimal config to replace it with, and get the docs updated
<clever> CptCaptain: try just imports = []; to start with, and see what happens from there
<{^_^}> [nixpkgs] @jonringer merged pull request #74152 → nextcloud: 17.0.0 -> 17.0.1 → https://git.io/JeP4n
<{^_^}> [nixpkgs] @jonringer pushed commit from @ajs124 to master « nextcloud: 17.0.0 -> 17.0.1 »: https://git.io/JePEy
fendor has quit [Ping timeout: 265 seconds]
<thoughtpolice> gchristensen: Also, IDK if Notion emails you about this, but I did add you to some tickets on the BUGS.txt page for the long run. No pressure to comment but something you might want to look over
<thoughtpolice> (I've added details to most of the bugs, by now)
knupfer has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #74163 → calamares: 3.2.15 -> 3.2.16 → https://git.io/JeP01
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « calamares: 3.2.15 -> 3.2.16 »: https://git.io/JePEH
<lemsip> hrm, within an FHS shell, pkg-config can't seem to find libraries that I definitely am providing, such as dbus. Is there something special I need to do to make this work?
<clever> lemsip: ive found that pkgconfig only works right under normal nix-shell
justanotheruser has joined #nixos
<clever> lemsip: and you generally dont need to use FHS
<CptCaptain> clever: Oh boy. How does nixos handle changes in filesystem settings? Does it just reformat?
<clever> CptCaptain: it wont format things on its own, it will just stop mounting, or try to mount with the wrong flags, causing it to not boot
<etu> ,locate libQt5WebSockets.so.5
<lemsip> clever: well shit. That means that pretty much most rust things can't be built from an fhs env if they rely on system libraries (dbus in my case)
<{^_^}> Found in packages: qt5.qtwebsockets, qt59.qtwebsockets, qt511.qtwebsockets
<clever> lemsip: why are you trying to build things in an FHS?
<lemsip> I can build my rust things from a regular environment, but other things rely on an FHS thing for node_modules, electron and the like. Since I have a single bash script that produces installers for my project, I'd very much like to be able to run pkg-config
<gchristensen> thoughtpolice: yeah I know, I really like Notion too
<{^_^}> [nixpkgs] @jonringer merged pull request #74141 → copyq: 3.9.2 -> 3.9.3 → https://git.io/JePle
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « copyq: 3.9.2 -> 3.9.3 »: https://git.io/JePEh
<clever> lemsip: are the .pc files in /usr/lib/ ?
<lemsip> nope
<clever> lemsip: then the FHS env will need to be fixed to include them
<clever> lemsip: or your scripts fixed to work without the FHS
ddellacosta has quit [Ping timeout: 252 seconds]
<lemsip> scripts working without FHS is a futile endeavour, how do I add the pcs files to /usr/lib?
<{^_^}> [nix] @raboof opened pull request #3242 → Document builtins.placeholder → https://git.io/JePue
<clever> lemsip: why is it futile?
<lemsip> because that would involve me changing electron-builder, on which we depend on.
<{^_^}> [nixpkgs] @jonringer merged pull request #74140 → grafana: 6.4.4 -> 6.4.5 → https://git.io/JePWj
<{^_^}> [nixpkgs] @jonringer pushed commit from @WilliButz to master « grafana: 6.4.4 -> 6.4.5 »: https://git.io/JePuf
<clever> lemsip: i already have electron-builder working fully under nix-build
<lemsip> electron-builder does egregious things such as download fpm and 7zip binaries
<{^_^}> [nixpkgs] @jonringer merged pull request #74146 → clight: 3.1 -> 4.0 → https://git.io/JeP82
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JePuJ
<lemsip> clever: I'd love to see the nix scripts for that :)
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @tfc opened pull request #74169 → codeowners: Add tfc as test-driver owner → https://git.io/JePuY
<raboof> clever: didn't know about `builtins.placeholder`, thanks - that still gives me the whole path, not just the hash, though
<clever> raboof: why do you need only the hash?
fendor has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #74159 → catch2: 2.10.2 -> 2.11.0 → https://git.io/JePRQ
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « catch2: 2.10.2 -> 2.11.0 »: https://git.io/JePuZ
<clever> lemsip: for example, line 31-43 generates a fake electron cache, so electron-builder doesnt have to fetch anything
<raboof> clever well, my *real* problem is that I want to generate a deterministic GUID - while the path might work, the hash seemed like a neater starting point.
<lemsip> clever: well, we migrated away from yarn.
<lemsip> But yeah, this looks viable.
<lemsip> I used to do these things manually.
lemsip is now known as emilsp
<{^_^}> [nixpkgs] @jonringer merged pull request #74160 → ccls: 0.20190823.4 -> 0.20190823.5 → https://git.io/JeP0T
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « ccls: 0.20190823.4 -> 0.20190823.5 »: https://git.io/JePun
<clever> raboof: i would just do something like use $out as a seed for the prng that generates the guid
<clever> raboof: also, you generally dont want to set builder, that just makes things harder for yourself
<{^_^}> [nixpkgs] @worldofpeace merged pull request #74169 → codeowners: Add tfc as test-driver owner → https://git.io/JePuY
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JePuc
Rusty1 has joined #nixos
smatting has quit [Ping timeout: 276 seconds]
<setthemfree[m]> Anyone using jack+pulseaudio from nix on (non)nixos?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74170 → buildbot-worker: 2.5.0 -> 2.5.1 → https://git.io/JePul
<raboof> clever: thanks for the advice! (in this case it's an existing derivation that I'm edition, but good to know nonetheless)
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #74014 → [19.09] azure-cli: init at 2.0.76 → https://git.io/JeiQG
<{^_^}> [nixpkgs] @jonringer pushed 42 commits to release-19.09: https://git.io/JePug
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<steveeJ> what's the motivation of the `sourceRoot` argument at https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/rust/default.nix ?
<emilsp> steveeJ: I believe rls might depend on it.
Ariakenom has quit [Quit: WeeChat 2.6]
smatting has joined #nixos
<steveeJ> emilsp: oh, so it's supposed to take the path to a rustc source?
ddellacosta has joined #nixos
<steveeJ> emilsp: I was looking for something that allows me to build a member-crate of a git repo, and it looked like it could do that at first
genesis has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74171 → elfkickers: 3.1 -> 3.1a → https://git.io/JePui
sweep has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #74096 → audacity: 2.3.2 -> 2.3.3 → https://git.io/JePsO
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « audacity: 2.3.2 -> 2.3.3 »: https://git.io/JePuD
halfbit has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74172 → docker-compose: 1.24.1 -> 1.25.0 → https://git.io/JePuQ
mabel has joined #nixos
drakonis has quit [Remote host closed the connection]
<CptCaptain> I managed to fix it by using nixos-generate-config and switching the bootloader to generic-extlinux-compatible and disabling grub
<CptCaptain> clever: Thx for pointing me in the right direction
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74173 → gnome3.file-roller: 3.32.2 -> 3.32.3 → https://git.io/JePuh
<gchristensen> CptCaptain++ clever++
<{^_^}> CptCaptain's karma got increased to 1, clever's karma got increased to 253
<{^_^}> [nixpkgs] @raboof opened pull request #74174 → make-iso9660-image: produce stable GPT disk GUID → https://git.io/JePuj
bennofs has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<bennofs> After curl nixos.org/nix/install | bash, ssh user@machine nix-store returns "command not found: nix-store"
<bennofs> is there some easy way to install nix "globally"?
<bennofs> or alternatively, are there any good ubuntu packages for nix?
Rusty1 has quit [Ping timeout: 250 seconds]
knupfer has joined #nixos
<dminuoso> bennofs: Well what does "globally" mean for you?
<gchristensen> bennofs: what is happening is the profile script Nix installs itself to isn't being called from whatever your shell is doing
<wedens[m]> bennofs: non-interactive shell probably doesn't know about nix-store binary location
<bennofs> yeah seems so :/
<bennofs> .bashrc doesn't help either though
<gchristensen> the proper fix is complicated and I don't know the answer off the top of my head
<bennofs> maybe I should just kexec install nixos
<wedens[m]> bennofs: try .bash_profile
<bennofs> ~/.ssh/rc might work, but I have never seen that before
sigmundv has quit [Ping timeout: 245 seconds]
alexherbo2 has joined #nixos
lnadav has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<bennofs> argh, ~/.ssh/rc doesn't work either :/
<bennofs> I just want to setup a simple remote builder
Ariakenom has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74175 → eventstore: 5.0.2 -> 5.0.5 → https://git.io/JePzl
<{^_^}> [nixpkgs] @jtojnar merged pull request #74173 → gnome3.file-roller: 3.32.2 -> 3.32.3 → https://git.io/JePuh
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JePz8
<{^_^}> [nixpkgs] @jtojnar merged pull request #74104 → gnome3.adwaita-icon-theme: 3.34.0 -> 3.34.3 → https://git.io/JePGu
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JePz4
smatting has quit [Ping timeout: 240 seconds]
halfbit has joined #nixos
<bennofs> ah well, that might work. still a little bit dirty, since it doesn't do all of the nix-profile stuff
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74176 → drawpile: 2.1.13 -> 2.1.14 → https://git.io/JePz2
gxt has quit [Remote host closed the connection]
Makaveli7 has quit [Quit: WeeChat 2.6]
gxt has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #74177 → nixos/neard: init → https://git.io/JePzw
aveltras has joined #nixos
MmeQuignon has quit [Ping timeout: 252 seconds]
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74178 → dhcpcd: 8.0.6 -> 8.1.2 → https://git.io/JePzi
NoctisLabs has quit [Quit: WeeChat 2.6]
waleee-cl has quit [Quit: Connection closed for inactivity]
bvdw has joined #nixos
rydnr has joined #nixos
<rydnr> Hi all
justanotheruser has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74179 → fcitx-engines.cloudpinyin: 0.3.6 -> 0.3.7 → https://git.io/JePzS
drakonis has quit [Remote host closed the connection]
lukash_ is now known as lukash_|away
<rydnr> I'd need some help. I lost my original grub menu after I chose to install Ubuntu in a partition, trying to recover my NixOS. The original problem was that my wifi card triggers a kernel panic in kernel 4.19. My current problem is that, in a chroot inside Ubuntu, `nixos-rebuild switch` fails with a error: opening pseudoterminal master: No such
<rydnr> device`.
<rydnr> I'd need some help. I lost my original grub menu after I chose to install Ubuntu in a partition, trying to recover my NixOS. The original problem was that my wifi card triggers a kernel panic in kernel 4.19. My current problem is that, in a chroot inside Ubuntu, `nixos-rebuild switch` fails with a error: `opening pseudoterminal master: No such
<rydnr> device`.
<rydnr> (sorry for the duplicate. I thought I was editing the first message)
orivej has quit [Ping timeout: 246 seconds]
<rydnr> When booting from latest NixOS livecd I get the same kernel panic. I was able to boot from a NixOS 18.03 (I think), and with `nixos-enter` I got a different error (cannot write to file, without indicating which file), but stopped at the same point.
<rydnr> My idea was to downgrade the kernel version, but I'm not able to make nixos-rebuild finish successfully.
<tilpner> What's the newest kernel you've tried?
<rydnr> Another option would be to start over with a clean installation and use my current configuration.
<rydnr> 4.19
<tilpner> If you're up for another one, https://hydra.nixos.org/build/107438342 should have 5.3
<rydnr> I will try it. Thanks.
<tilpner> If that doesn't work and you have a wired connection available, try blacklisting the wifi driver by editing the kernel commandline
<tilpner> modprobe.blacklist=<module>
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74180 → epiphany: 3.34.1 -> 3.34.2 → https://git.io/JePgZ
NoctisLabs has joined #nixos
Rusty1 has joined #nixos
<roberth> any thinkpad owners interested in dockd for managing monitors automatically? https://github.com/NixOS/nixpkgs/pull/49734
<{^_^}> #49734 (by cyraxjoe, 1 year ago, open): nixos/dockd: add new service
<{^_^}> [nixpkgs] @minijackson opened pull request #74181 → jellyfin: 10.4.1 -> 10.4.2 → https://git.io/JePg4
tbenst has joined #nixos
johnny101 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @rasendubi merged pull request #74176 → drawpile: 2.1.13 -> 2.1.14 → https://git.io/JePz2
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/JePgo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74183 → fasm-bin: 1.73.16 -> 1.73.18 → https://git.io/JePgy
fendor has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74184 → doas: 6.0 -> 6.6 → https://git.io/JePgb
<skrzyp> If my package has a dependency only usable for this particular package ever (some author decided to split his program into "actual program" + "libprogram"), can I nest mkDerivation inside build like: libprogram = mkDerivation {... \n buildInputs = [ libprogram... ?
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<skrzyp> Also, for such frequent rebuilding processes, is there a way to setup systemwide CCache for nix-build invocation?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #74144 → c14: change homepage → https://git.io/JePlF
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @apeyroux to master « c14: update meta.homepage »: https://git.io/JeP2J
fendor has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « gnustep: fix build »: https://git.io/JeP2I
rydnr has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli merged pull request #74084 → dont use nogroup for networkd, resolved and timesyncd → https://git.io/JePtU
<{^_^}> [nixpkgs] @flokli pushed 5 commits to master: https://git.io/JeP2O
<CptCaptain> How can I uninstall nano?
<clever> CptCaptain: its in the default systemPackages, so it cant easily be removed
sweep is now known as genesis
genesis has quit [Changing host]
genesis has joined #nixos
rydnr has joined #nixos
<lordcirth> I think you could do some sort of overlay that replaced 'nano' with an empty drv?
mexisme has quit [Ping timeout: 252 seconds]
shibboleth has quit [Quit: shibboleth]
halfbit has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
genesis has quit [Ping timeout: 265 seconds]
sweep has joined #nixos
sweep is now known as genesis
genesis has joined #nixos
genesis has quit [Changing host]
jgeerds has joined #nixos
hmpffff has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74185 → tridactyl-native: 1.17.0 -> 1.17.1 → https://git.io/JeP2V
<{^_^}> [nixpkgs] @c0bw3b merged pull request #74105 → bandwidth: 1.5.1 -> 1.9.3 → https://git.io/JePGo
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « bandwidth: 1.5.1 -> 1.9.3 (#74105) »: https://git.io/JeP2w
zupo has joined #nixos
rydnr has quit [Remote host closed the connection]
Guest55348 has quit [Ping timeout: 245 seconds]
leungbk has joined #nixos
o1lo01ol1o has joined #nixos
chloekek has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #74113 → bibutils: 6.7 -> 6.8 → https://git.io/JePZR
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « bibutils: 6.7 -> 6.8 »: https://git.io/JeP2i
o1lo01ol1o has quit [Remote host closed the connection]
halfbit has joined #nixos
o1lo01ol1o has joined #nixos
iqubic` has quit [Ping timeout: 246 seconds]
iqubic` has joined #nixos
MinceR_ is now known as MinceR
m1sosoup has quit [Quit: Leaving]
<steveeJ> I'm trying to use buildRustPackage to build a member crate of a repo which is configured as a workspace. if I set `sourceRoot` to the path of it I get an error that `Cargo.lock` doesn't exist. is this use-case really an exception or am I doing something wrong?
<{^_^}> [nixpkgs] @kalbasit opened pull request #74186 → bazel: 1.1.0 -> 1.2.0 → https://git.io/JeP2H
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
gagbo has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @filalex77 opened pull request #74187 → alacritty: 0.3.3 -> 0.4.0 → https://git.io/JeP25
gagbo has joined #nixos
iqubic` has quit [Ping timeout: 245 seconds]
iqubic``` has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #73857 → gitlab: 12.4.2 -> 12.4.3 → https://git.io/Je6wL
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeP2x
<{^_^}> [nixpkgs] @flokli pushed commit from @petabyteboy to release-19.09 « gitlab: 12.4.2 -> 12.4.3 »: https://git.io/JePae
iqubic``` has quit [Remote host closed the connection]
iqubic has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74188 → fanficfare: 3.12.0 -> 3.13.0 → https://git.io/JePan
Makaveli7 has joined #nixos
rydnr has joined #nixos
<rydnr> Hi again
<vaibhavsagar> does anyone have experience with jupyter nbextensions in Nix?
<vaibhavsagar> I have something that was working a few months ago but doesn't currently seem to work
<steveeJ> to answer my own question. using `cargoBuildFlags = [ "-p workspace-member" ];` did the trick. now I'm stuck because we don't seem to have unstable or nightly rust in the tree :-D
<tilpner> steveeJ: The mozilla overlay has them
knupfer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74189 → auctex: 12.1 -> 12.2 → https://git.io/JePaw
<tilpner> steveeJ: You don't have to use the NUR, you can directly reference the mozilla overlay if you want
mexisme has joined #nixos
<steveeJ> tilpner: thanks, I was going to look for that again
<rydnr> Finally I booted with the 20.03 livecd. I got the same kernel panics until I blacklisted both iwlwifi and iwlmvm modules. But I get "error: writing to file: Operation not permitted" when I try to do "nixos-rebuild switch" after "nixos-enter"
<tilpner> rydnr: What about nixos-rebuild boot?
<rydnr> If I use "chroot /mnt" instead of "nixos-enter", I get "error: opening pseudoterminal master: No such device"
fendor has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @d-goldin opened pull request #74190 → pythonPackages.m2crypto: conditional `typing` dep → https://git.io/JePaD
<rydnr> I get the same error messages in both cases (nixos-enter and chroot /mnt)
<tilpner> rydnr: What about nixos-rebuild boot?
<rydnr> tilpner: yes, I tried and got the same error messages
<tilpner> Can you strace it?
<tilpner> Which file does it fail to write to?
<tilpner> strace -o /tmp/log -vfefile ...
<rydnr> I'm not sure which file it is by looking at /tmp/log...
Guest55348 has joined #nixos
<rydnr> 674 stat("/nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/x86_64", 0x7ffc2d6c9fb0) = -1 ENOENT (No such file or directory)674 openat(AT_FDCWD, "/nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = 3674 openat(AT_FDCWD, "/nix/store/mam3z7sv5csby0qccvn4qak9ri8r9vwr-acl-2.2.53/lib/libacl.so.1",
<rydnr> O_RDONLY|O_CLOEXEC) = 3674 openat(AT_FDCWD, "/nix/store/mam3z7sv5csby0qccvn4qak9ri8r9vwr-acl-2.2.53/lib/libattr.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)674 openat(AT_FDCWD, "/nix/store/w6gxny55j7pmxm0kkc9fdvjw86zyk3n4-attr-2.4.48/lib/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3674 openat(AT_FDCWD,
<rydnr> "/nix/store/mam3z7sv5csby0qccvn4qak9ri8r9vwr-acl-2.2.53/lib/libcrypto.so.1.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)674 openat(AT_FDCWD, "/nix/store/w6gxny55j7pmxm0kkc9fdvjw86zyk3n4-attr-2.4.48/lib/libcrypto.so.1.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)674 openat(AT_FDCWD,
<rydnr> "/nix/store/2q1izv872frqih56akkf4n22z67q8qj2-openssl-1.1.1d/lib/libcrypto.so.1.1", O_RDONLY|O_CLOEXEC) = 3674 openat(AT_FDCWD, "/nix/store/mam3z7sv5csby0qccvn4qak9ri8r9vwr-acl-2.2.53/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)674 openat(AT_FDCWD,
<rydnr> "/nix/store/w6gxny55j7pmxm0kkc9fdvjw86zyk3n4-attr-2.4.48/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)674 openat(AT_FDCWD, "/nix/store/2q1izv872frqih56akkf4n22z67q8qj2-openssl-1.1.1d/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)674 openat(AT_FDCWD,
<rydnr> "/nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3674 openat(AT_FDCWD, "/nix/store/mam3z7sv5csby0qccvn4qak9ri8r9vwr-acl-2.2.53/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)674 openat(AT_FDCWD, "/nix/store/w6gxny55j7pmxm0kkc9fdvjw86zyk3n4-attr-2.4.48/lib/libc.so.6",
<rydnr> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)674 openat(AT_FDCWD, "/nix/store/2q1izv872frqih56akkf4n22z67q8qj2-openssl-1.1.1d/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)674 openat(AT_FDCWD, "/nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3674
<rydnr> openat(AT_FDCWD, "/nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3674 openat(AT_FDCWD, "/run/current-system/sw/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3674 lstat("/", {st_dev=makedev(0xfe, 0x5), st_ino=2, st_mode=S_IFDIR|0755, st_nlink=27, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8,
<rydnr> st_size=4096, st_atime=1574682682 /* 2019-11-25T12:51:22.814790166+0100 */, st_atime_nsec=814790166, st_mtime=1574682678 /* 2019-11-25T12:51:18.775789973+0100 */, st_mtime_nsec=775789973, st_ctime=1574682678 /* 2019-11-25T12:51:18.775789973+0100 */, st_ctime_nsec=775789973}) = 0674 newfstatat(AT_FDCWD, "/tmp/nixos-rebuild.R5mvBl",
<rydnr> {st_dev=makedev(0xfe, 0x5), st_ino=3283240, st_mode=S_IFDIR|0700, st_nlink=2, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=1574712059 /* 2019-11-25T21:00:59.847542467+0100 */, st_atime_nsec=847542467, st_mtime=1574712050 /* 2019-11-25T21:00:50.269138073+0100 */, st_mtime_nsec=269138073, st_ctime=1574712050 /*
<rydnr> 2019-11-25T21:00:50.269138073+0100 */, st_ctime_nsec=269138073}, AT_SYMLINK_NOFOLLOW) = 0674 openat(AT_FDCWD, "/tmp/nixos-rebuild.R5mvBl", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_NOFOLLOW|O_DIRECTORY) = 3674 openat(AT_FDCWD, "/tmp/nixos-rebuild.R5mvBl", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_NOFOLLOW|O_CLOEXEC|O_DIRECTORY) = 3674 unlinkat(4, "nix", 0)
<rydnr> = 0674 unlinkat(4, "nix.drv", 0) = 0674 unlinkat(AT_FDCWD, "/tmp/nixos-rebuild.R5mvBl", AT_REMOVEDIR) = 0674 +++ exited with 0 +++570 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=674, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---570 +++ exited with 1 +++
<xacktm> watch your spam
<xacktm> pls :P
<lassulus> so much text
<rydnr> sorry
<tilpner> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<tilpner> Actually, it might be easier if you took out the efile
<{^_^}> [nixpkgs] @flokli merged pull request #73140 → nixosTests.pantheon: port to python → https://git.io/JeVys
<{^_^}> [nixpkgs] @flokli pushed 5 commits to master: https://git.io/JePVs
misterwhatever has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
<{^_^}> [nixpkgs] @worldofpeace pushed to master « update.nix: fix eval »: https://git.io/JePVZ
<{^_^}> [nixpkgs] @filalex77 opened pull request #74191 → onefetch: init at 2.1.0 → https://git.io/JePV8
mexisme has quit [Ping timeout: 265 seconds]
Neo-- has quit [Ping timeout: 250 seconds]
rydnr has quit [Ping timeout: 260 seconds]
sondr3 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74192 → fig2dev: 3.2.7a -> 3.2.7b → https://git.io/JePV1
mexisme has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #74180 → epiphany: 3.34.1 -> 3.34.2 → https://git.io/JePgZ
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JePVD
<samueldr> am I missing something or is udev.extraHwdb not taking effect on rebuild?
<samueldr> tried to udevadm hwdb --update too, just in case
<bdju> I just realized pcmanfm doesn't show the icons I selected in lxappearance. what should I check into? also pcmanfm in general seems very buggy on nixos. no right click menu, and when typing to search it starts the search over after each letter
<samueldr> though I would feel more satisfied if udevadm would print where it looked at files
growpotkin has joined #nixos
<steveeJ> tilpner: any chance you've packaged a rust crate before which has a "link" dependency?
<tilpner> steveeJ: I don't understand the question
<samueldr> and rebooting *does* refresh the hwdb appropriately, seemingly
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JePVb
<{^_^}> [nixpkgs] @FRidh closed pull request #67187 → tiledb: init at 1.6.3 → https://git.io/fjb1z
<steveeJ> tilpner: I'm trying to build something which links to another crate https://github.com/fortanix/rust-sgx/blob/master/dcap-provider/Cargo.toml#L37
<tilpner> That's not really what that means
klntsky has quit [Ping timeout: 260 seconds]
<tilpner> It does end up trying to link libsgx_dcap_ql, but the feature could've been named foo, and it would've done the same
<steveeJ> tilpner: I agree the "feature" name is misleading. I didn't mean that the feature means linking against it ;)
<tilpner> Figure out what libsgx_dcap_ql is, and how you can get it
<steveeJ> tilpner: you think that's not produced by the dcap-ql crate in there?
<tilpner> It's possible I missed it
<tilpner> But I wouldn't count on it
klntsky has joined #nixos
<tilpner> It's not indexed in unstable
<tilpner> (libsgx_dcap_ql.so.1)
andreas303 has quit [Ping timeout: 260 seconds]
<steveeJ> tilpner: thanks, that does make more sense
_deepfire has joined #nixos
<{^_^}> [nixpkgs] @flokli reopened pull request #61310 → gocd-server: 16.9.0-4001 -> 19.3.0-8959 → https://git.io/fjCpU
andreas303 has joined #nixos
<{^_^}> [nixpkgs] @d-goldin opened pull request #74193 → pythonPackages.pony: init at 0.7.11 → https://git.io/JePwB
alexherbo2 has joined #nixos
chloekek has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #74194 → solr: 8.2.0 -> 8.3.0 → https://git.io/JePww
shibboleth has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
hlolli has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « kdeFrameworks setup hook: fix set -u regression »: https://git.io/JePwX
<{^_^}> [nixpkgs] @d-goldin opened pull request #74195 → tribler: 7.1.2 -> 7.4.0-exp1 (python 3) → https://git.io/JePw1
<hlolli> someone here online that can tell ofborg to build https://github.com/NixOS/nixpkgs/pull/72331 on Darwin?
<{^_^}> #72331 (by hlolli, 3 weeks ago, open): graalvm8: 19.1.1 -> 19.2.1
<{^_^}> [nixpkgs] @FRidh pushed 244 commits to staging-next: https://git.io/JePwM
halfbit has quit [Ping timeout: 252 seconds]
civodul has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #74153 → coq: Fix setup hook → https://git.io/JeP4r
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JePwS
savanni has quit []
<{^_^}> [nixpkgs] @Ericson2314 pushed 159 commits to staging: https://git.io/JePw7
<{^_^}> [nixpkgs] @tfc opened pull request #74196 → Nixos test containers python port → https://git.io/JePw5
Guest55348 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli merged pull request #74190 → pythonPackages.m2crypto: conditional `typing` dep → https://git.io/JePaD
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JePwF
<{^_^}> [nixpkgs] @WilliButz opened pull request #74197 → prometheus-postgres-exporter: 0.7.0 -> 0.8.0 → https://git.io/JePwN
<{^_^}> [nixpkgs] @flokli merged pull request #74193 → pythonPackages.pony: init at 0.7.11 → https://git.io/JePwB
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JePrv
<{^_^}> [nix] @edolstra merged pull request #3242 → Document builtins.placeholder → https://git.io/JePue
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JePrf
domogled has joined #nixos
<kraem> long shot: is there a way to check the progress of hydra's progress of building a binary cache of a specific package?
selfsymmetric-pa has joined #nixos
justanotheruser has joined #nixos
<LnL> hydra not really but nix-build --dry-run will show you how many paths will be substituted vs built locally
<ddima> Is there some documented syntax to run ofborg build just for a particular platform/builder type (for resource conservation)?
run500 has joined #nixos
<kraem> yeah i guessed so. that's actually what i am doing with nixos-rebuild but sometimes i want to know if it's worth waiting for hydra for large builds like chromium and libreoffice to update the kernel. thanks LnL
<clever> kraem: nixos hydra or your own hydra? which channel are you on?
<run500> im running a "nix copy --to file://..." and "nix copy --from file://..." command to move a closure between machines. i get an error on the second step saying "path is not valid". any ideas what could cause that?
<kraem> clever: nixos hydra. i'm on unstable-small (iirc i switched from unstable to receive kernel updates faster while unstable was stuck for ten days)
<clever> run500: you can also use `local?root=/foo` instead, and it will create a complete store that could be chroot'd into, or copied from
civodul has quit [Read error: Connection reset by peer]
<clever> kraem: if you switch back to normal nixos-unstable, then hydra will always have things built
civodul has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #74198 → nixos/prometheus-exporters: fix nginx exporter startup → https://git.io/JePrG
<kraem> but then i'm stuck on an old kernel. hm.. maybe i could cherry-pick the kernel from unstable-small
<run500> clever: thanks, ill try that. the copy-to step seems to work
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker merged pull request #74168 → vault-bin: 1.1.3 -> 1.3.0 → https://git.io/JePEa
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/JePr8
<{^_^}> [nixpkgs] @jonringer opened pull request #74199 → python3Packages.gunicorn: add setuptools → https://git.io/JePr4
<kraem> clever: should one be concerned, security-wise, not running the latest chromium + browser?
<{^_^}> [nixpkgs] @flokli merged pull request #74196 → nixosTests.containers*: port to python → https://git.io/JePw5
<{^_^}> [nixpkgs] @flokli pushed 5 commits to master: https://git.io/JePrB
<run500> clever: that seems to work better. i think the problem was something to do with signatures - one of the paths was missing a sig, and the "copy to" step succeeds with no error message, the local variant fails
<clever> kraem: tricky question, you would have to review the release notes and see what has been fixed and what type of problems your open to
<clever> run500: there is also `nix copy-sigs`
<run500> clever: in my case i dont care that much, and using --no-checks sigs seemed to do it
<clever> run500: and nix copy can be told to not check sigs
<clever> yep
<kraem> sorry, chromium + kernel
<{^_^}> [nixpkgs] @WilliButz opened pull request #74200 → prometheus-varnish-exporter: 1.5.1 -> 1.5.2 → https://git.io/JePrz
orivej has quit [Ping timeout: 240 seconds]
lopsided98 has quit [Remote host closed the connection]
mananamenos has quit [Ping timeout: 265 seconds]
<pbb> does anyone know a way to set nix builders using a cli flag when using nix flakes?
<pbb> for example "nix build --builders ..." does not seem to have any effect
lopsided98 has joined #nixos
<pbb> can I build a nix flake output with "nix-build"?
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @jonringer merged pull request #74167 → bslizr: 1.2.0 -> 1.2.2 → https://git.io/JePEu
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « bslizr: 1.2.0 -> 1.2.2 »: https://git.io/JePrQ
philr has joined #nixos
<srid> Is it possible to override the attributes of a mkDerivation set?
<srid> (the set passed to mkDerivation)
<pbb> srid: yes, there is an overrideAttrs function
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « ansifilter: 2.14 -> 2.15 »: https://git.io/JePrd
<{^_^}> [nixpkgs] @c0bw3b merged pull request #74116 → ansifilter: 2.14 -> 2.15 → https://git.io/JePZh
<srid> That's great pbb. Here's another example I found: http://www.bnikolic.co.uk/nix-cheatsheet.html#orgaa85d2a
<jared-w> Hmm, speaking of flakes, is anyone using flakes on nixos yet in their configuration.nix file as a full replacement for channels (or manual pinning/updating/etc)?
<pbb> I am
<jared-w> nice. How are you liking it so far? I'm thinking of switching to that if I can. I have a vaguely janky setup that involves just importing tarbells that I'm finding slightly annoying to use
<pbb> it has it's advantages and disadvantages :))
<pbb> so I do "nix run --recreate-lock-file .#nixosConfigurations.amalthea.config.system.build.toplevel -c sudo switch-to-configuration switch" to update my system
knupfer has quit [Quit: knupfer]
<jared-w> heh, I guess that command could look slightly prettier lol
<pbb> because it requires changes in nixpkgs that are not merged yet, I maintain a custom branch at https://github.com/petabyteboy/nixpkgs/tree/flakes
<jared-w> would it become the normal nixos-rebuild once those are merged?
knupfer has joined #nixos
<pbb> it would become something like "nixos-rebuild switch --flake"
<pbb> some things are a lot faster, for example "nix run nixpkgs#foo" is almost instant compared to nix shell, because the evaluations are cached
cosimone has quit [Quit: Quit.]
<pbb> but the new nix cli is very work in progress
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74201 → dogecoind: 1.14.1 -> 1.14.2 → https://git.io/JePov
<pbb> it's noticable that some options are not implemented yet
cosimone has joined #nixos
<jared-w> oh nice
ixxie has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #74012 → python3Packages.azure-cli-{core,telemetry}: remove → https://git.io/JeiHj
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JePoU
cosimone has quit [Client Quit]
<pbb> so tldr try it if you're adventurous
cosimone has joined #nixos
<jared-w> I can imagine. I'm hoping nix becomes a bit more ergonomic eventually. Right now I'm still trying to find a balance between taking advantage of nix for projects and not rendering the entire git repo unusable for non-nix users
<jared-w> (likely unrelated to flakes but it seems to be part of a general trend)
<pbb> hehe
<pbb> currently I found no way of rebuilding my system with a remote build host like with "nixos-rebuild --build-host", which makes it tempting to switch back right now
<pbb> have to compile some stuff on my slow laptop
<{^_^}> [nixpkgs] @jonringer opened pull request #74202 → python3Packages.papis: remove restrictive version bounds → https://git.io/JePoI
<jared-w> just spitballing here, but would it be possible to setup something like a cachix cache on your fast PC and then reference it from the laptop?
knupfer has quit [Client Quit]
<clever> jared-w: its called nix-serve, and the module is already in nixos
<pbb> ah yes but the next problem would be how to ergonomically make that fast computer build my system config
fendor has joined #nixos
<pbb> and I would have to set up the signing keys and stuff, which is not necessary with nixos-rebuild --build-host
<clever> pbb: configure it as a build machine
<clever> pbb: just a normal build machine, not --build-host
<clever> pbb: and if the build user is marked as a trusted user, you dont have to setup the signing
<pbb> hmmm yeah I guess, but it has so many limitations like I need root/trusted access on the remote machine
<pbb> ah
<jared-w> ooh neat.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74203 → evince: 3.34.1 -> 3.34.2 → https://git.io/JePoZ
<pbb> I tried it once and had some buggy behaviour like deadlocks
<pbb> (global remote builders)
<pbb> but maybe it's time to try again
<clever> pbb: if you form a cycle, then the remote build machine may try to go backwards to the one requesting the build
<clever> pbb: and then things deadlock
<pbb> that was not it
<{^_^}> nix#2260 (by christian-marie, 1 year ago, open): Deadlock with remote builders
<pbb> more like this
steell has joined #nixos
<steell> o
m3lt99034 has joined #nixos
<steell> i'm looking to update my opengl drivers, but i have no idea where to start
<steell> i think i want to pin a recent version of nixpkgs inside of my configuration.nix, and then use the opengl module inside of that
red[evilred] has joined #nixos
<red[evilred]> clever (IRC): - I finally got your answer. It's armv7l
<clever> steell: i used https://gist.github.com/a73cb1ab33c4561482478d360fd1a206 before, when building mesa from source
<red[evilred]> (with 8 cores)
<steell> clever: i can just add that to my imports list?
<clever> red[evilred]: what was the problem again?
<clever> steell: a variation of that, yes
<run500> im running "nix copy --from ... --no-check-sigs" and yet i still get an error saying "cannot add path because it lacks a valid signature"
<red[evilred]> What's the liklihood of being able to port nixos to this device (odroid HC-2)
<clever> run500: did you run it as root (or a trusted user) ?
<{^_^}> [nixpkgs] @magnetophon opened pull request #74204 → noise-repellent: init at unstable-29-12-2018 → https://git.io/JePow
<clever> red[evilred]: should be fairly simple, but there wont be a binary cache building for it, youll first need to get nix installed on the device, and use nix-build to build things like the closure of nixos
<m3lt99034> I got a udev files, that i need to add to services.udev somehow. but service.udev.packages does not directly accept a text file :c
<run500> clever: i did not, and it works when i do! thanks.
<clever> m3lt99034: services.udev.extraRules
<pbb> haslersn: did you find a solution to https://github.com/NixOS/nixpkgs/issues/72083 ?
<{^_^}> #72083 (by haslersn, 4 weeks ago, open): Could not resolve flake reference 'null'
<{^_^}> [nixpkgs] @c0bw3b merged pull request #74135 → ckbcomp: 1.193 -> 1.194 → https://git.io/JePWT
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « ckbcomp: 1.193 -> 1.194 »: https://git.io/JePoo
<{^_^}> [nixpkgs] @jtojnar merged pull request #74203 → evince: 3.34.1 -> 3.34.2 → https://git.io/JePoZ
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JePo6
<m3lt99034> clever: yeah, but that needs a string in the nix expr. I am not gonna paste the 200+ lines of code in there.
<clever> m3lt99034: builtins.readFile lets you turn a file into a string
steell has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bcdarwin opened pull request #74205 → ocamlPackages.parany: init at 7.0.0 → https://git.io/JePoP
ambro718 has quit [Ping timeout: 250 seconds]
steell has joined #nixos
<steell> clever: worked like a charm :-)
<steell> thanks!
boxscape has joined #nixos
Lev_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #74206 → elisa: 0.4.2 -> 19.11.80 → https://git.io/JePoH
<{^_^}> [nixpkgs] @c0bw3b merged pull request #74137 → cups-filters: 1.25.11 -> 1.25.12 → https://git.io/JePWt
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « cups-filters: 1.25.11 -> 1.25.12 »: https://git.io/JePo7
<{^_^}> [nixpkgs] @flokli opened pull request #74207 → systemd: v243.3 -> v243.4 → https://git.io/JePod
kraem has quit [Quit: outta here]
<{^_^}> [nixpkgs] @jonringer closed pull request #66125 → aws-sam-cli: 0.16.1 -> 0.19.0 → https://git.io/fjQU8
<{^_^}> [nixpkgs] @costrouc opened pull request #74208 → pythonPackages.papermill: init at 1.2.1 → https://git.io/JePKe
domogled has quit [Ping timeout: 265 seconds]
obadz has joined #nixos
kraem has joined #nixos
m3lt99034 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kylesferrazza opened pull request #74209 → ipscan: init at 3.6.2 → https://git.io/JePKq
genesis has quit [Ping timeout: 265 seconds]
<pistache> is it possible to call nixos-generate from within Nix ?
<pbb> pistache: why would you want to do that?
<tilpner> pistache: Practically yes, the formats all just use Nix to build things. You can just import that
sweep has joined #nixos
<pistache> pbb: to generate LXD container images for NixOS, with the configuration defined as a module in the host's configuration file
<clever> pistache: nixos-generate-config needs to access all kinds of state for the host, to see what config you need
<clever> but the nix sandbox blocks all of that
<pistache> I'm not using nixos-generate-config
<tilpner> clever: nixos-generators, not nixos-generate-config
<clever> ah
leotaku has joined #nixos
Lev_ is now known as levdub
selfsymmetric-pa has quit [Remote host closed the connection]
Chiliparrot has joined #nixos
kraem has quit [Quit: outta here]
philr has quit [Ping timeout: 245 seconds]
<pistache> I asked because I couldn't find a way to integrate lib/eval-config.nix and lib/make-system-tarball.nix
<clever> pistache: you want to just `import <nixpkgs/nixos> { configuration = ...; }`
<pistache> nixos-generate uses two commands, first nix-instantiate then nix-build, so I was afraid to it couldn't be done without shelling out
<pistache> oh, just nixpkgs/nixos ?
<clever> yep
<pistache> nice
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
<clever> pistache: line 3 has an example nix-build command, `-I nixos-config=...` is the same as `configuration = ...` in an expr
<{^_^}> [nixpkgs] @c0bw3b merged pull request #74188 → fanficfare: 3.12.0 -> 3.13.0 → https://git.io/JePan
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « fanficfare: 3.12.0 -> 3.13.0 »: https://git.io/JePKg
<pistache> ah yes, so in the host configuration file, I should build this by shelling out to nix-build ?
<clever> pistache: you can also just import nixpkgs/nixos, and pass it a file like this
<pistache> ah yes, overriding configuration as you said
<pistache> I get it now, thanks a lot
<pistache> clever++
<{^_^}> clever's karma got increased to 254
<{^_^}> [nixpkgs] @risicle opened pull request #74210 → [r19.03] mosquitto: 1.5.8 -> 1.5.9, addressing CVE-2019-11779 → https://git.io/JePKi
alexherbo2 has joined #nixos
drakonis_ has joined #nixos
<pbb> I am getting "error: unable to start any build; either increase '--max-jobs' or enable remote builds" with --max-jobs=0, even though I have specified remote builders. what could cause this?
<clever> pbb: i think it still wants to do some builds locally, and then ran out due to a limit of 0
<pbb> meh
<pbb> I don't want to build the new kernel on a slow dual core
<clever> pbb: then use the supported-features flag
<clever> $ nix show-config | grep feat
<clever> system-features = benchmark big-parallel kvm nixos-test
<pbb> I have to set it in the derivation?
<clever> pbb: a kernel requires the big-parallel flag already, so no need to change the derivation
<pbb> but I need to remove this feature from my local machine?
<clever> just use `--option system-features 'benchmark kvm nixos-test'` to declare that your local machine cant do big parallel jobs
<pbb> ahh :D
<pbb> thanks
<clever> you can also set system-features in the core2duo's nix.conf file
<pbb> hmmm
<pbb> now it says it can't build it locally and fails
<clever> did you declare that your build machine has big-parallel?
<pbb> it seems to ignore that I specified remote builders, even though it did build some packages with it before
<clever> # cat /etc/nix/machines
<clever> builder@192.168.2.126 armv6l-linux,armv7l-linux /etc/nixos/keys/distro 1 1 big-parallel
<pbb> yes I did
<clever> pbb: which drv file is failing to build?
<pbb> oh, how do I specify multiple features for a remote builder?
<clever> a,b,c
<pbb> that fixed it. I think the manual has a bad example
<pbb> oh no I just didn't read everything
<pbb> "nix@poochie.labs.cs.uu.nl i686-linux /home/nix/.ssh/id_scratchy_auto 1 2 kvm benchmark"
<clever> there is another column after supported features, mandatory features
<pbb> yes
kraem has joined #nixos
<pbb> I thought kvm and benchmark were the supported features
<clever> that is a machine that supports both kvm and benchmark, and will only ever build things that require benchmark
werner291 has joined #nixos
<clever> so non-benchmark stuff doesnt hog the system
<pbb> yeah, now that I know how this stuff works I will definitely use it more :D
<pbb> thanks for bringing it up and explaining
<clever> hydra also has a non-standard mandatory feature
<clever> "local" refers to anything that is tagged with preferLocalBuild = true;
<clever> so you can whitelist hydra to build such things on localhost
<pbb> and I could prevent some config files with private data from being built on a remote builder
Serus_ is now known as Serus
<pbb> or on one of the builders I trust with that information
<clever> the local flag only exists when hydra is checking mandatory features, but not supported features
<clever> so preferLocalBuild can still build remotely, if local is busy
<clever> you would have to add your own feature to enforce things
kraem has quit [Client Quit]
<{^_^}> [nixpkgs] @risicle opened pull request #74212 → facedetect: switch to opencv4 → https://git.io/JePK7
<{^_^}> [nixpkgs] @ruuda opened pull request #74213 → git: fix the "perlSupport = false" configuration → https://git.io/JePKA
aveltras has quit [Quit: Connection closed for inactivity]
chloekek has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #73353 → zcash: 1.0.13 -> 2.1.0-1 → https://git.io/JermN
<{^_^}> [nixpkgs] @Lassulus pushed commit from @tkerber to master « zcash: 1.0.13 -> 2.1.0-1 »: https://git.io/JeP6f
kaba has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #74214 → rdf4store: remove pkg and service modules → https://git.io/JeP6Y
<{^_^}> [nixpkgs] @lsix opened pull request #74215 → gnupg: 2.2.17 -> 2.2.18 → https://git.io/JeP6s
Makaveli7 has quit [Quit: WeeChat 2.6]
sondr3 has quit [Quit: WeeChat 2.6]
kaba has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73865 → keybase: add kbnm to subPackages → https://git.io/Je6PN
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeP6W
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
noudle has quit []
drakonis_ has quit [Ping timeout: 246 seconds]
sigmundv has joined #nixos
kaba has joined #nixos
<kaba> Hi, how can I start plasma in wayland on current unstable? Apparently it should work, just not yet available as a session file (though even that seems to be available, just not yet merged https://github.com/NixOS/nixpkgs/pull/56988)
<{^_^}> #56988 (by bkchr, 37 weeks ago, open): Plasma5: Use upstream xsession/wayland-session files
kraem has joined #nixos
jb55 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #74185 → tridactyl-native: 1.17.0 -> 1.17.1 → https://git.io/JeP2V
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JeP6u
magneticduck has quit [Remote host closed the connection]
hlolli has quit [Remote host closed the connection]
steell has quit [Ping timeout: 240 seconds]
fenedor has joined #nixos
kaba has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kalbasit opened pull request #74216 → bazel.tests: update the protobuf test to the latest protobuf version → https://git.io/JeP6a
mizmor has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<mizmor> Hi! My configuration.nix is such a mess. Are there any ressources/best practices that could help me refactor it? Thanks!
fendor has quit [Ping timeout: 265 seconds]
fenedor is now known as fendor
lux4 has quit [Ping timeout: 245 seconds]
tilpner has quit [Ping timeout: 252 seconds]
lux4 has joined #nixos
<jared-w> That gets complicated. There are a lot of different ways to go about it and everyone uses a different way :p
Ariakenom has quit [Quit: Leaving]
<ddima> mizmor: I dont know a good resource - but maybe just start pulling things apart in some "topical" sense into separate files, like "desktop.nix" for X and WM stuff etc, "network.nix" etc. Ideally you should find 2-3 people on github who's config looks nice to you and just get inspired ;)
<jared-w> you can use flakes, you can use channels, you can manually pin everything, you can use fetchTarbell, etc., and that's just for getting "pkgs". Some people abstract their entire configuration.nix into a series of modules. Some people have it separated by configuration per user + configuration per machine and their configuration.nix imports a file that picks which machine/user combo you want to use for your particular
<jared-w> machine
<jared-w> Some people have it all mostly inlined, some have 900 different files... Some use home-manager, some don't, some use their own home brewed version of a "user env" manager
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<mizmor> Thanks to both of you :) I think I'll go the separate file way for now! I only use Nixos on 1 machine at the moment and that would suit me well i think!
<jared-w> and then there's configuring your applications and terminal stuff. Some people use normal files and "link them in" with nix. Some people inline their entire rc files into their nix files. Some do both in the same file. Still others upload their user configs to the NUR and reference it from there
<{^_^}> [nixpkgs] @jtojnar opened pull request #74217 → ofono: 1.30 → 1.31 → https://git.io/JeP61
<jared-w> then there's the difference between having your setup be agnostic to whether or not you're running NixOS vs nix on, say, macOS or some other linux distro. That can change your config setup significantly
tilpner has joined #nixos
<mizmor> jared-w: I see why you said it could get complicated haha!
<mizmor> Thanks a lot, very enlightening!
sigmundv has quit [Ping timeout: 276 seconds]
<ddima> mizmor: once you have managed to split things like that you can start thinking about making actual nixos modules out of those (parametrizing and stuff) and what you need as new packages, I'd suggest to place in some folder called "overlays" or so and use the overlay mechanism with those. After that you've probably seen enough to proceed a bit more on your own.
<jared-w> np. Just wait until you have to figure out how different code projects use hercules-ci, cachix, lorri, direnv, niv, and different philosophies of setting up nix integration with build systems for code repos
levdub has quit [Remote host closed the connection]
jlv has joined #nixos
<ddima> mizmor: many people have their nix config in a git repo and symlink the files to the locations in /etc and ~/.config/nixpkgs (for home-manager) - some just have /etc/nixos as a git repo.
<jared-w> Don't worry, all of this is extensively documented by 3 people in four articles, a few magical git issues, and a few vaguely worded discord threads spanning 5+ years of constantly-changing best practices :p
<jlv> Is there a recommended / easy way to overlay a package with a version from a different channel?
<mizmor> jared-w: hahahaha good to know!
<ddima> jared-w: jeez, let him make his own discoveries ;)
<ddima> err, s/his/their
<mizmor> ddima: i like the /etc/nixos as a git repo idea, are there any downside to it?
<jared-w> Nope
<{^_^}> [nixpkgs] @tfc opened pull request #74218 → Nixos test containers python port → https://git.io/JeP6S
<jlv> mizmor: you need to do things as root, which is a little annoying.
<mizmor> jlv: what if i chown /etc/nixos to my user? is this bad?
<jared-w> You can chown /etc/nixos as your user then everything works great. That's what I do
<jlv> I think that answers your question, lol
<jared-w> /insert "vague security bla bla"
<ddima> mizmor: well, I use home manager, so I have various locations, so for me it makes sense to link to the repo instead of having all of it in /etc/nixos. but this is all rather easy to change, so just go with it.
jb55 has joined #nixos
<jared-w> Alternatively, you can stick home manager inside your configuration.nix file so that you don't have to run `home-manager switch` and just `nixos-rebuild switch` is sufficient
<jlv> Personally, I have a separate directory, and a simple bash script to copy and activate the configuration.
fendor has quit [Quit: Leaving]
<jared-w> no such thing as too many options amirite /s
<mizmor> oof
monsieurp has quit [Ping timeout: 246 seconds]
<jlv> I don't think there's really a "right way". Whatever works and is easy for you.
<ddima> mizmor: dont overthink it. esp since you only have one box, just go with the simplest thing that works and extend
<mizmor> i was interested in using home manager too but i wanted to configure my machine first
<jared-w> I want to kinda write an article on this and sorta why I discovered and settled on my particular setup
<ddima> there is really no point in looking at all options upfront, probably just too many issues to deal with at once :)
<mizmor> and yeah that's what i understand now!
<mizmor> jared-w: would be very cool to read
<jared-w> https://github.com/jared-w/nixos-configs/ you can look at my setup here. It differs from a lot of others online in that it's intentionally low abstraction to the point of almost-being-annoying
<ddima> mizmor: I can only second what jared-w said about running home-manager from your nixos config - much nicer and less confusing than dealing with separate home-manager generations. thats more for mental note for later.
<jared-w> (the only file you need to read is nixos/configuration.nix)
<mizmor> ddima: duely noted :)
<mizmor> jared-w: cool! i'll check it out!
kraem has quit [Quit: outta here]
run500 has quit [Remote host closed the connection]
<jared-w> Just pushed what my configuration.nix looks like as of 2 minutes ago so you might wanna refresh the page if you already opened it
werner291 has quit [Quit: werner291]
kaba has joined #nixos
CptCaptain has quit [Ping timeout: 265 seconds]
<mizmor> jared-w: i see what you meant! It's really straightforward, everything in configuration.nix! that's cool!
werner291 has joined #nixos
<jared-w> Some of the weakness of my setup are: 1) a lot of unnecessary conflation of levels of abstraction. Things like wanting ghcide for neovim are pushed into the global configuration when they shouldn't necessarily be. Lots of globally installed packages so that "local concerns" can take advantage of it, etc. 2) My setup is purposefully non idempotent. If you run it on one day vs another day you're not guaranteed the _exact_
<jared-w> version of some packages; that comes from using fetchTarbell for most everything
<{^_^}> [nixpkgs] @flokli merged pull request #74209 → ipscan: init at 3.6.2 → https://git.io/JePKq
<{^_^}> [nixpkgs] @flokli pushed commit from @kylesferrazza to master « ipscan: init at 3.6.2 (#74209) »: https://git.io/JeP6N
<mizmor> jared-w: good to know!
<jared-w> I don't need nearly all of those fonts in there and I should simplify that. My global packages list is horribly organized as well. There's basically no rhyme or reason to it
<jared-w> My neovim and zsh configuration are both still completely outside of nix and updated manually and some of my configuration.nix reflects that (having 'lsd' installed so that zsh works vs having a zsh "module" responsible for installing dependencies that my aliases/functions depend on)
<mizmor> jared-w: whats bad about having config outside of nix?