gchristensen changed the topic of #nixos to: 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 ... nixcon videos: https://tinyurl.com/nixcon2018
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux-libre: 15814 -> 15951 »: https://git.io/fhQNT
stites has joined #nixos
CapsLock has quit [Ping timeout: 246 seconds]
CapsLock has joined #nixos
<mek42_laptop> I ordered a new laptop a couple days ago and am debating whether to use gentoo supplemented with nix package manager or just use nixos
<gchristensen> probably should just use nixos
<gchristensen> :P
<mek42_laptop> i'm doing some nixos repo searches now to check on the state of things
<mek42_laptop> how is nixos as a daily driver desktop?
<clever> mek42_laptop: i use nixos on my desktop, laptop, nas, and router
<attente[m]> does anyone use the nixpkgs-mozilla overlay to run firefox-nightly? i can't seem to find it even after adding it to my configuration. fwiw i'm on nixos-unstable
dermetfan has quit [Ping timeout: 240 seconds]
Vitalii has quit [Ping timeout: 256 seconds]
ifndef_define has quit [Ping timeout: 256 seconds]
CapsLock has quit [Changing host]
CapsLock has joined #nixos
<dramforever> ifndef_define: did you enable the extension pack?
<dramforever> eh, too late
dbmikus has quit [Ping timeout: 258 seconds]
eadwu has joined #nixos
lawlesseel has quit [Remote host closed the connection]
Ralith_ has quit [Read error: Connection reset by peer]
lawlesseel has joined #nixos
<flokli> dramforever: i think vbox Version 5 is currently broken
<flokli> I started reviewing the pull request for version 6, but got sidetracked
npmccallum has joined #nixos
<flokli> There's something about the tests not working currently due to nested virtualization. I didn't run them so far...
stites has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
stites has joined #nixos
ikitat has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
ikitat has quit [Ping timeout: 240 seconds]
<q6AA4FD> i have some services i'm looking to run on my nixos box, is there a canonical "easiest" way to do this? nixops with libvirt, nixos-container, or are all of these methods going to be much more difficult than configuration.nix?
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
jluttine has quit [Ping timeout: 244 seconds]
<gchristensen> yes
<gchristensen> just use configuration.nix, it is what it is for
npmccallum has quit [Quit: npmccallum]
<q6AA4FD> alright, thanks
mobile_c_ has joined #nixos
<ryantm> Should `nix-build -A git` in a checkout of the nixpkgs-channels nixos-18.09 branch fetch git from cache.nixos.org? When I do that with commit 168cbb39691, it tries to build a bunch of stuff.
<ryantm> Should `nix-build -A git` in a checkout of the nixpkgs-channels nixos-18.09 branch fetch git from cache.nixos.org? When I do that with commit 168cbb39691, it tries to build a bunch of stuff.
<ryantm> sorry for the double post.
thc202 has quit [Ping timeout: 272 seconds]
<q6AA4FD> mek42_laptop: the issue with mixing nixos and gentoo is that you probably need to provide anything that needs 3D acceleration with gentoo itself, which can make everything very confusing. you could probably hold it together by fixing the versions together, but that would be a lot of work i think
<q6AA4FD> mek42_laptop: additionally, a bunch of stuff you wouldn't expect needs 3D acceleration and will break if it doesn't have it
jluttine has joined #nixos
<samueldr> ryantm: didn't have to here; but maybe I did previously accidentally?
* samueldr tries on another computer
stites has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
stites has joined #nixos
<samueldr> dang, looked cached here too; though hydra should have built it (same hash) https://hydra.nixos.org/build/88093455
goibhniu has quit [Ping timeout: 244 seconds]
<ryantm> samueldr: I think we might have misconfigured our NixOS instance to not use cache.nixos.org. Thanks for giving us a sanity check. We'll double check here.
<alex_giusi_tiri> would it be possible to have a var assigned a list but catted with itself, as in: `nix-repl> p = {a ? []}: rec {a=[0]++a;}`. calling the function `p {}` would give "error: infinite recursion encountered, at (string):1:24"
<dramforever> ryantm: What does this output? nix eval -f path/to/checkout git.outPath
<dramforever> alex_giusi_tiri: nix lists are strict in length (or 'spine'), unlike haskell
<dramforever> so no infinite lists
<alex_giusi_tiri> but, what does that mean? am i trying to make an infinite list? I am unsure I understand
<alex_giusi_tiri> what I intend to do is have a default value for a var, and add somthing to it later
<dramforever> wait, what do you expect as the result?
<dramforever> 'add something to it later' <- I'm afraid this isn't possible
<alex_giusi_tiri> I would want to append to whatever it currently contains
<alex_giusi_tiri> as I understood, "lists can be modified, but you would get a new list back"
<dramforever> and this new list can't go back to the variable it came from
<ryantm> dramforever: /nix/store/s4am258jjiw7xnpw79w1fdsydm7z8r0b-git-2.18.1
<dramforever> the outer variable a would always be the old list
<alex_giusi_tiri> that's what I would like to achieve
<dramforever> ryantm: then you're probably right about your nix not using cache.nixos.org
<alex_giusi_tiri> so, variables cannot be reassigned?
<dramforever> yeah
ng0 has quit [Quit: Alexa, when is the end of world?]
<ryantm> Yeah I looked at /etc/nix/nix.conf and it doesn't have cache.nixos.org in the substituters.
<dramforever> You *can* do this: let a = []; in let b = a; in rec { a = [0] ++ b; }
<alex_giusi_tiri> ok, thank you, I'll try it...
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a0ba6c21826 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<pbb> how can I use a local version of nixpkgs on nixos?
<pbb> I tried setting NIX_PATH during the rebuild, but it still took the old one
<alex_giusi_tiri> I use "nixos-rebuild -I nixpkgs=/path/to/nixpkgs"
Rusty1 has quit [Quit: Konversation terminated!]
<pbb> alex_giusi_tiri++
rcshm has quit [Read error: Connection reset by peer]
<{^_^}> alex_giusi_tiri's karma got increased to 1
rcshm has joined #nixos
<alex_giusi_tiri> :-Dwhoohoo
Rusty1 has joined #nixos
brandon_ has quit [Remote host closed the connection]
jluttine has quit [Ping timeout: 246 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
doyougnu has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhQNh
jluttine has joined #nixos
ikitat has joined #nixos
aanderse_ has quit [Ping timeout: 250 seconds]
jluttine has quit [Ping timeout: 250 seconds]
ikitat has quit [Ping timeout: 250 seconds]
stites has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
<noonien> what's the difference between `nativeBuildInputs = [ curl ];` and just doing `inherit curl;`?
stites has joined #nixos
<simpson> > { inherit curl; }
sigmundv has quit [Ping timeout: 268 seconds]
<{^_^}> { curl = <CODE>; }
<simpson> > { nativeBuildInputs = [ curl ]; }
<{^_^}> { nativeBuildInputs = <CODE>; }
<simpson> noonien: ^^ does this help?
<noonien> not really
<simpson> The key is different.
<noonien> i mean, for a derivation, not an explanation of what the nix code does
jluttine has joined #nixos
<simpson> Oh. `inherit curl;` probably doesn't do much. In fact, I only see it once in nixpkgs and it's for building an environment, not a derivation.
<noonien> but if i do `inherit curl;` in a derivation, i will have access to $curl inside the derivation, no? just like with nativeBuildInputs
<simpson> Ugh, I was wrong; the sole use in nixpkgs is for passing arguments to an imported package. Still not a derivation.
<simpson> Oh, even if you *don't* inherit curl, you can still use it in the derivation's builder scripts.
<noonien> how so?
ym555 has quit [Quit: WeeChat 2.3]
<dramforever> specifying it in nativeBuildInputs adds the bin directory of curl to PATH
<dramforever> specifying it as inherit curl; adds an environment variable $curl that contains a path to, well, curl
<simpson> I can't find a good way to introduce antiquotation, so here's the manual: https://nixos.org/nix/manual/#ssec-values
<noonien> dramforever: that makes sense, thanks!
o1lo01ol1o has joined #nixos
<samueldr> attributes in a derivation will be made available as an environment variable*, thus I guess `inherit curl` is like `curl = [pkgs.]curl;`, which toStringed is the path to curl, making it available under $curl?
<samueldr> * unless passAsFile is used, something relatively new
* samueldr somehow skipped the already plenty good answer
silver has quit [Read error: Connection reset by peer]
Josh[m]1 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #55666 → trilium: 0.28.3 -> 0.29.1 → https://git.io/fhQdp
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhQAC
stites has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
rpg has joined #nixos
stites has joined #nixos
Supersonic has quit [Ping timeout: 250 seconds]
Supersonic has joined #nixos
<q6AA4FD> i'm trying to configure prometheus, i'm getting a 'error: The option value `services.prometheus.scrapeConfigs.[definition 1-entry 1].static_configs.[definition 1-entry 1]' in `/etc/nixos/configuration.nix' is not of type `submodule'. here's my configuration.nix: https://ix.io/1AUG
<simpson> q6AA4FD: I can't view your pastebin, SSL_ERROR_RX_RECORD_TOO_LONG. But I've experienced this sort of pain before. scrapeConfigs needs to be a list of attrsets. Same with static_configs.
<q6AA4FD> simpson: when you say list of attrsets, you mean something like scrapeConfigs = [{ foo=bar;}; { foo=baz;}]; ? because i'm following this syntax, with no luck
<dramforever> just http works: http://ix.io/1AUG
bbarker2 has joined #nixos
<simpson> q6AA4FD: Yeah. In particular, instead of just a hostname, try { targets = "localhost:9090"; labels = {}; }
mkoenig has quit [Ping timeout: 250 seconds]
doyougnu has joined #nixos
<q6AA4FD> simpson: right now i have static_configs = [{ targets = "localhost:9090"; }]; and i'm getting the same error
<q6AA4FD> i get the same error when it's just static_configs = { targets = "localhost:9090"; }; as well
rcshm has quit [Remote host closed the connection]
mkoenig has joined #nixos
rcshm has joined #nixos
<simpson> q6AA4FD: Keep playing around with the arrangement of things, I guess. I could have sworn that the arrangement I showed you was working for me.
o1lo01ol1o has quit [Remote host closed the connection]
<q6AA4FD> simpson: i just found the error! targets is supposed to be a list too... holy cow
mkoenig has quit [Ping timeout: 250 seconds]
<simpson> Oh yeah, so it is.
mkoenig has joined #nixos
<q6AA4FD> simpson: appreciate the help man!
<simpson> No problem.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8a500502298 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
aleph- has joined #nixos
aleph- has quit [Read error: Connection reset by peer]
<romanofski> is there a chance to set the mtime of a generated build artifact to something ... well not 1970? (I'm specifically looking at makeWrapper for GHC (https://github.com/purebred-mua/purebred/blob/master/default.nix#L53)
kreisys has joined #nixos
o1lo01ol1o has joined #nixos
ddellacosta has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
<dramforever> romanofski: no if you want it to be a file in /nix/store. All files there are set to 1970 *after* buildinh
<dramforever> *building
<romanofski> right drat
eadwu has quit [Quit: WeeChat 2.3]
<romanofski> benkolera: explained to me that it's not something I want to change
<romanofski> so seems like we need to look for alternatives
<romanofski> thanks dramforever
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
<dramforever> romanofski: what exactly requires a non-1970 timestamp though?
<romanofski> dramforever: ah in our Haskell project we're using dyre, which recompiles the configuration in a program if the executable or the config has changed
<romanofski> but the time for the executable won't change since they stick with 1970 (the mtime that is)
eadwu has joined #nixos
<romanofski> I think there are a few other Haskell projects which fall into the same ball park
<romanofski> termonad is one I'm aware off
<dramforever> do you need dyre for normal use and not just development?
<romanofski> yes
<romanofski> normal use
<romanofski> since once installed and you provide upgrades, it should rebuild the executable
<dramforever> I suppose you can just create the environment using nix-shell and run a normal build inside
<dramforever> normal build -> non-nix build
<romanofski> dramforever: we were thinking of adjusting the library to use something else than mtime determining the rebuild
<dramforever> I am thinking of adjusting your haskell program to use something other than nix to build user code
eadwu has quit [Quit: WeeChat 2.3]
ikitat has joined #nixos
rcshm has quit [Ping timeout: 246 seconds]
bbarker2 has quit [Ping timeout: 250 seconds]
bbarker2 has joined #nixos
bbarker2 has quit [Client Quit]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dramforever has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam opened pull request #55676 → pythonPackages.scrapy: 1.5.1 -> 1.6.0 → https://git.io/fhQxT
sakalli_ has joined #nixos
sakalli_ has quit [Client Quit]
doyougnu has quit [Ping timeout: 246 seconds]
drakonis has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @veprbl opened pull request #55677 → pythonPackages.pyslurm: implement a less strict slurm version check → https://git.io/fhQxt
aleph- has joined #nixos
<{^_^}> [nixpkgs] @veprbl closed pull request #55455 → pythonPackages.pyslurm: remove version check → https://git.io/fhHR5
DrLambda has joined #nixos
kreisys has joined #nixos
countingsort has joined #nixos
ikitat has quit [Ping timeout: 240 seconds]
kreisys has quit [Client Quit]
cyphase has quit [Ping timeout: 246 seconds]
counting1ort has quit [Ping timeout: 250 seconds]
doyougnu has joined #nixos
schjetne has joined #nixos
pie___ has joined #nixos
schjetne has quit [Ping timeout: 250 seconds]
pie__ has quit [Ping timeout: 259 seconds]
cyphase has joined #nixos
bgamari has quit [Ping timeout: 250 seconds]
hyper_ch2 has joined #nixos
bgamari has joined #nixos
rcshm has joined #nixos
mek42_laptop has quit [Read error: Connection reset by peer]
<hyper_ch2> systemd bridging fails for me on anything newer than 18.03 :(
ottidmes has quit [Ping timeout: 272 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
work_ has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
acarrico has quit [Ping timeout: 250 seconds]
Mateon3 has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « foundationdb60: 6.0.17 -> 6.0.18 »: https://git.io/fhQxw
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #55679 → keybase: on Linux, symlink kbfsfuse, git-remote-keybase into main package → https://git.io/fhQxr
<{^_^}> [nix] @matthewbauer opened pull request #2677 → Support --disable-shared flag. → https://git.io/fhQxo
sakalli_ has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to release-18.09 « foundationdb60: 6.0.15 -> 6.0.18 »: https://git.io/fhQxK
sakalli_ has quit [Client Quit]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #55680 → Lua: autogenerate some more packages → https://git.io/fhQxP
praetorg_ has joined #nixos
fusion809 has quit [Ping timeout: 252 seconds]
_praetorg_ has quit [Ping timeout: 245 seconds]
<yl[m]> Ericson2314: do you have time to review https://github.com/NixOS/nixpkgs/pull/55538 as it's blocking other pull requests
<{^_^}> #55538 (by worldofpeace, 2 days ago, open): backport changes to autoPatchelfHook
aleph- has quit [Ping timeout: 246 seconds]
DrLambda has quit [Ping timeout: 240 seconds]
fresheyeball has joined #nixos
<fresheyeball> hey out there
fresheyeball has quit [Client Quit]
ddellacosta has quit [Ping timeout: 250 seconds]
vk3wtf has quit [Ping timeout: 252 seconds]
DrLambda has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
detran has joined #nixos
<detran> when's the cutoff to get packages in to 19.03?
rcshm has quit []
rcshm has joined #nixos
rcshm has quit [Client Quit]
<teto> detran: it was advertised on discourse. Could be added to the room topic
rcshm has joined #nixos
simukis has joined #nixos
rcshm has quit [Client Quit]
rcshm has joined #nixos
rcshm has quit [Client Quit]
endformationage has quit [Quit: WeeChat 2.3]
rcshm has joined #nixos
palo1 has joined #nixos
rcshm has quit [Client Quit]
<{^_^}> [nixpkgs] @srhb merged pull request #55669 → flashplayer: 32.0.0.114 -> 32.0.0.142 → https://git.io/fhQFu
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhQpU
<teto> python3Packages.pandas fails on unstable. tests fail https://hydra.nixos.org/build/88550739
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
<teto> is it possible to see a ratio of cache misses for kernel ? I wonder how many users build their own kernels
reinhardt has joined #nixos
mobile_c_ has quit [Quit: Konversation terminated!]
DrLambda has quit [Ping timeout: 245 seconds]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<srhb> teto: Not really. It'll be a 404 on an otherwise unknown hash
<srhb> teto: (ie. all the cache sees is a request for $somehash.narinfo)
<teto> srhb: would be nice to have the name somewhere even if discarded to get some metrics (but that's maybe too privacy-invasive :'( )
doyougnu has quit [Ping timeout: 258 seconds]
jackdk has quit [Ping timeout: 246 seconds]
<srhb> teto: Could certainly be argued, yeah.
<srhb> otoh er do get that information on a cache hit.
<srhb> s/er/we
hyper_ch2 has quit [Ping timeout: 256 seconds]
Lisanna has quit [Ping timeout: 240 seconds]
Lisanna has joined #nixos
alex``` has joined #nixos
hyper_ch2 has joined #nixos
random_yanek has quit [Read error: Connection reset by peer]
alex``` has quit [Ping timeout: 250 seconds]
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
random_yanek has joined #nixos
lopsided98 has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @zaninime opened pull request #55685 → Allow overriding `package` for Atlassian apps → https://git.io/fhQp4
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1669f07c758 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
Tucky has joined #nixos
alex``` has joined #nixos
zupo_ has joined #nixos
<hyper_ch2> I have an issue with systemd.network to setup a bridge. It all works fine in 18.03 but not anymore in 18.09 or pre-19.03. https://paste.simplylinux.ch/view/raw/4532ad1e From what I can see is that in 18.09 and pre-19.03 eth0 also get a default gw entry while in 18.03 br0 has two defualt gw entries.
rauno has quit [Ping timeout: 259 seconds]
rauno has joined #nixos
zupo has quit [Ping timeout: 258 seconds]
alex``` has quit [Ping timeout: 268 seconds]
<hyper_ch2> the problem seems to be that nixos for some reason adds two gws
xkapastel has quit [Quit: Connection closed for inactivity]
schjetne has joined #nixos
alex``` has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 91 commits to staging-18.09: https://git.io/fhQhU
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #55685 → Allow overriding `package` for Atlassian apps → https://git.io/fhQp4
<{^_^}> [nixpkgs] @fpletz pushed commit from @zaninime to master « atlassian services: allow overriding package (#55685) »: https://git.io/fhQh3
alex``` has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #55590 → soapy[bladerf,remote,uhd]: 0.4.0 -> 0.4.1, 0.5.0 -> 0.5.1, 0.3.4 -> 0.3.5 → https://git.io/fhQEL
<{^_^}> [nixpkgs] @markuskowa pushed 4 commits to master: https://git.io/fhQhs
<{^_^}> [nixpkgs] @markuskowa merged pull request #55592 → limesuite: 18.10.0 -> 19.01.0 → https://git.io/fhQE1
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhQhZ
alex``` has joined #nixos
Ariakenom has joined #nixos
leotaku has quit [Quit: ZNC 1.7.1 - https://znc.in]
leotaku has joined #nixos
Makaveli7 has joined #nixos
balsoft has joined #nixos
<teeAyy> this might be more of a queston for the emacs channel, but could someone tell me the correct way to install the slime plugin?
winem_ has joined #nixos
Makaveli7 has quit [Quit: Leaving]
dermetfan has joined #nixos
<sphalerite> teeAyy: it depends. You can use the "classical" in-emacs package management, and #emacs would probably recommend that to you
<sphalerite> teeAyy: or you can use nix to get a package of emacs with your desired packages as described in https://nixos.org/nixpkgs/manual/#sec-emacs
<sphalerite> which gives you rollbacks, the ability to specify it in your system config, etc
<teeAyy> thanks, ill take a look
gagbo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « pandoc: switch to latest version despite LTS 13.x recommendations »: https://git.io/fhQhF
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhQhA
Glider_IRC_ has joined #nixos
dustinm has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
dustinm has joined #nixos
nschoe has joined #nixos
Glider_IRC__ has quit [Ping timeout: 268 seconds]
DrLambda has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 6 commits to haskell-updates: https://git.io/fhQjm
goibhniu has joined #nixos
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to release-18.09 « fix #52118 »: https://git.io/fhQjO
ivan has joined #nixos
uvnikita[m] has joined #nixos
dustinm has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
nschoe has quit [Quit: Program. Terminated.]
dustinm has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2677 → Support --disable-shared flag. → https://git.io/fhQxo
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fhQjC
<uvnikita[m]> Does anyone know what is a proper way to install nix package manager in multi-user mode on centos while being root? Ideally I would like to have an rpm package, but it seems like hydra is not building rpms anymore (https://github.com/NixOS/nix/commit/94b2e4e1be4526f2f85efd29a52a63e1858ea414). `sh <(curl https://nixos.org/nix/install) --daemon` doesn't work either because it explicitly forbids to run the script as root
<uvnikita[m]> The reason I'm asking is because I'm thinking to use nix as a package manager on our slurm cluster which is currently configured via puppet. So I'm planning to write a simple puppet module that will install and configure nix on the nodes.
ivan has joined #nixos
<manveru> uvnikita[m]: easy workaround would be to just create a temp user and remove it after install is done?
<uvnikita[m]> manveru: yeah, that's an option. Fills a bit clunky though
<manveru> true, the proper way is to figure out why it doesn't want to run as root :)
gagbo has joined #nixos
<uvnikita[m]> manveru: I guess :) Or to figure out why rpm can't be built anymore. Was hoping that I'm missing some obvious solution :)
<Taneb> I've got a hydra build that seems to be stuck in a loop. How can I kill it hard?
<Taneb> "cancel"ing it doesn't seem to actually stop it
nD5Xjz has quit [Ping timeout: 245 seconds]
nD5Xjz has joined #nixos
thc202 has joined #nixos
johanot has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #55630 → rdma-core: 22 -> 22.1 → https://git.io/fhQrn
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhQjw
<{^_^}> [nixpkgs] @markuskowa merged pull request #55677 → pythonPackages.pyslurm: implement a less strict slurm version check → https://git.io/fhQxt
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhQjK
balsoft has quit [Ping timeout: 246 seconds]
balsoft has joined #nixos
<{^_^}> [nixpkgs] @eonpatapon opened pull request #55686 → pythonPackages.cassandra-driver: 3.15.1 -> 3.16.0 - fix build → https://git.io/fhQjM
nD5Xjz has quit [Ping timeout: 258 seconds]
nD5Xjz has joined #nixos
<Taneb> Also, does anyone know of anything like Jenkins' build monitor plugin, for Hydra?
gagbo has quit [Quit: I'm out !]
nand0p has quit [Ping timeout: 264 seconds]
spacefrogg_ is now known as spacefrogg
nand0p has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55688 → tor-browser-bundle-bin: 8.0.5 -> 8.0.6 → https://git.io/fh7eT
rycwo has joined #nixos
arjen-jonathan has joined #nixos
v0|d has joined #nixos
<v0|d> hey, is there a nix interface for machinectl & nixos-container?
<v0|d> in which prob. I can create containers, add users, configure etc.
<teto> running nix master, I see "operation 'addToStore' is not supported by store" (a nixops deployed remote builder). How can I solve this ?
balsoft has quit [Read error: Connection reset by peer]
<monotux> I'm using incorrect search terms, but I'd like to abstract some options used in most of my virtualhost definitions in nginx, something like this: https://pastebin.com/zMqqnTru
<monotux> any pointers?
<monotux> obviously incorrect syntax :)
codezero has quit [Read error: Connection reset by peer]
codezero has joined #nixos
<{^_^}> [nixpkgs] @dgarzon opened pull request #55689 → nodePackages_10_x.@angular/cli: init at 7.3.1 → https://git.io/fh7eY
winem_ has quit [Remote host closed the connection]
winem_ has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #55501 → chromium: 72.0.3626.81 -> 72.0.3626.96 → https://git.io/fhH5x
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fh7eE
<{^_^}> [nixpkgs] @dgarzon closed pull request #55689 → nodePackages_10_x.@angular/cli: init at 7.3.1 → https://git.io/fh7eY
<{^_^}> [nixpkgs] @dywedir merged pull request #55530 → rdedup: 3.0.1 -> 3.1.1 → https://git.io/fhHhx
<{^_^}> [nixpkgs] @dywedir pushed commit from @steveeJ to master « rdedup: 3.0.1 -> 3.1.1 (#55530) »: https://git.io/fh7eV
rycwo has quit [Ping timeout: 240 seconds]
rycwo has joined #nixos
<qyliss^work> monotux: delete the { on line 1
<monotux> :D
<monotux> thanks!
e-user has joined #nixos
<jD91mZM2> If I want to submit a package A to nixpkgs, but it depends on package B which also isn't already there, do I submit them both as one PR or separate?
<etu> jD91mZM2: You can do one PR
rycwo has quit [Ping timeout: 268 seconds]
knupfer has quit [Remote host closed the connection]
<jD91mZM2> etu++ that's a fast answer!
<{^_^}> etu's karma got increased to 5
knupfer has joined #nixos
<jD91mZM2> oh no has the karma been reset recently?
<{^_^}> [nixpkgs] @dywedir pushed to master « rdedup: mark as broken on darwin »: https://git.io/fh7eS
ckauhaus_ is now known as ckauhaus
<etu> jD91mZM2: [Reset] Not that I know of, I just don't have that many magic internet points ;)
<jD91mZM2> etu += 2147483642
<jD91mZM2> real bummer that doesn't work :)
knupfer has quit [Ping timeout: 246 seconds]
<johanot> jD91mZM2: be careful you don't overflow that
dian has joined #nixos
<dian> Hello everyone, does anybody know how to get https://github.com/KDE/wacomtablet on nix
<dian> nixos*
<sphalerite> johanot: note that jD91mZM2 used +=, not etu = etu.wrapping_add(2147483642)
v0|d has quit [Remote host closed the connection]
dramforever has joined #nixos
<monotux> qyliss^work++
<{^_^}> qyliss^work's karma got increased to 3
<monotux> yeah
<{^_^}> [nixpkgs] @Ma27 opened pull request #55690 → osquery: fix build → https://git.io/fh7eF
<johanot> sphalerite: right. that was a saturating_add, how stupid of me. hehe
<sphalerite> actually I think it's the type that panics :/
DrLambda has quit [Ping timeout: 246 seconds]
<monotux> another silly question. I'd like to read a setting in a service definition in a nginx definition (webroot path for a package), what's the shorthand here?
<jD91mZM2> johanot: That value is (max 32-bit signed int - 5)
<jD91mZM2> sphalerite: Panics in debug, silently wraps in release :)
Makaveli7 has joined #nixos
__monty__ has joined #nixos
<johanot> jD91mZM2: hehe. so you were careful after all :)
nD5Xjz has quit [Ping timeout: 246 seconds]
nD5Xjz has joined #nixos
lord| has quit [Ping timeout: 245 seconds]
petrkr has joined #nixos
lord| has joined #nixos
<sphalerite> jD91mZM2: ah damn
<petrkr> Hi
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.21.1 -> 1.21.2 »: https://git.io/fh7vY
sigmundv has joined #nixos
unacceptable has joined #nixos
<petrkr> some bug in new release-18.09 branch? I just switched to it and now getting for next switches "switch-to-configuration: line xx: use: command not found"
nikivi has quit [Quit: ZNC is awesome]
q6AA4FD has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<sphalerite> petrkr: that's a bug where switch-to-configuration is interpreted as a shell script rather than a perl script. Can't remember exactly what causes it though.
<sphalerite> petrkr: does the interpreter mentioned in the shebang exist and run?
primeos_ has quit [Quit: WeeChat 2.3]
DrLambda has joined #nixos
<petrkr> seams yes, but do not know if there can be space between #! and command
<qyliss^work> There generally can be
<sphalerite> yeah that's fine
<qyliss^work> But there was a bug in a Linux 5.0 kernel beta about it IIRC
primeos has joined #nixos
<petrkr> I tried older generation, there switch works, but when I will reboot to latest one, again gets that switch error
<qyliss^work> So make sure you're not running that.
nikivi has joined #nixos
q6AA4FD has joined #nixos
<petrkr> seems that is bigger issue, since now I try use some "command not found" and it say same :)
<petrkr> well if I will run that script as parameter to that interpreter, then it works.
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/89bf7472a15 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
ubert has joined #nixos
<sb0> why does 'nix-shell -p python2' set up a shell with python2 available, but 'nix-shell -E "let pkgs = import <nixpkgs> {}; in pkgs.python2"' does not?
<qyliss^work> nix-shell -p python2 is like nix-shell -E "let pkgs = import <nixpkgs> {}; pkgs.stdenv.mkDerivation { name = "nix-shell"; buildInputs = [ pkgs.python2 ]; }"
<LnL> sb0: the first is a shell with python available while the second is a shell to build python itself
<{^_^}> [nixpkgs] @dywedir merged pull request #55640 → alacritty: 0.2.6 -> 0.2.9 → https://git.io/fhQ1E
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fh7vr
<sb0> ah, I see
<obadz> patchelf help pls? I'm using patchelf --set-rpath write the expression for a binary and it's clearly working on some dlls but not on others (that are in the same directory as the ones that are working!). Any pointers on how to debug?
dian has quit [Quit: Page closed]
init_6 has joined #nixos
Tucky has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @dgarzon opened pull request #55691 → nodePackages_10_x.@angular/cli: init at 7.3.1 → https://git.io/fh7vP
<{^_^}> [nixpkgs] @FRidh merged pull request #55676 → pythonPackages.scrapy: 1.5.1 -> 1.6.0 → https://git.io/fhQxT
<{^_^}> [nixpkgs] @FRidh closed pull request #54694 → python37Packages.scrapy: 1.5.1 -> 1.5.2 → https://git.io/fh62K
<{^_^}> [nixpkgs] @FRidh pushed commit from @marsam to master « pythonPackages.scrapy: 1.5.1 -> 1.6.0 »: https://git.io/fh7vX
<{^_^}> [nixpkgs] @FRidh merged pull request #55670 → python.pkgs.dateparser: 0.7.0 -> 0.7.1 → https://git.io/fhQFb
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to master: https://git.io/fh7v1
<{^_^}> [nixpkgs] @FRidh merged pull request #55672 → pythonPackages.tornado: fix darwin sandbox build → https://git.io/fhQbu
<{^_^}> [nixpkgs] @FRidh pushed commit from @LnL7 to master « pythonPackages.tornado: fix darwin sandbox build »: https://git.io/fh7vM
<jD91mZM2> obadz: Maybe `readelf -d` will help you
<obadz> jD91mZM2: the ones that are 'not found' in ldd don't show up in readelf. Is that expected?
<obadz> looks like not since they don't seem to be there in patchelf
<obadz> sorry I meant *pre* patchelf
unacceptable has quit [Ping timeout: 250 seconds]
<obadz> could these dependencies come through the needs of another .so (i.e. is this really a dependency graph rather than just a list?)
<obadz> looks like I need to patchelf the .sos
Phillemann has joined #nixos
<Phillemann> When updating, I get a failure with some messages: HTTP error 200 (curl error: Transferred a partial file);
<Phillemann> It seems this completely stops me from updating my system.
<{^_^}> [nixpkgs] @vcunat pushed 13 commits to release-18.09: https://git.io/fh7v5
init_6 has quit []
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed commit from @ivan to release-18.09 « chromium: 72.0.3626.81 -> 72.0.3626.96 »: https://git.io/fh7vp
Makaveli7 has quit [Quit: Leaving]
davidak has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @flokli merged pull request #55673 → nextcloud-client: fix crash → https://git.io/fhQNJ
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fh7ff
<{^_^}> [nixpkgs] @FRidh pushed 268 commits to staging-next: https://git.io/fh7fk
rycwo has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
Soo_Slow has joined #nixos
infinee has joined #nixos
rycwo has quit [Ping timeout: 246 seconds]
unacceptable has joined #nixos
rprije has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #55693 → vivaldi: 2.2.1388.37-1 -> 2.3.1440.41-1; vivaldi-ffmpeg-codecs: 71.0.3578.98 -> 72.0.3626.96 → https://git.io/fh7fZ
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #55694 → ocamlPackages.yojson: 1.4.1 -> 1.6.0 → https://git.io/fh7f4
Guest6215 is now known as tom39291
init_6 has joined #nixos
<jD91mZM2> obadz: I'm afraid I'm very new to the subject so I can't really answer your question
<{^_^}> [nixpkgs] @magnetophon opened pull request #55695 → broot: init at 0.6.0 → https://git.io/fh7fg
schjetne has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @4z3 opened pull request #55696 → exim: 4.91 -> 4.92 → https://git.io/fh7fr
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @smaret opened pull request #55697 → unison: 2.48.4 -> 2.51.2 → https://git.io/fh7fo
nekolyanich has joined #nixos
<symphorien> jD91mZM2: try lddtree
<symphorien> Maybe you need to patchelf the libs as well
<symphorien> Sorry that was meant to obadz
ThatDocsLady has joined #nixos
<nekolyanich> Hi all! Failed to build haskellPackages.brick-skylighting (missing dependencies). How to override haskellPackage's dependency version?
silver has joined #nixos
ThatDocsLady_ has joined #nixos
init_6 has quit [Ping timeout: 246 seconds]
rycwo has joined #nixos
<{^_^}> [nixpkgs] @tobim opened pull request #55698 → compiler-rt-7.0.1: Fix build on darwin → https://git.io/fh7fQ
ThatDocsLady has quit [Ping timeout: 258 seconds]
<__monty__> nekolyanich: You mean the dependencies brick-skylighting requires? `doJailbreak` is probably the answer.
init_6 has joined #nixos
<nekolyanich> __monty__: Nice, i'll try doJailbreak. I'm try to build haskellPackages.matterhorn. It requires brick-skylighting.
<__monty__> nekolyanich: And brick-skylighting doesn't satisfy the version bounds, or a dep of brick-skylighting doesn't? In the first case jailbreak matterhorn, in the latter brick-skylighting.
<{^_^}> [nixpkgs] @FRidh pushed 307 commits to staging: https://git.io/fh7fA
FRidh has joined #nixos
juliendehos has joined #nixos
<petrkr> sphalerite, I found which commit breaks that "use: command not found" problem
gregoire has joined #nixos
ng0 has joined #nixos
<gregoire> Hi!
<sphalerite> petrkr: ah! good to know
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #55693 → vivaldi: 2.2.1388.37-1 -> 2.3.1440.41-1; vivaldi-ffmpeg-codecs: 71.0.3578.98 -> 72.0.3626.96 → https://git.io/fh7fZ
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/fh7Jv
<petrkr> sphalerite, it can be only my instance, but maybe someone can test that too
<gregoire> I have a problem with my config I can't figure out why It doesn't work while It previously did. My `configuration.nix` contains `nixpkgs.config = import ../nixpkgs/config.nix;` where config.nix contains `{allowUnfree = true;}`. When doing `nixos-option nixpkgs.config` I do get my `allowUnfree = true;`. However, when running `sudo nixos-rebuild switch` I get `Package foo has an unfree license refusing to evaluate`. When setting `NIXPKGS_ALLOW_UNFREE=1`,
<gregoire> it does work. I've spent the last 2 hours trying solving this without any luck. Any idea?
rycwo has quit [Remote host closed the connection]
kleisli has joined #nixos
<{^_^}> [nixpkgs] @mdorman opened pull request #55700 → gtk+-3.24.3: Fix for missing symbols → https://git.io/fh7Jt
<hyper_ch2> Mic92: howdy
<ottidmes> gregoire: in all liklihood you are pointing to the wrong NixOS configuration.nix
matijja has joined #nixos
johnnyfive has quit [Quit: I quit now.]
<gregoire> Even when using `-I nixos-config=/path/to/configuration.nix` it doesn't work. Also, If I was pointing on the wrong configuration (which I'm sure I don't), I wouldn't see `allowUnfree = true;` when running `nixos-option nixpkgs.config` right?
<gregoire> But thanks for the suggestion
kleisli has quit [Ping timeout: 258 seconds]
<ottidmes> gregoire: well it could, if you are using e.g. NIXOS_CONFIG, then that has priority over <nixos-config>
<gregoire> $NIXOS_CONFIG is not set in my config
<ottidmes> gregoire: we can test it: nix eval --json '(with import <nixpkgs/nixos> { }; config.nixpkgs.config)' (should give false) nix eval --json '(with import <nixpkgs/nixos> { configuration = /path/to/configuration.nix; }; config.nixpkgs.config)' (should give true)
<petrkr> sphalerite, Now I tested latest kernel (4.19.20 vs 4.19.21) and has same problem as 4.14.98 vs 4.14.99
<petrkr> 20 (98) works 21 (99) does not
<ottidmes> gregoire: run with sudo to get the same env as sudo nixos-rebuild is ran in
<gregoire> Both lines returns nothing in my terminal
<gregoire> But it doesn't fail
<ottidmes> wut, I'd expect it to either give back the nixpkgs config as JSON or at least crash
<obadz> symphorien: thanks, that seems to have worked.
<nekolyanich> __monty__: Thanks for help, but brick-skylighting not builds with doJailbreak. Looks for me, libraries are changed their api.
<gregoire> Am I doomed? :D
<ottidmes> gregoire: try sudo NIXOS_CONFIG=/path/to/configuration nixos-rebuild switch, then?
<gregoire> It refuses to evaluate
<{^_^}> [nixpkgs] @leo60228 opened pull request #55701 → multimc: unstable-2018-06-04 -> 0.6.4 → https://git.io/fh7Jl
<ottidmes> what does that mean? in what way does it refuse?
<gregoire> Oups sorry, It refuses as my package has an unfree license. Please note that I'm using home-manager to install this package: I also have a symlink to my config.nix in ~/.config/nixpkgs
<ottidmes> ah, that changes things, I don't use home-manager and it probably needs its own way of configuring it, no idea, hopefully someone else can help who uses home-manager
<__monty__> nekolyanich: Hmm, that's a bigger problem. You'll have to override its deps with callHackage or something.
<__monty__> nekolyanich: That way you can specify their versions.
<gregoire> ottidmes: I already did everything that home-manager expects. Also, as using NIXPKGS_ALLOW_UNFREE=1 solves the issue, I don't believe hte problem is from home-manager
<gregoire> Let me try moving the package directly to my configuration.nix :)
<arianvp> anybody here do Agda development on Nix
<arianvp> how do I set up agda2-mode with extra libraries from nixpkgs?
nD5Xjz has quit [Ping timeout: 268 seconds]
nikivi has quit [Quit: ZNC is awesome]
<nekolyanich> __monty__: I'm not confident in haskell packages infrostructure, so i'll try this later.
<ottidmes> gregoire: maybe go in overkill mode and set everything possible regarding where nixpkgs config can be used like I do: https://gist.github.com/msteen/a696f198694c0053390a0bae096c4f58#file-system-nix-L38-L43
<gregoire> ottidmes: I've now moved the problematic package to my configuration.nix (postman) and not using home-manager. I still have the same problem
<nekolyanich> __monty__: thanks for help
<arianvp> tilpner: that's a bit too global for my taste. i dont really install things into my nix profile
abcrawf has quit [Remote host closed the connection]
<arianvp> wonder if someone has some kind of magic shell.nix lying around
nikivi has joined #nixos
<gregoire> ottidmes: Ok, very weird thing, only postman has problems with my config, I have other unfree packages which works fine
<__monty__> nekolyanich: Here's an example where I did this for the dhall package: http://ix.io/1AX8
<gregoire> Could it be a problem with the licence of postman itself?
abcrawf has joined #nixos
<gregoire> Ohoho, starting to narrow down the problem
<ottidmes> gregoire: if you have a local checkout try and changing the license to licences.unfree, and see what happens I guess, otherwise maybe try overrideAttrs to change it
<gregoire> I have this issue only If i use my overlay to take Postman from unstable
<ottidmes> gregoire: ah of course
<ottidmes> you have to pass allowUnfree to your unstable import as well
<gregoire> Ohh
<gregoire> Didn't knew that
<manveru> gregoire: i'd recommend insomnia over postman :)
hexo is now known as olovnatejsie
<gregoire> manveru: Thanks, I'll take a look :)
<gregoire> ottidmes: Thanks a lot for the help, I really appreciate
agander_ has joined #nixos
kreisys has joined #nixos
agander_ is now known as agander
<gregoire> What would be the best way to use the same config.nix in my overlays also? No sure how to do this
gregoire_ has joined #nixos
<gregoire_> Oops fail sorry
<{^_^}> [nixpkgs] @NeQuissimus pushed to staging « nss: 3.42 -> 3.42.1 »: https://git.io/fh7J9
rauno has quit [Ping timeout: 268 seconds]
gregoire has quit [Ping timeout: 245 seconds]
nD5Xjz has joined #nixos
<jD91mZM2> symphorien++
<{^_^}> symphorien's karma got increased to 15
<tilpner> arianvp: Oh, and it doesn't need to be that profile. You could probably buildEnv in shell.nix and set an env var to the output. Then you would use that env var from your emacs config instead of a user-global profile
<tilpner> arianvp: But I'm just guessing, I don't use emacs or agda
<{^_^}> [nixpkgs] @artempyanykh opened pull request #55703 → haskell.packages.ghc822/844: Fix configuration and build of GHC822/844 → https://git.io/fh7J5
<gregoire_> ottidmes++
<{^_^}> ottidmes's karma got increased to 13
<gregoire_> It worked :)
knupfer has joined #nixos
Tucky has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
zupo has joined #nixos
ciil has quit [Remote host closed the connection]
zupo_ has quit [Ping timeout: 268 seconds]
ciil has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #55704 → getmail: 5.8 -> 5.10 → https://git.io/fh7UZ
<{^_^}> [nixpkgs] @vcunat pushed commit from @mdorman to staging-next « gtk+-3.24.3: Fix for missing symbols »: https://git.io/fh7UR
nschoe has joined #nixos
hph^ has quit []
hsrt^ has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55680 → Lua: autogenerate some more packages → https://git.io/fhQxP
<{^_^}> [nixpkgs] @7c6f434c pushed 6 commits to master: https://git.io/fh7Ug
<ottidmes> I have asked before and since I have yet to find an answer maybe I should create an issue, but why does --arg and --argstr not work with `nix eval '(...)'` despite being listed in its help message?
<ottidmes> nix eval '({ foo }: foo)' --arg foo true gives <LAMBDA>, while nix-instantiate --eval --expr '({ foo }: foo)' --arg foo true gives true
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Vskilet opened pull request #55706 → nixos/roundcube: more options → https://git.io/fh7UD
<Vskilet> My pull request is awful I think ^^
agander has quit [Ping timeout: 240 seconds]
<jD91mZM2> Uhhh... umm... ok so if I created a recipe for package A and package B, where B is an optional dependency, would it be okay to worst case scenario send a `broken = true` package B if I finally got it to compile but not work at runtime?
civodul has joined #nixos
detran has quit [Ping timeout: 246 seconds]
<Twey> https://gist.github.com/Twey/61db90e1286212aad2afe1fe58fd6800 — this derivation works. But if I add `buildInputs = [ glibc.static ];`, the resulting binary builds but segfaults when run. Why?
<{^_^}> [nixpkgs] @7c6f434c pushed to drop-intel-video-driver « Some more notes about possible regressions »: https://git.io/fh7TO
<{^_^}> [nixpkgs] @taku0 opened pull request #55707 → flashplayer: 32.0.0.114 -> 32.0.0.142 [Security fixes] → https://git.io/fh7T3
<{^_^}> [nixpkgs] @domenkozar pushed to master « nodePackages_10_x: add markdown-link-check »: https://git.io/fh7Ts
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55704 → getmail: 5.8 -> 5.10 → https://git.io/fh7UZ
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fh7TG
<{^_^}> [nixpkgs] @FRidh opened pull request #55708 → Staging next → https://git.io/fh7TZ
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55707 → flashplayer: 32.0.0.114 -> 32.0.0.142 [Security fixes] → https://git.io/fh7T3
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fh7Tn
<ottidmes> jD91mZM2: AFAIK that will not be accepted, I think you will have to submit it without dependency B if that were to happen. Instead you could ask for help to make it not broken here in the IRC or maybe by creating a Nixpkgs issue for it, requesting help.
<ottidmes> Twey: strace to find out?
gregoire_ has quit [Quit: Leaving]
orivej has quit [Remote host closed the connection]
<Twey> brk(NULL) = 0x25b1000
<jD91mZM2> ottidmes: Right, thanks. There doesn't seem to be much info on this program so I don't think expect anybody to help, but I'll send details here in a sec
<Twey> --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x69f790} ---
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-18.09: https://git.io/fh7T8
acarrico has joined #nixos
rpg has joined #nixos
jabranham has joined #nixos
zupo has quit [Ping timeout: 268 seconds]
juliendehos has quit [Remote host closed the connection]
GJC614 has joined #nixos
rycwo has joined #nixos
zupo has joined #nixos
juliendehos has joined #nixos
GJC614 has quit [Quit: rcirc on GNU Emacs 26.1]
<gchristensen> isit possible or advisable to get nixos-unstable kernels on nixos-18.09?
<Twey> Related question: how do I get hold of a libstdc++.a?
<Twey> There's a `dontDisableStatic` flag that's passed by default to the gcc derivation but it doesn't seem to produce static libraries anyway
<qyliss^work> ,locate libstdc++.a
<{^_^}> Found in packages: androidndk, gcc-unwrapped
<jD91mZM2> So I'm trying to make nxagent work (alternative to xpra or Xephyr, used by x11docker). It's compiled using this expression: https://gist.github.com/86e1024a8996266b9b94da38b7a29491. It ultimately fails when running `nxagent :1` or via x11docker, with the error https://gist.github.com/b8e230d796c4297ec10eb336af2c0529. Some xcb->nextxid variable in xinit is invalid, see here:
<Twey> Oh weird
<jD91mZM2> Any help would be appreciated, I don't really understand enough of x11
<tilpner> gchristensen: Definitely possible to use newer kernelPackages, and I don't think it caused any problems by itself
work_ has joined #nixos
dramforever has quit [Remote host closed the connection]
unacceptable has quit [Remote host closed the connection]
<Twey> So `gcc-unwrapped` produces static binaries but `gcc-wrapper` doesn't expose them?
ThatDocsLady_ has quit [Ping timeout: 245 seconds]
ubert has quit [Ping timeout: 246 seconds]
ub has joined #nixos
<ottidmes> jD91mZM2: I would probably just create an issue about it on nxagent's GitHub, because it requires some debugging on their end
<jD91mZM2> ottidmes: It works on Arch with the exact same version
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jD91mZM2> Well, I think it works. Haven't tried it heh
ckauhaus has quit [Quit: WeeChat 2.2]
Makaveli7 has quit [Quit: Leaving]
<{^_^}> [nix] @bjornfor opened pull request #2679 → install script: don't abort when "nix-channel --update" fails → https://git.io/fh7kZ
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #55538 → backport changes to autoPatchelfHook → https://git.io/fhQf5
<{^_^}> [nixpkgs] @Ericson2314 pushed 11 commits to release-18.09: https://git.io/fh7k8
ryantrinkle has joined #nixos
npmccallum has joined #nixos
rycwo has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dasJ opened pull request #55710 → icingaweb2: Init at 2.6.2 → https://git.io/fh7ka
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fusion809 has joined #nixos
drakonis has joined #nixos
npmccallum has quit [Quit: npmccallum]
cyraxjoe has quit [Ping timeout: 246 seconds]
cyraxjoe has joined #nixos
mmlb3 is now known as mmlb
<jD91mZM2> ottidmes: Heh, thanks for that suggestion, it actually made me stumble upon https://github.com/ArcticaProject/nx-libs/issues/652 and notice a thing I'm missing
<{^_^}> ArcticaProject/nx-libs#652 (by realsimix, 1 year ago, closed): Abort of nxagent-3.5.99.13 on CentOS 7
kreisys has joined #nixos
kreisys has quit [Client Quit]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to release-18.09: https://git.io/fh7kd
reinhardt has quit [Quit: Leaving]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @smaret opened pull request #55711 → Aplpy: init at 2.0.rc2 → https://git.io/fh7kj
samrose has joined #nixos
schjetne has joined #nixos
matijja has quit [Ping timeout: 250 seconds]
yokyolu has joined #nixos
<yokyolu> nix-shell gives this warning: dumping very large path (>256 MiB); this may run out of memory
<yokyolu> my guess is that it copies stuff to tmpfs
<yokyolu> lots of stuff
<tilpner> That's fine, you're just importing a large directory into the store
<yokyolu> how do i make it stop?
<tilpner> Don't import large files/directories
<srhb> yokyolu: By not importing a large path, basically.
schjetne has quit [Ping timeout: 240 seconds]
<yokyolu> how do i know what's imported?
<tilpner> Well, import is the wrong term
<clever> yokyolu: did you do src = ./.; ?
rpg has joined #nixos
ikitat has joined #nixos
<yokyolu> i did `if lib.inNixShell then null...`
<tilpner> And this occurs when running nix-shell?
<yokyolu> yes
<tilpner> Can you paste the rest of your expression?
<samrose> anyone run across an issue where /<nix store>/bin/ld cannto find -libzmq although I have installed nixpkgs zeromq4 ?
<srhb> samrose: "installed" in what sense?
<clever> ,libraries samrose
<{^_^}> samrose: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<srhb> ,libraries samrose
<{^_^}> samrose: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<srhb> :|
<samrose> srhb like in configuration.nix
alex``` has quit [Ping timeout: 258 seconds]
<srhb> samrose: You're not supposed to do that, and it won't work, as detailed in the above link :)
<yokyolu> it's generated with callCabal2nix and src is set with overrideAttrs
<srhb> yokyolu: is src a large directory? :)
drakonis has quit [Quit: WeeChat 2.3]
<srhb> yokyolu: you can figure this out with nix-shell -vvv and see which store paths are realized after the warning, but it'll be a long log (>2 /tmp/yourlog)
<samrose> srhb: ok understood. Do you have advice for building out rust in package or module where you need to utilize rust nightly, and it appears that mozilla rust overlay is meant for nix-shell ?
<srhb> samrose: You can use the mozilla rust overlay to build with nix-build just fine
<samrose> srhb: hmm ok good to know
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @cw789 opened pull request #55712 → beamPackages.hex: 0.17.1 -> 0.19.0 → https://git.io/fh7I8
Makaveli7 has joined #nixos
<dckc> nix installer on suse gives: `sudo: groupadd: command not found`
<clever> dckc: i think you want the single-user mode for now
* dckc adds /usr/sbin to PATH...
<dckc> single-user: why? I'm specifically trying to share some build products with others
<{^_^}> [nixpkgs] @jerith666 opened pull request #55713 → eclipse.plugins.drools: init at 7.17.0 → https://git.io/fh7Iz
<dckc> error: opening directory '/nix/store/5hdmx9yk7gr71b98j4vh9271k0zg5jis-nix-2.2.1': Permission denied
<symphorien> dckc: do you have a strict umask ?
<yokyolu> srhb: thanks! it is src after all! but why?
<dckc> umask... quite probably. good catch.
<srhb> yokyolu: Why what exactly?
agander has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
<samrose> srhb: have you ever run across examples of people using rust overlay in hydra builds for their custom OS or custom packages?
<dckc> same permission denied failure with umask 002 :-/
* dckc heads to meeting...
nikivi has quit [Quit: ZNC is awesome]
<srhb> samrose: Yes, I've done that.
<samrose> any examples you might share? I would be happy to document success on nixos.wiki
nikivi has joined #nixos
<srhb> samrose: I can't share it exactly, but I can give you the idea of what I did. i'm not sure this is the most optimal way to do it with recent rust versions though, it might be simple enough to just override things locally in nixpkgs without using the mozilla overlay
<{^_^}> [nixpkgs] @mpisanko opened pull request #55714 → upgrade leiningen to latest (2.9.0) → https://git.io/fh7I1
Tucky has quit [Quit: WeeChat 2.2]
<samrose> srhb: I have a feeling this is probably simpler than I am making it. Any clues you might offer will likely help and thanks!
<srhb> samrose: Back then, what I did was just lib.rustLib.fromManifestFile (fetchurl { url = https://static.rust-lang.org/dist/2017-10-12/channel-rust-stable.toml; sha256 = ...; } to create a "rust channel"
<srhb> samrose: Then, I used makeRustPlatform with rustc = rustChannel.rust; cargo = rustChannel.cargo;
<srhb> samrose: From there, rustPlatform has an attribute buildRustPackage with the versions described by the manifest file.
<srhb> samrose: That's it basically.
<yokyolu> srhb: overrideAttrs (drv: { src = if lib.inNixShell then null else ./. ; }) didn't do what i thought it would
<yokyolu> srhb: the thing that's being overriden is made by callCabal2nix
<yokyolu> if i just do it manually it works
kyren has quit [Remote host closed the connection]
<samrose> it seems a bit sketchy to me to launch a service with nix-shell, what is the consensus on this out there?
<samrose> (probably just my ignorance)
<gchristensen> it certainly wasn't intended for that purpose, and I don't think many people do that
<srhb> samrose: I think it's sketchy.
<srhb> samrose: (I've seen it before too)
<samrose> ok, made sense to me, as you lose determinism when things are built and deployed via shell
<srhb> samrose: I usually see it used as a way to get around the different kinds of sandboxing, and I think that's ugh.
<srhb> As in, deliberate indeterminism.
<srhb> non*
<samrose> got you ok thank you
schjetne has joined #nixos
kreisys has joined #nixos
<srhb> yokyolu: I can't think of a simple explanation to that offhand, probably need to see a reproducible example.
<infinisil> It does make sense if you need it for development for your project
<infinisil> E.g. a webserver for a web project
<cransom> is there way to prevent hydra from running a second set of jobs for a jobset if the first set hasn't completed yet?
<infinee> infinisil: nice example
<infinee> webserver, mq, etc
<cransom> hrm. maybe a previous build as an input?
<srhb> cransom: Aside from having an actual dependency? No, I don't think so.
<srhb> cransom: That'll do it.
<yokyolu> how to pass an argument to a derivation called by callPackage?
<srhb> yokyolu: callPackage thing { arg = foo };
<yokyolu> hm
schjetne has quit [Ping timeout: 268 seconds]
<yokyolu> i just got enlightened a bit
<srhb> yokyolu: The purpose of callPackage is to fill in all the arguments with the defaults of its scope. But you can override that by filling in that attribute set.
<infinee> Is there no way to specify version of a package in my shell.nix? the examples I've seen only use pkgs like ruby which have version specific named pkgs. but the pkg I'm using doesn't have any version info appended to the name of pkg
lewo has quit [Read error: Connection reset by peer]
lewo has joined #nixos
Ariakenom_ has joined #nixos
<srhb> infinee: Need more information. Is the version you want in nixpkgs or not?
dbmikus has joined #nixos
<yokyolu> srch: i needed to pass it through overrideCabal i think
<srhb> yokyolu: It depends. You might actually want override.
Ariakenom has quit [Ping timeout: 250 seconds]
<infinee> srhb: when I do `nix-env -qa delve` I see 2 versions listed
xkapastel has joined #nixos
<yokyolu> so with `src = if inNixShell then null else ./.;` can i pin the shell verison of derivation to gcroots? or do i need do write a different nix file for that?
<srhb> yokyolu: I'm not really sure what pinning to a gcroot means in this sense.
jasongro` has joined #nixos
<srhb> yokyolu: What are you trying to achieve exactly?
rcshm has joined #nixos
<srhb> yokyolu: I *think* what you're trying to avoid is the reimport slowness, in which case you need a fixed output derivation if you really do have that much source that needs to go into the store.
jasongrossman has quit [Ping timeout: 246 seconds]
winem_ has quit [Ping timeout: 272 seconds]
alex`` has joined #nixos
periklis has joined #nixos
<srhb> yokyolu: Is that right?
<yokyolu> srhb: yes! this! thank you
<srhb> yokyolu: Right. Once you've made a fixed-output derivation of your src, it means you've got a hash attached to the final path. If nix determines that the path with *that hash* already exists, it won't have to reimport. This does mean that *you're* now responsible for bumping that hash, or new changes will not take effect in your nix-shell. Just trying to outline the consequences here.
<srhb> This can be very confusing behaviour.
johanot has quit [Quit: WeeChat 2.2]
<yokyolu> srhb: ok, so as i get it every time i do whatever in ./. hashes change and it puts ./. to store again and again and again ....
<srhb> Right.
<srhb> And it can't determine whether the hash changed _before_ the import if it's not a fixed output drv
e-user has quit [Remote host closed the connection]
<yokyolu> srhb: so i just make a shell-specific.nix with `src = null;`
<srhb> Possibly.
<srhb> I guess my main question is: Do you really really really have 256MiB of sources that you need to import?
<yokyolu> srhb: or override regular.nix in shell.nix
init_6 has quit []
<srhb> I mean, that's a lot!
<srhb> You may benefit from filtering, splitting up the package, ...
<yokyolu> srhb: it is. i havent figured how to make nix ignore binaries and other junk
<yokyolu> is there somethnig like .gitignore for nix?
<Taneb> yokyolu: look up filterSource in the nix manual
<yokyolu> Taneb: thanks
<yokyolu> will do
Ariakenom_ has quit [Quit: Leaving]
alex`` has quit [Ping timeout: 258 seconds]
<clever> yokyolu: you can also use builtins.filterSource or lib.cleanSource, to limit what gets copied to /nix/store as it imports
<catern> hey #nixos, so LyX links against Hunspell. I'm running LyX but it doesn't seem to be picking up Hunspell dictionaries. How do I get LyX to pick up the Hunspell dictionaries?
<catern> I could override the hunspell argument to LyX with hunspellWithDicts, but that would cause it to be rebuilt, right?
<srhb> catern: Yes.
<catern> So what do I do? :)
<{^_^}> [nixpkgs] @flokli merged pull request #51235 → nzbget: Fix script for copying default config file template → https://git.io/fpVSj
<{^_^}> [nixpkgs] @flokli pushed commit from @WhittlesJr to master « nzbget: Fix script for copying default config file template (#51235) »: https://git.io/fh7Lz
<srhb> catern: Either accept the rebuild or restructure the LyX as a LyXWithDicts thing that is a thin wrapper over a dict-agnostic hunspell-enabled LyX, but changes the hunspell being used to be the one with your dicts
<srhb> catern: You still fundamentally get the rebuild, but now it's a small rebuild.
jasongro` has quit [Quit: ERC (IRC client for Emacs 26.1)]
<catern> actually, I don't think overriding to hunspellWithDicts will help at all
<catern> since that just wraps the command-line hunspell tool - it won't help with the library
<catern> (in fact overriding hunspell = hunspellWithDicts would probably break)
<srhb> catern: If the runtime hunspell will actually accept DICPATH (what a name...) maybe you can just wrap LyX similarly?
<srhb> I'm not sure how LyX uses it internally
<srhb> If it's just calling out to either some code or an executable that obeys that env var, it seems trivial.
<catern> Apparently LyX has a configuration option to override it, so my user is just using that now
<catern> I wish my users would actually ask on #nixos on Freenode when I tell them to, rather than forcing me to proxy their questions to here :)
erasmas has joined #nixos
<srhb> catern: But we enjoy your company so :-)
dermetfan has quit [Ping timeout: 257 seconds]
alex`` has joined #nixos
<catern> I suppose the real thing needed is for LyX to be patched to respect DICPATH/DICTIONARY like suggested here https://github.com/hunspell/hunspell/issues/413
<{^_^}> hunspell/hunspell#413 (by Jookia, 2 years ago, closed): Suggest applications support the DICPATH variable
<srhb> catern: That would make it very simple, yes.
<catern> That issue suggests that DICPATH is just a convention, not something libhunspell knows about, and it's up to each application to respect it (well, at least that's how it was, anyway - the issue suggests that Hunspell has gained some helpers for making that easy)
<srhb> catern: hunspell.cxx references DICPATH, but that may be just the command line and not the library.
jasongrossman has joined #nixos
jasongrossman has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @offlinehacker opened pull request #55715 → rippled: 0.30.0-rc1 -> 1.1.2, fix build → https://git.io/fh7Lp
yokyolu has quit [Ping timeout: 245 seconds]
schjetne has joined #nixos
<dckc> I think the umask issue goes beyond my umask... root's umask or the build user's umask or something is also an issue:
<dckc> > ls -ld /nix/store/5hdmx9yk7gr71b98j4vh9271k0zg5jis-nix-2.2.1
<dckc> drwx------ 9 root root 4096 Dec 31 1969 /nix/store/5hdmx9yk7gr71b98j4vh9271k0zg5jis-nix-2.2.1
<{^_^}> undefined variable 'ls' at (string):218:1
Jetien_ has quit [Ping timeout: 258 seconds]
schjetne has quit [Ping timeout: 246 seconds]
<ottidmes> gchristensen: since you were the one recommending diffoscope to me, any idea how to force it to use hexdump diff rather than text diff? the text diff is useless to me, I basically get -x\n+x, i.e. they seem the same but are reported different
<{^_^}> [nixpkgs] @dotlambda opened pull request #55716 → python.pkgs.pytest-mock: 1.10.0 -> 1.10.1 → https://git.io/fh7tc
shabius has quit [Quit: Leaving]
<srhb> Oh boy, I have some funny ghc panics with the latest staging merge. This is gonna be fun to bisect..
Soo_Slow has quit [Remote host closed the connection]
shabius has joined #nixos
rpg has quit [Ping timeout: 240 seconds]
Soo_Slow has joined #nixos
<Taneb> srhb: best of luck
Soo_Slow has quit [Remote host closed the connection]
kyren has joined #nixos
<{^_^}> [nixpkgs] @pmiddend opened pull request #55717 → pro-office-calculator: 1.0.6 -> 1.0.13 → https://git.io/fh7t2
Soo_Slow has joined #nixos
gagbo has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
petrkr has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @pmiddend opened pull request #55718 → fdroidserver: 1.1 -> 1.1.1 → https://git.io/fh7t6
<infinisil> ottidmes: You can pipe it into xxd first to get a hex view
<infinisil> (I haven't tried it, but that's what I'd do)
<ottidmes> hmm, weird bug, nix eval does something with stderr, that nix-instantiate does not, which causes bugs when autocompleting, when I do 2> /dev/null it works like nix-instantiate, when I dump the stderr into two files and compare them with a hex few they are both empty
<ottidmes> infinisil: yeah thanks, thats indeed what I ended up doing (hexdump -C in my case)
yokyolu has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @pmiddend opened pull request #55719 → pythonPackages.typing-extensions: 3.6.6 -> 3.7.2 → https://git.io/fh7td
jtojnar has joined #nixos
ikitat has quit [Ping timeout: 240 seconds]
Soo_Slow has quit [Remote host closed the connection]
<dckc> ugh... any suggestions on how to deal with this umask stuff? I tried starting a root shell, doing `umask 022` and then running the installer, but it says "Please do not run this script with root privileges."
<{^_^}> nix#2377 (by Valknjoggr, 24 weeks ago, open): Installer assumes liberal umask
ramses_ has joined #nixos
<{^_^}> [nixpkgs] @pmiddend opened pull request #55720 → pythonPackages.pyogg: 0.6.2a1 -> 0.6.6a1 → https://git.io/fh7qf
ddellacosta has quit [Ping timeout: 250 seconds]
ramses_ has quit [Quit: Page closed]
ddellacosta has joined #nixos
Soo_Slow has joined #nixos
DrLambda has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Taneb opened pull request #55721 → haskellPackages.equivalence: dontCheck in GHC 8.6 → https://git.io/fh7qG
neminis has joined #nixos
<srhb> Oh good, it's a gtk bug and a ghc bug all in one.
<neminis> hello, do you know how to use gtest on nixos? i get linking errors even with all variables set correctly
<samueldr> srhb: mixed gdk_pixbuf ?
<samueldr> are you on 18.09?
<samueldr> if you strace before your panic; do you see gdk_pixbuf 2.38 trying to load the png module for gdk_pixbuf 2.36?
<srhb> samueldr: gtk_cell_accessible_parent_get_row_header_cells is not exported despite being in the gir files, so gi-gtk linkage breaks. ghc has a bug (that's fixed in 8.8.1) that causes it to panic with linker not initalized when -jN for N != 1, instead of emitting the linker error for some reason
<srhb> At least I think that's what's going on.
<samueldr> ah, if it isn't gdk_pixbuf then I have nothing to contribute, sorry :)
<srhb> :-)
<srhb> I'm just venting, I don't want to rebuild gtk, but what can you do.. :-P
periklis has quit [Ping timeout: 250 seconds]
<samueldr> and in case you didn't know about the mixed gdk pixbuf issue, #54278 has details
<{^_^}> https://github.com/NixOS/nixpkgs/issues/54278 (by minijackson, 3 weeks ago, open): GnuCash segmentation fault
<srhb> samueldr: Thanks, I'm likely to run into that.
johnnyfive has joined #nixos
ub has quit [Quit: Leaving]
<LnL> neminis: what kind of variables?
* srhb sort of wants to grep pkgs.*.src for "gtk_cell_accessible_parent_get_(row|column)_header_cells" now...
<neminis> LnL, well i have gtest installed system-wide, i use nix-shell to inherit gtest and then my builder script knows ho
<dckc> in install-multi-user, in _sudo(), how do I add `umask 022` to sudo "$@"? I tried sudo sh -c "umask 022; $@" but that's not quite right somehow. Would somebody please go back to 1970 and change shell quoting to be sane?
<neminis> how to set the environment variables for make
<LnL> you're building something outside of nix?
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greymalkin has joined #nixos
<neminis> yes it's not yet a full derivation, i am trying to build the executable of my project using the builder i set up in the .nix file for that project
arjen-jonathan has quit [Ping timeout: 240 seconds]
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @catern opened pull request #55722 → pythonPackages.pkgconfig: use same setupHook as pkgconfig → https://git.io/fh7qN
shibboleth has joined #nixos
<dckc> @simpson, any chance you have a clue for me on multi-user nix install with umask 077 in pam config?
<simpson> dckc: Not really. Multi-user Nix on non-NixOS has been pain and suffering every time; I wouldn't bother.
<simpson> Like, given your current trajectory, maybe containers are a better path than trying to bend CentOS or SUSE into behaving.
ixxie has joined #nixos
<averell> what is considered a feature under the feature freeze?
dermetfan has joined #nixos
<WilliamHamilton[> hi, I get an error when issuing the command `nix-prefetch-github Z3Prover z3`
rycwo has joined #nixos
<WilliamHamilton[> I'd like to know if you can reproduce it, and why it happens
<dckc> ok... any particular sort of containers, simpson?
<ottidmes> WilliamHamilton[: no bug here
<srhb> WilliamHamilton[: I get a hash mismatch.
<ottidmes> WilliamHamilton[: I get back a seemingly valid JSON response
<WilliamHamilton[> srhb: I get a hash mismatch too! But let me post the error for the others
<ottidmes> srhb: you are on unstable?
<srhb> WilliamHamilton[: I suspect it's a newer nix version doing that?
<srhb> ottidmes: Yep.
<ottidmes> WilliamHamilton[: yeah got to be that, the new error mismatch
<{^_^}> seppeljordan/nix-prefetch-github#4 (by bbigras, 2 weeks ago, open): Error: Internal Error: Calculate hash value for sources
<dckc> in fact, my nix goal is to address a problem we're having with containers: we run into different issues in test and prod, and copying the image takes forever. (or something. I wasn't doing that part of the work)
sigmundv has quit [Ping timeout: 244 seconds]
<WilliamHamilton[> ok, thanks, so either I downgrade or do it manually, right? I'll try manually
<bbigras> I reported that issue if someone needs me to test anything.
<dckc> we had R-Studio server running in a container, but adding some R packages is really unwieldy, so we're looking at installing outside containers. The R-Studio server part is sorta done, and I got R-with-packages done with nix, and I was hoping to put them together. oh well.
<srhb> WilliamHamilton[: But now we have "hash mismatch in fixed-[...]" etc. :)
<srhb> Should be simple to try a regex for both.
<srhb> bbigras: WilliamHamilton[ ^ if any of you have got the python chops :)
<WilliamHamilton[> srhb: just for my knowledge, how would I get the right sha without prefetch?
<bbigras> you could use the git (not github) one maybe
<srhb> WilliamHamilton[: It's in your error message.
<srhb> WilliamHamilton[: Got: ...
<WilliamHamilton[> srhb: btw, about the z3 haskell-bindings issue, tell me if you want me to prepare a pr without the offending functions for haskell-z3
<bbigras> I use `nix-prefetch-git` meanwhile
<WilliamHamilton[> srhb: thanks!
<srhb> WilliamHamilton[: But using fetchFromGitHub and providing a wrong hash works just fine.
<srhb> WilliamHamilton[: Oh, right.. I don't actually use z3, I just dove into the debugging.. :-P If you want to, go for it!
<WilliamHamilton[> I'll do it in the week end!
<srhb> WilliamHamilton[: Nice, do poke if you need testing :)
<WilliamHamilton[> thanks ottidmes !
kreisys has joined #nixos
reinhardt has joined #nixos
<WilliamHamilton[> srhb: sure :)
ryantrinkle has quit [Ping timeout: 246 seconds]
<jD91mZM2> Ok so I am making a nx-libs recipe, and compiling that repository creates both the nxagent and nxproxy binaries. Now, there already is a recipe for only nxproxy which doesn't compile nxagent. I don't think I can disable nxproxy compilation from nxagent, however. What do I do? 1) Delete the nxproxy binary afterwards, even if it still has to be compiled. 2) Deprecate the existing nxproxy recipe and just use
<jD91mZM2> nx-libs. 3) Just leave both
rycwo has quit [Remote host closed the connection]
<mdash> jD91mZM2: probably #2, perhaps putting nxagent and nxproxy in different outputs if that makes sense
<averell> that would be ideal
<averell> i'd love to see an x2goserver module
yokyolu has quit [Remote host closed the connection]
Soo_Slow has quit [Remote host closed the connection]
juliendehos has quit [Quit: Leaving]
ikitat has joined #nixos
shibboleth has quit [Quit: shibboleth]
matijja has joined #nixos
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #55146 → nix1: fix `perl-bindings` build → https://git.io/fhS10
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fh7mh
ikitat has quit [Ping timeout: 246 seconds]
<pbb> hi, I am setting up a raspberry pi with a hifiberry amp (a little board you put on top and it works as an amplifier). with linuxPackages_rpi a kernel module is missing: snd_soc_bcm2708_i2s
knupfer has joined #nixos
<pbb> how can I get this kernel module
<pbb> it seems to be included as a module by default in the rpi kernel
<pbb> (but on nixos it's not there)
<jD91mZM2> mdash: Multiple outputs but still one package? That sounds cool
<jD91mZM2> There's also some library stuff and I'm not sure what belongs to what
phizzz has joined #nixos
nschoe has quit [Ping timeout: 268 seconds]
ryantrinkle has joined #nixos
jasongrossman has joined #nixos
<pbb> hm, the module seems to have gone in some kernel version and is not needed anymore.
<pbb> then I'm really wondering why I can't see the sound card
<phizzz> when i run a nix-shell based on a shell.nix, it sometimes appears to rebuild. isn't the environment only supposed to be built once?
<catern> hey #nixos, I'm prototyping a new service infrastructure, can anyone suggest a relatively complex service packaged in Nixpkgs? e.g., a webapp with a dependency on a database service backend and a load balancer/proxy/something in front?
<srhb> catern: Hydra is pretty close
<catern> interesting point
<cransom> if you collect garbage or update a channel, it will build new.
<srhb> It's.. Probably not an ideal example with the weird postgres setup. But you get the idea from reading it, I think :)
<phizzz> on average once a day, when i enter the nix-shell, it does: these paths will be fetched.... copying path '/nix/store/blah-stdenv-linux' from 'https://cache.nixos.org'...
<pbb> catern: pixelfed.org
<catern> Hydra requires root though right? or root equivalent?
<catern> Because it messes with the nix-daemon in trusted-user ways?
<catern> pbb: is this in nixpkgs?
<phizzz> cransom: was that comment for me?
<srhb> catern: I don't think so, but now that you ask I'm suddenly not sure.
<pbb> catern: nope, it's a php application and it's a pain to package
<srhb> catern: I think the only root-access happens during setup.
<catern> I suppose it's not actually an issue - it might be cool to be able to run Hydra in a container with its own dedicated nix-daemon
<srhb> catern: (Setting up the db users etc.)
<tilpner> catern: Maybe matrix-synapse, if you don't want to do anything with nix-daemons
<srhb> catern: gitlab is also an example
<pbb> oh gitlab is such a pain
<pbb> with all its different services
<catern> OK, to be clear I don't actually want things that are *painful* :) just non-trivial...
<srhb> :-P
<catern> (maybe I will do gitlab though, if it does have a bunch of services with deps between them...)
<srhb> catern: It does.
knupfer has quit [Ping timeout: 268 seconds]
<catern> (what would be really nice is if I could identify some webapp or application that I actually care about, so I'm more motivated to set it up :) )
<pbb> phabricator is also similar, there is something in nixpkgs but it's so old you can forget that
<catern> (hydra kinda falls in that category...)
WhittlesJr has joined #nixos
<catern> pbb: to be clear I don't want to package something new - I want something that is already packaged and working in Nixpkgs - because I'm going to port it to my new thing
<pbb> ok, I see
<srhb> catern: If this is to provide an example, I find that anything that is a "simple service that listens locally and needs an nginx proxy" tend to be nice, clear examples of how it works.
<WhittlesJr> The package I want to build pulls down a docker image in its makefile. Is it possible to use dockerTools with this approach, or is there some other way, or am I SOL? https://github.com/teamhephy/workflow-cli/blob/master/Makefile
<catern> srhb: Nah, it's for prototyping/development to prove to myself that this works and iron out the bugs
<srhb> OK :)
<tilpner> WhittlesJr: Running a Docker container is not going to be practical (possible?)
<tilpner> Not during the build, with a sandbox
<srhb> WhittlesJr: dockerTools, not really. You could do it in a linux vm possibly, by prefetching all images, but... It's not going to be fun.
<WhittlesJr> tilpner, srhb: Yeah that was the vibe I was getting. Thankfully they also provide pre-built binaries so I'll go that route.
<tilpner> WhittlesJr: Are you sure you need it? It looks like a go dev image?
<srhb> WhittlesJr: just sed 's/docker run//' on the Makefile and it'll Just Work, right? :-P
Thra11 has joined #nixos
<WhittlesJr> tilpner: Oh I'm sure there's a way to build it as a go package, but my first attempts failed so I've been trying other approaches
<WhittlesJr> srhb: haha
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #55723 → x11docker: init at 5.4.1 → https://git.io/fh7Yz
<{^_^}> [nixpkgs] @LnL7 opened pull request #55724 → emacsMacport: fix sandbox build → https://git.io/fh7Y2
<jD91mZM2> I think it should be made a little more obvious in the PR template that nix.useSandbox is true by default. Sure threw me off, and I didn't mark them as such when I could have :)
<srhb> jD91mZM2: It'd need a lot of disclaimers unfortunately. (only on recent Nix, only on Linux, ...)
<srhb> But yes!
phreedom has quit [Ping timeout: 256 seconds]
phreedom_ has joined #nixos
<neminis> in which pkg is "ar" ? how can I find it?
<ar> ,localte bin/ar
<ar> ,locate in/ar
<{^_^}> Couldn't find in any packages
<ar> can't type today
<ar> ,locate bin/ar
<{^_^}> Found in packages: swift, arduino, androidndk, arduino_core, binutils-unwrapped
<ar> neminis: i am currently located in warsaw hackerspace, Wolność 2A, 01-018 Warszawa, Poland ;)
<neminis> lol
<tilpner> ar++
<srhb> ar: If there ever was a moment to shine... :-)
<neminis> thx for the help
jD91mZM2 has quit [Ping timeout: 245 seconds]
<steveeJ> samueldr: that's a really weird issue with that brother pinter driver ignoring the page size. how deep have you investigated this?
<samueldr> not really
<samueldr> 99% of my use is through cloud printing because printers are evil
<samueldr> (and is 99.999% of the time left unplugged from the power)
<samueldr> steveeJ: it might as well be a dumb thing easy to fix for someone that knows their way around linux printing, or even just looks :)
agander has quit [Ping timeout: 250 seconds]
ikitat has joined #nixos
<steveeJ> samueldr: do you think it's Nix specific?
<samueldr> I don't know, haven't got a non-nixos machine to test
xkapastel has quit [Quit: Connection closed for inactivity]
<samueldr> (and once my printing needs were over I relegated this to the bottom of the tasks list)
<steveeJ> those are two understandable points :)
<samueldr> but my guts tell me it shouldn't happen on platforms for which the driver was written for; otherwise it'd have been spotted already?
<samueldr> my two best assumptions are that either the package assumes it can write system files somehow, or there is *something* missing from the packaging that makes it work, but not entirely
<steveeJ> further than writing the nix expression for the driver I don't know anything about cups. are the job parameters passed via the command line or stdin to the filter/dcriver?
<steveeJ> I think we'd see an error in your former case. the latter is tough
stites has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
matijja has quit [Ping timeout: 246 seconds]
stites has joined #nixos
JosW has joined #nixos
<{^_^}> [nixpkgs] @vincrusher opened pull request #55725 → Fix alpha-embedded Target on Hydra → https://git.io/fh7OG
zupo has joined #nixos
rauno has joined #nixos
bpa has joined #nixos
<pbb> has anyone used device tree overlays with nixos on the raspberry pi?
<pbb> dtdebug=1 in the boot configuration does not give me a single line in dmesg
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kreisys has joined #nixos
rauno has quit [Ping timeout: 264 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @cransom opened pull request #55726 → gh-ost: 1.0.36 -> 1.0.47 → https://git.io/fh7OA
<gchristensen> cransom: ooh, you gh-ost-ing?
sigmundv has joined #nixos
zupo_ has joined #nixos
<cransom> a possibility in the nearer future, but someone else was gh-osting and they coudln't figure out why nix-shell -p gh-ost wasn't working.
<gchristensen> ah
<gchristensen> its pretty fancy stuff
<gchristensen> we were eyeing it at tumblr, not sure why we didn't do it
zupo has quit [Ping timeout: 268 seconds]
jasongro` has joined #nixos
jasongrossman has quit [Ping timeout: 250 seconds]
<gchristensen> any Nix + Emacs + emacs-lsp/lsp-mode users around? LSP doesn't seem to properly start when I open buffers
<tilpner> gchristensen: infinisil has some lsp-mode-specific config: https://search.tx0.co/?q=lsp-mode&i=nope&files=&repos=
Makaveli7 has quit [Ping timeout: 246 seconds]
jD91mZM2 has joined #nixos
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jasongro` has quit [Client Quit]
npmccallum has joined #nixos
yokyolu has joined #nixos
schjetne has joined #nixos
bgamari has quit [Ping timeout: 250 seconds]
<yokyolu> im getting `ignoring untrusted substituter` from nix-build
raduom has quit [Ping timeout: 244 seconds]
<yokyolu> how do i make it trusted?
<tilpner> yokyolu: Do you have trusted-public-keys defined in your nix.conf?
<eyjhb> How do I get `nix search` to display all packages? E.g. it wouldn't display charles proxy....
bgamari has joined #nixos
<{^_^}> [cabal2nix] @peti merged pull request #405 → Revert "Disable Haddock phase for packages with internal libraries." → https://git.io/fhQbh
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fh730
<{^_^}> [cabal2nix] @peti pushed 0 commits to internal-haddock-revert: https://git.io/fh73E
<{^_^}> [nixpkgs] @0x4A6F opened pull request #55727 → unifi: 5.9.29 -> 5.10.12 → https://git.io/fh732
schjetne has quit [Ping timeout: 258 seconds]
copumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55129 → all-packages.nix: move defaults to package files → https://git.io/fhSaa
<{^_^}> [nixpkgs] @7c6f434c pushed 39 commits to master: https://git.io/fh73P
<judson> I'm using the vimUtils packages, and it seems like autoload directories aren't getting loaded. I need to dig in more, but does anyone recognize that issue?
agander has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55137 → openhmd: init at 0.3.0-rc1-20181218 → https://git.io/fhSix
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fh73D
Makaveli7 has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
<bbarker> has anyone used NixOS on Azure? sorry for what may be a naive question; i saw some github issues around it, and am not currently an Azure user, but may be one very soon ...
rpg has joined #nixos
<samrose> running into the error src/libexpr/primops.cc:56: void nix::EvalState::realiseContext(const PathSet&): Assertion `store->isStorePath(ctx)' failed. on nixos-install although the iso builds without error on hydra
acarrico has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55138 → random cleanups and a tiny fix → https://git.io/fhSih
<{^_^}> [nixpkgs] @7c6f434c pushed 5 commits to master: https://git.io/fh73N
npmccallum has quit [Quit: npmccallum]
pareidolia has quit [Remote host closed the connection]
pareidolia has joined #nixos
stites has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
stites has joined #nixos
<ottidmes> is there like a hello world or simple rust package in nixpkgs?
<bbigras> ottidmes: I have no idea but maybe you could look at https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/text/ripgrep/default.nix
<{^_^}> [nixpkgs] @pmiddend opened pull request #55728 → pythonPackages.androguard: 3.3.3 -> 3.3.4 → https://git.io/fh7se
endformationage has quit [Ping timeout: 244 seconds]
<bbigras> I don't understand yet which is the best way to package Rust applications. For my stuff at work I build using `nix-shell` and then ship with docker with `pkgs.dockerTools.buildLayeredImage`
<samrose> ottidmes bbigras this is *exactly* what I am struggling with now too
<samrose> earlier today in this channel it was confirmed to me that nix-shell is not the way to go
<ottidmes> bbigras: I will try that one thanks, it will probably be as slow as my current test case du-dust
<samrose> I got a clue earlier today about how to possibly build up the version of rust and cargo that would live behind `rustPlatform`
<ottidmes> samrose: nixos-unstable + rustPlatform.buildRustPackage + RUSTC_BOOTSTRAP = 1; seems to be the best you can do, if you want to contribute it to Nixpkgs as well at some point
<samrose> ottidmes: yes if I actually figure it out, I will definitely try to contribute it
<ottidmes> samrose: that hackernews link I gave you last time did not pan out, it worked for me after some tweaking
alex`` has quit [Read error: Connection reset by peer]
<ottidmes> samrose: this is what I am using, build with nixos-unstable: https://github.com/msteen/nix-update-fetch/blob/master/default.nix
drakonis has joined #nixos
<samrose> ottidmes: the link you gave me was *close* to what looks like is working in the clue someone else gave me + the methods used in fractilide which do work https://github.com/fractalide/fractalide/blob/master/pkgs/default.nix#L14
<{^_^}> [nixpkgs] @Ma27 pushed commit from Averell Dalton to release-18.09 « nextcloud-client: fix crash »: https://git.io/fh7sT
jabranham has joined #nixos
jabranham has joined #nixos
jabranham has quit [Changing host]
<yokyolu> nix-copy-closure fails with `cannot connect to ...`, -vvv says that `bash:nix-store: command not found` after `sending: nix-store --serve --write`
ikitat has quit [Remote host closed the connection]
ikitat has joined #nixos
alex`` has joined #nixos
lawlesseel has quit [Remote host closed the connection]
<srhb> yokyolu: Sounds like nix-store is not on PATH on the remote end?
lawlesseel has joined #nixos
<clever> yokyolu: `ssh user@remote nix-store --version`
<clever> $ ssh clever@c2d nix-store --version
<clever> nix-store (Nix) 1.11.4
<clever> yokyolu: also, that error message is far better then it used to be, it used to treat "command not found" as a series of 32bit ints, and then complain with the 1st int, lol
<yokyolu> clever: $ ssh me@some.other.place nix-store --version
<yokyolu> bash: ... command not found
<monotux> just wanted to say how I've missed using nixos, setting up things (and using version management with it) in configuration.nix is so handy!
<yokyolu> hm
rycwo has joined #nixos
<bsima> monotux: +1 - I use nix on macos, for generating docker images, for all my configs (home-manager)...
<bbigras> Is there a filter command or something that I can use with `src =` to include only some files from the current folder?
<yokyolu> ssh ... echo $PATH
<srhb> bbigras: filterSource
<yokyolu> .../nix/var/nix/profiles/default/bin...
ambro718 has joined #nixos
<bbigras> srhb: thanks!
<stites> anyone have tips for setting up nixos on zfs with a mirrored root pool? I tried to use the shortcut of https://github.com/a-schaefers/themelios but upon boot I got "mounting zroot/NIX/nix on /mnt-root/nix failed""
<{^_^}> [nixpkgs] @tilpner opened pull request #55729 → groff: Remove indeterminism in manpages → https://git.io/fh7sY
<yokyolu> me@other.place $ which nix-store
<srhb> stites: as in, a mirror vdev?
<yokyolu> `/nix/var/nix/profiles/default/bin/nix-store`
ym555 has joined #nixos
<yokyolu> clever: i don't get it
<bbigras> srhb: tyvm
<srhb> yokyolu: Careful if you're sshing _in_ interactively and testing those things, you might be getting PATH set differently.
<{^_^}> [nixpkgs] @pmiddend opened pull request #55730 → fcppt: 2.9.0 -> 3.0.0 → https://git.io/fh7sO
<srhb> yokyolu: (different shell rc files are usually loaded depending on the terminal etc)
<stites> srhb: yes, I think so
<srhb> stites: There's no difference from non-mirrored really, except for adding the mirror :)
<yokyolu> srhb: that explains it
Ariakenom has joined #nixos
<pareidolia> Is there a way to add services to a slice in NixOS?
<srhb> stites: (None of that affects the way the datasets are handled regarding mounts etc.)
<stites> srhb: so I'm currently getting a failed stage 1. Should I drop into the interactive shell, remount, and try to regenerate hardware-configuration.nix?
<stites> or should I just attempt to reinstall using the single-drive version of https://nixos.wiki/wiki/NixOS_on_ZFS#How_to_install_NixOS_on_a_ZFS_root_filesystem
<stites> ?
<clever> stites: i dont think the number of vdevs has any impact on how nixos boots
<clever> stites: what does `zfs list` say?
<stites> "no datasets available"
<clever> stites: and if you try to `zpool import zroot`, what does it say?
<{^_^}> [nixpkgs] @dotlambda merged pull request #55718 → fdroidserver: 1.1 -> 1.1.1 → https://git.io/fh7t6
<{^_^}> [nixpkgs] @dotlambda pushed commit from @pmiddend to master « fdroidserver: 1.1 -> 1.1.1 (#55718) »: https://git.io/fh7sC
<stites> oh! everything gets imported correctly!
<clever> stites: and then `zfs list` again, shows what?
<stites> everything is loaded!
<symphorien> pareidolia: how would you do that on non NixOS ?
<stites> let me try to start stage 2...
<stites> ...wait how do i do that?
<clever> stites: one sec
<clever> stites: what does `echo $$` say?
<stites> 1
<clever> stites: and what does `zfs get mountpoint zroot/NIX/nix` say?
<{^_^}> [nixpkgs] @dotlambda merged pull request #55720 → pythonPackages.pyogg: 0.6.2a1 -> 0.6.6a1 → https://git.io/fh7qf
<{^_^}> [nixpkgs] @dotlambda pushed commit from @pmiddend to master « pythonPackages.pyogg: 0.6.2a1 -> 0.6.6a1 (#55720) »: https://git.io/fh7s4
<stites> "zroot/NIX/nix mountpoint legacy local"
<{^_^}> [nixpkgs] @dywedir opened pull request #55731 → fd: 7.2.0 -> 7.3.0 → https://git.io/fh7sB
<stites> (for NAME PROPERTY VALUE SOURCE)
<clever> stites: then youll need to manually mount root to /mnt-root, nix to /mnt-root/nix/ and then pivot_root manually
<clever> some of those env vars may already exist, check with echo
<clever> stites: also, is this booting in a vm, or on hardware?
<stites> hardware
Glider_IRC__ has joined #nixos
<pareidolia> symphorien: That is my question
<clever> stites: not sure what the issue is then, would need to see more output as it boots
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
_kwstas has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #55719 → pythonPackages.typing-extensions: 3.6.6 -> 3.7.2 → https://git.io/fh7td
<{^_^}> [nixpkgs] @dotlambda pushed commit from @pmiddend to master « pythonPackages.typing-extensions: 3.6.6 -> 3.7.2 (#55719) »: https://git.io/fh7sV
_kwstas has quit [Remote host closed the connection]
Glider_IRC_ has quit [Ping timeout: 246 seconds]
<monotux> bsima, I currently only use it for a VPS, but will probably return to using it on my laptop at some point. I have a FreeBSD machine with a lot of jails that I manage by hand (and tooling, of course) but it feels so risky as it would require a lot of work to replicate it, while using a NixOS machine with a single textfile (plus all application data,
<monotux> of course) feels so much more...correct!
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
vk3wtf has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<stites> hmm... $stage2Init is set to some location in the nix store, but when I pivot I get a directory not found (going to try addressing that)
rcshm has quit [Remote host closed the connection]
<clever> stites: my only thought right now is that its maybe slow for one of the vdev's to come online, and stage2 is giving up
_kwstas has joined #nixos
<clever> stites: you could also try using /nix/var/nix/profiles/system/init as your stage2 init
_kwstas has quit [Remote host closed the connection]
<stites> but in the stage-1-init.sh is set to /init, though which is a special type of file
<{^_^}> [nixpkgs] @oxij opened pull request #55732 → all-packages.nix: move defaults to package files continues → https://git.io/fh7so
<symphorien> pareidolia: define the slice with https://nixos.org/nixos/options.html#systemd.slice and then https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E.serviceconfig: systemd.services.foo.serviceconfig = { Slice="bar.slice"; }
rycwo has quit [Ping timeout: 252 seconds]
<stites> oh! it's actually the init script
<symphorien> (untested, this is after some googling)
rcshm has joined #nixos
<samrose> ottidmes: I did stumble across this and testing it now https://gist.github.com/greglearns/192a4cc31aef8acdf3190fefa4f124ee
<stites> damn. I ran a `mkdir -p $stage2Init && pivot_root /mnt-root $stage2Init` but got a " device is busy"
<gchristensen> anyone know where I can find the official documentation on shebang?
<pareidolia> symphorien: Does the slice configuration support resource limiting?
aleph- has joined #nixos
<symphorien> systemd.slices.<name>.sliceConfig is passed as is to systemd as the [Slice] section of the unit, and systemd.slices.<name>.unitConfig similarly as the [Unit] setion
<symphorien> all other options are just "convenient shortcut" to using those two
_kwstas has joined #nixos
zupo has joined #nixos
_kwstas has quit [Remote host closed the connection]
<symphorien> so everything systemd supports with unit files is possible with the nixos module system
zupo has quit [Client Quit]
<pareidolia> symphorien: Ah, those are "freeform" maps that won't give me the "option not defined" error
<stites> clever: I think I'm just going to do a fresh reinstall. I was mostly using the "a-schaefers/themelios" script as a quick provision, but I think I need to do a more detailed install
<symphorien> pareidolia: yes you lose "typecheking"
<symphorien> also merging can be problematic
<pareidolia> I know hehehe
<pareidolia> I was already praying and looking up
<pareidolia> Ah, I totally didn't notice that the options search has pagination xD
<pareidolia> I see it now
<symphorien> at some point, I investigated if it was possible to have systemd check the syntax of our unit files at compilation
<clever> stites: https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix is how i do most of my installs
<clever> stites: you could also upgrade it from a single vdev to a mirror, using zpool attach
<symphorien> but it turns out systemd-analysze verify needs a running systemd to work
markus1189 has quit [Ping timeout: 245 seconds]
<symphorien> so it is impossible to use it in the sandbox
_kwstas has joined #nixos
markus1189 has joined #nixos
_kwstas has quit [Remote host closed the connection]
npmccallum has joined #nixos
<stites> @clever yeah I think that'll be my go-to. I'll just zap the other disk.
<stites> I'm hoping to preserve a seperate freebsd datastore -- would you happen to know if the linux-zfs will still be able to read the freebsd-zfs disks?
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<clever> stites: i think it will work both ways, as long as you dont touch `zpool upgrade` or `zpool enable`
shibboleth has joined #nixos
erasmas has quit [Quit: leaving]
<pareidolia> symphorien: Systemd NetClass directive is apparently removed. Great.
<stites> clever: thanks for the pointers! for the `justdoit` script, when are you running that script?
<stites> it looks like you are just adding it to the systemPackages
agander has quit [Ping timeout: 250 seconds]
<clever> stites: that module is added to the installer image, so the binary is in $PATH when you boot the installer
<clever> stites: the main thing in that directory, is a set of nix scripts to generate some kexec utils
<{^_^}> [nixpkgs] @dotlambda merged pull request #55728 → pythonPackages.androguard: 3.3.3 -> 3.3.4 → https://git.io/fh7se
<{^_^}> [nixpkgs] @dotlambda pushed commit from @pmiddend to master « pythonPackages.androguard: 3.3.3 -> 3.3.4 (#55728) »: https://git.io/fh7s5
<clever> stites: so you just upload the tarball to any linux machine, unpack it to /, run /kexec_nixos, and boom, its running nixos entirely from ram
acarrico has joined #nixos
<clever> ssh back in, justdoit, and boom, its now nixos, all previous data is toast (youll want to not do that, i believe)
<symphorien> pareidolia: can you check with nixos-option for example that this is not just an artifact of merging ?
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
ixxie has quit [Quit: Lost terminal]
_kwstas has joined #nixos
<pareidolia> symphorien: Systemd says Support for option NetClass= has been removed and it is ignored
<stites> I think it's a little late for me to use this, now, since I've already nuked the two SSDs I use for zroot
<symphorien> ah I thought you complained that the option would silently remove this attribute
<pareidolia> I'm trying to limit bandwidth of a couple services together
<clever> stites: you could also make a modified ISO with justdoit.nix in the imports, or just do a "normal" install to a usb stick, with justdoit.nix in the imports section
<pareidolia> Every time I find an approach, it is deprecated for some reason
<symphorien> pareidolia: if they share a gid, you can do it with iptables
<symphorien> (or an uid)
yokyolu has quit [Ping timeout: 245 seconds]
<pareidolia> symphorien: I could add both users to a common group, yes. Can you point me to a description of this function
<pareidolia> Because every time I get stuff about bloody "tc" or "trickle"
<symphorien> man iptables-extension, search for --gid-owner
<symphorien> this is for selecting packages
<symphorien> *packets
<pareidolia> Ah, tc is an interface to iptables. Heh.
<pareidolia> "No manual entry for iptables-extension"
<pareidolia> ah, should be "extensions"
<symphorien> and search for --limit for rate limiting
<symphorien> hum this is in packets per unit of time
<symphorien> not great
<pareidolia> This mentions Mbits https://askubuntu.com/a/249768
<symphorien> ah hashlimit seems to be better
<pareidolia> Is there a standard way to add these tc command in the Nixos configuration?
<{^_^}> [nixpkgs] @LnL7 merged pull request #55659 → perlPackages.IOTty: fix darwin sandbox build → https://git.io/fhQQs
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fh7GJ
<{^_^}> [nixpkgs] @LnL7 merged pull request #55671 → aws-sdk-cpp: fix darwin sandbox build and cleanup → https://git.io/fhQFh
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fh7GU
<symphorien> these are not tc commands but iptables commands
<pareidolia> Well, we have both
<symphorien> https://nixos.org/nixos/options.html#networking.firewall.extracommands
<pareidolia> 2 tc commands and 1 iptables command
<symphorien> anyway is allows any command
<pareidolia> Cool
<symphorien> I thought it had to be iptables
knupfer has quit [Remote host closed the connection]
vk3wtf has quit [Ping timeout: 252 seconds]
<pareidolia> symphorien: Ok, so the group doesn't have to be the primary group of the users?
<stites> @clever I just kicked off a `justdoit`!
<symphorien> no idea
<clever> :D
<symphorien> actually I have never used this
<pareidolia> We'll see
arjen-jonathan has joined #nixos
dermetfan has quit [Ping timeout: 240 seconds]
<stites> it looks like it just nukes sda, which is fine for me
<stites> so my fingers are crossed
<stites> ah, it's stalling on importing zroot again
<gchristensen> I had a bug where nixos couldn't import the root on monday, but I think that has been fixed
<gchristensen> also it isn't monday
<clever> gchristensen: what about the timeout thing you added, to make it wait if half the pool devices are missing?
<gchristensen> oh that wasn't me
<stites> hmmmmm... I could be satisfied just loading nixos on a non-zfs root and using zfs to load a pool post-boot.
<stites> but that isn't really documented anywhere
<stites> is that because it's trivial to set up?
<clever> stites: can you record a video of it booting and hanging?
zupo has joined #nixos
<stites> sure...
<Ariakenom> I was using the live CD on usb to install nixos. Does anyone know if the wireless set up is supposed to work like when booting from usb? I didn't get it to work.
<clever> Ariakenom: you need to set wireless.enable = true; in your configuration.nix file, and then nixos-rebuild switch
<lejonet> Hmm, if I want a interface link to be set up, but no IP assigned to it, would I just create a networking.interfaces.<name> with an empty ipv4.addresses or something to achieve that?
<Ariakenom> clever: I did set that before the install
ambro718 has quit [Ping timeout: 240 seconds]
<noonien> Ariakenom: i prefer enabling networkmanager, instead of doing wireless.enable
<noonien> i don't really like using wpa_supplicant
<clever> Ariakenom: then you just need to run wpa_passphrase, and feed the resulting config into /etc/wpa_supplicant.conf, or abandon supplicant and use NM
<pareidolia> symphorien: I've got it working when I target the transmission user, but not yet the group...
<vaibhavsagar> Ariakenom: this has bitten me every time I've tried to install NixOS on a new computer
<symphorien> then target the user; is it a problem ?
<symphorien> btw, doesn't transmission support rate limiting ?
<pareidolia> Yes, but I want to lump it together with some other stuff :)
<symphorien> ah I see
<Ariakenom> I suppose the live CD was using networkmanager but the tutorial recommended wpa_supplicant?
<lejonet> Ariakenom: I would also give you a hint to look at iwd, if you don't like networkmanager and think wpa_supplicant is too much work
ninjatrappeur[m] has joined #nixos
<pareidolia> symphorien: Ah, as I suspected
<pareidolia> Only the primary group is examined for the criterium
<pareidolia> Oh well, no problem defining a rule for earch user
kalbasit has joined #nixos
<pareidolia> They all go through the same bottleneck
<symphorien> you can define a chain for everything which must be rate limited
<pareidolia> Yep
eadwu has joined #nixos
<Ariakenom> Thanks for your help.
<Ariakenom> I have more info for when I'll give it another go
ddellacosta has quit [Ping timeout: 258 seconds]
rfold has joined #nixos
rycwo has joined #nixos
<spacekitteh[m]> Anyone able to merge this? https://github.com/NixOS/nixpkgs/pull/55629
<{^_^}> #55629 (by spacekitteh, 1 day ago, open): Add maps to SC2
Ariakenom has quit [Quit: Leaving]
<gchristensen> wow, spacekitteh[m]!
<spacekitteh[m]> gchristensen: ?
ddellacosta has joined #nixos
<gchristensen> I didn't know sc2 had such a cool liconse
<gchristensen> license
kalbasit has quit [Quit: WeeChat 2.2]
<spacekitteh[m]> :)
aleph- has quit [Ping timeout: 259 seconds]
work_ has quit [Quit: Connection closed for inactivity]
<spacekitteh[m]> gchristensen: it's pretty fun
yl_ has joined #nixos
yl_ has quit [Client Quit]
kalbasit has joined #nixos
<stites> @clever Actually, it worked!
<stites> It hung for about 5-10m (wasn't counting) and then passed through stage 1 successfully
kalbasit has quit [Client Quit]
yl has joined #nixos
dermetfan has joined #nixos
<stites> here's the upload from before: static.stites.io/zroot-hanging.mp4
<stites> I cut down the size since, before this, it hung for 10m or so and the triggers the "failed to mount" error
<spacekitteh[m]> gchristensen: are you able to merge it? :)
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
rcshm has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #55734 → quick patch to bump BINPRM_BUF_SIZE from 128 to 1024 → https://git.io/fh7G9
npmccallum has quit [Ping timeout: 240 seconds]
rcshm has joined #nixos
<stites> yeah, looks like everything is where it should be -- I'll boot up again and see if the timeout appears again
Makaveli7 has quit [Quit: Leaving]
<clever> stites: my irc client only higlights if the msg starts with "clever" and @clever doesnt do it
<spacekitteh[m]> clever
<clever> that did it
<spacekitteh[m]> pun intended
arjen-jonathan has quit [Ping timeout: 258 seconds]
<stites> (oops, sorry!) actually maybe I didn't run `justdoit` correctly unless your default configuration is colemak
<gchristensen> lol
<clever> stites: its qwerty
<stites> only the crazies have a default configuration of colemak : )
<clever> it will test the pool every second, and print a . each time it tests
<clever> and it will test it 60 times, before giving up, and trying to import a degraded pool
<clever> stites: so after printing 60 .'s it should boot anyways, and then `zpool status` should reveal what is wrong
<{^_^}> [nixpkgs] @jtojnar opened pull request #55735 → gnome3: stop using aliases → https://git.io/fh7ZT
sigmundv has quit [Ping timeout: 240 seconds]
<clever> stites: the other issue, is that nixos uses `-d /dev/disk/by-id` by default, and if any vdev is not in by-id, it will fail to find it
<clever> < DHE> the search thing is kinda important when your pool is made of 122 hard drives. :)
<clever> < DHE> yeah, well, my company has a 1/2 petabyte (roughly) array... so there's that.
ikitat has quit [Ping timeout: 240 seconds]
<clever> stites: this is likely part of why -d exists
shibboleth has quit [Quit: shibboleth]
_kwstas has quit [Quit: _kwstas]
ikitat has joined #nixos
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #55736 → libdislocator: init at 2.52b → https://git.io/fh7ZY
yl has quit [Quit: WeeChat 2.2]
yl has joined #nixos
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
<stites> clever: yeah, I'm seeing exactly what you said after a reboot and zpool status
yl has quit [Client Quit]
yl has joined #nixos
<stites> OOOOOOOOOOOOOOOOO
<clever> stites: ?
<stites> okay, I think what's happening is that I have all the disks attached from my freebsd build, but they are not being loaded correctly
<{^_^}> [nixpkgs] @amiloradovsky opened pull request #55737 → planner: unstable-2018-03-25 -> unstable-2019-02-13 → https://git.io/fh7Zl
<clever> stites: can you pastebin `zpool status` ?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
jackdk has joined #nixos
<stites> here's zpool status and blkid: https://photos.app.goo.gl/qAgRBE3bcFwiTWvL9
<clever> stites: yep, half of your mirror is missing
<stites> sda3 is called tank, which overlaps with the old freebsd pool
<{^_^}> [nixpkgs] @vcunat pushed to master « Revert "linux: 4.14.98 -> 4.14.99" »: https://git.io/fh7ZB
<clever> stites: justdoit uses tank by default
<clever> stites: so justdoit nuked half your zroot mirror, and then zroot booted rather then tank
<clever> and zroot waited 60 attempts to find the missing half of the mirror
<{^_^}> [nixpkgs] @vcunat pushed to release-18.09 « Revert "linux: 4.14.98 -> 4.14.99" »: https://git.io/fh7ZE
<clever> but it will never return
<clever> `zpool detach pool device` can be used to downgrade that mirror to a single-disk pool, but this is a new/different problem, and its not booting from the justdoit based install
xkapastel has quit [Quit: Connection closed for inactivity]
npmccallum has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
<stites> So I think this is pretty good. justdoit didn't zap the old sdb -- I think I would just have to boot into the livecd again and zero out /dev/sdb, then run justdoit again and it should work.
<stites> right?
npmccallum has quit [Client Quit]
<clever> stites: you likely dont even have to re-run justdoit, or even zero out sdb, just tell the bios to boot sda instead
<clever> stites: just pay attention at grub, and note the date/time of the nixos its showing, that should reveal which disk it is
<clever> or the name of the pool its importing, once it starts to boot
<spacekitteh[m]> clever: are you able to merge this? https://github.com/NixOS/nixpkgs/pull/55629
<{^_^}> #55629 (by spacekitteh, 1 day ago, open): Add maps to SC2
<clever> spacekitteh[m]: *looks*
__monty__ has quit [Quit: leaving]
<spacekitteh[m]> ta
rycwo has quit [Ping timeout: 268 seconds]
bollu has quit [Read error: Connection reset by peer]
Thra11 has quit [Ping timeout: 246 seconds]
bollu has joined #nixos
<stites> clever: I can't seem to boot to sda. Going to try zeroing out sdb and restarting
<phizzz> is there a fetchFromGitlab?
tmaekawa has joined #nixos
<phizzz> or do i just use fetchFromGithub for fetching a gitlab repo?
rprije has joined #nixos
<clever> phizzz: if gitlab has a .tar.gz or .zip download link, you can just use fetchzip on that
<samueldr> phizzz: yes there is a fetchfromgitlab
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tmaekawa has quit [Client Quit]
<samueldr> it's fetchFromGitLab
<phizzz> clever: samueldr: where would i find docs on that, for example i need to be able to fetch a tarball from a private gitlab repo
<samueldr> AFAIK none of the fetchers from Nixpkgs will handle private repos
<samueldr> [citation needed]
<samueldr> hm, looks like the github one does
<phizzz> damnation
<samueldr> nothing about private repos and the gitlab one in the source
<clever> phizzz: builtins.fetchGit is about the only way to deal with private repos right now
<clever> phizzz: use a url like ssh://user@host/repo
<samueldr> ^
<phizzz> ok clever thanks, where is the scroll for this magical incantation?
instantepiphany has joined #nixos
<clever> phizzz: builtins.fetchGit { url = "ssh://user@host/repo"; rev = "foo"; sha256 = "bar"; }
<phizzz> or do i just have to read the source?
<phizzz> i appreciate your help. i am having difficulty finding documentation for a lot of the nixos stuff
<instantepiphany> Hi guys, I am trying to upgrade my router (a PC that runs nixos with a couple network cards) from 18.03 to 18.09. I have updated the `nixos` channel as root to 18.09, but when I run `nixos-rebuild switch` I get: https://pastebin.com/Zqjtq5T2
simukis has quit [Quit: simukis]
<instantepiphany> "error 9 while decompressing xz file" is the thing that jumps out at me - not sure what this indicates. Some kind of chicken and egg problem with the build env?
<gchristensen> phizzz: reading source code will definitelyhelp
<clever> instantepiphany: if you run it again, what happens?
zupo_ has joined #nixos
<instantepiphany> I'll try again - I tried 3 times in a row last night and had the same issue, but this morning I ran garbage-collect -d and verified everything in the store in case there was some issue there.
<phizzz> gchristensen: can someone change the topic to "read the source first, then post your questions..." :P
<gchristensen> phizzz: we aren't that rude!
<gchristensen> we're glad to help :) even if it means _we_ read the source
ikitat has quit [Ping timeout: 244 seconds]
zupo has quit [Ping timeout: 246 seconds]
<phizzz> just kidding, you all have been very helpful. i'd just rather find the info
* phizzz looks for the source
<instantepiphany> clever: it is downloading more paths now - if it has the same error again should I use --keep-going to isolate which path is having the error?
<gchristensen> phizzz: search.nix.gsc.io will be helpful :)
<gchristensen> ok, gotta run. good luck, phizzz!
<clever> instantepiphany: yeah, that can help
<instantepiphany> clever: https://pastebin.com/1mVadv2y - so my understanding is the build succeeded, but in switching to the new derivation something, somewhere, failed. What now?
<instantepiphany> Probably due to my LANGUAGE and LC_ALL not being set.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55535 → [18.09] vscode backports - 20190210 → https://git.io/fhQvd
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to release-18.09: https://git.io/fh7nC
jasongrossman has joined #nixos
<clever> instantepiphany: try `nixos-rebuild boot` ?
<clever> instantepiphany: and if that fails, `nix-store --verify --check-contents`
alex`` has quit [Ping timeout: 245 seconds]
<instantepiphany> clever: happy to do that, but please correct me if I misunderstand - the only error in my latest paste is that perl complains that it can't find supported & installed locale settings - could that simply be I have misconfigured my locale somehow?
ikitat has joined #nixos
vk3wtf has quit [Quit: WeeChat 2.3]
<clever> instantepiphany: `Compilation failed in require` looks like a worse issue, that stopped switch from switching
<instantepiphany> clever: Verifying nix store had 30 or so paths show this type of message: `path '/nix/store/n6x9cnkk6b4q4wg3b74v6z178d3ah81r-file-5.34' was modified! expected hash 'sha256:1jar6j26nzy3yqqzh3jqy3b1vw9dh72rv8y7wbrm3sjyr1y3934r', got 'sha256:038zcbaiynysrgbn23fdmjwad38516dj2fjc1ysmhzxyiq7dq5cb'`. Possibly bad RAM or HD?
vk3wtf has joined #nixos
<clever> instantepiphany: sounds like an improper shutdown might have corrupted the disk
<clever> instantepiphany: run `nix-store --repair-path` on each of those paths
<instantepiphany> Yeah there were a few improper shutdowns last night as the nvidia derivation was causing a system crash somehow, I disabled the driver and xserver as I don't use this machine graphically. I would have thought paths should *not* be added to the nix store until they have had their hash verified.
<clever> instantepiphany: the problem is that some filesystems like ext4 can loose the contents of a file at an improper shutdown
<clever> so after adding the path to the store, its contents just change
rpg has quit [Ping timeout: 257 seconds]
<instantepiphany> clever: Oh, like a queued write to disk - I should have tried REISUB :)
ikitat has quit [Ping timeout: 272 seconds]
<clever> instantepiphany: yeah
<clever> personally, ive switched fully to zfs, and ive not had any issues like that on it
acarrico has quit [Ping timeout: 250 seconds]
schjetne has joined #nixos
<instantepiphany> zfs is on my "would like to have time to try that" list :)
schjetne has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @oxij opened pull request #55738 → firefoxPackages.tor-browser: 8.0.5 -> 8.0.6 → https://git.io/fh7ny
<instantepiphany> Thanks for the help clever!
<clever> yep
drakonis has joined #nixos
<jasongrossman> clever++
<{^_^}> clever's karma got increased to 90
<clever> spacekitteh[m]: it builds, but i dont know how to test such the maps...
<spacekitteh[m]> i've inspected the build result and it looked fine to me
<{^_^}> [nixpkgs] @cleverca22 merged pull request #55629 → Add maps to SC2 → https://git.io/fhQwD
<{^_^}> [nixpkgs] @cleverca22 pushed 3 commits to master: https://git.io/fh7nQ
<clever> spacekitteh[m]: ^^
<spacekitteh[m]> ty <3
Rusty1 has joined #nixos
instantepiphany has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jasongrossman has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
rcshm has quit [Remote host closed the connection]
<stites> hot diggity! clever you are a genius!
<stites> clever, some might say
rcshm has joined #nixos
<clever> stites: tank boots?
<stites> everything is working fine -- it took an extra long time because I thought that this box supported uefi
asymmetric has joined #nixos
<stites> yup!
<asymmetric> how do i build a new nixos module i'm developing?
<stites> and I no longer have to deal with that horrible pool naming scheme from those other scripts
<asymmetric> or any existing nixos module for that matter
rfold has quit [Quit: leaving]
<clever> asymmetric: you can add custom modules to the imports list under configuration.nix
<clever> stites: justdoit also allows a custom pool name, at install time
<asymmetric> yep! and then how do i nix-build -A it?
<stites> clever: yup -- I've used zroot, once again, since I have a tank already.
<asymmetric> clever: can't i use the same workflow as when i'm developing a package? `nix-build -A $pkgname`
<clever> asymmetric: you could build the module with nix-build or similar, `nixos-rebuild build-vm -I nixos-config=./configuration.nix`
<clever> stites: i try to have the pool name match the hostname
<stites> do you use zfs for everything?
<clever> stites: yeah
<stites> including, say, laptops without mirroring?
WhittlesJr has quit [Quit: Page closed]
<clever> yep
<clever> i can stil `zfs send` the whole thing to the NAS
<stites> ooooh! very interesting
<stites> cool! thanks!
<stites> I actually also had a similar to asymmetric (trying to build some system76 drivers) I didn't know about build-vm before -- this is excellent!
<stites> thanks for all of the help clever!
eadwu has quit [Quit: WeeChat 2.3]
rcshm has quit [Remote host closed the connection]
tdeo has quit [Quit: Quit]
rcshm has joined #nixos
Ridout has joined #nixos
tdeo has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
ym555 has quit [Ping timeout: 258 seconds]
yl has quit [Ping timeout: 244 seconds]
<clever> stites: ive also got a system76 laptop, but never bothered to get the "proper" drivers, it just works with defaults
<asymmetric> clever: that worked like a charm, but i somehow can't login at the desktop manager
<asymmetric> have you ever seen this
<clever> asymmetric: if you didnt set a password in configuration.nix, then it wont have any pw for login
<asymmetric> i actually passed in the system's configuration.nix, with the added module
<asymmetric> nixos-rebuild build-vm -I nixos-config=/etc/nixos/configuration.nix
<{^_^}> [nixpkgs] @dotlambda opened pull request #55739 → qutebrowser: choose correct executable when restarting → https://git.io/fh7cB
<clever> asymmetric: does your system config have an initial password?
<asymmetric> what do you mean by initial password?
<clever> asymmetric: users.users.foo.initialPassword or initialPasswordHash
<asymmetric> clever: nope
<clever> asymmetric: then all users will have no pw by default, and login will be imposible
<asymmetric> i see, so to make the configuration.nix really reproducible, i should add initialPasswordHash ?
<clever> asymmetric: yeah, i have that on all of my users i use regularly
<clever> asymmetric: youll also want to delete the qcow2 image that build-vm dropped in the working dir
ym555 has joined #nixos
<asymmetric> worked perfectly, thx
shibboleth has joined #nixos
tdeo has quit [Quit: Quit]
tdeo has joined #nixos
dermetfan has quit [Ping timeout: 246 seconds]
<stites> headed out for today -- thanks again clever!
<clever> yep