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,
orivej has quit [Ping timeout: 276 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
erasmas has quit [Quit: leaving]
minicom has quit [Quit: Ping timeout (120 seconds)]
xqsl has quit [Quit: No Ping reply in 180 seconds.]
minicom has joined #nixos
medvid has quit [Ping timeout: 245 seconds]
xqsl has joined #nixos
pittma has quit [Ping timeout: 276 seconds]
pittma has joined #nixos
Havvy has joined #nixos
medvid has joined #nixos
m0rphism has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 250 seconds]
gkmngrgn has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
hlolli has joined #nixos
shibboleth has joined #nixos
vld has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #75632 → buildah: 1.11.6 -> 1.12.0 → https://git.io/JeQvS
leex has quit [Ping timeout: 268 seconds]
alexherbo231 has quit [Remote host closed the connection]
vld has quit [Ping timeout: 240 seconds]
selfsymmetric-mu has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #75633 → fluent-bit: 1.3.2 -> 1.3.4 → https://git.io/JeQvd
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm_ is now known as mbrgm
vld has joined #nixos
o1lo01ol1o has joined #nixos
lunik1 has quit [Quit: Ping timeout (120 seconds)]
vld has quit [Ping timeout: 265 seconds]
lunik1 has joined #nixos
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
stzsch has joined #nixos
lunik1 has quit [Quit: Ping timeout (120 seconds)]
evanjs has joined #nixos
lunik1 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
erictapen has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
erictapen has joined #nixos
halfbit has quit [Ping timeout: 250 seconds]
judson has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
Ariakenom has quit [Read error: Connection reset by peer]
michas has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
fusion809 has quit [Remote host closed the connection]
eacameron has quit [Quit: Connection closed for inactivity]
erictapen has quit [Ping timeout: 246 seconds]
iqubic has quit [Remote host closed the connection]
vld has joined #nixos
jgt4 has quit [Ping timeout: 246 seconds]
shibboleth has quit [Quit: shibboleth]
hmpffff has quit [Quit: nchrrrr…]
andreas303 has quit [Ping timeout: 260 seconds]
markasoftware has left #nixos ["http://quassel-irc.org - Chat comfortably. Anywhere."]
vld has quit [Ping timeout: 250 seconds]
jumper149 has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-make: 0.24.1 -> 0.24.2 »: https://git.io/JeQfy
andreas303 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeQfH
jgt4 has joined #nixos
wildtrees has quit [Quit: Leaving]
jgt4 has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
gkmngrgn has quit [Ping timeout: 240 seconds]
iz16 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #75608 → Added softinio to maintainers list → https://git.io/JeH5G
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/JeQfx
o1lo01ol1o has quit [Ping timeout: 250 seconds]
juxiemaotu has joined #nixos
vld has joined #nixos
hlolli_ has joined #nixos
hlolli has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #75599 → tig: 2.4.1 -> 2.5.0 → https://git.io/JeHMA
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeQJe
vld has quit [Ping timeout: 240 seconds]
akamaus has quit [Ping timeout: 276 seconds]
lovesegfault has quit [Quit: WeeChat 2.6]
lovesegfault has joined #nixos
peanutbutter144 has quit [Ping timeout: 250 seconds]
peanutbutter144 has joined #nixos
lovesegfault has quit [Remote host closed the connection]
lovesegfault has joined #nixos
lovesegfault has quit [Client Quit]
sudoforge has joined #nixos
lovesegfault has joined #nixos
ddellacosta has quit [Ping timeout: 265 seconds]
ddellacosta has joined #nixos
mexisme_ has joined #nixos
cinimod`` has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #75634 → Bump matrix synapse → https://git.io/JeQJY
<skrzyp> if I use pkgs.writeText in configuration.nix, how can I specify ownership for the resulting file?
<skrzyp> or, what other function should I call instead?
mexisme_ has quit [Ping timeout: 252 seconds]
vld has joined #nixos
vld has quit [Ping timeout: 240 seconds]
thomashoneyman has joined #nixos
jgt4 has joined #nixos
<gchristensen> pkgs.writeText cannot specify ownership
<gchristensen> (no Nix build can specify ownership)
<DigitalKiwi> if the nix store is read only how does it get modified :(
<skrzyp> DigitalKiwi: it gets r/w for a moment when Nix operations are applied, I think
<DigitalKiwi> this is a serious question despite sounding trollish
<gchristensen> Nix's root daemon re-mounts the specific store path which is being written to as writable during the build, in a namespace specific to th ebuild
<DigitalKiwi> ohh
iyzsong has joined #nixos
zeta_0 has joined #nixos
zeta_0 has left #nixos [#nixos]
<skrzyp> that's quite clever, but does namespace separation guarantee that no other process can write to /nix/store during the build?
<gchristensen> yes
<{^_^}> [nixpkgs] @Ma27 merged pull request #75591 → gitAndTools.lab: 0.17.0 -> 0.17.1 → https://git.io/JeHiL
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeQJc
<gchristensen> and it isn't /nix/store mounted as read/write, it is /nix/store/hash-name mounted as read-write
<gchristensen> iirc
<skrzyp> nice
lovesegfault has quit [Ping timeout: 240 seconds]
dbmikus_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @samueldr merged pull request #75592 → nixos: compress make-ext4-fs with zstd → https://git.io/JeHPq
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/JeQJB
h0m1 has quit [Ping timeout: 276 seconds]
lord| has quit [Ping timeout: 250 seconds]
h0m1 has joined #nixos
<DigitalKiwi> and finally, if nix is pure how does it do IO?~ :P
<gchristensen> Nix doesn't do IO exactly
<gchristensen> if you can guarantee the hash of something you are allowed to provide instructions to get it, so in this case Nix considers the hash and the thing to be interchangeable
iyzsong-x has joined #nixos
iyzsong has quit [Ping timeout: 276 seconds]
<ToxicFrog> I'm writing a nixpkgs expression. The program being installed needs to be wrapped in a script that, on each run, copies or symlinks some stuff from $out into the user's home directory before actually running the program. What's the best way to do this? writeScriptBin something that takes $out as an argument and then install that in $out/bin?
vld has joined #nixos
work_ has joined #nixos
<skrzyp> Do you really want to automatically pollute the user's $HOME without any consent?
<{^_^}> [nixpkgs] @Ma27 pushed to master « citrix_workspace: add 19.12.0.19 »: https://git.io/JeQJr
<ToxicFrog> skrzyp: this is a game that's hard-coded to write save files into the same directory as the binary, on the assumption that you'll just untar it to ~/Games/ or similar. Ofc this doesn't work on nix because you need to patchelf.
<ToxicFrog> So the launcher script copies the configuration files (user editable) and symlinks the binary, game data files, etc into ~/.share/ and then invokes it from there.
<ToxicFrog> Running it from the nix store results in a game that cannot be configured and crashes when you attempt to save, which is not particularly useful.
<skrzyp> ToxicFrog: if you run a game from directory where the actual binary is symlinked into, does it follow the link?
<ToxicFrog> skrzyp: no. It writes the saves to $(dirname $0), not $(dirname $(readlink $0))
<ToxicFrog> To be clear, I know this approach works because I am already using it in prod; I'm just trying to clean up the .nix a bit.
<skrzyp> yeah, that's probably the way to go I think - would be hacky of course, but at least won't pop into users' homedir
iqubic has joined #nixos
<skrzyp> I personally hate when software does that, especially with .-files which you can't reloate without hacking. And I have all XDG_* dirs moved into non-dot starting dirs, as well as any other dotfile. Except the ".profile" for compatibility, but it's a symlink.
vld has quit [Ping timeout: 240 seconds]
<infinisil> ToxicFrog: Oh, potentially you could be really tricky: Use makeWrapper to change argv0 to something not in /nix/store
<skrzyp> Not many people do that, but I suppose it would also affect anyone else who cares about not having additional ~/omgwtfbbq from 3rd party
<skrzyp> infinisil: ouch
<skrzyp> but right, that might work :D
<infinisil> Oh wait, that doesn't work
<infinisil> --argv0 of makeWrapper can just change the resulting binary name
felixfoertsch23 has joined #nixos
<ToxicFrog> skrzyp: this at least doens't hard-code them to any particular location, it just wants to plop them down next to the binary. So you can put them in ~/.local, ~/Games/, ~/opt/, basically anywhere you have write access
<infinisil> If there's a way to actually pass a different arvg0 then this could work
<ToxicFrog> Even /tmp, although save files that evaporate when the system reboots are of limited use
<skrzyp> ahh, didn't knew about the actual implementation in nixpkgs being limited
felixfoertsch has quit [Ping timeout: 245 seconds]
<ToxicFrog> infinisil: overwriting argv0 doesn't actually help though? It looks for both the game data (large, read-only) and the player saves and configuration (small, read-write) in the same directory (next to the binary)
sfrigon has joined #nixos
sfrigon has left #nixos [#nixos]
<infinisil> ToxicFrog: But if argv0 is something like /home/user
<ToxicFrog> So I'm going to have to symlink the game data files (graphics, sound/music, level files, etc) into there anyways
<infinisil> Hm
<ToxicFrog> At which point I might as well symlink the game binary as well and invoke it through the symlink rather than futzing around with passing a hacked argv0 to the binary in /nix/store
<skrzyp> ToxicFrog: Sure, I understand. But you can conform to XDG standard and use XDG_DATA_HOME: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
<skrzyp> It would probably make everyone happy
<infinisil> (apparently exec -a can set a different argv0)
<ToxicFrog> skrzyp: yes, that's what I'm doing!
<ToxicFrog> I'm already doing that! I just want help writing the wrapper script in the cleanest way in the .nix!
<skrzyp> Eey, wait! It's just me at 4AM.
<skrzyp> Don't get nervous here :D
<infinisil> Oooor, alternatively, use bubblewrap to wrap the binary such that the necessary paths get bind-mounted to outside the nix store, then no patching or home directory linking might be possible
<skrzyp> infinisil: ooh I didn't know that bubblewrap can do that without the whole Flatpak stuff around it.
<infinisil> Well, I'm not sure it can
<infinisil> But it might
zeta_0 has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
zeta_0 has quit [Client Quit]
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #75631 → herwig: 7.1.5 -> 7.1.6 → https://git.io/JeQvm
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JeQJ9
<{^_^}> [nixpkgs] @Ma27 merged pull request #74422 → ibus-engines.typing-booster-unwrapped: 2.7.0 -> 2.7.2 → https://git.io/JeXMn
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeQJ7
<{^_^}> [nixpkgs] @emilazy opened pull request #75635 → whipper: update to 0.9.0 → https://git.io/JeQJd
iqubic` has joined #nixos
<zeta_0> in what directory does mk need to be built in?
drakonis has quit [Quit: WeeChat 2.6]
<zeta_0> [zeta@nixos:/ghc_development]$ ls -a
<zeta_0> . .. ghc ghc.nix
iqubic` has quit [Client Quit]
iqubic has quit [Read error: Connection reset by peer]
iqubic has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<juxiemaotu> i wanna to deploy a proxy server on
<juxiemaotu> i wanno to deply a sever on a nixos machine which use MBR . when i deploying, it prompt :
smatting has joined #nixos
<juxiemaotu> Failed assertions:
<juxiemaotu> - The ‘fileSystems’ option does not specify your root file system.
<infinisil> juxiemaotu: You probably didn't run nixos-generate-config or forgot to include hardware-configuration.nix
iqubic` has joined #nixos
<bdju> My undervolt.service is "inactive (dead)" and remains no after restarting it. How do I figure out why? I was just hitting over 90C watching videos in mpv and then noticed my undervolt wasn't working.
<juxiemaotu> you mean this config should be write in nixops config file?
<bdju> s/remains no/remains so
iqubic has quit [Ping timeout: 250 seconds]
lord| has joined #nixos
<infinisil> juxiemaotu: Yeah, even nixops needs a hardware-configuration.nix
smatting has quit [Ping timeout: 250 seconds]
<infinisil> for normal nixos machines at least
cryptomonad has joined #nixos
iqubic` has quit [Client Quit]
<{^_^}> [nixpkgs] @Ma27 pushed to master « fixup! Merge pull request #74422 from r-ryantm/auto-update/ibus-typing-booster »: https://git.io/JeQUf
<juxiemaotu> great, it go to work.
<juxiemaotu> i think i am not understand what nixops really do.
<juxiemaotu> it just like a remote configuration.nix.
<juxiemaotu> all right?
<juxiemaotu> so i need config everthing what i wan that machine to be.
iqubic has joined #nixos
<juxiemaotu> but there will be another question. i had intalled nixos on the target machine. Those configuations could be lost or not ?
acarrico has quit [Ping timeout: 265 seconds]
pareidolia has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #75627 → python3.pkgs.pygobject2: 2.28.6 -> 2.28.7 → https://git.io/JeHjP
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JeQUU
thc202 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JeQUT
<{^_^}> [nixpkgs] @Ma27 merged pull request #75635 → whipper: update to 0.9.0 → https://git.io/JeQJd
sudoforge has quit [Quit: 404]
<infinisil> juxiemaotu: Nixops won't delete /etc/nixos, but it will change the system configuration when deploying
<juxiemaotu> i got it . great helpful
<juxiemaotu> it just like overwrite
<infinisil> Kinda
zeta_0 has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
zeta_0 has quit [Client Quit]
spacefrogg has joined #nixos
zeta_0 has joined #nixos
<zeta_0> i am having a hard time building ghc with nix, could you guys help me out? https://github.com/alpmestan/ghc.nix
<emily> can anyone tell me how to use https://github.com/edolstra/dwarffs/blob/master/flake.nix with a non-flakes nix? the overlay is easy to figure out how to add but I'm not sure how to merge `nixosModules.dwarffs` into my config
<emily> (it seems this is the only way to use dwarffs now?)
<{^_^}> [nixpkgs] @equirosa opened pull request #75637 → starship: 0.29.0 -> 0.30.1 → https://git.io/JeQUm
<juxiemaotu> infinisil: when i deploying , sometime need root access, how to solve it?
<{^_^}> [nixpkgs] @marsam opened pull request #75638 → libmad: fix build on darwin → https://git.io/JeQU3
o1lo01ol1o has joined #nixos
LLED2_2 has quit [Read error: Connection reset by peer]
LLED2_2 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #75639 → mpd: fix-build on darwin → https://git.io/JeQUc
mla has quit [Remote host closed the connection]
Guest32 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75626 → harmonist: 0.2 -> 0.3.0 → https://git.io/JeHjz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQU8
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<Guest32> Hello, I'm running Arch but my system just crashed from an update, so I'm considering wiping and installing Nix.
cinimod`` has quit [Ping timeout: 276 seconds]
<Guest32> Does anyone know if Nix is reasonably stable and reliable at this point?
<Guest32> Could I use it for my "daily driver," so to speak?
<selfsymmetric-mu> Guest32: I do, for my personal and work computers. It's as stable or more stable as Arch in my experience.
cinimod`` has joined #nixos
<selfsymmetric-mu> The first install is just as difficult as for Arch, but the second install is a breeze, since you can just build your configuration file again.
mla has joined #nixos
mla has quit [Client Quit]
<Guest32> It uses systemd-boot, right?
<Guest32> Is there a way to customize the bootloader like you can on Arch?
<selfsymmetric-mu> Sure. There's a whole `boot.loader` options tree you can customize.
<{^_^}> [nixpkgs] @marsam merged pull request #75593 → conmon: v2.0.6 -> v2.0.7 → https://git.io/JeHPu
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQU0
<{^_^}> [nixpkgs] @marsam merged pull request #75629 → starship: 0.29.0 -> 0.30.1 → https://git.io/JeHjA
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQUE
<{^_^}> [nixpkgs] @marsam closed pull request #75637 → starship: 0.29.0 -> 0.30.1 → https://git.io/JeQUm
o1lo01ol1o has quit [Remote host closed the connection]
<juxiemaotu> when i deploying use nixops , sometime it need root access, how to solve it?
mexisme_ has joined #nixos
orivej has joined #nixos
exarkun has quit [Excess Flood]
exarkun has joined #nixos
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @roconnor merged pull request #72418 → bitcoin: install desktop file and pixmaps → https://git.io/JegTM
<{^_^}> [nixpkgs] @roconnor pushed 2 commits to master: https://git.io/JeQU2
Rusty1 has quit [Remote host closed the connection]
Guest32 has quit [Remote host closed the connection]
mexisme_ has quit [Ping timeout: 250 seconds]
mla has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
lovesegfault has joined #nixos
<cinimod``> Can that be improved?
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<cinimod``> @zeta_0: how are those links related to nix?
<ddima> cinimod``: which notion of improvement would you be looking for? From top of head (and somewhat out of context due to gist), I'd think that having a folder with a default.nix exposing all the overlayed packages/derivations is nicer than having it in a let block, that way you could more easily add more packages to the overlay without requiring changes. but as said, depends on what notion you're thinking of
<ddima> here.
<cinimod``> ddima: I wonder if rather than over-writing (overlaying) the complete derivation, I could / should just overlay bits of it?
<ddima> cinimod``: ok, I dont know the delta to the original derivation from the top of my head, obviously, but there are a few mechanisms for doing this ofc. one would would be just overriding parameters, another could be more deeply changing the structure of the derivation using overrideAttrs or `//`. so if you are only, lets say, chainging one entry in `cmakeFlags` I'd say yeah, its probably nicer to just
<ddima> override that (or sth like enabling lapack), but if its a more substantial change that needs to touch pieces all over the place overriding will become increasingly cumbersome so having a full copy might make more sense.
<ddima> in the end, as long as we're not talking about upstreaming it, you can ofc do whatever feels more comfortable. with 1 such thing it doesnt matter, if you have a full copy of 20 derivations, it will of course become increasingly hard to keep them moving with the versions and all that.
slack1256 has joined #nixos
<ddima> cinimod``: looking at the diff, which touches like 80% of the whole expression, I'd say, it probably is just fine to generally keep it as a copy like that. At the same time, it might be worthwhile considering trying to upstream most of it, if applicable (if dev.2 will ever become release).
tmaekawa has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 276 seconds]
DigitalKiwi has quit [Quit: quite.]
vld has joined #nixos
cryptomonad has quit [Remote host closed the connection]
lunik1 has quit [Ping timeout: 268 seconds]
lunik14 has joined #nixos
wavirc22 has joined #nixos
vld has quit [Ping timeout: 240 seconds]
DigitalKiwi has joined #nixos
vld has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
vld has quit [Ping timeout: 268 seconds]
wavirc22 has quit [Quit: wavirc22]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
DigitalKiwi has quit [Quit: quite.]
DigitalKiwi has joined #nixos
slack1256 has quit [Ping timeout: 250 seconds]
wavirc22 has joined #nixos
drakonis has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<cinimod``> ddima: I won't upstream all of it as here I am using mpi which maybe most folks won't want to do
wavirc22 has quit [Quit: wavirc22]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #75640 → mavproxy: init at 1.8.17 → https://git.io/JeQT1
wavirc22 has joined #nixos
drakonis1 has quit [Client Quit]
<rotaerk> when my touchpad stopped responding, I checked dmesg and found this http://ix.io/24lD
<rotaerk> I think I need to switch away from noveau
wavirc22 has quit [Quit: wavirc22]
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
juxiemaotu has quit [Remote host closed the connection]
wavirc22 has joined #nixos
juxiemaotu has joined #nixos
ShaRose has quit [Read error: Connection reset by peer]
ShaRose has joined #nixos
<{^_^}> [nixpkgs] @taku0 closed pull request #74973 → thunderbird, thunderbird-bin: 68.2.2 -> 68.3.0 [High security fixes] → https://git.io/JeDWE
<rotaerk> of course... when I set services.xserver.videoDrivers = [ "nvidia" ], now it won't start X
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 276 seconds]
<rotaerk> found a thread suggesting I make that [ "intel" "nvidia" ]. I did, and now X starts...
<rotaerk> I keep getting a "kvm: disabled by bios" message in dmesg ... why? I don't think I'm doing any kind of virtualization, so why does it care if it's disabled
<rotaerk> ah, hardware-configuration.nix is loading kvm-intel
<{^_^}> [nixpkgs] @jonringer merged pull request #75632 → buildah: 1.11.6 -> 1.12.0 → https://git.io/JeQvS
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « buildah: 1.11.6 -> 1.12.0 »: https://git.io/JeQTA
palo1 has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
wavirc22 has quit [Quit: wavirc22]
wavirc22 has joined #nixos
<juxiemaotu> how can i get the value of my nix/nixos configuartions? e.g:substituters?
palo has quit [Ping timeout: 252 seconds]
palo1 is now known as palo
<clever> juxiemaotu: `nix show-config`
<{^_^}> [nixpkgs] @jonringer merged pull request #75633 → fluent-bit: 1.3.2 -> 1.3.4 → https://git.io/JeQvd
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « fluent-bit: 1.3.2 -> 1.3.4 »: https://git.io/JeQkT
<juxiemaotu> clever: got it , and for nixos is nixos-option command, all right?
gsals[m] has joined #nixos
<clever> juxiemaotu: `nix show-config` lets you read the nix.conf file, while nixos-option lets you read any nixos config, some of the options also control nix.conf
drakonis has quit [Quit: WeeChat 2.6]
<juxiemaotu> on nixos, is there a nix.conf by default,if i am not make one manually
<juxiemaotu> ?
<clever> juxiemaotu: nixos will automatically update nix.conf, based on certain nixos config flags
<{^_^}> [nixpkgs] @jonringer merged pull request #75576 → bingrep: 0.7.0 -> 0.8.1 → https://git.io/JeHzs
<{^_^}> [nixpkgs] @jonringer pushed commit from @c0bw3b to master « bingrep: 0.7.0 -> 0.8.1 »: https://git.io/JeQkL
dansho has quit [Quit: Leaving]
<juxiemaotu> it means that , on nixos , nixos-option can do any config things , no manual config nix.conf are necessary
tilpner has joined #nixos
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #75567 → hivemind: 1.0.4 -> 1.0.6 → https://git.io/JeHlX
<{^_^}> [nixpkgs] @jonringer pushed commit from @duijf to master « hivemind: 1.0.4 -> 1.0.6 »: https://git.io/JeQk3
<{^_^}> [nixpkgs] @jonringer merged pull request #75639 → mpd: fix-build on darwin → https://git.io/JeQUc
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « mpd: fix-build on darwin »: https://git.io/JeQkG
work_ has quit [Quit: Connection closed for inactivity]
<clever> juxiemaotu: yeah
<rotaerk> hmm, hardware-configuration.nix has boot.kernelModules = [ "kvm-intel" ]; But I have no need for virtualization, and I have it disabled at the bios level, so it throws errors
<rotaerk> is there anything wrong with removing it from the kernelModules list from configuration.nix?
<clever> rotaerk: no harm in removing it
<rotaerk> how can I reference the version of boot.kernelModules that was imported from hardware-configuration.nix, so I can do boot.kernelModules = remove "kvm-intel" blah
<{^_^}> [nixpkgs] @dywedir merged pull request #75068 → qbittorrent-nox: init at 4.1.9.1 → https://git.io/JeyJK
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JeQkW
<clever> rotaerk: just edit hardware-configuration.nix
orivej has joined #nixos
<rotaerk> hrm
_Lemon_ has quit [Ping timeout: 250 seconds]
wavirc22 has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 252 seconds]
vld has joined #nixos
vld has quit [Ping timeout: 276 seconds]
knupfer has joined #nixos
rardiol has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #75641 → pythonPackages.root_numpy: add setuptools dependency → https://git.io/JeQk2
<{^_^}> [nixpkgs] @Mic92 merged pull request #75565 → wireguard-tools: 0.0.20191127 -> 0.0.20191212 → https://git.io/JeHcx
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeQkV
<{^_^}> [nixpkgs] @Mic92 merged pull request #75546 → jd-gui: 1.4.0 -> 1.6.5 → https://git.io/JeHTG
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeQk6
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<lovesegfault> Shouldn't a build have kicked off by now?
<lovesegfault> if the timer is 1day
<clever> lovesegfault: https://hydra.nixos.org/jobset/nixos/trunk-combined when does it say it was last checked?
akamaus has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #75642 → python3Packages.nipype: fix build, add missing dependencies → https://git.io/JeQky
<lovesegfault> Oh, last checked not last evaluation
<clever> lovesegfault: once it has been a day since "last checked", it will check to see if anything on github has changed
<clever> if things have changed, it will run an eval to see what
<lovesegfault> Why didn't that check today cause an eval?
<lovesegfault> I mean, I'm sure stuff changed?
<clever> not sure
ixxie has joined #nixos
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
tabasko has quit [Remote host closed the connection]
rsa has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @equirosa opened pull request #75643 → pfetch: init at 0.4.0 → https://git.io/JeQkb
thomashoneyman has quit [Remote host closed the connection]
mexisme_ has joined #nixos
orivej has joined #nixos
mexisme_ has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 250 seconds]
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #75623 → WriteHaskell: Strip binaries → https://git.io/JeHjL
<{^_^}> [nixpkgs] @Lassulus pushed commit from @chkno to master « WriteHaskell: Strip binaries »: https://git.io/JeQI0
knupfer has quit [Ping timeout: 250 seconds]
evil-olive has quit [Quit: The Lounge - https://thelounge.chat]
Soo_Slow has quit [Quit: Soo_Slow]
evil-olive has joined #nixos
juxiemaotu has quit [Quit: WeeChat 2.4]
<tilpner> Can anyone confirm that TERMINFO is not kept by sudo -sE, despite Defaults:root,%wheel env_keep+=TERMINFO in sudoers.conf?
<tilpner> (NixOS 19.09, sudo 1.8.28, zsh/bash and rxvt_unicode/st)
<yorick> tilpner: yes, that's in the docs
<yorick> tilpner: https://www.sudo.ws/sudo/troubleshooting.html ctrl-f terminfo
<yorick> wait, is it
<yorick> "to guard against shared library spoofing, shell voodoo, and kerberos server spoofing"
<yorick> stackoverflow says it's in the docs
<tilpner> Is that the right page? It doesn't contain terminfo or TERMINFO
<tilpner> Which SO page are you reading?
<yorick> "stackoverflow"
<tilpner> yorick: I know that sudo will try to sanitise my environment, but should that be prevent for TERMINFO by https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/config/terminfo.nix#L29 ?
<tilpner> *shouldn't that be prevented for
<tilpner> I am in %wheel, and it isn't kept even when root calls sudo -sE
<yorick> tilpner: what does sudo -E env say?
<tilpner> yorick: Oh, good call. The output doesn't contain TERMINFO at all, so it's not my shell unsetting them
<yorick> tilpner: I think in the same vein you cannot keep LD_PRELOAD_LIBRARY
<tilpner> yorick: So you're saying that module has been wrong for years? That seems unlikely, someone Should™ have noticed eventually
<yorick> tilpner: I can confirm that --preserve-env=TERMINFO works around it
<tilpner> Yes, I found that too, but I really don't think it should be necessary
<tilpner> Running sudo -V as root puts TERMINFO and TERMINFO_DIRS under Environment variables to preserve:
<yorick> tilpner: TERMINFO would be in env_delete, not in env_keep
<tilpner> So I would expect it to do that even without --preserve-env
<tilpner> And indeed it does, without -E
<yorick> so maybe you would need to do env_delete-=TERMINFO
smatting has joined #nixos
<tilpner> Huh, where do you get that from?
<tilpner> There is a section "Environment variables to remove:", which I assume is env_delete, and it doesn't contain TERMINFO
<tilpner> Oh wait
<tilpner> It does, you're right
<tilpner> I thought I checked that
<yorick> however, I would not set this as a default OS thing, sudo has good reasons for removing it
<tilpner> So the module was added when env_delete didn't contain TERMINFO, and then got broken by a sudo update?
<yorick> no, I don't think it ever worked
<tilpner> Well, then maybe we should remove it
<yorick> the TERMINFo has been in env_delete for 14 years
<yorick> and before that, it was also there
jgt4 has quit [Ping timeout: 276 seconds]
vld has joined #nixos
jco has joined #nixos
<tilpner> yorick: env_reset seems to determine whether env_keep or env_delete is used
<tilpner> yorick: And sudo -V outputs "Reset the environment to a default set of variables", which comes from env_reset in plugins/sudoers/def_data.in
<tilpner> So it seems env_reset is active, and env_delete should have no relevance?
vld has quit [Ping timeout: 240 seconds]
fendor__ has joined #nixos
<tilpner> Oh, -E probably disables env_reset
fendor has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #75644 → gtk-server: 2.3.1 -> 2.4.5 → https://git.io/JeQLL
<jco> hello! I'm trying to use home manager as a nixos module: https://privatebin.net/?c65ec31a7a3bccd1#EiD69ZgqvBwxJw3fFjBZUr8YprcXsKSJ2JaNzZ9GcUB8
<tilpner> (yes, sudoers.c:383)
<jco> however sudo nixos-rebuild switch yields to error: The option `programs.git' defined in `/etc/nixos/nixos-config/profiles/home-manager.nix' does not exist.
<jco> how is it supposed to work?
<tilpner> <3 yorick
<{^_^}> yorick's karma got increased to 9
m0rphism has joined #nixos
<tilpner> jco: Try home-manager.users.programs.git
<{^_^}> [nixpkgs] @jonringer merged pull request #75569 → root: 6.12.06 -> 6.18.04 → https://git.io/JeH40
<{^_^}> [nixpkgs] @jonringer pushed commit from @veprbl to master « root: 6.12.06 -> 6.18.04 »: https://git.io/JeQLq
<tilpner> Uhh
<{^_^}> [nixpkgs] @jonringer merged pull request #75641 → pythonPackages.root_numpy: add setuptools dependency → https://git.io/JeQk2
<{^_^}> [nixpkgs] @jonringer pushed to master « pythonPackages.root_numpy: add setuptools dependency »: https://git.io/JeQLm
<tilpner> jco: Try home-manager.users.jco.programs.git
<{^_^}> [nixpkgs] @jonringer merged pull request #75628 → flow: 0.113.0 -> 0.114.0 → https://git.io/JeHjH
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « flow: 0.113.0 -> 0.114.0 »: https://git.io/JeQLO
smatting has quit [Ping timeout: 276 seconds]
fendor__ is now known as fendor
turion has joined #nixos
<jco> tilpner: this did the trick! thanks!
turion has quit [Ping timeout: 246 seconds]
iqubic has quit [Read error: Connection reset by peer]
iqubic has joined #nixos
iqubic has quit [Remote host closed the connection]
jco has quit [Quit: WeeChat 2.6]
jgt4 has joined #nixos
orivej has joined #nixos
iqubic has joined #nixos
jgt has joined #nixos
jgt4 has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 240 seconds]
zaeph has quit [Ping timeout: 246 seconds]
leotaku has quit [Ping timeout: 276 seconds]
zaeph has joined #nixos
xkapastel has joined #nixos
Ariakenom has joined #nixos
pie_ has quit [Ping timeout: 268 seconds]
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 250 seconds]
<raboof> is there a way to 'nix-build --check' the 'devdoc' output as well?
sb0 has joined #nixos
pie_ has joined #nixos
<raboof> I rebuilt https://arnout.engelen.eu/nixos-r13y/report/ - some new, some old ;)
lovesegfault has quit [Ping timeout: 246 seconds]
<tilpner> raboof: Sure, just --check on udisks.devdoc instead
<tilpner> raboof: Though just udisks checks the devdoc output too
<raboof> huh you're right - must've made some mistake when trying that earlier. still interesting to understand though, thanks!
chloekek has joined #nixos
captn3m0- has quit [Ping timeout: 250 seconds]
jjzmajic has joined #nixos
uros has joined #nixos
<{^_^}> OpenSC/OpenSC#1839 (by raboof, 6 weeks ago, merged): Generate consistent docbook id's
jjzmajic has quit [Remote host closed the connection]
<tilpner> Oh :D
<uros> hey guys! installing nixos for the first time, and I have a really noob question: when setting environment.systemPackages, should i write python3.7-coulour, or nixos.python37Packages.colour? if the latter, is nixos.<foo> needed before every package?
<tilpner> uros: No, use pkgs.python37Packages.colour
<tilpner> ...or pkgs.python3Packages.colour, or pkgs.python3.pkgs.colour
iqubic` has joined #nixos
<tilpner> uros: And you don't need to type pkgs. for every entry
<tilpner> > with pkgs; [ hello ]
<{^_^}> [ <CODE> ]
<tilpner> uros: This makes every item from pkgs available in the following expression
gkmngrgn has joined #nixos
<uros> thank you so much!
iqubic has quit [Ping timeout: 245 seconds]
<uros> how does pkgs.python3.pkgs.colour work? just interested in the mechanism
<tilpner> uros: Oh, and I just checked: colour doesn't have binaries
<tilpner> So there's no point putting it into systemPackages
<tilpner> You don't install libraries system-wide
<uros> tilpner: and how do I ensure they're present on the system? sorry if it's a dumb question. on arch/void, I just have an install script, so i can actually startx without issuing all the commands manually
<tilpner> uros: What do you need it for?
<uros> tilpner: is there another option I should be setting?
<raboof> tilpner: (I much appreciate the pointer btw, though that particular docbook problem I happened to have seen before ;) )
<uros> tilpner: I use it to set the colours in my qtile config which are extracted from pywal json files
<uros> tilpner: it lets me do come transformations on the shades and such fairly easily
orivej has joined #nixos
<tilpner> Uh oh
<tilpner> I don't know qtile. My first guess is that you need an overlay to alter the qtile package to overrideAttrs pythonPath
<tilpner> self: super: { qtile = super.qtile.overrideAttrs (old: { pythonPath = old.pythonPath ++ [ self.python37Packages.colour ]; }); }
<tilpner> Install that overlay, rebuild, and see if your qtile config can now access colour
<tilpner> This overlay may explode on you whenever qtile upgrades from python 3.7
<uros> tilpner: Does this work by effectively making it a dependency? for context (in case it helps) qtile is configured through a config.py script, which it sources at start up. I'm using colour in it to set the "theme"
vld has joined #nixos
<{^_^}> [nixpkgs] @jorsn opened pull request #75645 → Vim plugins.deoplete khard → https://git.io/JeQtS
<tilpner> uros: Yes, that would add colour to the runtime closure of (now) pkgs.qtile, which I assume is used by the NixOS module for services.xserver.windowManager.qtile.enable
bvdw has quit [Read error: Connection reset by peer]
<tilpner> Excuse for the wording, yes, it's a dependency now
bvdw has joined #nixos
<tilpner> Although...
<tilpner> How has this ever worked?
<uros> tilpner: ahh, I see. thanks! just one more noob question. where would self: super: {...` go? inside environment.systemPackages? it's probably best if I do some reading on this. any sources you'd point me to?
<tilpner> ,overlays
<{^_^}> tilpner: Did you mean overlay?
<{^_^}> Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
vld has quit [Ping timeout: 250 seconds]
<tilpner> But hold on, I'm less sure the overlay is correct now
<uros> tilpner: I was always a tad fragile. I would pull in the packages i needed from the AUR in my install script. Those would always be tied to the current version of python i was running, which would be the same one qtile was running on
<uros> It*
suchar has joined #nixos
<tilpner> uros: I don't quite understand why the qtile maintainer put --run 'export QTILE_SAVED_PYTHONPATH=$PYTHONPATH' in there
<tilpner> uros: Either that's single-quoted to use an external PYTHONPATH, or it's supposed to be double-quoted (to use pythonPath), and was just always broken?
<tilpner> In eb3d20761169696f78bfd40afb92ab099c7507a3 orivej converted it from double-quotes to single-quotes
bahamas has joined #nixos
bahamas has joined #nixos
<tilpner> Oh, I think I got it. This is done to not leak dependencies to the config you mentioned
ng0 has joined #nixos
<uros> tilpner: and I'm assuming because of the encapsulation that nix does, it wouldn't be able to find a globally installed nix dependency (sorry for using the word again, I don't know the lingo yet)
<uros> it's quite a mindset change, sorry if i'm being slow
<tilpner> No reason to be sorry, nixpkgs is weird
captn3m0 has joined #nixos
<tilpner> So now I'm suspecting that qtile may be meant for use with a global PYTHONPATH
hmpffff has joined #nixos
<uros> seems to make sense. there's no way anyone packaging it could know what people will be importing in their config.py
<tilpner> orivej: Could you confirm this?
<bahamas> is there a way to install a package in `nix-shell` while at the same time overriding something about the package? in this particular case, I want to install ghc with the time package. the issue is that I want to use a different version of time, which nix needs to build and the build fails
<{^_^}> #31497 (by abbradar, 2 years ago, merged): makeWrapper: quote variables
eon` has quit [Quit: leaving]
eon` has joined #nixos
eon` has quit [Client Quit]
iyzsong-x has quit [Ping timeout: 276 seconds]
pie_ has quit [Ping timeout: 276 seconds]
thc202 has joined #nixos
domogled has joined #nixos
pie_ has joined #nixos
betaboon has joined #nixos
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JeQqm
<{^_^}> [nixpkgs] @lsix merged pull request #75387 → rabbitmq-server: 3.8.1 -> 3.8.2 → https://git.io/JeS5b
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/7351aa52acd (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
mexisme_ has joined #nixos
uros has quit [Ping timeout: 240 seconds]
bahamas has quit [Ping timeout: 240 seconds]
mexisme_ has quit [Ping timeout: 276 seconds]
jgeerds has joined #nixos
jgeerds_ has joined #nixos
jgeerds_ has quit [Client Quit]
jgeerds has quit [Ping timeout: 276 seconds]
ToxicFrog has quit [Ping timeout: 265 seconds]
jgt has quit [Ping timeout: 245 seconds]
ToxicFrog has joined #nixos
o1lo01ol1o has joined #nixos
uros has joined #nixos
fendor has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<betawaffle> when i'm a nix repl, and i evaluate a path (e.g. ./foo), it prints as an absolute path as i would expect. but when I interpolate it into a string, it gets transformed into the path to that thing in the nix store. what's the difference between the two in the context of the nix repl?
<betawaffle> my question is really, why isn't the path converted to the nix store version in both cases?
<ToxicFrog> Trying to `nixos-rebuild` generates a bunch of "mkdir: cannot create directory '/homeless-shelter': Permission denied" and then errors out. What causes this, and how do I fix it?
apeli has joined #nixos
<ToxicFrog> ...ok, making a seemingly unrelated change to one of my derivations fixed it
<ToxicFrog> Weird
xkapastel has quit [Quit: Connection closed for inactivity]
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
andymandias has joined #nixos
<betaboon> how do people handle services that use the `configFile` pattern when deploying with nixops ?
<DigitalKiwi> ToxicFrog: when i've had homeless-shelter errors it's usually from something trying to write to $HOME during a build sometimes setting HOME to $TMPDIR fixes
fusion809 has joined #nixos
<ToxicFrog> DigitalKiwi: aha. Knowing that makes it clear what was happening. Thanks.
eon` has joined #nixos
<DigitalKiwi> yay :D
gkmngrgn has quit [Ping timeout: 268 seconds]
eon` has quit [Ping timeout: 246 seconds]
erictapen has joined #nixos
uros has quit [Remote host closed the connection]
apeli has quit [Ping timeout: 276 seconds]
<ddima> betaboon: It's a bit confusing, but strings can have a context. When a string is in any way merged with a path, like interpolation or concat, it transfers this into into the string context and so nix now knows its a "path string", while a "bare" path still remains a path type and they render differently. Maybe this clarifies a bit: https://gist.github.com/d-goldin/dd022b2264337a7d739e1fa8f7315f86
apeli has joined #nixos
<tilpner> betawaffle: ^
<betaboon> ddima: I'm just looking at nixops `deployment.keys` option would that be a feasible approach ?
<{^_^}> [nixpkgs] @jokogr merged pull request #75050 → skrooge: 2.20.0 -> 2.21.0 → https://git.io/JeDbE
<{^_^}> [nixpkgs] @jokogr pushed 2 commits to master: https://git.io/JeQqj
<{^_^}> [nixpkgs] @marsam opened pull request #75647 → pythonPackages.python-twitter: init at 3.5 → https://git.io/JeQme
<betawaffle> thanks ddima
<betaboon> ah yeah i see, that was for betawaffle xD
<ddima> betaboon: whoops, sorry, nick completion fail
<betawaffle> when i evaluate a path, does it get copied to the nix store, or does that only happen when it's "used" like being interpolated?
<betawaffle> is there a way to get the nix store path out of a path without interpolating it?
vld has joined #nixos
<tilpner> betawaffle: Can you rephrase that last part?
<betawaffle> so, let's say i type ./. into nix repl
<{^_^}> [nixpkgs] @marsam merged pull request #75638 → libmad: fix build on darwin → https://git.io/JeQU3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQmJ
<tilpner> Ahh, "${toString ./.}"
<betawaffle> when that prints /path/to/pwd, has it already copied it to the nix store?
<betawaffle> or does it only copy when i interpolate it
<tilpner> No, not when you type just ./.
<betawaffle> so, paths only get copied to the store when they are converted to strings?
<betawaffle> or is that really only true in the repl?
vld has quit [Ping timeout: 240 seconds]
silver has joined #nixos
juxiemaotu has joined #nixos
jakobrs has joined #nixos
<tilpner> Yes and no
<tilpner> AFAIK you're right in that paths are copied on interpolation
<betawaffle> i want to find where in the nix source it does that
<tilpner> But e.g. builtins.filterSource also copies them, so it's not _just_ interpolation
captn3m0 has quit [Ping timeout: 276 seconds]
apeli has quit [Ping timeout: 252 seconds]
<tilpner> betawaffle: libexpr/eval.cc:1593, EvalState::coerceToString
<ddima> yeah, lets say some handwavy notion of "once they are actually evaluated" with string coersion being one of those.
juxiemaotu has quit [Ping timeout: 250 seconds]
<tilpner> (1607 on master)
<betawaffle> actually it looks like addPath is what ultimately does it
acarrico has joined #nixos
<betawaffle> which is called by builtins.filterSource and the builtins.path
captn3m0 has joined #nixos
acarrico has quit [Ping timeout: 246 seconds]
<jakobrs> What is supposed to happen when you run nixos-rebuild without root?
<jakobrs> For me, it doesn't fail, but instead attempts to build >800 packages
<tilpner> jakobrs: nixos-rebuild doesn't always need root, so it's fine to continue
<jakobrs> even nixos-rebuild switch?
<tilpner> jakobrs: Can you confirm that nixos-rebuild with root builds far fewer packages?
<jakobrs> Yeah
<tilpner> No, switch eventually needs root
<tilpner> (Although... perhaps not local root for remote deploys?)
<jakobrs> What confuses me is that nixos-rebuild with root build many fewer packages
<tilpner> Have you done any changes to substituters/caches?
<jakobrs> I don't ... think so?
<ddima> betawaffle: there are some rather confusing corners in nix-anything, but it's nice that the nix code is rather approachable :)
<tilpner> jakobrs: Oh, could it be differences in channels between root and your other user?
<jakobrs> That could be the case
<tilpner> What's your NIX_PATH?
<jakobrs> /home/jakob/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<jakobrs> nix-channel --list only lists nixpkgs-unstable
<tilpner> jakobrs: If you remove the first path component, does it build less?
<jakobrs> Yeah
<jakobrs> It's probably because I've added nixpkgs-unstable manually, locally
<jakobrs> tilpner: thx, btw
bahamas has joined #nixos
apeli has joined #nixos
hlolli_ has quit [Ping timeout: 240 seconds]
jakobrs has left #nixos [#nixos]
apeli has quit [Client Quit]
rardiol has joined #nixos
captn3m0- has joined #nixos
captn3m0 has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
glasserc has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
glasserc has joined #nixos
<{^_^}> [nixpkgs] @jorsn opened pull request #75648 → tintin: added ssl support via gnutls → https://git.io/JeQY8
jjzmajic has joined #nixos
klntsky has quit [Read error: Connection reset by peer]
jb55 has quit [Read error: Connection reset by peer]
andreas303 has quit [Write error: Broken pipe]
oxford has quit [Read error: Connection reset by peer]
xelxebar has quit [Write error: Broken pipe]
oida has quit [Remote host closed the connection]
ng0 has quit [Remote host closed the connection]
phreedom_ has quit [Write error: Broken pipe]
xelxebar has joined #nixos
jb55 has joined #nixos
<{^_^}> [nixpkgs] @avdv opened pull request #75649 → wtf: 0.24.0 -> 0.25.0 → https://git.io/JeQYR
oida has joined #nixos
oxford has joined #nixos
ddima has quit [Quit: switching host]
ddima has joined #nixos
andreas303 has joined #nixos
klntsky has joined #nixos
mexisme_ has joined #nixos
phreedom has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
clefru1 is now known as clefru
clefru has quit [Quit: authenticating]
<{^_^}> [nixpkgs] @Lassulus merged pull request #71978 → nixos/lxd: add productionSetup option → https://git.io/Je0xY
<{^_^}> [nixpkgs] @Lassulus pushed commit from @mt-caret to master « nixos/lxd: add recommendedSysctlSettings »: https://git.io/JeQYX
ng0 has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
acarrico has joined #nixos
o1lo01ol1o has joined #nixos
<edef> i have a rogue IFD in my config apparently, not sure how to find it
hlolli_ has joined #nixos
<tilpner> edef: Try putting many -v after the command you use to instantiate/build your config
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75580 → wpscan: 3.5.3 -> 3.7.5 → https://git.io/JeHgm
<{^_^}> [nixpkgs] @c0bw3b pushed to master « wpscan: 3.5.3 -> 3.7.5 (#75580) »: https://git.io/JeQOc
<{^_^}> [nixpkgs] @WilliButz merged pull request #75634 → matrix-synapse: 1.6.1 -> 1.7.0 → https://git.io/JeQJY
<{^_^}> [nixpkgs] @WilliButz pushed 3 commits to master: https://git.io/JeQO0
<{^_^}> [nixpkgs] @vbgl merged pull request #75139 → ocamlPackages.mdx: 1.4.0 → 1.5.0 → https://git.io/JeyMB
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JeQOE
acarrico1 has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
ng0_ has joined #nixos
<edef> tilpner: found it, thank you
jjzmajic has quit [Remote host closed the connection]
jjzmajic has joined #nixos
ng0 has quit [Disconnected by services]
ng0_ is now known as ng0
<betawaffle> how should i go about starting to convert this mess to a nix-based build? https://github.com/pcengines/pce-fw-builder/blob/master/build.sh#L139-L190
<betawaffle> i want to build coreboot firmware for my apu2 using nix, instead of that ^
<betawaffle> btw, i haven't even been able to get that to work yet
detran has quit [Ping timeout: 268 seconds]
Jackneill has joined #nixos
Jackneill has quit [Remote host closed the connection]
civodul has joined #nixos
noudle has joined #nixos
<wrl> so, I'm trying to use get linux 5.4 working on my system. i've got boot.kernelPackages = pkgs.linuxPackages_5_4; in configuration.nix but when i nixos-rebuild switch, i get "attribute linuxPackages_5_4 missing"
<wrl> the packages are listed on the nixos.org package list, so i'm not sure what i'm doing wrong here
<qyliss> Is your channel up to date?
<qyliss> Try with nixos-rebuild switch --upgrade
zeta_0 has joined #nixos
<wrl> yeah that did it
<wrl> oh, welp, couple packages are now broken
<wrl> rip
<{^_^}> [nixpkgs] @flokli merged pull request #75384 → nixos/unit: enable sanboxing → https://git.io/JeS51
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JeQOj
vld has joined #nixos
zeta_0 has quit [Client Quit]
endformationage has joined #nixos
vld has quit [Ping timeout: 240 seconds]
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « documize-community: 3.5.2 -> 3.6.0 »: https://git.io/JeQ3t
<{^_^}> [nixpkgs] @etu opened pull request #75651 → testssl: 3.0rc5 -> 3.0rc6 → https://git.io/JeQ3q
<{^_^}> [nixpkgs] @etu opened pull request #75652 → phpPackages.phpstan: 0.12.0 -> 0.12.3 → https://git.io/JeQ3c
<{^_^}> [nixpkgs] @Ma27 merged pull request #75202 → nextcloud-client: disable shibboleth → https://git.io/JeSvy
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeQ3l
zeta_0 has left #nixos ["rcirc on GNU Emacs 26.3"]
anttih_ has joined #nixos
kalipso has quit [Remote host closed the connection]
<nand0p_> https://github.com/NixOS/nixpkgs/pull/75400 anyone around for a review/merge? thanks
<{^_^}> #75400 (by nand0p, 4 days ago, open): ethminer: 0.18.0-rc.0 -> 0.18.0
bahamas has quit [Quit: leaving]
zeta_0 has joined #nixos
<{^_^}> [nix] @xzfc opened pull request #3269 → nix-shell: don't check for "nix-shell" in shebang script name → https://git.io/JeQ3D
lordcirth_ has joined #nixos
zarel has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos
jjzmajic has quit [Read error: Connection reset by peer]
philr has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @primeos merged pull request #75364 → range-v3: 0.9.1 -> 0.10.0 → https://git.io/JeSDu
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JeQ3F
MmeQuignon has joined #nixos
MmeQuignon has quit [Client Quit]
<{^_^}> [nixpkgs] @ivan opened pull request #75653 → cargo-outdated: unstable-2019-04-13 -> 0.9.1 → https://git.io/JeQ3h
<{^_^}> [nixpkgs] @c0bw3b opened pull request #75654 → [19.09] update chickenPackages_4 → https://git.io/JeQ3j
zeta_0 has quit [Ping timeout: 240 seconds]
pie__ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #75649 → wtf: 0.24.0 -> 0.25.0 → https://git.io/JeQYR
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeQsJ
pie_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @WilliButz merged pull request #75363 → nixos/sway: Enable the display manager integration → https://git.io/JeS1o
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/JeQsU
gnidorah has joined #nixos
<gnidorah> hi. what do you think of #68301 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/68301 (by gnidorah, 13 weeks ago, open): cdesktopenv: init at 2019-11-30
zeta_0 has joined #nixos
zeta_0 has left #nixos [#nixos]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #75298 → strace: 5.3 -> 5.4 → https://git.io/JeSWe
ZeDestructor has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeQsY
chloekek has quit [Ping timeout: 268 seconds]
ddellacosta has joined #nixos
cinimod`` has quit [Remote host closed the connection]
cinimod`` has joined #nixos
<evils> /3
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen1 has joined #nixos
mexisme_ has joined #nixos
dingenskirchen1 is now known as dingenskirchen
zeta_0 has joined #nixos
o1lo01ol1o has joined #nixos
<zeta_0> in home.nix what is the git option where i can paste these configuration settings? https://gitlab.haskell.org/ghc/ghc/wikis/building/getting-the-sources#cloning-from-github https://rycee.gitlab.io/home-manager/options.html#opt-programs.git.enable
hmpffff has quit [Quit: nchrrrr…]
mexisme_ has quit [Ping timeout: 276 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
knupfer has joined #nixos
NGravity has joined #nixos
lsix has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75654 → [19.09] update chickenPackages_4 → https://git.io/JeQ3j
<{^_^}> [nixpkgs] @c0bw3b pushed 5 commits to release-19.09: https://git.io/JeQsP
vld has joined #nixos
<genesis> hum sorry on #45347 , i'm doing shit with git pulling
<{^_^}> https://github.com/NixOS/nixpkgs/pull/45347 (by bignaux, 1 year ago, open): PySolFC: 2.0 -> 2.4.0
o1lo01ol1o has joined #nixos
xensky_ has quit [Quit: No Ping reply in 180 seconds.]
xensky_ has joined #nixos
acarrico1 has quit [Ping timeout: 265 seconds]
detran has joined #nixos
zeta_0 has joined #nixos
cinimod`` has quit [Ping timeout: 268 seconds]
<erictapen> betawaffle: do you have a wip for building coreboot? From first glance the complexity will depend on how the docker build is done.
<zeta_0> when placing these git configurations in git in home.nix i am getting some errors thrown: https://gitlab.haskell.org/ghc/ghc/wikis/building/getting-the-sources#cloning-from-github
o1lo01ol1o has quit [Remote host closed the connection]
<zeta_0> i think i may be placing them in the wrong: programs.git section? https://rycee.gitlab.io/home-manager/options.html#opt-programs.git.enable
dirkx__ has joined #nixos
cinimod`` has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
xkapastel has joined #nixos
Gregory has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « html-proofer: 3.14.1 -> 3.15.0 »: https://git.io/JeQsd
acarrico has joined #nixos
<{^_^}> [nixpkgs] @hedning merged pull request #75589 → gnome-shell 3.34.2 → https://git.io/JeHiJ
<{^_^}> [nixpkgs] @hedning pushed 3 commits to master: https://git.io/JeQsA
<{^_^}> [nixpkgs] @primeos opened pull request #75655 → fuse3: 3.8.0 -> 3.9.0 → https://git.io/JeQGe
<betawaffle> erictapen: not yet, but it looks like it might not be too bad. i'm trying to build it manually first
o1lo01ol1o has quit [Remote host closed the connection]
cosimone has joined #nixos
<erictapen> betawaffle: ok cool
acarrico has quit [Ping timeout: 268 seconds]
leotaku has joined #nixos
o1lo01ol1o has joined #nixos
Gregory has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75401 → tcllib: 1.19 -> 1.20 → https://git.io/JeSpZ
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « tcllib: 1.19 -> 1.20 (#75401) »: https://git.io/JeQGT
o1lo01ol1o has quit [Remote host closed the connection]
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @Ma27 merged pull request #75652 → phpPackages.phpstan: 0.12.0 -> 0.12.3 → https://git.io/JeQ3c
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeQGk
wildtrees has joined #nixos
cinimod`` has quit [Ping timeout: 240 seconds]
leotaku has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75367 → tigervnc: add perl to buildInputs → https://git.io/JeSy8
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @itsHMR to master « tigervnc: add perl to buildInputs (#75367) »: https://git.io/JeQGt
ixxie has quit [Ping timeout: 268 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
fresheyeball has quit [Read error: No route to host]
<{^_^}> [nixpkgs] @veprbl opened pull request #75656 → pythonPackages.{root_numpy,rootpy}: remove → https://git.io/JeQGY
NGravity has quit [Ping timeout: 252 seconds]
chloekek has joined #nixos
<aranea> How can I access my nixos config options from a nix repl?
<infinisil> aranea: (import <nixpkgs/nixos> {}).config.networking.hostName
primeos has quit [Quit: WeeChat 2.4]
<aranea> Thanks!
<ddima> or also `nix repl '<nixpkgs/nixos>' -> config.networking.hostName` (or `:l <nixpkgs/nixos>`)
primeos has joined #nixos
<dirkx__> aanderse: looking at your advice -- changed name to pname; but am now getting a `error: derivation name missing' on a simple nix-build $NIXPKGS -A mod_ca. What is the best way to debug/trace this down ?
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @markuskowa merged pull request #74614 → qpdf: 9.0.2 -> 9.1.0 → https://git.io/Je1ZU
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JeQGR
<aanderse> dirkx__: what version of nixos are you running, and did you remove the rec you had before?
bvdw has joined #nixos
<dirkx__> Am on nix-env (Nix) 2.3.1 -- and have removed the rec.
<aanderse> btw I'm very excited to have you contributing to the apache system :-)
<aanderse> put the rec back in and it should fix the problem
<{^_^}> [nixpkgs] @Ma27 merged pull request #75645 → vimPlugins.deoplete-khard: init at 2019-09-02 → https://git.io/JeQtS
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JeQGu
halfbit has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75360 → qbittorrent: 4.1.9.1 -> 4.2.0 → https://git.io/JeSPp
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « qbittorrent: 4.1.9.1 -> 4.2.0 (#75360) »: https://git.io/JeQGg
<aranea> ddima: Yeah, that's what I actually did. I just hadn't realized I could just load nixos/. :)
mcbeth has joined #nixos
iqubic` has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
NGravity has joined #nixos
<dirkx__> is there a command to reset the entire store / to be sure you do not have some cruft of earlier builds ? I had a disk full error; and am starting to wonder if something is in an odd state.
<qyliss> Have you tried 'sudo nix-collect-garbage -d'
<qyliss> That will remove everything left over in the store that you don't need any more, including previous generations of your system and user profiles
<dirkx__> Hmm - after a disk full error (and recoveering by freeing a few gig)-- nix-store --verify --check-contents --repair -- now gives me "error: executing SQLite statement 'delete from ValidPaths where path = ?;': constraint failed (in '/nix/var/nix/db/db.sqlite')"
zeta_0 has joined #nixos
<zeta_0> why is this throwing a syntax error?
<zeta_0> extraConfig =
<zeta_0> {
<zeta_0> };
<zeta_0> url = {git://github.com/ghc/packages- = insteadOf = {"git://github.com/ghc/packages/";};};
<qyliss> You can't have an attr name like that
<qyliss> You'll need to quote it
<dirkx__> qyliss: thanks - that is nice to know. Meanwhile suspect thigns are rather corrupted - so will simply reset the freebsd-jail it is living in; it lives on zfs so no sweat.
<qyliss> If you think things are corrupt you can also try 'nix-store --verify --repair --check-contents', which will check the saved hash of each store path matches its contents, and if not rebuild if possible
<qyliss> But maybe easier to just throw it away if it's easy enough for you :)
<zeta_0> ok i think it is correct now:
<zeta_0> extraConfig =
<zeta_0> {
<zeta_0> };
<zeta_0> url = {git://github.com/ghc/packages- = {insteadOf = "git://github.com/ghc/packages/";};};
<qyliss> Does that parse?
<qyliss> I'm still surprised you can have a URL like that as a attr name
o1lo01ol1o has joined #nixos
<dirkx__> Just curious - why is it that you can inherit configureFlags installFlags and so on. But not buildInputs ?
<qyliss> Can you show your expression?
<zeta_0> qyliss: are you talking to me or someone else?
vld has quit [Ping timeout: 265 seconds]
primeos has quit [Quit: WeeChat 2.4]
drakonis has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
primeos has joined #nixos
<qyliss> zeta_0: to you
cinimod`` has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #75653 → cargo-outdated: unstable-2019-04-13 -> 0.9.1 → https://git.io/JeQ3h
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeQGP
<zeta_0> qyliss: ok,give me one second, then i'll show you the pastebin
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75358 → mumble: build with pulseaudio support on linux and add petabyteboy to maintainers → https://git.io/JeSPi
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/JeQGM
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
NGravity has quit [Read error: Connection reset by peer]
lsix has quit [Quit: WeeChat 2.6]
<zeta_0> qyliss: here is my programs.git in home.nix:
ardumont has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
<zeta_0> i am not sure if this is correct or not?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75304 → crun: 0.8 -> 0.10.6, addressing CVE-2019-18837 → https://git.io/JeS8t
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @risicle to master « crun: 0.8 -> 0.10.6 (security) (#75304) »: https://git.io/JeQGS
<zeta_0> no there is still some errors, dang it
drakonis1 has joined #nixos
<qyliss> zeta_0: I think you need { "git://github.com/ghc/packages-" = ...
<qyliss> dirkx__: can you post your expression too please?
ardumont has joined #nixos
halfbit has quit [Ping timeout: 265 seconds]
<dirkx__> qyliss: example: https://pastebin.com/RtrTguT3
[Leary] has joined #nixos
Lears has quit [Ping timeout: 240 seconds]
<qyliss> dirkx__: does 'lib.attrNames mod_ca' include buildInputs?
<{^_^}> [nixpkgs] @flokli opened pull request #75657 → gtkwave: build with gtk3 → https://git.io/JeQZf
<betawaffle> erictapen: ok, so here's my first question. what do i do about git submodules in the nix world?
<ashkitten> the past few times i've upgraded my system i've been getting `error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused`
<betawaffle> coreboot has submodules
<dirkx__> qyliss: I am certainly not setting that -- lemme check.
<ashkitten> i'm not sure what that means
<betawaffle> (this is the meat of what i need to do for this build: https://github.com/pcengines/pce-fw-builder/blob/master/build.sh#L148-L156)
<{^_^}> [nixpkgs] @c0bw3b opened pull request #75658 → procdump: 1.0.1 -> 1.1 → https://git.io/JeQZk
<zeta_0> ok, i think i almost got, but i think the syntax in the extraConfig section might be wrong? https://hastebin.com/qetakituhu.bash
<dirkx__> qyliss: thanks for that hint -- found how dlib is doing it. that should work.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dirkx__> aanderse: how important is it to not inherit in meta -- fine to inherit things like maintainers, licenses, etc -- or should I copy / make these hardcoded as much as posisble ?
cinimod`` has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #75656 → pythonPackages.{root_numpy,rootpy}: remove → https://git.io/JeQGY
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/JeQZO
<qyliss> zeta_0: you didn't make the change I suggested?
<qyliss> You need to quote the URLs you're using as attribute names
<{^_^}> [nixpkgs] @vbgl merged pull request #75141 → coq_8_11: init at 8.11+β1 → https://git.io/JeyDP
<aanderse> if it is a real hassle i can show you the more standard (but "advanced") approach
<aanderse> dirkx__: i mean, i don't think it is a hard requirement... but i haven't seen anyone merge packages that way before
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JeQZG
zupo has joined #nixos
<zeta_0> qyliss: i am using the syntax from these, examples: https://rycee.gitlab.io/home-manager/options.html#opt-programs.git.extraConfig
<dirkx__> No - is fine. I am using a generator for most of this anyway.
<dirkx__> aanderse: which module has the 'advanced' approach ?
<zeta_0> qyliss: and i am trying to setup this git configurations: https://gitlab.haskell.org/ghc/ghc/wikis/building/getting-the-sources#cloning-from-github
dingenskirchen has quit [Remote host closed the connection]
<qyliss> zeta_0: okay then, waht error are you getting?
dingenskirchen has joined #nixos
<zeta_0> qyliss: well, i was getting a bunch of errors earlier, i wanted you guys to take a look at these changes to see if i am on the right track
<zeta_0> qyliss: ok, i'll try another rebuild
<erictapen> betawaffle: fetchFromGitHub as well as fetchgit have a fetchSubmodules flag: https://github.com/pcengines/pce-fw-builder/blob/master/build.sh#L139-L190
<betawaffle> oh sweet
<{^_^}> [nixpkgs] @danbst opened pull request #75659 → nixos containers: disable NixOS manual in container config. → https://git.io/JeQZc
<qyliss> zeta_0: Trying a rebuild probably gives quicker feedback than asking in here
<zeta_0> qyliss: yes, but sometimes the error messages don't make any sense
<qyliss> Well yes
<erictapen> betawaffle: in general what I always do to find out additional info about functions is to grep for 'functionName =' in nixpkgs
<qyliss> So if you get one, then post it in here
<zeta_0> aright then, time to rebuild
mexisme_ has joined #nixos
iqubic has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #75660 → rav1e: init at 0.1.0 → https://git.io/JeQZ2
scasc has joined #nixos
doublex has quit [Read error: Connection reset by peer]
doublex has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #66516 → Add `python3Packages.ckcc-protocol` package, and list it as a dependency for `electrum`. → https://git.io/fj5kg
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JeQZw
logzet has joined #nixos
<rycee> zeta_0: you can't use a URL literal as an attribute key. Try putting quotes around them…
doublex has quit [Read error: Connection reset by peer]
doublex has joined #nixos
drakonis1 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #75661 → python3Packages.ipython: 7.8.0 -> 7.10.1 → https://git.io/JeQZy
<zeta_0> rycee: like this then? https://hastebin.com/mitojunosu.php
<zeta_0> rycee: i am not sure if the syntax it correct or not?
kenran has joined #nixos
zupo has joined #nixos
<dirkx__> Why is nix-env -f $NIXPKGS -q -a XXX --xml --meta always showing me an empty <meta name="maintainers" type="strings"></meta> block ? Even for packages that have it filled out ?
<rycee> zeta_0: Yeah, that looks better.
kenran has quit [Remote host closed the connection]
jgeerds has joined #nixos
<zeta_0> rycee: cool, i am going to try another rebuild, i'll let you know if it works or not
cinimod`` has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #75618 → emacsMacport: Rename emacsVersion attribute to version → https://git.io/JeHxq
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JeQZA
<dirkx__> nix-env -q -a coreutils --xml --meta gives <meta name="maintainers" type="strings"></meta>; but meta.metainters of coreutils contains [ maintainers.eelco ] ?
<Izorkin> flokli: please recheck PR #56255
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56255 (by Izorkin, 41 weeks ago, open): nginx: do not run anything as root
erictapen has quit [Quit: leaving]
erictapen has joined #nixos
<betawaffle> what am i supposed to put in for sha256 when i'm doing fetchgit?
<betawaffle> (the first time)
<zeta_0> rycee: after making that change it still threw an error? https://hastebin.com/hejamadeno.coffeescript https://hastebin.com/ubasuxalef.php
<erictapen> betawaffle: I usually copy another hash and change one number in it
<erictapen> betawaffle: or you could do 64 zeros (in vim 64i0)
<erictapen> betawaffle: (followed by escape)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rycee> zeta_0: I'm guessing you want url to be a single attribute set.
<{^_^}> [nixpkgs] @flokli opened pull request #75663 → certbot: 0.39.0 -> 1.0.0 → https://git.io/JeQnI
gkmngrgn has joined #nixos
__monty__ has joined #nixos
<betawaffle> erictapen: looking at this https://github.com/pcengines/pce-fw-builder/blob/master/build.sh#L148-L156 again, doesn't it seem like they are cloning coreboot/coreboot unnecessarily?
zupo has joined #nixos
<betawaffle> since they do a checkout from their fork of it further down
dirkx__ has quit [Quit: dirkx__]
zupo has quit [Client Quit]
<zeta_0> rycee: i don't understand you, could you pastebin the change so i can see what you mean?
cosimone has quit [Quit: Terminated!]
<{^_^}> [nixpkgs] @jonringer merged pull request #75640 → mavproxy: init at 1.8.17 → https://git.io/JeQT1
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JeQnO
<betawaffle> erictapen: hmmm... isn't nix supposed to keep the intermediate stuff when a build fails from the hash being wrong?
<betawaffle> i got the hash mismatch error i was expecting, but now it seems to be downloading everything again
<{^_^}> [nixpkgs] @jonringer closed pull request #75661 → python3Packages.ipython: 7.8.0 -> 7.10.1 → https://git.io/JeQZy
<{^_^}> [nixpkgs] @jonringer reopened pull request #75661 → python3Packages.ipython: 7.8.0 -> 7.10.1 → https://git.io/JeQZy
leex has joined #nixos
<betawaffle> nevermind, user error
<erictapen> betawaffle: I guess that clone is unnecessary most of the time, but maybe you want to give `master` as the $1 to the script? then you'd want to have the upstream sources.
<betawaffle> $1 in my case is v4.11.0.1
<rycee> zeta_0: I'm on the phone. But `a = { b = 1; }; { c = 2; };` is not valid Nix syntax.
<erictapen> betawaffle: mh that tag seems to be not present at upstream, but it looks like a rather dangerous way to specify modified sources. What if upstream introduces that tag as well? Anyway, for your case it should be fine to only fetch the pcengines fork.
<betawaffle> yep
<zeta_0> rycee: i was just following the instructions from home-manager manual? https://rycee.gitlab.io/home-manager/options.html#opt-programs.git.extraConfig
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/57b7b019812 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<zeta_0> qyliss: does this look correct? ^
<rycee> zeta_0: Instead of `a = { b = 1; }; { c = 2; };` try `a = { b = 1; c = 2; };`
xkapastel has quit [Quit: Connection closed for inactivity]
<zeta_0> rycee: thanks, i'll try to change it to that syntax
<betawaffle> erictapen: do you think i should use pname = "coreboot-apu2", or does apu2 belong in the version? or just is just "really not matter"?
<betawaffle> does it just*
<{^_^}> [nixpkgs] @primeos merged pull request #75655 → fuse3: 3.8.0 -> 3.9.0 → https://git.io/JeQGe
<{^_^}> [nixpkgs] @primeos pushed to master « fuse3: 3.8.0 -> 3.9.0 (#75655) »: https://git.io/JeQnC
<erictapen> betawaffle: you are planning to bring this into nixpkgs, right?
<betawaffle> no idea, this is for me. but i'm open to bringing it into nixpkgs if anyone wants it
Guest54 has joined #nixos
<Guest54> Is there a way to do EFISTUB on NixOS, or is systemd-boot recommended?
<betawaffle> there are definitely a number of nix users that have apu2s
<erictapen> betawaffle: yeah I have (and love) one too ;)
<betawaffle> i got an apu2e4 the other day, and successfully flashed the latest firmware. now i'm itching to build it myself :P
<erictapen> betawaffle: personally I'd call it coreboot-pce-apu2 but I think this only matters if you create a PR and then people'll give you opinions on it
<erictapen> betawaffle: ^^
<betawaffle> ok cool, will use that name
<betawaffle> my ultimate plan is to let the user customize it with a nixos module
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
dirkx___ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75658 → procdump: 1.0.1 -> 1.1 → https://git.io/JeQZk
<{^_^}> [nixpkgs] @c0bw3b pushed to master « procdump: 1.0.1 -> 1.1 (#75658) »: https://git.io/JeQnw
dirkx___ has quit [Client Quit]
cinimod`` has quit [Ping timeout: 240 seconds]
<zeta_0> rycee: i'm confused, which parts are: a, b, and c ?
<Guest54> Is there a way to do EFISTUB on NixOS, or is systemd-boot recommended?
<zeta_0> rycee: it's hard keeping tracking of all those semi-colons and braces
lsix has joined #nixos
vld has joined #nixos
domogled has quit [Quit: domogled]
domogled has joined #nixos
vld has quit [Ping timeout: 276 seconds]
cosimone has joined #nixos
AstroBadger has quit [Read error: Connection reset by peer]
turion has joined #nixos
AstroBadger has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #75664 → tipp10: init at 3.1.0 → https://git.io/JeQn9
<dirkx_> does anyone know a good indent.pro file for nixos defaults.nix files ? Mine seem to not do the [ correct in the non ‘=‘ following cases
ddellacosta has joined #nixos
<betawaffle> erictapen: woo, first build error! how do i fix stuff like "/nix/store/506nnycf7nk22x7n07mjjjl2g8nifpda-bash-4.4-p23/bin/bash: util/xcompile/xcompile: /usr/bin/env: bad interpreter: No such file or directory"
<betawaffle> it's trying to use /usr/bin/env, which we don't want, obviously
<betawaffle> i assume it's something involving one of the substitute* helpers?
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 4.0.0.5 -> 4.0.0.6 »: https://git.io/JeQnh
primeos has quit [Quit: WeeChat 2.4]
cinimod`` has joined #nixos
primeos has joined #nixos
primeos has quit [Client Quit]
primeos has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/57b7b019812 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<erictapen> betawaffle: mh thats weird, as /usr/bin/env is available in the nix build sandbox. in the original file is #!/bin/bash though
<betawaffle> ohh hmm
<{^_^}> [nixpkgs] @Ma27 pushed to master « dlib: 19.18 -> 19.19 »: https://git.io/JeQcv
<erictapen> betawaffle: could you run nix-build with --keep-faild and look at the sources in the build directory? I'd be interested what interpreter is actually used in utils/xcompile/xcompile
<betawaffle> #!/usr/bin/env bash
<erictapen> betawaffle: weird
<betawaffle> note, that i haven't set up any dependencies for this build yet
<betawaffle> so far i've just got stdenv
<erictapen> and you use mkDerivation from stdenv?
<betawaffle> yep
primeos has quit [Client Quit]
primeos has joined #nixos
domogled has quit [Ping timeout: 250 seconds]
<betawaffle> my plan has been trial and error. good plan?
<erictapen> betawaffle: yep, good plan
<betawaffle> when i grep the sources, there do seem to be a lot of /bin/bash shebangs. should i be doing something with patchShebangs?
<{^_^}> [nixpkgs] @symphorien closed pull request #74732 → Paperwork update → https://git.io/Je1MG
<erictapen> betawaffle: normally they get replaced quite fine as it happenend in your case. the sources end up with the right interpreters, weird that that still fails.
<betawaffle> ok, well let me try --keep-failed
<betawaffle> (i was looking at the original sources)
<zeta_0> rycee: i think i almost have it fixed but it threw another error? https://hastebin.com/ekogakazat.rb https://hastebin.com/ufahasuguq.php
<betawaffle> hmm, yeah same shebang
<zeta_0> rycee: ... is not of type `boolean or signed integer or string'.
<zeta_0> (use '--show-trace' to show detailed location information)
<zeta_0> rycee: what does that mean?
<betawaffle> erictapen: are you sure it's not something trivial like that i'm not specifying any dependencies?
jophish has joined #nixos
zupo has joined #nixos
<jophish> Hi all
<jophish> is it possible to list all packages in a binary cache hosted with nix-serve?
<erictapen> betawaffle: actually I'm quite lost here, so I'm not sure about that (also need to log off soon).
<betawaffle> ok
<erictapen> jophish: I'd doubt that, as afaik enumerationg the derivations in a nix store is forbidden for security reasons.
<{^_^}> [nixpkgs] @symphorien opened pull request #75666 → pyflame: remove → https://git.io/JeQcm
<jophish> yeah, thought so
<jophish> shame for me though :(
<zeta_0> do you guys know why this `extraConfig` section is not working? https://hastebin.com/ufahasuguq.php
<sshow> Where should I configure LC_TIME when setting localized time format?
<betawaffle> erictapen: ok, got past that, thanks for your help with other stuff. erictapen++
<{^_^}> erictapen's karma got increased to 2
<erictapen> betawaffle: ah cool! what was the problem? I just verified, that it was'nt specific to that file.
<betawaffle> i added patchShebangs . to postPatch
<betawaffle> and it fixed a bunch of stuff
<erictapen> great
<erictapen> betawaffle: yeah that next error message looks complicated (and I really should log off^^). good luck with that!
<betawaffle> thanks!
mexisme_ has joined #nixos
erictapen has quit [Quit: leaving]
o1lo01ol1o has joined #nixos
<sshow> I found my LC_TIME place too ! i18n.extraLocaleSettings
mexisme_ has quit [Ping timeout: 246 seconds]
m_ has joined #nixos
<dirkx> andre: no - I only did the 6 easy redwax modules — the others I'll do in another batch — as they are much more complex to test if we do not have the base ones.
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
m_ is now known as mehlon
<dirkx> andre: macports & freebsd ports and derivatives you have them all - but it has a curses-menu or you need to provide a config file. Not as clean as nixos isolated/minimal modules.
cinimod`` has quit [Ping timeout: 265 seconds]
zupo has quit [Ping timeout: 240 seconds]
<mehlon> hey there
<mehlon> I recently just installed nixos on both my laptop and pc, it's pretty good!
jophish has quit [Remote host closed the connection]
<mehlon> now, is there some way to more conveniently install packages? nix-env -i is discouraged and slow, and doing nix-env -iA nixos.package every time is a little annoying
<dminuoso> mehlon: `nix-env -iA nixos.package`
zupo has joined #nixos
<dminuoso> mehlon: Or modify your /etc/nixos/configuration.nix
<mehlon> I see
<dminuoso> mehlon: The latter is probably the more sensible approach.
<dminuoso> mehlon: As it fits more nicely into the declarative system specification approach
<mehlon> I guess it is
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/57b7b019812 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<dminuoso> mehlon: (Or home-manager, but that's essentially the same as configuration.nix)
<selfsymmetric-mu> That's definitely the way to do it. Put it in distributed version control. That way you can pull it down to both of your computers.
<selfsymmetric-mu> I have three machines that are basically clones of each other since they use the same `configuration.nix`.
<{^_^}> [nixpkgs] @Ekleog merged pull request #75294 → matrix-synapse: Use postgres service to create database and user → https://git.io/JeSc0
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/JeQcX
<mehlon> I was thinking something like a dynamic config file that is updated whenever you install something
<mehlon> I think that doesn't exist yet but it would be nice
<mehlon> then you could quickly install things from the command line and then remove them from the config or something like that
<selfsymmetric-mu> That is _wonderful_ idea.
<selfsymmetric-mu> Anyone know if that's been suggested before? Maybe there's a tracking issue?
growpotkin has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
turion has quit [Ping timeout: 246 seconds]
zeta_0 has joined #nixos
logzet has quit [Ping timeout: 245 seconds]
<dirkx> mehlon: we capture on some of the pre-CI machiens such a list with a simple periodic `nix-env -q'
zupo has joined #nixos
<betawaffle> hmm, there's no nix package that has gcc-ada / gnat?
o1lo01ol1o has quit [Remote host closed the connection]
zeta_0 has quit [Client Quit]
<selfsymmetric-mu> ,locate gcc-ada
<selfsymmetric-mu> ,locate gnat
lsix has quit [Quit: WeeChat 2.6]
<{^_^}> Couldn't find in any packages
<{^_^}> Found in packages: vim, glib.dev, vimHugeX, gnatsd.bin, vimPlugins.ale, bash-completion, neovim-unwrapped
<manveru> ,locate bin gnat
<{^_^}> Found in packages: gnatsd.bin
<mehlon> it would probably only take a shell script and maybe an overlay?
<mehlon> or something like that
<qyliss> gnat was removed from nixpkgs I believe, because it was too hard to build
<qyliss> You can probably find the issue about it
<pingiun[m]> which package provides the `nix` command?
<pingiun[m]> I want to use it in a builder
<mehlon> nix itself, right?
<qyliss> ,locate bin nix
<{^_^}> Found in packages: nixFlakes, nixStable, nixUnstable
<qyliss> But you can't really use Nix inside Nix (yet? I think?)
<mehlon> I saw there's that Nix is actually available in Guix
<mehlon> but not the other way around!
<DigitalKiwi> mehlon: https://gist.github.com/Kiwi/e7c60ce4684fd47513ade73024694c80 this could be better and as stated nix-env isn't the best way (I use it for things I don't want to use nix-shell but am not ready to update configuration.nix (eventually I move everything there and nix-env -e))
<DigitalKiwi> #function nixiA() { nix-env -iA nixos."$1"; }
<DigitalKiwi> one line if you don't care about multiple packages
<mehlon> oh thanks
<mehlon> I actually already had the one package thing as a shell script but I didnt feel like figuring out how to do for loops in bash
<Guest54> Does anyone know which package provides the `file` command?
<mehlon> 'file'
<mehlon> nix-env -iA nixos.file
<Guest54> Thank you!
<Guest54> I figured it out
gnidorah has quit [Quit: Connection closed for inactivity]
<mehlon> I think if you use KDE it automatically suggests what package to install if it's missing
<DigitalKiwi> yeah it took me a long time to get around to making the long one (i'm not good at sh)
<mehlon> I always forget the semicolons in bash
<DigitalKiwi> or formatting it apparently
<selfsymmetric-mu> mehlon: Get you a `shellcheck`, and falter no longer.
<DigitalKiwi> shellcheck++
<mehlon> I'm trying to use Nix on a rpi
<mehlon> and I already nearly ran out of storage space
<mehlon> >_<
<Guest54> Is there a way to get rid of xterm?
<Guest54> I don't know why it's installed, I didn't specify anything about it in the configs
<Guest54> Maybe it's part of `services.xserver`
<DigitalKiwi> under desktopManager xterm.enable = false;
<mehlon> how could I use my external USB drive for extra storage on nix?
chloekek has quit [Ping timeout: 246 seconds]
<mehlon> ...on raspberry pi
<DigitalKiwi> services.xserver.desktopManager.xterm.enable = false;
<DigitalKiwi> which...might not actually make itn not installed
<DigitalKiwi> :/
<pingiun[m]> qyliss: I cannot run the nix command in a derivation builder?
<Guest54> DigitalKiwi to edit and `nixos-rebuild switch` but it's still there
<DigitalKiwi> yeah, I noticed that after, I don't know
<Guest54> One downside of Nix is that it's super opinionated
<Guest54> Menu clutter really bothers me, in Arch I had "Qt Creator," now I have xterm :(
<DigitalKiwi> in arch surely you had to install something to get qt creator
cinimod`` has joined #nixos
<mehlon> I had qt creator and some gtk gui creator tools as well I think
<DigitalKiwi> isn't xterm part of X though
<mehlon> it's preinstalled with X on most systems
leotaku has quit [Ping timeout: 265 seconds]
drakonis1 has joined #nixos
justan0theruser has joined #nixos
<Guest54> DigitalKiwi I think all Qt applications come with Qt Creator
<Guest54> Or at least Qt applications built from the AUR
<DigitalKiwi> so there might be an override for X that disables it possibly if it can be...hm
drakonis1 has quit [Client Quit]
justanotheruser has quit [Ping timeout: 268 seconds]
<DigitalKiwi> might also be able to remove the menu item?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wildtrees has quit [Remote host closed the connection]
<pingiun[m]> ,locate bin nix-copy-closure
<{^_^}> Found in packages: nix1, nixFlakes, nixStable, nixUnstable
<DigitalKiwi> Guest54: plasma5 let me hide it at least ;p
wildtrees has joined #nixos
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
<evils> how do i create a package that just wraps the binaries of another package?
brodul has quit [Quit: My hovercraft is full of eels!!]
<rycee> zeta_0: Which version of HM are you using? I think support for sub-attribute sets came in 19.09.
<mehlon> evils: this may or may not be what youre looking for
<rycee> The error indicates you put a value that was of an unexpected type.
<charukiewicz> How can I specify a system version that doesn't rely on the defined nix-channel?
<manveru> mehlon: just wrote that in a few minutes, but based on this you could implement what you want i guess :)
<evils> mehlon: i don't think so
<mehlon> ah nevermind
o1lo01ol1o has joined #nixos
<mehlon> right, so can I somehow enable an ssh server without also updating the whole system?
acarrico has joined #nixos
Taneb has quit [Quit: I seem to have stopped.]
<mehlon> because I'm trying to, yknow, remotely update the system
Taneb has joined #nixos
<manveru> ssh should run by default, unless you turned it off
<mehlon> I'm using the armv7 image for rpi
<evils> i want to do something like `makeWrapper ${kicad-base}/bin/kicad $out/bin/kicad`
<manveru> evils: grep for `wrapProgram`
<manveru> you might have to symlink it to `$out/bin/kicad` first though
kraem has quit [Ping timeout: 252 seconds]
<evils> manveru: i started with wrapProgram, and i'm trying to split kicad's building from its wrapping, looks like wrapProgram doesn't take symlinks
philr has joined #nixos
<DigitalKiwi> manveru double points if you add a pkgs.writeShellScriptBin for your nix-install
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<manveru> DigitalKiwi: i'd maybe just make it a profile instead, to avoid dealing with nixos-rebuild or home-manager in this case
<manveru> i'm sure someone wrote something like this before, just too lazy to search :P
<DigitalKiwi> i screwed up my path somehow i used to have ~/bin in it but now it's not :/
<DigitalKiwi> manveru: did you see my gist
<manveru> nope
<manveru> ah, ok
<manveru> i avoid `nix-env -iA` as much as possible... just ends up in a mess
<betawaffle> darn... but i can't build coreboot without gnat :(
<qyliss> I build coreboot in a container
vld has joined #nixos
<betawaffle> with nix, or by hand?
jgt has joined #nixos
<qyliss> By hand
<betawaffle> well i'm trying to build it with nix. i can build it by hand just fine
zupo has joined #nixos
<DigitalKiwi> manveru: i avoid nixos-rebuild as much as possible because it breaks everything temporarily (mouse, internet, xorg, plasma...) :P so I move things from nix-env to my configuration when it's convenient
mexisme_ has joined #nixos
<betawaffle> DigitalKiwi: that's not good...
o1lo01ol1o has joined #nixos
<manveru> DigitalKiwi: then just make a declarative profile for it?
<qyliss> betawaffle: then you'll first have to fix gnat in Nixpkgs, or otherwise build it yourself, which is not going to be easy
o1lo01ol1o has quit [Remote host closed the connection]
<betawaffle> because it requires itself to build?
<DigitalKiwi> manveru: what do you mean?
vld has quit [Ping timeout: 250 seconds]
tim-hilt has joined #nixos
o1lo01ol1o has joined #nixos
<DigitalKiwi> betawaffle: what's not good
<betawaffle> that nixos-rebuild breaks things for you
<qyliss> betawaffle: because it isn't in nixpkgs
<DigitalKiwi> restarting services tends to kill processes, when those services include bluetooth and internet and changing things that kde is running...
jgt has quit [Ping timeout: 276 seconds]
cinimod`` has quit [Ping timeout: 276 seconds]
averell has quit [Remote host closed the connection]
scasc has quit [Ping timeout: 268 seconds]
<DigitalKiwi> manveru: most of the things in my nix-env are packages that i fix that haven't made it to nixos-unstable yet
<manveru> DigitalKiwi: i use `niv` and `home-manager` for that
<DigitalKiwi> hurry up evils all i have are kicad and wire-desktop and i can get rid of wire-desktop by now :P
<DigitalKiwi> never heard of niv, never cared enough to use home-manager
<evils> DigitalKiwi: go read all the documentation and all the existing packages and tell me how to split the building of kicad from the wrapping
<evils> DigitalKiwi: or use an overlay?
* DigitalKiwi suddenly has an urge to go cut some wooden lambda
<DigitalKiwi> and overlays annoy me
<mehlon> so I'm on nixos stable, but can I use the gnunet service from unstable?
o1lo01ol1o has quit [Remote host closed the connection]
<charukiewicz> I'm trying to build a system on my local machine and then deploy it to a target server with nix-copy-closure. For some reason the local nix-build produces a system with version 19.09pre-git, even though the latest seems to be 19.09.1589.57b7b019812 (Loris). Why is this happening?
<selfsymmetric-mu> DigitalKiwi: Yeah, I never use overlays. I don't care for global settings that affect other variables at a distance.
o1lo01ol1o has joined #nixos
<selfsymmetric-mu> I prefer my definitions local, denotational, and declarative.
Guest54 has quit [Ping timeout: 276 seconds]
<manveru> i use niv because i have tons of projects each with pinned versions, trying to update them manually just takes too much time :P
<manveru> eventually flakes will fix that, but until then that's my weapon of choice
o1lo01ol1o has quit [Ping timeout: 276 seconds]
lovesegfault has joined #nixos
shibboleth has joined #nixos
<lovesegfault> Spurious failure?
dansho has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75258 → openapi-generator-cli: 4.2.1 -> 4.2.2 → https://git.io/JeSmS
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeQCb
<genesis> #60518 would be very easy to merge after time ...
<{^_^}> https://github.com/NixOS/nixpkgs/pull/60518 (by bignaux, 32 weeks ago, open): gweled: init at unstable-2018-02-15
<manveru> DigitalKiwi: https://gist.github.com/manveru/515ec76ddcecfa21c6b97c344f7bef28 with profiles now :)
<manveru> now just needs some nixpkgs pinning, and we almost got a traditional package manager...
<{^_^}> [nixpkgs] @tobim opened pull request #75667 → cmake-format: 0.6.2 -> 0.6.3 → https://git.io/JeQCp
jb55 has quit [Ping timeout: 260 seconds]
jb55 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 162 commits to staging-next: https://git.io/JeQWT
<{^_^}> [nixpkgs] @jtojnar pushed 378 commits to staging: https://git.io/JeQWk
lovesegfault has quit [Ping timeout: 276 seconds]
cinimod`` has joined #nixos
fendor has joined #nixos
boxscape has joined #nixos
zeta_0 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zeta_0> is there anyone on this channel during this time, i could use some help with something?
<genesis> don't ask to ask just ask
earldouglas has joined #nixos
<{^_^}> [nixpkgs] @kampka closed pull request #71083 → testing: Configure the login shell of the backdoor service → https://git.io/JeQWm
zupo has joined #nixos
<zeta_0> genesis: ok, well i have a problem with this code in the extraConfig section: https://hastebin.com/onakiqowop.php
mehlon has quit [Ping timeout: 268 seconds]
<zeta_0> it throws this weird error:
<zeta_0> [root@nixos:/home/zeta]# nixos-rebuild switch
<zeta_0> building Nix...
<zeta_0> error: The option value `home-manager.users.zeta.programs.git.extraConfig.url.git://github.com/ghc/packages-' in `/etc/nixos/configuration.nix' is not of type `boolean or signed integer or string'.
<zeta_0> building the system configuration...
<earldouglas> Recently I'm getting `ERROR ... main: execvp(*argv, argv): No such file or directory` on multiple programs. Could something be wrong with my Nix store, e.g. bad links?
<{^_^}> [nix] @edolstra pushed to master « Fix progress bar »: https://git.io/JeQWY
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #75668 → Another batch of Python 2 removal → https://git.io/JeQWO
<earldouglas> When I run strace, I see `execve("(existing file)", ["(non-existing file"..., "/home/james"]...`
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/JeQW3
<{^_^}> [nixpkgs] @FRidh merged pull request #75666 → pyflame: remove → https://git.io/JeQcm
<{^_^}> [nixpkgs] @FRidh pushed commit from @symphorien to master « pyflame: remove »: https://git.io/JeQWc
<{^_^}> [nixpkgs] @matthuszagh closed pull request #75549 → pythonPackages.sympy: add antlr4 dep → https://git.io/JeHk8
Dagger has quit [Ping timeout: 246 seconds]
<{^_^}> [nix] @edolstra merged pull request #3269 → nix-shell: don't check for "nix-shell" in shebang script name → https://git.io/JeQ3D
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JeQWC
o1lo01ol1o has quit [Ping timeout: 252 seconds]
Dagger has joined #nixos
<zeta_0> so what does this error mean?
<{^_^}> [nixpkgs] @markuskowa merged pull request #75643 → pfetch: init at 0.4.0 → https://git.io/JeQkb
<{^_^}> [nixpkgs] @markuskowa pushed commit from @equirosa to master « pfetch: init at 0.4.0 »: https://git.io/JeQW4
knupfer has quit [Ping timeout: 245 seconds]
<rycee> zeta_0: Which version of HM are you using? I think support for sub-attribute sets came in 19.09.
<rycee> The error indicates you put a value that was of an unexpected type.
smatting has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #64100 → openh264: 1.8.0 -> 2.0.0 → https://git.io/fjKaY
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to staging « openh264: 1.8.0 -> 2.0.0 (#64100) »: https://git.io/JeQWr
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zeta_0> `'`'
<duairc> Has anyone here used hydra? I'm just trying to set it up for the first time
<zeta_0> rycee: i am using nixos 19.09, but i am not sure what version of home-manager that i am using
o1lo01ol1o has joined #nixos
hmpffff has joined #nixos
<zeta_0> rycee: oh, i am using the wrong version of home-manager:
<zeta_0> in configuration.nix, imports i have:
matthuszagh has joined #nixos
<zeta_0> rycee: let me pastebin my configuration.nix so you can see, one second
tim-hilt has left #nixos ["WeeChat 2.6"]
<matthuszagh> how can i set the runtime environment variable of a python package? I've tried `makeWrapperArgs' but without success
cinimod`` has quit [Ping timeout: 240 seconds]
jwinnie has joined #nixos
mehlon has joined #nixos
Rusty1 has quit [Remote host closed the connection]
<mehlon> so is anyone running nix alongside guix?
<mehlon> I wonder if that's possible
<matthuszagh> @mehlon I'm curious about this too. Do you mean nix for the system and guix for user packages?
<jwinnie> Yes it is
<mehlon> yes nix as primary
<zeta_0> rycee: i know i have the wrong version in imports towards the top of the file, do i even need that import because i also have home-manager installed toward the bottom of the file?
<jwinnie> You can `guix import nixpkgs` in GuixSD
<mehlon> unfortunately I can't run guix on my laptop
<mehlon> no wifi drivers
<duairc> clever: You seem to have a lot of experience with Hydra. I'm trying to set up my first hydra build, and I get the error "command `git rev-parse master' failed with exit status 32768". It might have something to do with submodules?
<clever> duairc: what do you have set as the value under build inputs?
<jwinnie> It's what happens when you're a free software purist
<duairc> clever: Ah, of course
<matthuszagh> mehlon: you can override the kernel but of course that's more work
<matthuszagh> there's a post about how to do this if you're curious
<duairc> I had https://github.com/NixOS/nixpkgs-channels.git , which I guess doesn't have a master branch. I just changed it to https://github.com/NixOS/nixpkgs.git
<clever> duairc: it downloads whatever the default branch is in github
<clever> duairc: the same as if you just `git clone https://github.com/NixOS/nixpkgs-channels.git`
<duairc> Okay, hmmm, maybe that's not the problem then
<clever> duairc: one sec
<duairc> Well, the current evaluation hasn't failed yet, so let's see
<clever> duairc: run `sudo -u hydra -i` and then `hydra-eval-jobset <project> <jobset>` if you want to see cleaner logs
<duairc> clever: Thanks for that, that's good to know
<duairc> It seems to have gotten further than the last time
zeta_0 has quit [Quit: doing a rebuild]
<jwinnie> When will Nix get KDE 5.17?
<jwinnie> I'm on unstable but it's still 5.16
<mehlon> matthuszagh: yeah I'd need to download the kernel first....
<mehlon> using wifi..
<mehlon> :)
o1lo01ol1o has quit [Remote host closed the connection]
<mehlon> I guess the more sensible option is to just wait and use nix for now
<clever> duairc: what did you give hydra as the nix expr?
<duairc> The default.nix of one my projects
<clever> duairc: ah, that should be fine
<matthuszagh> mehlon: it's been a while since i did this but i think you can set it up with another system so you don't need wifi at first...
o1lo01ol1o has joined #nixos
<mehlon> yeah I know but ehh its a laptop its not meant for compiling kernels I think
<duairc> clever: It seems to work now. It looks like it was just tripping up on nixpkgs pointing to nixos/nixpkgs-channels instead of nixos/nixpkgs, maybe because nixpkgs-channels doesn't have a master branch.
<duairc> It's not a big deal anyway, I use a pinned nixpkgs within my project, it just needs <nixpkgs> to bootstrap
orivej has quit [Ping timeout: 240 seconds]
<clever> duairc: builtins.fetchTarball can be used to bootstrap
<matthuszagh> in any event i tried both and i very much recommend nix. guix doesn't support some hardware configurations. for instance i'm using a btrfs filesystem across two drives and guix didn't have support for this yet
<matthuszagh> couldn't have been easier with nix
<matthuszagh> but yeah the side-by-side thing might be worth a go
smatting has quit [Ping timeout: 246 seconds]
<duairc> clever: Yeah, I know, that would probably be better
<duairc> It's actually building everything! This is great
<duairc> Can I use hydra as a binary cache?
<clever> duairc: yep, it already serves a binary cache over its http ui
<gyroninja> What is the correct way to setup gpg? Just adding the gnupg package makes it complain about `No pinentry`. I can mitigate it by using --pinentry-mode loopback, but I would prefer to actually get it working by default.
<clever> duairc: line 52 tells hydra how to sign what it serves
<duairc> Okay, cool
smatting has joined #nixos
<duairc> I'm not sure how signing/verifying packages works in NixOS, but I can probably do my own research about that, you've given me some great pointers
<duairc> clever: I really appreciate you getting back to me so quickly, you've saved me an awful load of time. Sorry to call you out directly to help me with this but your name was the one that kept popping up when trying to search about this!
<clever> duairc: just fill in the url of your hydra, and its public key, the `man nix-store` says how to make a keypair
<duairc> clever: Okay, great, that's not so bad
<infinisil> gyroninja: Use gpg-agent
<infinisil> programs.gnupg.agent.enable = true
jwinnie has quit [Ping timeout: 250 seconds]
<gyroninja> infinisil: that did not seem to work
<matthuszagh> after reading a bit about runtime enviro variables, it looks like the way to do this is to set the variable in mkShell and invoke with nix-shell. is this accurate? So runtime variables cannot be set in mkDerivation?
<gyroninja> wait nvm
<duairc> Great, they're just Ed25519 keys, I can reuse my terraform module that generates wireguard keys for this
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
chloekek has joined #nixos
<gyroninja> Yeah, it does not seem to be working
cinimod`` has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> gyroninja: Does gpg-agent run? Check with `systemctl --user status gpg-agent`
o1lo01ol1o has joined #nixos
<infinisil> Hm no
Henson has joined #nixos
<infinisil> `systemctl --user status gpg-agent.socket` maybe
<gyroninja> Yes, gpg-agent is running
<infinisil> So what exactly doesn't work, what error do you get when you run what?
<gyroninja> For example `gpg --decrypt <filename>` fails with `gpg: public key decryption failed: No pinentry`, but `gpg --pinentry-mode loopback --decrypt <filename>` asks for my passphrase and works
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
jwinnie has joined #nixos
<gyroninja> do I need to specify a pinentry program spearately? I assumed the derivation would have included one.
<infinisil> gyroninja: Does gpg-agent have any logs when you do the former?
torque has joined #nixos
<jwinnie> I've enabled Plymouth but it doesn't show up when I boot
o1lo01ol1o has quit [Remote host closed the connection]
<jwinnie> It suppresses the console messages but it doesn't show any graphics
matthuszagh has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
smatting has quit [Ping timeout: 276 seconds]
o1lo01ol1o has joined #nixos
lovesegfault has joined #nixos
<gyroninja> Intensity: Relevant error from the log `can't connect to the PIN entry module '/nix/store/ipmxk3zi2nx5zj69zhz1k7yn72s0nn5f-gnupg-2.2.17/bin/pinentry': IPC connect call failed`
<gyroninja> pinentry does NOT exist at that path
<gyroninja> sorry
<gyroninja> infinisil:
slack1256 has joined #nixos
<infinisil> There was this recent change that kind of screwed with this: https://github.com/NixOS/nixpkgs/pull/71095
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<{^_^}> #71095 (by flokli, 8 weeks ago, merged): Split pinentry flavors and enable udisks2 on install media again
slack1256 has quit [Remote host closed the connection]
<gyroninja> btw I am on unstable
Laarlf has joined #nixos
vld has joined #nixos
<infinisil> gyroninja: You just use the gpg-agent from nixos?
<infinisil> Or home-manager too perhaps?
<infinisil> For home-manager some workaround was necessary, see https://github.com/rycee/home-manager/issues/908
<{^_^}> rycee/home-manager#908 (by Infinisil, 4 weeks ago, open): gpg-agent pinentry broken with nixpkgs master
<gyroninja> I have gnupg through home-manager, but I added the programs.gnupg.agent.enabled to my /etc/nixos/configuration.nix
<infinisil> Oh well then the gnupg one from nixos won't apply I'm pretty sure
jwinnie has quit [Quit: Konversation terminated!]
<lovesegfault> infinisil: I think this failure is spurious
<lovesegfault> Could someone manually restart it?
jwinnie has joined #nixos
<infinisil> lovesegfault: Just restarted it :)
<lovesegfault> infinisil: <3
<lovesegfault> thank you
vld has quit [Ping timeout: 276 seconds]
is_null has joined #nixos
<Laarlf> can someone point me to examples on how to throw services into containers? especially webservices and minecraft would interest me. i think i dont quite understand container networking
<gyroninja> infinisil: okay that fixed it. Thanks
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<infinisil> :)
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @mkg20001 opened pull request #75670 → bless: init at 0.6.2 → https://git.io/JeQlh
<jwinnie> It really bothers me that Okular Kirigami is packaged together with Okular
<jwinnie> This is on both Arch and Nix
<jwinnie> I don't need two PDF viewers!
<selfsymmetric-mu> What if one breaks and the manual to fix it is a PDF?
<selfsymmetric-mu> This is why I have two of everything installed.
cinimod`` has quit [Ping timeout: 268 seconds]
<lovesegfault> Can someone please review this: https://github.com/NixOS/nixpkgs/pull/75136
<{^_^}> #75136 (by lovesegfault, 1 week ago, open): beets/check-plugin: init at 0.12.0
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « nco: 4.8.1 -> 4.9.0 (#75287) »: https://git.io/JeQ8U
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75287 → nco: 4.8.1 -> 4.9.0 → https://git.io/JeSZP
<lovesegfault> cc. aszlig who helped review my last contribution to beets :)
silver has quit [Quit: rakede]
shibboleth has quit [Quit: shibboleth]
fendor has quit [Quit: Leaving]
<zeta_0> rycee: after upgrading to home-manager 19.09 the rebuild worked: https://gist.github.com/zeta-00/d1887cf5f11377880b7937e5242392ea
<zeta_0> rycee: thanks for the help
<zeta_0> rycee++
<{^_^}> rycee's karma got increased to 21
jgeerds has quit [Ping timeout: 268 seconds]
<lovesegfault> aszlig: <3
<aszlig> lovesegfault: np, although i didn't actually test it by myself
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
chloekek has quit [Ping timeout: 265 seconds]
jwinnie has quit [Read error: Connection reset by peer]
jwinnie has joined #nixos
<{^_^}> [nixpkgs] @clayrat closed pull request #75624 → idrisPackages.tparsec: 2019-06-18 -> 2019-09-19 → https://git.io/JeHjt
iqubic` has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75601 → mojave-gtk-theme: 2019-09-09 -> 2019-12-12 → https://git.io/JeHyb
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/JeQ8L
iqubic has quit [Ping timeout: 245 seconds]