gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
slabity has quit [Remote host closed the connection]
ysndr_ has quit [Remote host closed the connection]
simbergm has quit [Remote host closed the connection]
kaychaks[m] has quit [Remote host closed the connection]
rycee has quit [Read error: Connection reset by peer]
exarkun22 has quit [Read error: Connection reset by peer]
fgaz has quit [Read error: Connection reset by peer]
vaibhavsagar has quit [Write error: Connection reset by peer]
WilliamHamilton[ has quit [Remote host closed the connection]
hjulle[m] has quit [Remote host closed the connection]
koschei[m] has quit [Remote host closed the connection]
roberth has quit [Remote host closed the connection]
Purple-mx has quit [Read error: Connection reset by peer]
cornu has quit [Read error: Connection reset by peer]
MarkOtaris has quit [Remote host closed the connection]
timokau[m] has quit [Remote host closed the connection]
yangm97 has quit [Read error: Connection reset by peer]
tokudan[m] has quit [Read error: Connection reset by peer]
Ericson2314 has quit [Read error: Connection reset by peer]
sphalerit has quit [Remote host closed the connection]
florianjacob has quit [Write error: Connection reset by peer]
schmittlauch[m] has quit [Read error: Connection reset by peer]
ptotter[m] has quit [Read error: Connection reset by peer]
clacke[m] has quit [Remote host closed the connection]
thefloweringash has quit [Read error: Connection reset by peer]
cryptix has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #50883 → pythonPackages.simplekml: Init at 1.3.1 → https://git.io/fp4Tz
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @rvolosatovs to master « pythonPackages.simplekml: Init at 1.3.1 (#50883) »: https://git.io/fpERO
johnazoidberg[m] has quit [Remote host closed the connection]
peel has quit [Remote host closed the connection]
stammon has quit [Remote host closed the connection]
nyanloutre[m] has quit [Read error: Connection reset by peer]
IslandUsurper has quit [Read error: Connection reset by peer]
nbardiuk has quit [Write error: Connection reset by peer]
bachp has quit [Read error: Connection reset by peer]
dtz has quit [Remote host closed the connection]
leons has quit [Remote host closed the connection]
philipp[m] has quit [Read error: Connection reset by peer]
rnhmjoj has quit [Read error: Connection reset by peer]
bennofs[m] has quit [Read error: Connection reset by peer]
yegortimoshenko has quit [Read error: Connection reset by peer]
ejpcmac has quit [Remote host closed the connection]
timclassic has quit [Remote host closed the connection]
irdr has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @Ma27 opened pull request #51053 → nixos/nextcloud: add basic module documentation and warn about current upgrading issues → https://git.io/fpERs
joehh has joined #nixos
<dsx> Merci!
<joehh> hi, I'm trying to use substituteInPlace recursively (ie by running find and using substituteInPlace with the -exec option)
irdr has joined #nixos
<joehh> and getting the following error: find: 'substituteInPlace': No such file or directory
<joehh> is there something obvious I'm missing?
<joehh> Is there a standard way to recursively use substituteInPlace on a path?
<samueldr> substituteInPlace is a function defined in the shell script `pkgs/stdenv/generic/setup.sh`
<joehh> ahh, so maybe find cannot run a shell function?
<samueldr> exactly, it can't
<ottidmes> joehh: so rewrite it as a for loop for example
<joehh> samueldr, ottidmes - thanks for that,
florianjacob has joined #nixos
Radivarig has quit [Quit: Leaving]
bennofs[m] has joined #nixos
<bennofs[m]> small cross-compilation question: why is there no pkgs.foobar.nativeDrv? (only the callPackage-filled args seem to have a nativeDrv)
<bennofs[m]> example: nix build --arg crossSystem 'with (import <nixpkgs/lib>); systems.examples.aarch64-multiplatform' nixpkgs.hello.nativeDrv does not work
<bennofs[m]> (no attribute nativeDrv)
<{^_^}> [nixpkgs] @worldofpeace opened pull request #51054 → pythonPackages.pandas: don't run tests on aarch64 → https://git.io/fpERE
Radivarig has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #50605 → python36Packages.plotly: 3.3.0 -> 3.4.0 → https://git.io/fpcaF
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fpERu
<{^_^}> [nixpkgs] @Ma27 opened pull request #51055 → nix-zsh-completions: 0.4.0 -> 0.4.1 → https://git.io/fpERz
<v0|d> bennofs[m]: buildPackages.hello?
doyougnu has quit [Ping timeout: 240 seconds]
pie___ has joined #nixos
<bennofs[m]> yeah that gives the same result, but the problem is that it breaks if I use pkgs.hello as nativeBuildInput since stdenv.mkDerivation expects the nativeDrv attribute
pie__ has quit [Ping timeout: 264 seconds]
<v0|d> bennofs[m]: um, i just do [ hello ]; not [ buildPackages.hello ];
Ariakenom has quit [Quit: Leaving]
<v0|d> what might be the reason for you doing that?
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<bennofs[m]> if you try to cross-compile nixos modules, some modules pass `pkgs.foobar` directly via override etc and this won't work
<v0|d> see.
goibhniu has quit [Ping timeout: 252 seconds]
<ottidmes> bennofs[m]: can pkgs in your use case be completely replaced with buildPackages? if so, maybe tweak the module system to behave like that in your nixpkgs checkout?
<bennofs[m]> yeah in this case I can edit the module to use buildPackages. just seems wrong in general that it doesn't get passed along automatically
johann__ has quit [Ping timeout: 260 seconds]
<v0|d> bennofs[m]: open up an issue?
<{^_^}> [nixpkgs] @ryan4729 opened pull request #51056 → pythonPackages.yattag: init at 1.10.1 → https://git.io/fpER9
asymmetric has quit [Ping timeout: 240 seconds]
bachp has joined #nixos
fgaz has joined #nixos
Purple-mx has joined #nixos
clacke[m] has joined #nixos
dtz has joined #nixos
Ericson2314 has joined #nixos
simbergm has joined #nixos
koschei[m] has joined #nixos
ejpcmac has joined #nixos
leons has joined #nixos
MarkOtaris has joined #nixos
ptotter[m] has joined #nixos
cornu has joined #nixos
nyanloutre[m] has joined #nixos
kaychaks[m] has joined #nixos
icetan has joined #nixos
roberth has joined #nixos
thefloweringash has joined #nixos
schmittlauch[m] has joined #nixos
yegortimoshenko has joined #nixos
tokudan[m] has joined #nixos
timclassic has joined #nixos
sphalerit has joined #nixos
yangm97 has joined #nixos
timokau[m] has joined #nixos
vaibhavsagar has joined #nixos
stammon has joined #nixos
rycee has joined #nixos
rnhmjoj has joined #nixos
ysndr_ has joined #nixos
abathur has quit [Quit: abathur]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
booglewoogle has quit [Quit: Leaving]
day|flip has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
lord| has quit [Quit: WeeChat 2.3]
emily has quit [Quit: leaving]
lord| has joined #nixos
<day|flip> trying to install glirc. https://pastebin.com/3LV2ae8V
<{^_^}> [nixpkgs] @worldofpeace merged pull request #49267 → pgcenter: init at 0.5.0 → https://git.io/fxHk8
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fpE0Z
sir_guy_carleton has joined #nixos
sir_guy_carleton has quit [Client Quit]
sir_guy_carleton has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 4.20-rc3 -> 4.20-rc4 »: https://git.io/fpE08
day|flip has quit [Quit: Communi 3.5.0 - http://communi.github.com]
alex`` has quit [Quit: WeeChat 2.3]
<develCuy> tilpner: it is finally compiling :)
lord| has quit [Quit: WeeChat 2.3]
freeman42x]NixOS has quit [Ping timeout: 250 seconds]
lord| has joined #nixos
fengels has quit [Quit: Konversation terminated!]
rpg has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpEEJ
Rusty1 has joined #nixos
day|flip has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
worldofpeace has quit [Ping timeout: 245 seconds]
mayhewluke has quit [Ping timeout: 250 seconds]
<{^_^}> [cabal2nix] @ttuegel opened pull request #390 → Translate SPDX license expressions → https://git.io/fpEEi
perique has joined #nixos
Supersonic has quit [Ping timeout: 264 seconds]
sigmundv has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #51056 → pythonPackages.yattag: init at 1.10.1 → https://git.io/fpER9
<{^_^}> [nixpkgs] @Ma27 pushed commit from @ryan4729 to master « pythonPackages.yattag: init at 1.10.1 (#51056) »: https://git.io/fpEEj
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #51055 → nix-zsh-completions: 0.4.0 -> 0.4.1 → https://git.io/fpERz
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fpEuJ
<{^_^}> [nixpkgs] @Ma27 merged pull request #51054 → pythonPackages.pandas: don't run tests on aarch64 → https://git.io/fpERE
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fpEu3
mayhewluke has joined #nixos
hedning has joined #nixos
johann__ has joined #nixos
hellrazo1 has joined #nixos
hellrazor has quit [Ping timeout: 268 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Ma27 merged pull request #51045 → pythonPackages.nvchecker: 1.1 -> 1.2.7 → https://git.io/fpECM
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fpEuE
random_yanek has quit [Ping timeout: 250 seconds]
Radivarig has quit [Ping timeout: 250 seconds]
abathur has joined #nixos
drakonis has quit [Quit: WeeChat 2.2]
rpg has joined #nixos
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #51058 → coqPackages: recurse into the attribute set → https://git.io/fpEuX
justanotheruser has joined #nixos
random_yanek has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
Lears has joined #nixos
[Leary] has quit [Ping timeout: 245 seconds]
phreedom has joined #nixos
joehh has quit [Ping timeout: 246 seconds]
acarrico has quit [Ping timeout: 240 seconds]
abathur has quit [Quit: abathur]
abathur has joined #nixos
dramforever has joined #nixos
jtojnar has quit [Quit: jtojnar]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
aw has joined #nixos
orivej has joined #nixos
spacefrogg has joined #nixos
<dramforever> Is there an official 'Nix uninstall guide'? Like, the reverse of 'curl https://nixos.org/nix/install | sh'
<hyper_ch> what doy ou want to achieve?
<dramforever> There's `rm -rf /nix` but it leaves files in ~
<dramforever> So exactly what Nix-specific files are left in ~?
<hyper_ch> never just used nix
<dramforever> Oh yeah, I meant 'just Nix' on darwin or other linux distro
<hyper_ch> I understood
<hyper_ch> I just used NixOS
<hyper_ch> never just nix
<dramforever> Seems like there's also this https://nixos.org/nix/manual/#sect-multi-user-installation
<dramforever> lassulus: Thanks
<dramforever> Also might want to remove ~/.config/nixpkgs and ~/.config/nix
<dramforever> So, it sounds like a single user install of Nix is much more uninstallable
johann__ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51041 → dwm-status: 1.2.0 -> 1.4.0 → https://git.io/fpEcK
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fpEg1
klntsky has quit [Ping timeout: 256 seconds]
technoidX has quit [Ping timeout: 272 seconds]
dramforever has quit [Ping timeout: 256 seconds]
virus_dave has quit [Quit: virus_dave]
virus_dave has joined #nixos
justanotheruser has quit [Ping timeout: 252 seconds]
pie___ has quit [Remote host closed the connection]
pie_ has joined #nixos
pie__ has joined #nixos
pie_ has quit [Remote host closed the connection]
justanotheruser has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.2]
vmandela has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
endformationage has quit [Quit: WeeChat 2.3]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vmandela has quit [Remote host closed the connection]
vmandela has joined #nixos
b has quit [Quit: Lost terminal]
vmandela_ has joined #nixos
vmandela has quit [Remote host closed the connection]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
jb55 has quit [Quit: WeeChat 2.2]
vasiliy_san has joined #nixos
perique has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rusty1 has quit [Quit: Konversation terminated!]
abathur has quit [Ping timeout: 250 seconds]
pkx3_ has quit [Read error: Connection reset by peer]
rprije has quit [Ping timeout: 244 seconds]
makefu has quit [Ping timeout: 268 seconds]
worldofpeace has quit [Ping timeout: 252 seconds]
slyfox_ has joined #nixos
slyfox has quit [Ping timeout: 240 seconds]
umbaws has joined #nixos
palo3 has joined #nixos
EarlDeLaWarr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
haslersn has quit [Ping timeout: 256 seconds]
palo2 has quit [Ping timeout: 240 seconds]
<day|flip> cant find package inxi... so is there any good hardware info. that give a human readable idea what your using?
<Izorkin> day|flip: use nur.repos.mic92.inxi
jackdk has quit [Ping timeout: 244 seconds]
makefu has joined #nixos
<day|flip> thank Izorkin
<{^_^}> [nixpkgs] @Mic92 merged pull request #49855 → Use closureInfo for building system tarballs and Docker container → https://git.io/fpJ8i
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fpEVN
hedning has quit [Quit: hedning]
umbaws has quit [Ping timeout: 250 seconds]
virus_dave has quit [Quit: virus_dave]
nikal has joined #nixos
umbaws has joined #nixos
<jophish> Angerman, Ericson2314, is it remotely possible to build gcc on Linux, hosted on Windows targeting AVR
<jophish> My current experiments bump into coreutils and binutils not building for mingw
<jophish> (Cross building other packages for mingw works very well though! Thanks for the hard work)
hyper_ch2 has joined #nixos
[Leary] has joined #nixos
Lears has quit [Ping timeout: 252 seconds]
fusion809 has joined #nixos
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51051 → pew: fix build → https://git.io/fpEBn
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fpEwi
odi has joined #nixos
odi_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51050 → Remove reference to unpackaged GHC version → https://git.io/fpE4Q
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpEw7
<angerman> jophish: almost exclusively Ericson2314 work.
<angerman> jophish: I've never tried to fool with coreutils though; and neither with cross building gcc.
<Mic92> jophish: how would you use the this cross-compiler on windows then?
periklis has joined #nixos
<jophish> Mic92, sorry if I used the wrong terminology: I'd like the compiler to be hosted on Windows and target AVR
<jophish> But I'd like to use nix to build this compiler (on Linux)
<Mic92> jophish: I think I understood you. But still would the resulting binaries not depend have absolute nix store path references?
<Mic92> coreutils is probably used for the cc wrapper, have you tried the unwrapped version?
Ariakenom has joined #nixos
<umbaws> how do i just disable dhcpcd.service without removing it compeletely?
<infinisil> umbaws: systemd.services.dhcpcd.enable = false
<infinisil> Probably
<Mic92> or systemd.services.dhcpcd.wantedBy = lib.mkForce [];
<{^_^}> [nixpkgs] @Mic92 pushed to staging « go_1_11: remove build artifacts »: https://git.io/fpEri
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3559a6430ea (from 22 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<jophish> Mic92, hmm, perhaps.
<jophish> Binutils-unwrapped seems to be building
<Mic92> the windows port of coreutils seems terrible out-dated
<Mic92> but msys2 is probably not a native windows port anymore then.
phreedom has quit [Ping timeout: 256 seconds]
vmandela_ has quit [Remote host closed the connection]
vmandela_ has joined #nixos
crmlt has joined #nixos
<jophish> Well, binutils builds but doesn't run on Windows
<jophish> No error message or anything
<jophish> I might give this one a miss for now
klntsky has joined #nixos
<angerman> jophish: I'm also not very happy with the whole way we build gcc in nix; I think Ericson2314 would prefer a more modular approach as well. However, *please* make this work :-)
vmandela_ has quit [Ping timeout: 268 seconds]
phreedom has joined #nixos
ckauhaus has joined #nixos
vmandela has joined #nixos
pkx3 has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
vmandela has quit [Ping timeout: 276 seconds]
slyfox_ is now known as slyfox
worldofpeace has joined #nixos
<umbaws> Mic92: Thanks it worked with: pkgs.lib.Mkforce [];
phreedom has joined #nixos
mkoenig has quit [Read error: Connection reset by peer]
mkoenig has joined #nixos
EarlDeLaWarr has joined #nixos
day|flip is now known as day|flip-afk
Thra11 has quit [Ping timeout: 268 seconds]
nikal has quit [Quit: Konversation terminated!]
phreedom has quit [Ping timeout: 256 seconds]
johanot has joined #nixos
worldofpeace has quit [Ping timeout: 240 seconds]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon3 is now known as Mateon1
<sphalerite> Anyone here know things about MoreTea's yarn2nix? (presumably MoreTea, but I'd appreciate help from anyone ;)) I'm trying to package loomio, which uses lodash 3.x in its frontend but also has 4.x in its frontend's dependency closure. The output of the mkYarnPackage call has libexec/Loomio/node_modules, which contains everything but lodash 3.x
klntsky has quit [Ping timeout: 256 seconds]
mayhewluke has quit [Ping timeout: 250 seconds]
<sphalerite> however lodash 3.x can be found in libexec/Loomio/deps/Loomio/node_modules (and it's the only thing there)
<sphalerite> Currently I'm working around this by copying libexec/Loomio/node_modules and then libexec/Loomio/deps/Loomio/node_modules on top of that like so https://github.com/mayflower/nixexprs/blob/loomio/pkgs/loomio/default.nix#L48-L54
<sphalerite> but that doesn't feel right. If anyone can explain what the right way is I'd be very grateful :)
goibhniu has joined #nixos
Tucky has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
thc202 has joined #nixos
Nikita has joined #nixos
Nikita is now known as Guest90135
eacameron_ has joined #nixos
etrepum_ has joined #nixos
hydraz has joined #nixos
Tritlo_ has joined #nixos
xvnvx has joined #nixos
bitonic_ has joined #nixos
pent_ has joined #nixos
ivan_ has joined #nixos
Haskellfant has joined #nixos
stew_ has joined #nixos
avn_ has joined #nixos
ckauhaus_ has joined #nixos
sphalerite_ has joined #nixos
nixy- has joined #nixos
umbaws has quit [Ping timeout: 246 seconds]
max3raza_ has joined #nixos
mayhewluke has joined #nixos
ckauhaus has quit [*.net *.split]
rnhmjoj has quit [*.net *.split]
kaychaks[m] has quit [*.net *.split]
roberth has quit [*.net *.split]
clacke[m] has quit [*.net *.split]
andi- has quit [*.net *.split]
johnnyfive has quit [*.net *.split]
max3raza has quit [*.net *.split]
cocreature has quit [*.net *.split]
nikivi has quit [*.net *.split]
nixy has quit [*.net *.split]
coot has quit [*.net *.split]
ivan has quit [*.net *.split]
avn has quit [*.net *.split]
alphabeta has quit [*.net *.split]
eacameron has quit [*.net *.split]
sphalerite has quit [*.net *.split]
mkaito has quit [*.net *.split]
cyris212 has quit [*.net *.split]
pent has quit [*.net *.split]
lewo has quit [*.net *.split]
afics has quit [*.net *.split]
woffs has quit [*.net *.split]
^W has quit [*.net *.split]
philipcristiano has quit [*.net *.split]
jkarni has quit [*.net *.split]
techieAgnostic has quit [*.net *.split]
rawtaz has quit [*.net *.split]
rizary has quit [*.net *.split]
yrashk has quit [*.net *.split]
Tritlo has quit [*.net *.split]
samueldr has quit [*.net *.split]
Peter_Storm_ has quit [*.net *.split]
etrepum has quit [*.net *.split]
bitonic has quit [*.net *.split]
stew has quit [*.net *.split]
tolt has quit [*.net *.split]
Haskellfant is now known as cocreature
Guest90135 is now known as nikivi
Tritlo_ is now known as Tritlo
eacameron_ is now known as eacameron
etrepum_ is now known as etrepum
bitonic_ is now known as bitonic
pent_ is now known as pent
irdr has quit [Remote host closed the connection]
irdr has joined #nixos
samueldr has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 153 commits to staging-next: https://git.io/fpE1T
kaychaks[m] has joined #nixos
roberth has joined #nixos
phreedom has joined #nixos
clacke[m] has joined #nixos
afics has joined #nixos
andi- has joined #nixos
rnhmjoj has joined #nixos
tolt has joined #nixos
<{^_^}> [nixpkgs] @jtojnar closed pull request #50492 → fetchgit: add tag argument → https://git.io/fpnQS
phreedom has quit [Ping timeout: 256 seconds]
Radivarig has joined #nixos
<{^_^}> [nixos-homepage] @domenkozar pushed commit from @ekalosak to master « updated sources of security information; removed a dead key (#252) »: https://git.io/fpEMu
<{^_^}> [nixos-homepage] @domenkozar merged pull request #252 → updated sources of security information; removed a dead key → https://git.io/fpslT
<{^_^}> [nixpkgs] @kamilchm opened pull request #51060 → appimage-run: fix missing libatk-bridge-2.0.so.0 → https://git.io/fpEMo
ThatDocsLady has joined #nixos
<bennofs[m]> do we have a template for new nix expressions for simple packages?
carlosdagos has quit [Quit: Connection closed for inactivity]
__monty__ has joined #nixos
ng0 has joined #nixos
<bennofs[m]> how do I get -lc -static to work in nixpkgs?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpEyK
<bennofs[m]> oh, stdenv.cc.libc.static
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-Cabal: update overrides for the new 2.4.1.x version »: https://git.io/fpEyF
booglewoogle has joined #nixos
klntsky has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #50955 → sqlite-web: init at 0.3.5 → https://git.io/fpR1M
<{^_^}> [nixpkgs] @dotlambda pushed commit from @costrouc to master « sqlite-web: init at 0.3.5 (#50955) »: https://git.io/fpE9L
fusion809 has quit [Ping timeout: 264 seconds]
booglewoogle has quit [Quit: Leaving]
hamishmack has joined #nixos
crmlt has quit [Ping timeout: 250 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
iyzsong has joined #nixos
init_6 has joined #nixos
Radivarig has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @eonpatapon opened pull request #51061 → nixos/kubernetes: allow to disable clusterCidr → https://git.io/fpEQc
<bennofs[m]> how should cross-compiling handle packages that build xxx-config binaries?
phreedom has joined #nixos
day|flip-afk is now known as day|flip
orivej has joined #nixos
v0|d has quit [Remote host closed the connection]
periklis has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #51029 → pythonPackages.manuel: 1.8.0 -> 1.10.1 → https://git.io/fpEId
<{^_^}> [nixpkgs] @dotlambda pushed commit from @marsam to master « pythonPackages.manuel: 1.8.0 -> 1.10.1 (#51029) »: https://git.io/fpE7M
sigmundv has joined #nixos
umbaws has joined #nixos
xvnvx is now known as alphabeta
lnikkila has joined #nixos
klntsky has quit [Ping timeout: 256 seconds]
klntsky has joined #nixos
asymmetric has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51005 → doc: add example usage for breakpointHook → https://git.io/fp05i
<{^_^}> [nixpkgs] @Mic92 pushed to master « doc: add example usage for breakpointHook (#51005) »: https://git.io/fpEdm
acarrico has joined #nixos
<Mic92> bennofs[m]: sometimes you can take binaries from buildPackages.<package>, but xxx-config is indeed not easy to solve.
<Mic92> Those will most likely contain absolute paths. If you are lucky it is just a script.
<bennofs[m]> I think xxx-config should just be compiled for build arch maybe?
<bennofs[m]> Or is this where target becomes relevant?
<Mic92> bennofs[m]: well, than you cannot use this binary on the host target. Also you would need to convince the build system to just build this package for a different architecture.
day|flip has quit [Quit: Leaving]
<Mic92> Target comes into play if you have compilers that compile for certain target architecture.
<Mic92> s/host target/host system/
<Mic92> and I didn't mean package, but binary
<Taneb> I'm looking at the services.openvpn NixOS options
<Taneb> Is there a way to do user and password authentication without storing the password in plaintext on the disk?
<Mic92> the only one-size fits all solution for -config like binaries would be some kind of emulator
<clever> and qemu-user can handle linux ones
<Mic92> Taneb: you can only store the password in an external file, if you want to use openvpn from a service.
<Mic92> otherwise you would need a script
<Taneb> ...yeah, that feels obvious now you've pointed it out to me
<Taneb> Thanks, Mic92
Lisanna has joined #nixos
__Sander__ has joined #nixos
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
woffs has joined #nixos
steshaw has quit [Quit: Connection closed for inactivity]
crmlt has joined #nixos
<__monty__> Mic92: Thanks for fixing up ghcHEAD. When does master usually become available to nix-channel --update?
<srhb> __monty__: The boxes at the top explain channel bumps.
<__monty__> srhb: Thank you.
<Mic92> Can we an official domain for that?
<srhb> __monty__: Currently there are some blocking tests that rely on staging-next to be merged, which is unfortunate. Hopefully it'll be done this week.
otti0815 has joined #nixos
fendor has joined #nixos
betaboon has joined #nixos
benny has quit [Ping timeout: 245 seconds]
iMatejC has quit [Ping timeout: 245 seconds]
iMatejC has joined #nixos
Rusty1 has joined #nixos
ma27 has quit [Ping timeout: 245 seconds]
ma27 has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
init_6 has quit []
<{^_^}> [nixops] @chawki008 opened pull request #1056 → Update old backups → https://git.io/fpue9
acarrico has quit [Ping timeout: 252 seconds]
<fendor> i can not see the store page in steam, is that just the state or am i doing something wrong?
<__monty__> srhb: I think that doesn't affect me since I'm on nixpkgs-unstable. Waiting for a change that happened only 6 hours ago though.
markus1189 has quit [Ping timeout: 272 seconds]
nikka has joined #nixos
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fpuv2
jasongrossman has joined #nixos
<ekleog> \o/ first push, hopefully not breaking too much :D
acarrico has joined #nixos
<{^_^}> [nixpkgs] @Ekleog merged pull request #51040 → rake: 12.0.0 -> 12.3.1 → https://git.io/fpEGB
<srhb> fendor: Sounds wrong.
<fendor> srhb, glad to hear that
<srhb> fendor: Just checked, works fine here.
<fendor> srhb, stable or unstable?
<srhb> fendor: unstable.
klntsky has quit [Ping timeout: 256 seconds]
drakonis1 has joined #nixos
<fendor> srhb, are using the linux-steam-integration?
<srhb> fendor: I don't know what that is, so guessing no. :)
<fendor> srhb, just found it in nix search, looked promising. However, no idea why it does not work, maybe some service that i did not enable?
crmlt has quit [Ping timeout: 268 seconds]
<srhb> fendor: Sounds mysterious. Try regular steam?
<etu> fendor: afaik the biggest problem with that package is that it doesn't build
<clever> semi related, i have a game in steam that fails to launch due to libGL.so not being found
<etu> fendor: lsi (abbrev) is not related to nix, it's just this project: https://github.com/solus-project/linux-steam-integration
<fendor> clever, same, csgo, mb warband do not work, others like dont starve and civ 5 do.
<fendor> etu, ok, then it is probably not helpful
<clever> fendor: happen to know if an issue is already open?
<fendor> clever, i opened one
<etu> I packaged it whenever I wanted to use it, and it seemed to work well at that time. But then I've stopped using it and now it doesn't seem to build. Don't think anyone have changed anything in that package so it must be some dep breaking something.
<fendor> clever, https://github.com/NixOS/nixpkgs/issues/50604, but i think it is acutally a different issue
<{^_^}> #50604 (by fendor, 1 week ago, open): steam: can not start CS:GO
rtjure has joined #nixos
graphene has quit [Remote host closed the connection]
<clever> fendor: https://github.com/NixOS/nixpkgs/issues/31189 explains how it works, but that libGL.so is now mia in the named dirs
<{^_^}> #31189 (by dezgeg, 1 year ago, open): Solve the libGL ABI problem
<etu> And nowadays I don't know how actively maintained LSI is either... So maybe it should just be dropped.
crmlt has joined #nixos
graphene has joined #nixos
ivan_ is now known as ivan
<fendor> Actually, I can not even open the friends tab on nixos
<fendor> *on steam in nios
<ekleog> etu: fyi, delroth is going to try to make PHP-with-intl build work on osx, if it succeeds it'll supersede my PRs :)
<etu> ekleog: Oh, nice.
iyzsong has quit [Ping timeout: 252 seconds]
<etu> ekleog: It's very hard for me to try to do that since I don't have access to any macOS machines... So it's very slow to let ofborg do every single testbuild that it would require...
rtjure has quit [Quit: ZNC 1.6.5 - http://znc.in]
<ekleog> same here :/ (except I don't have access to ofborg's osx builder for the time being)
klntsky has joined #nixos
arjen-jonathan has joined #nixos
fusion809 has joined #nixos
<ottidmes> how can I get nix repl to show me things in depth, getting things like: [ { ... } { ... } { ... } { ... } { ... } { ... } { ... } { ... } ] is useless to me
<sphalerite_> ottidmes: :p
<sphalerite_> ottidmes: see :? for help as it tells you at the beginning ;)
WhittlesJr has quit [Ping timeout: 256 seconds]
<ottidmes> sphalerite_: thanks, I tried man and --help ;) but I got it now, I had to use :p <expr>
<sphalerite_> yep
jperras has joined #nixos
sphalerite_ is now known as sphalerite
<sphalerite> ottidmes: when I wrote ":p" I did mean it as an answer to your question, not an emoticon :p
elgoosy has joined #nixos
markus1189 has joined #nixos
<sphalerite> oh dear. That wasn't even intentional, putting the emoticon there at the end
<etu> haha
<ottidmes> sphalerite: which I of course at the time did not know :p ;)
<ottidmes> sphalerite: do you know of a way to have some file always loaded other than explicitly doing :l on every start?
<sphalerite> ottidmes: nix repl $file
<sphalerite> nix repl --help isn't very obvious about that, I must admit :D
<Taneb> So, it looks like I might be writing myself a Hydra plugin
<Taneb> I want to have a jobset triggered on a schedule
<ottidmes> sphalerite: makes sense, making an alias right now :) so that I finally can copy paste snippets from my config as-is
<Taneb> Which I don't think is currently possible
<srhb> Taneb: I'd sooner just curl the API to do that.
<sphalerite> ^
<srhb> hydra-notify and all the plugin stuff is a world of pain, and adding another plugin to the list will slow down things a lot. :)
<Taneb> I don't know what you mean by that
<srhb> Taneb: Schedule a job that accesses hydra via http to trigger eval.
<Taneb> That feels ugly to me
<Taneb> Somehow more ugly than having to write perl
<gchristensen> scheduled? that is what Check Interval is for, right?
Rovanion has joined #nixos
<srhb> gchristensen: That's more like frequency, but I'm sure it's good enough for many cases.
<srhb> Taneb: The individual plugins in perl are actually mostly fine.
<Taneb> gchristensen: that doesn't give you any guarantee of the time of day, for example
<srhb> Taneb: The problem is with the infrastructure responsible for executing the plugins.
<srhb> Taneb: Speaking of which, I don't think plugins can even do what you want.
<srhb> Taneb: They generally trigger when builds finish.
<gchristensen> Taneb: what are you using it for which depends upon such strict time?
<Taneb> gchristensen: nightly builds which take a lot of (distributed to work machines) compute, which we don't want to run when people are in the office
<gchristensen> oh _cool_
<sphalerite> Taneb: there's nothing ugly about using an API.
<Taneb> sphalerite: there's something ugly about using the web API in an automated manner from the machine serving the API
graphene has quit [Remote host closed the connection]
<sphalerite> I disagree. It allows the fact that it's the same machine to be a mere coincidence :D
graphene has joined #nixos
random_yanek has quit [Ping timeout: 260 seconds]
<Taneb> sphalerite: we have different sense of aesthetic
<Taneb> Actually, now that I think about it, I can see some benefits
crmlt has quit [Ping timeout: 252 seconds]
<Taneb> (I still think it feels ugly)
aKriJcz has joined #nixos
<Taneb> So if I'm going to do it using the API, where I can I find anything approximating documention (as rough as "source code") for the API?
<clever> ,locate libGL.so
<{^_^}> Found in packages: libglvnd, primusLib, libGLU_combined
jabranham has joined #nixos
<clever> fendor: https://gist.github.com/19cd039fee563ba8ed29de870fc3ee3f with this, i was able to get the game to open a window and not crash instantly, but it doenst work, and wont quit either
<fendor> clever, thats a start I suppose
aKriJcz has left #nixos [#nixos]
<clever> libGLU_combined is where libGL came from, so the next phase is injecting that into steam
<clever> 11425 paths = [ libGL libGLU ];
<clever> its just a buildenv over these 2
mkoenig has quit [Ping timeout: 240 seconds]
sir_guy_carleton has joined #nixos
<clever> lspci: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
<clever> fendor: oh, weird, its lspci thats failing, not the game...
mkoenig has joined #nixos
infandum has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49854 → Google Compute Engine image module → https://git.io/fpJl7
<infandum> Two questions: 1. How can I install infocmp? I installed ncurses but the command is still not known. 2. Emacs (with spacemacs) takes up an absurd amount of memory and hangs on exit so I need to kill it. The same configuration is fine on Arch. What could be the issue?
<{^_^}> [nixpkgs] @Mic92 pushed commit from @dingxiangfei2009 to master « google-compute-image: make it a module and the size tuneable (#49854) »: https://git.io/fputv
<{^_^}> [nixpkgs] @dotlambda pushed to master « bittornado: remove »: https://git.io/fputq
<clever> ,locate infocmp
endformationage has joined #nixos
<{^_^}> Found in packages: ncurses6.dev
<clever> infandum: its in the dev package, nix-shell -p ncurses6
<infandum> ncurses is different from ncurses6?
<{^_^}> [nixpkgs] @dotlambda merged pull request #50817 → pythonPackages.pyupdate: init at 0.2.16 → https://git.io/fpWrD
<{^_^}> [nixpkgs] @dotlambda pushed commit from @peterhoeg to master « pythonPackages.pyupdate: init at 0.2.16 (#50817) »: https://git.io/fputW
reinhardt has quit [Quit: Leaving]
<clever> infandum: main difference is just the abiVersion
<clever> it may also work with `nix-shell -p ncurses`
<infandum> I have ncurses installed though
booglewoogle has joined #nixos
<clever> installing it wont give you the .dev output
<clever> only nix-shell gives .dev
booglewoogle has quit [Remote host closed the connection]
<infandum> Can I have the dev in my configuration.nix
<clever> ncurses.dev
<fendor> clever, ok, i found my problem... it was my bad. I had a horrible fix, when maven downloads an in memory mongodb instance, the executable fails because it cant find ld in /lib64. So i symlinked /lib64/ld... to some ld i found somewhere. This made the executable work, but apparently broke steam.
<infandum> Fantastic, thank you! Is there documentation for the .dev notation?
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fputN
nika has joined #nixos
<clever> infandum: the split output stuff in the nixpkgs manual
<clever> fendor: ah, but ive never done messy things like that
<clever> /lib64 just doesnt exist
<{^_^}> [nixpkgs] @Mic92 closed pull request #51028 → buildRustPackage: write cargo config to temporary file instead of source dir → https://git.io/fpEIG
ng0 has quit [Remote host closed the connection]
<fendor> clever, that is correct, it also should not exist :D
<fendor> however, at some point I have to find out, how I could fix that problem with maven. Maybe it is unfixable.
<infandum> Interesting, thanks
ng0 has joined #nixos
<clever> fendor: libredirect is likely your friend
nikka has quit [Ping timeout: 240 seconds]
kreisys has joined #nixos
<fendor> clever i will keep it in the back of my head, thanks! For now, I dont have to use maven
emily has joined #nixos
<clever> fendor: i just noticed that the game is segfaulting (and if a child of strace segfaults, all children die, including steam)
<clever> gdb is of no use though
<clever> 6533 openat(AT_FDCWD, "/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/uevent", O_RDONLY|O_LARGEFILE) = 22
<clever> 6535 read(22, "DRIVER=amdgpu\nPCI_CLASS=30000\nPCI_ID=1002:6658\nPCI_SUBSYS_ID=1458:2274\nPCI_SLOT_NAME=0000:01:00.0\nMODALIAS=pci:v00001002d00006658sv00001458sd00002274bc03sc00i00\n", 4096) = 161
<clever> fendor: aha, if i run the game under steam-run, i get a dialog very similiar to the nix expression in the gist, but now with text!
<clever> its stating that it needs steam to run
* clever shakes fist at DRM
<fendor> clever, gog should make an linux client, that should remove some of the problems at least. I am downlaoding borderlands 2 for a second and try to see if i can reproduce your problem
<clever> one anoying thing, steam wont let me run the windows version under proton
<clever> so i have no way to test that route
graphene has quit [Remote host closed the connection]
<Rovanion> Does anyone have anything interesting on provisioning nixos on bare metal?
<clever> fendor: and now to cheat, i now have a new game, /run/current-system/sw/bin/xterm !
klntsky has quit [Ping timeout: 256 seconds]
<Rovanion> The nixops manual doesn't really have anything on it, or if it does I'd gladly be pointed at it.
graphene has joined #nixos
<gchristensen> Rovanion: can you say more about your use case? I've done this quite a bit in different ways.
<gchristensen> nixops typically assumes nixos is already installed when it gains control, except in a few specific cases where provider-specific hacks are used to "take over" the system with nixos
<fendor> clever, thats smart, so you know that drm is messing it up
<clever> fendor: drm is only making it harder to debug, but is not the root problem
crmlt has joined #nixos
<clever> fendor: if i manually launch the game from an "xterm game" or steam-run, it fails to detect steam and aborts
<clever> fendor: if i properly launch it from steam, it goes fullscreen black window, then exits after a few seconds
<catern> hey #nixos
<catern> how do I configure fonts I've installed with Nix on a non-NixOS distro?
<Rovanion> gchristensen: I'm going to build a cluster starting with perhaps 10 machines but expanding to 100. I'm unsure if any PXE or network boot infrastructure exists at the moment. It will be machines of three or four different types.
rpg has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
<gchristensen> Rovanion: nixos can be netbooted, sure, and there have been a few uses of the netboot infra to do unattended installations
<aminechikhaoui> Mic92 which nixpkgs version is used in travis-ci when running the checks for nixops ? is it unstable ?
<gchristensen> Rovanion: for example, Packet.net uses this repo: http://github.com/grahamc/packet-provision-nixos-ipxe/ for installing NixOS on bare metal, to do a pxe-booted unattended, configurable installation
<Mic92> angerman: yes.
<gchristensen> Rovanion: fora more scaled-down / simpler view, clever here has https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix to do it too. also, if you have questions I am happy to help!
<clever> Rovanion: and here is an example netboot server in nixos, https://github.com/cleverca22/nixos-configs/blob/master/netboot_server.nix
<clever> justdoit is also included in the netboot images
<Rovanion> Eh, what is it justdoit does? I'm reading the wiki page on kexec and intuiting that it consumes a running linux OS and replaces it with nix?
<Mic92> aminechikhaoui: yes
<clever> Rovanion: justdoit is a bash script that will partition, format, and install nixos
<clever> Rovanion: kexec is one of many ways of booting the nixos installer, but you can also use netboot
<fendor> clever, same happens on my machine with the same error, I think
booglewoogle has joined #nixos
<Rovanion> And thanks by the way. Nix seems to me like the "right" approach to providing a homogenous cluster of machines as I look at it today. Right perhaps as opposed to easy.
erasmas has joined #nixos
umbaws has quit [Quit: WeeChat 2.3]
<clever> Rovanion: with the netboot_server above, you can get any machine on the LAN to boot into a nixos installer when it network boots
<{^_^}> [nixpkgs] @dotlambda opened pull request #51063 → postfix: 3.3.1 -> 3.3.2 → https://git.io/fpusv
umbaws has joined #nixos
<clever> then youll likely want a custom util to run on bootup, that talks to a central box ( gchristensen, i'm guessing this is similar to packet.net stuff)
<clever> and that util will confirm its save to wipe the current box, then run justdoit, and report progress, and reboot
<clever> depending on your hardware control (ipmi and stuff) you can then either remotely mess with the boot order to stop network booting
<clever> or you can tweak the netboot_server to force hdd booting, even when it netboots
odi__ has joined #nixos
<clever> and that will manage remotely reinstalling nixos on machines
<clever> then you just need to fill in an ip on a nixops deployment with targetEnv = "none"; and you can deploy to it as normal
<Rovanion> Loose thought: I've used fog before to provision systems over netboot. And that worked quite well. You could schedule for new images to be put on machines, if there were no image scheduled for that machine it would boot to HDD.
<clever> that sounds similar
<{^_^}> [nixpkgs] @globin merged pull request #51061 → nixos/kubernetes: allow to disable clusterCidr → https://git.io/fpEQc
<{^_^}> [nixpkgs] @globin pushed commit from @eonpatapon to master « nixos/kubernetes: allow to disable clusterCidr »: https://git.io/fpuGs
<clever> Rovanion: this part of my netboot_server is creating a file called boot.php (contains no actual php code, was too lazy to rename it)
<clever> Rovanion: but, the ipxe instance still sends the mac addr to it as a url param
<clever> so you could replace that with any server-side scripting you like (php, perl, python, haskell+servant), and do fog like things
<clever> `sanboot --no-describe --drive 0x80` will force ipxe to boot the local hdd
<clever> `chain netboot/netboot.ipxe` would continue the netboot
<clever> on my local network, boot.php is just a dumb switch/case block, that has a different cfg for each mac
nika has quit [Ping timeout: 250 seconds]
basvandijk has joined #nixos
<clever> with a more inteligent script, it could check for schedules like you mentioned above
<basvandijk> Any OS X hackers here that can help me get OpenCV-4.0.0 to build on OS X? https://github.com/NixOS/nixpkgs/pull/51027
<domenkozar> who's against banning coretemp?
<{^_^}> #51027 (by basvandijk, 1 day ago, open): opencv4: init at 4.0.0
<gchristensen> domenkozar: not sure anyone
<domenkozar> I'm getting tired
infandum has quit [Read error: Connection reset by peer]
infandum has joined #nixos
<Rovanion> clever: Yeah, essentially the logic is that of a hashmap of MAC-addr to OS image url. If there was an os image available for the machine with MAC X then download and flash it.
crmlt has quit [Ping timeout: 252 seconds]
<domenkozar> I'm going to give him last warning
<clever> Rovanion: but it could also just netboot into an installer that runs nixos-install, rather then copying an image
<gchristensen> Rovanion: lots of ways to do it :)
<Rovanion> clever: Hmm, interesting. For some reason I thought there was a limit to the size of a netboot image so that it could only be very tiny
<Rovanion> No idea where I got that idea from.
<gchristensen> netboot images can be large, pxe images need to bet tiny because TFTP is so slow, but iPXE allows HTTP and then they can be big :)
<gchristensen> I've done the hashmap-to-os-image before for stateless services, like memcache
<gchristensen> just running in-memory
<Rovanion> Ah, okey. That explains it then. TFTP brings up memories, no way to secure that thing right?
rpg has quit [Ping timeout: 268 seconds]
<clever> Rovanion: i did design not-os to be secure, but it relies on the initial ipxe binary being on the machine somehow
<clever> Rovanion: either in a /boot partition you dont modify, the network card boot rom, or baked into the bios
<gchristensen> Rovanion: tftp is just a bit of a disaster :)
<clever> Rovanion: this build of ipxe has been modified to have a x509 cert baked into it, along with a mini script (the EMBED part), so it wont do the normal netboot stuff automatically
<gchristensen> Rovanion: usually people will netboot by using pxe to load ipxe, then ipxe loads a bigger image
<clever> Rovanion: line 67 locks signing requirements on, so all files it loads from then on must be signed
<andrewrk> can anyone recommend a service to purchase to run nixos-mailserver on? e.g. aws ec2, digital ocean, etc. how much cpu / ram / disk would I need?
<andrewrk> I started setting it up on my home server but local ISP isn't going to let me have the ports I need and won't do the reverse DNS thing
<andrewrk> I'm trying to escape google without going broke
<tilpner> andrewrk - Vultr, Hetzner Cloud, Digital Ocean
<tilpner> I've used NixOS on all of those, and they're listed in order of difficulty
<gchristensen> andrewrk: the problem you're going to have with most of these is IP reputation
<tilpner> (ascending)
<andrewrk> thanks. any suggestions on needed specs to host my own email server? (just for personal use)
<tilpner> Smallest option should be enough, but you probably want an ipv4 address
<Rovanion> clever: Interesting, and you put it in /boot because that's where you can write?
<andrewrk> noted
<tilpner> (Vultrs smallest is ipv6-only)
<andrewrk> thanks tilpner & gchristensen
<tilpner> gchristensen - Isn't it enough to check the ip you get on creation against online blacklists?
vidbina has quit [Ping timeout: 246 seconds]
<clever> Rovanion: my initial plan was to bake it into the motherboard with coreboot, but thats not always an option
<clever> Rovanion: /boot is another trusted way to do it
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #50646 → postgresql_11: 11.0 -> 11.1 → https://git.io/fpcQh
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @r-ryantm to master « postgresql_11: 11.0 -> 11.1 »: https://git.io/fpunG
hyper_ch2 has quit [Quit: Page closed]
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @geistesk closed pull request #46654 → Walabot SDK and module → https://git.io/fAPx7
dbmikus has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.2]
dbmikus has quit [Client Quit]
dbmikus has joined #nixos
<the-kenny> Is anyone else getting this annoying issue where Mouseover-Windows (like these when you hover over something for a second and it shows an explanation) cause rendering artifacts? From time to time one of these windows gets "stuck" on my display and stays as a non-updating rectangle until I find the same parent window and create another mouseover hover window there.
<the-kenny> I *think* it's limited to stuff rendering via Webkit - I mostly notice it in Chrome itself
nika has joined #nixos
vasiliy_san has quit [Quit: Connection closed for inactivity]
<the-kenny> This is on a x260 using intel grapics. They just started appearing a few weeks ago - I can't pinpoint it to a specific NixOS release :/
infandum has quit [Remote host closed the connection]
Ariakenom has quit [Read error: Connection reset by peer]
nikka has joined #nixos
nika has quit [Ping timeout: 240 seconds]
<ottidmes> the-kenny: I too have experienced that, but haven't in quite some time, which probably has to do with me now using bspwm without a compositor (rather than gnome 3)
<ottidmes> the-kenny: but I have had that for years, not recently, and only the getting stuck part
jmeredith has joined #nixos
<andrewrk> I just booted up a nixos instance on vultr. how do I know whether it uses uefi or legacy boot?
basvandijk has quit [Remote host closed the connection]
<{^_^}> [cabal2nix] @peti merged pull request #390 → Translate SPDX license expressions → https://git.io/fpEEi
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fpult
<andrewrk> I guess i can just try it both ways and see which one works
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpulY
johanot has quit [Quit: WeeChat 2.2]
Tucky has quit [Quit: WeeChat 2.2]
shabius has quit [Remote host closed the connection]
shabius has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
arjen-jonathan has quit [Ping timeout: 244 seconds]
<Lisanna> I have a fairly interesting predicament with enableParallelBuilding and runInLinuxVM - if I'm building a derivation in a linux VM, if I'm on a massively multicore system, the build can fail if I don't give it a ton of memory (with the memSize attribute). The amount of memory required varies depending on the number of cores.
<Lisanna> is there a reasonably safe way to use enableParralelBuilding in the linux vm?
<Lisanna> seems like there should be a memPerCore setting for runInLinuxVM
nikka has quit [Ping timeout: 250 seconds]
shabius has quit [Remote host closed the connection]
shabius has joined #nixos
graphene has quit [Remote host closed the connection]
__Sander__ has quit [Quit: Konversation terminated!]
<clever> Lisanna: you could use preStart to mutate some params...
graphene has joined #nixos
<clever> Lisanna: memSize lands in $QEMU_OPTS, and you could then mess with that in the preStart script which has access to $NIX_BUILD_CORES
<clever> preVM = ''export QEMU_OPTS="$QEMU_OPTS -m $(($NIX_BUILD_CORES * 128))"''; for e
<clever> x
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<Lisanna> clever yeah, will have to check if qemu handles multiple -m args ok
<clever> Lisanna: or sed to change the existing flag
nikka has joined #nixos
<{^_^}> [nixpkgs] @NickHu opened pull request #51064 → quantomatic: init at 0.7 → https://git.io/fpuBA
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fpuRW
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpuR1
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1056 → Update old backups → https://git.io/fpue9
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fpuRD
nika has joined #nixos
nikka has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @bbigras opened pull request #51065 → nixos/sway-beta: pass arguments from wrapper to sway → https://git.io/fpuR7
shabius_ has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to master « fromCabal: use isFreeLicense helper function to determine hydraPlatforms »: https://git.io/fpu0f
shabius has quit [Ping timeout: 252 seconds]
dsx has quit [Quit: dsx]
dsx has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to master « Bump version number for release. »: https://git.io/fpu0y
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/v2.12: https://git.io/fpu0S
dbmikus has quit [Read error: Connection reset by peer]
<Lisanna> clever damn... won't work since vmTools.runInLinuxImage doesn't respect the derivation's preVM attr
elgoosy has quit [Remote host closed the connection]
dbmikus_ has joined #nixos
<Lisanna> but, that seems like the correct long-term solution
nikka has joined #nixos
<clever> Lisanna: you could also patch runInLinuxVM to support a mem-per-core
elgoosy has joined #nixos
nika has quit [Ping timeout: 250 seconds]
nika has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #51066 → valgrind: disable parallel building on Darwin → https://git.io/fpuEr
crmlt has joined #nixos
rpg has joined #nixos
nikka has quit [Ping timeout: 252 seconds]
shabius_ has quit [Quit: Leaving]
shabius has joined #nixos
<catern> is there a way to recover the configuration.nix file used in some old NixOS system build?
<tilpner> Not by default
<clever> catern: not really, but you can use nix-diff to compare the resulting build, and then incrementally guess whats missing and recreate it
crmlt has quit [Ping timeout: 268 seconds]
nikka has joined #nixos
nika has quit [Ping timeout: 250 seconds]
jtojnar has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<catern> tilpner: is there a not-by-default way to do it?
<samueldr> `system.copySystemConfiguration
<samueldr> https://nixos.org/nixos/options.html#system.copysystemconfiguration
<samueldr> do note the caveats
<aminechikhaoui> Hey, I have a c++ codebase where we used to build with nixpkgs 17.09, while I was trying to update to 18.03 or later I noticed that the build now fails with undefined reference to a method from libgcc
<aminechikhaoui> comparing the output of NIX_DEBUG=1 make between 17.09 and 18.03, I see that the difference is one is automatically adding -lgcc and lgcc_s while invoking ld while the other (failing one) only adds -lgcc_s
<samueldr> >> Note that only this single file is copied, even if it imports others
<aminechikhaoui> any idea what can be the reason of that ^ ?
<aminechikhaoui> adding -lgcc explicitly to the flags works but that doesn't sound like the right fix
nika has joined #nixos
cyounkins has joined #nixos
nikka has quit [Ping timeout: 268 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
Lisanna has quit [Quit: Lisanna]
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vdemeester opened pull request #51067 → traefik: 1.7.1 -> 1.7.4 → https://git.io/fpuzH
graphene has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
mmlb has joined #nixos
<delroth> fyi if you didn't see the nodejs lol of the day: https://github.com/dominictarr/event-stream/issues/116 looks like nix is only depending on 0.1.2 of the flatmap-stream package, 0.1.1 is the backdoored version
<{^_^}> dominictarr/event-stream#116 (by FallingSnow, 5 days ago, open): I don't know what to say.
<delroth> it would be nice to have someone double-check, but it doesn't seem like nixpks currently references the backdoored package. now the real question is did it ever reference it...
<{^_^}> [nixpkgs] @vdemeester opened pull request #51068 → gauge: 1.0.2 -> 1.0.3 → https://git.io/fpugl
Radivarig has joined #nixos
<{^_^}> [nixpkgs] @vdemeester opened pull request #51069 → kustomize: 1.0.9 -> 1.0.10 → https://git.io/fpugw
nikka has joined #nixos
<sphalerite> fun fact: nix will exhibit some very interesting behaviour on binary caches which contain a path but not all its dependencies.
nika has quit [Ping timeout: 252 seconds]
<gchristensen> I think that is supposed to be an invariant that a cache has all its deps
<{^_^}> [nixpkgs] @vdemeester opened pull request #51070 → kube-prompt: 1.0.4 -> 1.0.5 → https://git.io/fpug5
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<delroth> looks like a9efcc85cbfc0a8ebf5ab8dbfa914e9447018923..03bcca7a457e60bbfd80272347a2a85ff821b832 had the backdoored flatmap-stream package in nixpkgs.
xelxebar has joined #nixos
worldofpeace has joined #nixos
<delroth> the other way around: 03bcca7a457e60bbfd80272347a2a85ff821b832..a9efcc85cbfc0a8ebf5ab8dbfa914e9447018923
dbmikus_ has quit [Ping timeout: 245 seconds]
<sphalerite> gchristensen: it could at least complain rather than busy-looping if that invariant is violated :D
<sphalerite> or crash
<gchristensen> yikes
Thra11 has joined #nixos
philipcristiano has joined #nixos
<avn_> sphalerite: another fun fact btw, if cache unavailable (dns not resolving for example), it won't build package locally (assuming that all prerequisites are in local storage)
avn_ is now known as avn
worldofpeace has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli merged pull request #50962 → gitlab: 11.4.4 -> 11.5.0 → https://git.io/fpRN2
<{^_^}> [nixpkgs] @flokli pushed 13 commits to master: https://git.io/fpu2o
<sphalerite> avn: that seems sensible by default
<sphalerite> avn: and can be disabled by passing --fallback or globally by putting `fallback = true` in nix.conf
dbmikus_ has joined #nixos
Ariakenom has joined #nixos
sanscoeur has joined #nixos
<avn> sphalerite: make sense. probably default changed on nix 2.x transition (I upgrading my setup 17.09 -> 18.09)
nika has joined #nixos
<tilpner> catern - For future generations: system.extraSystemBuilderCmds = "mkdir -p $out/cfg; ln -sv ${./.} $out/cfg/nixos";
<tilpner> catern - Assumes you only import things in ., not upwards
nikka has quit [Ping timeout: 244 seconds]
mmlb has quit [Read error: Connection reset by peer]
daveo has joined #nixos
<daveo> hello. I am trying to install nixos on some Raspberry Pi Zero W's. Anyone able to help?
mmlb has joined #nixos
<samueldr> hi, the most up-to-date documentation for NixOS on ARM is here https://nixos.wiki/wiki/NixOS_on_ARM
<samueldr> with this page for the raspberry pi family of hardware https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi
<daveo> trying it out
v0|d has joined #nixos
<asymmetric> what's shell.nix used for? how is it different from default.nix?
<samueldr> >> nix-shell defaults to shell.nix if it exists, and default.nix otherwise.
<samueldr> from `man nix-shell`
<samueldr> it's mostly a convenience to allow projects to ship both a default.nix for building, and a shell.nix for more shelly things (AFAIK)
<asymmetric> thx!
random_yanek has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #51072 → [18.09] Gitlab 11.5.0 18.09 → https://git.io/fpuVo
<asymmetric> any idea why this simple expression doesn't work? https://gist.github.com/asymmetric/ebbb6b2f8498ae12f8edae24579f78e7
<daveo> anybody know anything about cgroups?
<asymmetric> i'm basically trying to write an expression where nixpkgs is taken from master
<asymmetric> gchristensen: it still complains about "attribute 'pkgs' missing"
orivej has joined #nixos
<gchristensen> oh delete .pkgs
sigmundv has quit [Ping timeout: 250 seconds]
<asymmetric> attribute 'haskell' missing
<asymmetric> i'm following the snippet at https://nixos.org/nixpkgs/manual/#how-to-build-a-stand-alone-project btw
<gchristensen> ykes
<gchristensen> seems it is called haskellPackages
<{^_^}> [nixpkgs] @flokli merged pull request #51015 → wal-g: 0.1.12 -> 0.2.0 → https://git.io/fp0pD
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fpuVb
<asymmetric> gchristensen: tried `nixpkgs.haskellPackages` but it still doesn't work https://gist.github.com/asymmetric/ebbb6b2f8498ae12f8edae24579f78e7
<gchristensen> I dunno, sorry
johnnyfive has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #50986 → dovecot: 2.3.3 -> 2.3.4, dovecot_pigeonhole: 0.5.3 -> 0.5.4 → https://git.io/fp0aP
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fpuwO
<srhb> asymmetric: It's haskell.packages."${compiler}".callPackage iirc
<gchristensen> srhb++
<{^_^}> srhb's karma got increased to 25
<srhb> haskellPackages is haskell.packages.${ourstablecompiler}
random_yanek has quit [Ping timeout: 250 seconds]
daveo has left #nixos [#nixos]
<asymmetric> attribute 'haskell' missing
Radivarig has quit [Ping timeout: 240 seconds]
<srhb> asymmetric: You didn't actuall call your nixpkgs, did you?
<clever> yeah, thats the issue, the nixpkgs value on line 2 is just the path to it
<clever> you need to pkgs = import nixpkgs { config = {}; };
<asymmetric> cannot coerce a function to a string
<yl[m]> has there been any attempt to add a service for iscsid?
<clever> yl[m]: ive got one for openiscsi
<yl[m]> clever: I had to do something similar (forgot the modprobe though, thx for that.
<yl[m]> does it make sense to port this work to NixOS?
<srhb> asymmetric: https://gist.github.com/df899409df6759fa3b512b341e4683e3 -- you could also clean it up somewhta with builtins.fetchTarball
<clever> yl[m]: this is an old module for iscsi root as well
<yl[m]> I saw that as well (found a Gist of yours about 3 years ago :))
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
<asymmetric> srhb: that works! <3
<asymmetric> so basically `import nixpkgs` always needs a `config` attribute?
<gchristensen> you don't need to pass config = {}
<gchristensen> you do need to pass an attrset, even an empty one
<yl[m]> clever: does it make sense to port this work to NixOS? I'm thinking of a service similar to yours but also a serivce allowing discovery and opening sessions
<srhb> asymmetric: You weren't calling it before at all (the {} at the end)
<clever> yl[m]: yeah, that is something that should be in nixpkgs itself
<srhb> asymmetric: config = {} just prevents some of your config leaking into your expressions.
<clever> yl[m]: the "new" dhcp in the initrd stuff makes it a lot simpler as well
<asymmetric> but when i did the double import i was calling it, right?
<yl[m]> clever: cool, I'll put it onmy todo
<srhb> asymmetric: Nope
<asymmetric> fetchFromGitHub was returning an attrset, and i was importing it - no?
<srhb> asymmetric: Yes :)
<srhb> asymmetric: Which gives you a function bound to the name nixpkgs
<srhb> asymmetric: Which you never call.
rpg has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
<srhb> asymmetric: fetchFromGitHub gives you a path, really.
<srhb> asymmetric: (But that's not the issue)
mmlb has joined #nixos
<yl[m]> clever: I'm going to focus on simply getting devices available. I don't have an environment to test out the initrd so I'd leave that part to you
<srhb> asymmetric: If line 11 read `(nixpkgs {}).haskell.packages...` it'd work, to illustrate.
<cyounkins> "pkgs/development/haskell-modules/hackage-packages.nix:/* hackage-packages.nix is an auto-generated file -- DO NOT EDIT! */" -- so uh what auto-generates it?
<srhb> cyounkins: hackage2nix, part of cabal2nix
random_yanek has joined #nixos
<asymmetric> right, makes sense
<clever> yl[m]: you could do something as simple as adding a /data fs, that is iscsi mounted, on a normal nixos install
ng0 has quit [Quit: Alexa, when is the end of world?]
<cyounkins> srhb: Ah! Thank you.
<clever> yl[m]: and the module i linked will try to mount /data during the initrd
<yl[m]> clever: that's true
<clever> yl[m]: i had originally written that module to netboot my rpi's
<yl[m]> clever: while I have you here, my server has 4 LAN that I setup with VLANs and I bound my SSH server to one of the VLANs but sshd fails to start on every boot because the interface is not ready yet (has not received it's IP yet) so I have to everytime login with serial console to manually restart sshd https://github.com/kalbasit/shabka/blob/ae9c8982316b7c49260cf3630994b2fa94aeade2/hosts/zeus/configuration.nix#L148-L149
<clever> yl[m]: and later used it to netboot a laptop with basically zero changes to it
<yl[m]> oh nice!
<{^_^}> [nixpkgs] @veprbl merged pull request #49194 → kubicorn: init at 4c7f3623 → https://git.io/fx90K
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fpurH
<yl[m]> not sure how to go about fixing this issue
<clever> yl[m]: i think you want to make sshd depend on the right -address service
ng0 has joined #nixos
freeman42x]NixOS has joined #nixos
<clever> yl[m]: network-addresses-vboxnet0.service for ex
<yl[m]> oh I see, network-addresses-ifcadmin.service in my example
<yl[m]> let me try that
<asymmetric> (yes it's fugly)
<asymmetric> or can i not call a function in an attrset?
<srhb> asymmetric: Needs more parents around the fetched source
<srhb> Or, hm..
<srhb> asymmetric: (import ...) {}
odi__ has quit [Quit: Leaving]
<srhb> asymmetric: This is the sort of thing that's easier to parse with less fugly :-P
<asymmetric> ah ok, got it to work by adding some parens :)
<srhb> asymmetric: The inner src is indeed the problem. import (...) {}
<srhb> Yeah
<{^_^}> [nixpkgs] @erikarvstedt opened pull request #51073 → Minor doc fixes → https://git.io/fpuo0
equivrel has joined #nixos
<asymmetric> the outer ones are not necessary
arianvp has quit [Quit: WeeChat 2.2]
arianvp has joined #nixos
<cyounkins> Was trying to fix https://github.com/NixOS/nixpkgs/issues/50325 but it seems there is no provision in hackage2nix to add arguments to `cabal configure` for a specific package?
<{^_^}> #50325 (by schmittlauch, 1 week ago, open): pandoc: manpages missing
<srhb> cyounkins: We do that in overrides or by changing cabal2nix itself.
<srhb> cyounkins: see configuration-common.nix for example
<srhb> cyounkins: or grep for appendConfigureFlag in the same directory
<cyounkins> srhb: Thank you! I'll see what I can do.
odi_ has quit [Remote host closed the connection]
odi has quit [Remote host closed the connection]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> cyounkins: (For some context: cabal2nix itself contains a bunch of logic for determining what flags to use based on the cabal file. So there's several avenues: Quickfixes are in the overrides in that directory. configuration-foo.nix. Missing information in the cabal file should go to the upstream package author. If the cabal file is correct AND we generate a wrong nix expression, fixes go to cabal2nix)
<srhb> More or less.
<cyounkins> I understand somewhat. I'm a newbie in haskell. Maybe there's a place in documentation to describe that?
perique has joined #nixos
<srhb> cyounkins: The user's guide to the haskell infrastructure in the nixpkgs manual *should* contain this but does not. Contributions very welcome. :-)
<yl[m]> clever: unfortunately it did not work, I'm still seeing the same error https://gist.github.com/kalbasit/c6250b2fca5a74f0e88b27ffc35ea009
<yl[m]> maybe I need to `sleep xx` in a PreStart?
<clever> yl[m]: systemd is also weird with its wants vs after vs needs stuff
<clever> yl[m]: fpletz should know more on this area
<yl[m]> clever: fpletz: Here's the change I just tested https://github.com/kalbasit/shabka/commit/3abb02591d2d33c44e51b168699f6a94baacf38b
fusion809 has quit [Remote host closed the connection]
<yl[m]> I used `after` and `requires`
<clever> yl[m]: and is the case right in the ssh.service ?
<yl[m]> sshd service yea
<yl[m]> it seems to me that the `services.openssh.listenAddresses` is useless without making sure the address exists
<yl[m]> I don't see a one fix to fit all for it though nixpkgs-side
<clever> yl[m]: oh, you can also mess with the restart rules, to make systemd keep trying
<yl[m]> that's true. I can make it a Restart=Always
<yl[m]> let me try that
xelxebar has quit [Ping timeout: 244 seconds]
rpg has joined #nixos
<yl[m]> clever: it's actually already is `Restart=always`
arjen-jonathan has joined #nixos
<clever> yl[m]: does the journal show signs of it restarting? and your not waiting RestartSec?
<clever> Configures the time to sleep before restarting a service (as configured with Restart=). Takes a unit-less value in seconds, or a time span value such as "5min 20s". Defaults to 100ms.
<yl[m]> let me try to set a higher RestartSec
nika has quit [Ping timeout: 245 seconds]
nika has joined #nixos
<{^_^}> [nixpkgs] @Tomahna opened pull request #51074 → mopidy-iris: 3.31.1 -> 3.31.2 → https://git.io/fpu61
<{^_^}> [nixpkgs] @kalbasit merged pull request #42543 → init targetcli and dependencies for lio iscsi target management → https://git.io/f49Jy
<{^_^}> [nixpkgs] @kalbasit pushed 3 commits to master: https://git.io/fpu6p
nika has quit [Ping timeout: 240 seconds]
nika has joined #nixos
worldofpeace has joined #nixos
booglewoogle has quit [Remote host closed the connection]
rpg has quit [Ping timeout: 246 seconds]
arjen-jonathan has quit [Ping timeout: 268 seconds]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
nikka has joined #nixos
nika has quit [Ping timeout: 246 seconds]
<{^_^}> dominictarr/event-stream#116 (by FallingSnow, 5 days ago, open): I don't know what to say.
<{^_^}> [nixpkgs] @benley merged pull request #49668 → stern: Include bash & zsh completion support → https://git.io/fxpbY
<{^_^}> [nixpkgs] @benley pushed to master « stern: Include bash & zsh completion support (#49668) »: https://git.io/fpuXB
<ottidmes> hyper_ch: it has been talked about in #nixos-chat
<hyper_ch> ottidmes: ah.... :)
civodul has joined #nixos
nika has joined #nixos
<yl[m]> clever: the RestartSec worked well. Thx!
<clever> yep
v0|d has quit [Ping timeout: 252 seconds]
nikka has quit [Ping timeout: 268 seconds]
bbarker has joined #nixos
<bbarker> Trying out nixos containers, and I'm not sure what I'm doing wrong regarding logging into the container. The manual suggests I should be able to login using a system user. After I get passed the first auth phase, using "nixos-container login foo" I then get a login prompt for the foo container.
<bbarker> I can't login using the same user, nor can I login as a different user that is declaratively specified in the container's configuration using hashedPassword (of course, it is possible I screwed that up somehow).
fusion809 has joined #nixos
<clever> bbarker: there is a nixos-container root-login command
<bbarker> clever, that works, looks like hashedPassowrd didn't have an effect - the password in /etc/shadow for the container user is still empty
<bbarker> (note this user exists only in the container)
<clever> bbarker: hashedPassword i think is only when mutable users is false
<bbarker> ahh
<clever> if mutable users is true, then you want initialHashedPassword
<clever> and even then, it only takes effect when first creating the user
<bbarker> so "nixos-rebuild switch" on the host won't update it?
<clever> correct
<clever> also, nixos-rebuild siwtch has a nasty habbit of not updating nixos containers
<bbarker> oh :(
<clever> you have to restart contains@name.service
<bbarker> I guess as a workaround I can just "nixos-container destroy foo" before each "nixos-rebuild switch"
<bbarker> planning to switch to mutableUsers=false anyway
<gchristensen> make sure you either have a root password set, or sudo enabled for your user :)
fusion809 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
asymmetric has quit [Ping timeout: 250 seconds]
<bbarker> gchristensen - I have sudo enabled for my host user (otherwise I wouldn't be able to do most of this I gather), or did you mean for some other reason?
<gchristensen> it is possible to lock yourself out by not having those setin the nixos config and then enabling mtable users
<bbarker> I didn't want there to be any root access within the container, unless someone on the host users root-login, but I guess then they already have root/sudo on the host
<bbarker> oh yeah, I already did this! luckily 1) this is a VM and 2) I backed up the configuraiton.nix
umbaws has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @benley opened pull request #51075 → stern: build shell completion scripts even when cross-compiling → https://git.io/fpu17
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
umbaws has joined #nixos
umbaws has quit [Client Quit]
orivej has quit [Ping timeout: 250 seconds]
v0|d has joined #nixos
umbaws has joined #nixos
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @arianvp opened pull request #51077 → nixos/nspawn: Fix small typo → https://git.io/fpuMc
<dmj`> I have a custom nix expression for building a python package, it fails to build because it's trying to download something from pypi and cannot
klntsky has joined #nixos
<ottidmes> I am curious, I just read somewhere someone stating that NixOS does not have that many packages available, that might have been the case, but is that really still the case right now? The only packages that I had to package lately were so obscure they weren't available in AUR (Arch Linux) either
<dmj`> specifically the "expects" package, which upon further inspection shows that its fetched for all python packages, iiuc
umbaws has quit [Quit: WeeChat 2.3]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/206a1c00bae (from 5 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<hodapp> ottidmes: it's rare for me to need to make my own derivation
<lunik1> ottidmes: in my experience nixos has better coverage of the packages I use than most distros
<hodapp> I run into missing Python packages here and there, and obscure stuff mostly... depends though
<lunik1> I run mergerfs and snapraid, nixos was one of the few distros packaging both which is part of the reason I was drawn to it
<hodapp> huh, I know what neither of those are >_>
<ottidmes> hodapp: yeah, some programming languages support could be improved, but other distro's package managers do not even attempt this or have clear limitations
<srl295> hi, how do I best debug `networking.localCommands` ? should `nixos-rebuild switch` call them and can i then see the results?
<ottidmes> srl295: systemctl status network-local-commands.service should give you the location of the script containing the commands
Izorkin has quit [Ping timeout: 268 seconds]
<clever> srl295: journalctl -u network-local-commands.serice
<clever> and nixos-rebuild should run it at every switch
fendor has quit [Remote host closed the connection]
<hodapp> ottidmes: the programming language support is a lot of why I switched in the first place
<hodapp> I was doing contract work for which I had a lot of really ugly development environments with libraries that just refused to play nice together
<clever> nix is perfect for that
fendor has joined #nixos
<srl295> clever: ottidmes : i was trying those but didn't have quite the right thing. Hmm! Looks like those may not be called by switch… i did `systemctl restart network-local-commands.service` and got an err, now i can debug that. maybe the `test` failed
umbaws has joined #nixos
<clever> srl295: oh
<clever> srl295: its set to oneshot and remain after exit
<clever> so systemd may not think it needs to restart
<srl295> hm
<ottidmes> hodapp: the main thing for me going to NixOS is that the effort you put into configuring your system is made concrete (it results in an actual artifact)
<srl295> clever: nixos bug?
<{^_^}> [nixpkgs] @costrouc opened pull request #51080 → pythonPackages.uarray: init at 0.4 → https://git.io/fpuDH
<hodapp> ottidmes: that was a big part of it for me, not so much from the entire-system standpoint but for the fact that the fugly development environment I had just set up was described deterministically and declaratively in some shell.nix/default.nix and I could reproduce it on (for instance) my laptop quickly, and upgrades were greatly simplified
umbaws has quit [Client Quit]
umbaws has joined #nixos
<srl295> clever: anyway, i'm trying to set an IP address and default route onto a bridge device, i should perhaps be using `networking.interfaces.<name?>.ipv4.addresses` instead anyway
<srl295> ^ Hmm `ifconfig: command not found` in networking.localCommands
Akii has joined #nixos
umbaws has quit [Client Quit]
crmlt has joined #nixos
umbaws has joined #nixos
<srl295> clever: needed the full path `/run/current-system-sw/bin/ifconfig` in `networking.localCommands` - is that expected?
drk_lrd_877_ has quit [Remote host closed the connection]
<ottidmes> hodapp: in a way you are growing your own specialized distro with NixOS, allowing you to incorporating all the tricks and tweaks your gathered over time, and allowing you to easily share it across your machines
<clever> srl295: you need to add ifconfig to systemd.services.network-local-commands.path
<clever> systemd.services.network-local-commands.path = [ pkgs.inetutils ];
<srl295> ottidmes: hodapp i like the repeatability of nixos.
<srl295> ^ aha even better thx clever
umbaws has quit [Client Quit]
umbaws has joined #nixos
<ottidmes> srl295: A while I was installing a server, managed to screw up the encryption after being done setting it all up correctly, those are the moments that the reproducability of NixOS really shines...
<Thra11> If I have a local default.nix which imports nixpkgs and defines a new package, 'foo', can I run something to cross-compile that package, similar to how I could run 'nix build pkgsCross.armv7l-hf-multiplatform.foo' if the package was in nixpkgs?
danielrf has joined #nixos
xantoz has joined #nixos
perique has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bbarker> One thing I don't get about "nixos-container login" -why is it necessary to authenticate if you are already logged in as a user that is in the wheel group?
<bbarker> As far as I can see, this forces users that authenticate with ssh keys and don't have a password set to use "sudo nixos-container root-login foo" instead
<etu> clever: Do you have any experience with grub and encrypted lvm with /boot inside? My friend xantoz is new to NixOS and wants this and might need some pointers. I don't have any experience with that scheme of partitioning.
<xantoz> minus the key file
<xantoz> it somehow chokes on grub-install
<arianvp> is it possible in NixOS to instantiate a template systemd unit?
<arianvp> basically I want to do
<xantoz> "error: disk 'lvmid/<volume-groupens-UUID>/<lv:ns UUID>' not found"
<arianvp> systemd.services."foo@bar" = {}; to use the ExecStart from the Template unit
<xantoz> "error: disk 'lvmid/<UUID of the VG>/<UUID of the LV>' not found"
klntsky has quit [Ping timeout: 256 seconds]
<clever> etu: i just have a plaintext /boot and an encrypted lvm, and then everything else lives in lvm
umbaws has quit [Quit: WeeChat 2.3]
crmlt has quit [Ping timeout: 250 seconds]
<__monty__> Is there a way to find out whether a certain commit is in nixpkgs-unstable or not? Maybe even when it will likely be?
<arianvp> __monty__: yes
<arianvp> github.com/nixos/nixpkgs-channels
<arianvp> this is the git repository containing all commits for each channel
<arianvp> there's a branch per channel
<{^_^}> [nixpkgs] @bennofs opened pull request #51081 → nbench: init at 2.2.3 → https://git.io/fpu9W
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> xantoz: if you want more help, maybe show what you have configured so far? I have the same setup as clever (unencrypted /boot, encrypted LVM for the rest), just from your error, the disk you specify seems strange to me
<xantoz> ottidmes: I'm going for unencrypted EFI partition, encrypted everything else
sanscoeur has quit []
<bennofs[m]> is "squash and merge" ok for single-commit PRs?
<ottidmes> xantoz: I gathered that from the gist you linked, but can you show us your configuration.nix so far, that might help in solving your issue
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @srhb opened pull request #51082 → valgrind: Disable parallel building → https://git.io/fpuHG
<{^_^}> [nixpkgs] @bennofs merged pull request #51077 → nixos/nspawn: Fix small typo → https://git.io/fpuMc
<{^_^}> [nixpkgs] @bennofs pushed commit from @arianvp to master « nixos/nspawn: Fix small typo (#51077) »: https://git.io/fpuHc
<bennofs[m]> what happened to ZHF for 18.09?
<hyper_ch> what's zhf?
<Thra11> hyper_ch: Zero Hydra Failures I believe
<hyper_ch> :)
fusion809 has joined #nixos
<fusion809> As soon as I started this fine distro for the first time I noticed what appears to be a bug, https://imgur.com/S0fxaN5.png.
vk3wtf has quit [Ping timeout: 264 seconds]
<fusion809> Is it one that is known or is it one I should report? Or is it not a bug at all, just a funky config?
Radivarig has joined #nixos
<xantoz> ottidmes: I've tried a few variations
<bennofs[m]> fusion809: what exactly is the bug there? looks like a semi-transparent terminal window above the launcher?
<xantoz> ottidmes: oh. also I do not have any special partition for /boot, it's on the root-partition
<bennofs[m]> oh you mean the window titles in the taskbar?
<fusion809> Look at the panel, see the letters not shown?
<fusion809> Yeah
<bennofs[m]> yeah looks like a bug to me. my first guess would be something fontconfig releated
<fusion809> I haven't touched the configs from the default, aside from what is in my /etc/nixos/*.nix files, but nothing in there should explain this.
<fusion809> Oh well, time to go issue searchin' and if I find one, I'll make one.
<fusion809> if I don't find one^
<{^_^}> [nixpkgs] @bennofs merged pull request #51081 → nbench: init at 2.2.3 → https://git.io/fpu9W
<{^_^}> [nixpkgs] @bennofs pushed to master « nbench: init at 2.2.3 (#51081) »: https://git.io/fpuQ8
<{^_^}> [nixpkgs] @yurrriq closed pull request #40785 → lfe: 1.2.1 -> 1.3 → https://git.io/vphq0
<{^_^}> [nixpkgs] @yurrriq opened pull request #51083 → kubetail: install completions → https://git.io/fpuQa
graphene has quit [Remote host closed the connection]
<ottidmes> xantoz: you have mounted this properly on the installer as well? Did you create /boot on the root subvol? and is that @ syntax correct, never used it myself with btrfs
<xantoz> yes
<xantoz> ottidmes: the @ isn't syntax, it's literal
<xantoz> part of the subvol name
<xantoz> it's a common scheme for btrfs subvol:s on some other distros
graphene has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #51084 → pythonPackages.rpi2: various fixes → https://git.io/fpuQF
<{^_^}> [nixpkgs] @erikarvstedt opened pull request #51085 → containers: simplify env var definition → https://git.io/fpu7v
<xantoz> ottidmes: Some commands to further illustrate the layout: https://0x0.st/s0Jn.txt
<ottidmes> xantoz: I am sorry, that was all I got after checking your configs, I have no experience with encrypted grub myself, which is where seems to be the problem
<{^_^}> [nixpkgs] @alexeymuranov opened pull request #51086 → cups-toshiba-estudio: fix homepage → https://git.io/fpu7W
<xantoz> ottidmes: yeah...
<{^_^}> [nixpkgs] @alyssais closed pull request #51066 → valgrind: disable parallel building on Darwin → https://git.io/fpuEr
<xantoz> I've managed to get it working on Gentoo (BIOS boot, even), as well as with OpenSUSE Tumbleweed (the installer set up everything for me)
<xantoz> I do remember having to fight a bit with grub-install to get it working on Gentoo, though
<ottidmes> xantoz: one thing I noticed is that lsblk returns "nazrin--vg-swap" why the extra "-" there I wonder
hamishmack has joined #nixos
<ottidmes> xantoz: more importantly: /mnt/mnt/btrfs
<ottidmes> xantoz: or did you make a mnt folder inside the mounted @ subvol at /mnt? I see /home being reported for me (which is just one of the mount points)
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @Luz opened pull request #51087 → librepcb: 20181031 -> 0.1.0 → https://git.io/fpu5n
leotaku has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 250 seconds]
cyounkin_ has joined #nixos
cyounkins has quit [Ping timeout: 268 seconds]
fusion809 has quit [Quit: Konversation terminated!]
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
steshaw has joined #nixos
<{^_^}> [nixpkgs] @bachp opened pull request #51089 → gitlab-runner: 11.4.0 -> 11.5.0 → https://git.io/fpuFl
mmlb has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #50951 → pythonPackages.affine: init at 2.2.1 → https://git.io/fpR6M
<{^_^}> [nixpkgs] @dotlambda pushed 8 commits to master: https://git.io/fpubT
vidbina has joined #nixos
<xantoz> ottidmes: the double -- is standard for when your VG contains a dash
<xantoz> think of it is an escaped -
<xantoz> /mnt/mnt/btrfs is for subvolid=5
<xantoz> or well, just /mnt/btrfs
<xantoz> it's a mountpoint for the root subvolume
<xantoz> so I can see all subvolumes easily
<xantoz> although it's not a strictly neccessary mount
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #51068 → gauge: 1.0.2 -> 1.0.3 → https://git.io/fpugl
<{^_^}> [nixpkgs] @timokau pushed commit from @vdemeester to master « gauge: 1.0.2 -> 1.0.3 (#51068) »: https://git.io/fpubp
alex`` has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
qyliss_ has joined #nixos
<ottidmes> xantoz: its probably the encrypted grub that somehow does not work well with UEFI, at least the way it is configured in NixOS, I cannot help you futher along, the only question I have for you is, why does boot need to be encrypted? its not like I cannot put a USB stick in your laptop and boot from there
qyliss has quit [Ping timeout: 260 seconds]
qyliss_ is now known as qyliss
rprije has joined #nixos
<xantoz> ottidmes: but you won't be able to fiddle with my kernel if you do
<xantoz> the hurdle for messing with the bootloader is slightly higher
<xantoz> also, theoretically, if combined with secure boot; it should provide protection against the evil maid
<xantoz> although I don't have any systems set to that level of paranoia, yet
<xantoz> ottidmes: I could try setting it up for BIOS boot, I guess. it doesn't matter that much
<xantoz> if that makes it work
<ottidmes> xantoz: worth a shot I guess
nDuff has joined #nixos
<nDuff> What needs to be done to have out-of-tree kernel modules available in NixOS tests? I'm trying to use sysdig to debug a program that isn't behaving properly in such a test; however, even with boot.extraModulePackages = with config.boot.kernelPackages; [ pkgs.sysdig ]; environment.systemPackages = [ pkgs.sysdig ]; boot.initrd.kernelModules = [ "sysdig_probe" ]; -- the sysdig_probe module (and thus /dev/sysdig0) isn't available.
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<sphalerite> nDuff: you might be able to insmod it
<makefu> nDuff: not sure about it but you probably need to put the module into `boot.kernelModules` (not into initrd)
<nDuff> makefu, hmm, that smells plausible -- I was looking at the boot-stage1.nix test, but that's a special case.
<nDuff> ...alas, still not available. And sure, if I knew where the right version of the module compiled for this system was located in the store, I probably *could* just insmod it, but that's a thing that needs to be determined.
__monty__ has quit [Quit: leaving]
<makefu> i had a similar issue with dm_thin_pool, putting it into initrd.kernelModules didn't work for me there
<pbogdan> nDuff: boot.extraModulePackages = with config.boot.kernelPackages; [ pkgs.sysdig ]; <- I'm guessing but you probably meant "sysdig" here and not pkgs.sysdig
<{^_^}> [nixpkgs] @grahamc opened pull request #51090 → Revert "zfs cannot be distributed. Disabling it in the isos." → https://git.io/fpuxP
<nDuff> Ooh.
<nDuff> *facepalm*.
<nDuff> Indeed.
<makefu> di di diiii
Thra11 has quit [Ping timeout: 244 seconds]
<Ashy> woah, i've got a nixos xorg background now in i3
nika has quit [Quit: Konversation terminated!]
<Ashy> think i ran an upgrade yesterday
<gchristensen> oh cool, what does it look like?
ajs124 has quit [Quit: Gateway shutdown]
* samueldr wonders if the lightdm default got kept by not setting anything
ajs124 has joined #nixos
mayhewluke has quit [Ping timeout: 250 seconds]
mayhewluke has joined #nixos
sigmundv__ has joined #nixos
srk has quit [Quit: gitter]
<mbrgm> fpletz: do you have a repo with the VFR related parts of your config you presented at nixcon?
srk has joined #nixos
Ariakenom_ has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « Fix nixops evaluation »: https://git.io/fpuhf
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
Ralith has joined #nixos
Ariakenom has quit [Ping timeout: 268 seconds]
MinceR has quit [Ping timeout: 244 seconds]
halfbit has joined #nixos
MinceR has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
Ariakenom_ has quit [Quit: Leaving]
lnikkila has quit [Ping timeout: 244 seconds]
Ariakenom has joined #nixos
Ariakenom has quit [Client Quit]
jackdk has joined #nixos
jackdk has quit [Remote host closed the connection]
abathur has joined #nixos
carlosdagos has joined #nixos
vidbina has quit [Ping timeout: 268 seconds]
jackdk has joined #nixos
<jackdk> mightybyte: did you ever get postgresql to build on darwin? In trying to fix #50902 I think I ran into a ranlib issue you asked about on irc here: https://logs.nix.samueldr.com/nixos/2018-04-16 (search "ranlib"), but nobody answered.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/50902 (by endgame, 4 days ago, open): haskellPackages.postgresql-libpq fails to link on Darwin
dbmikus_ has quit [Ping timeout: 240 seconds]
jackdk has quit [Remote host closed the connection]
jackdk has joined #nixos
fusion809 has joined #nixos
fusion809 has quit [Remote host closed the connection]
betaboon has quit [Quit: WeeChat 2.2]
<ldlework> Anyway to use rsync with nixops?
<ldlework> when I try to do
<ldlework> nixops mount -d wharf wharf:/var/www/ ./output
<ldlework> it get error: [Errno 2] No such file or directory
<ldlework> though, both of those exist