gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
michas_ has joined #nixos
michas_ has quit [Client Quit]
michas_ has joined #nixos
Walker3R has quit [Ping timeout: 276 seconds]
michas has quit [Ping timeout: 268 seconds]
Walker3R has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
nlofaro_ has quit []
nlofaro has joined #nixos
nlofaro has quit [Client Quit]
nlofaro has joined #nixos
michas_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
michas has joined #nixos
Walker3R has quit [Ping timeout: 246 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<johnw> who sets NIX_BUILD_TOP? I have a build where it's being set to /build, but this directory doesn't exist
<johnw> thanks gchristensen!
drakonis1 has joined #nixos
<johnw> This is the latest Nix from nixos.org, newly installed within a CentOS 7 VM
<gchristensen> hmm
Walker3R has joined #nixos
<johnw> let me try another build...
<nlofaro> hello everybody
<johnw> how's things gchristensen? ltns :)
o1lo01ol1o has joined #nixos
<gchristensen> my nix-install-matrix seems to have a broken centos-7 config: https://buildkite.com/grahamc/nix-install-matrix/builds/69#ae27c2a3-3494-4b9f-8836-b7562b06bb95
<gchristensen> things are good :) just got back from a 2 week vacation, so even better than usual ^.^
drakonis_ has quit [Ping timeout: 265 seconds]
<gchristensen> how about yourself? (I'll see about fixing the centos-7 config)
<johnw> (thanks!) I've been well, rather busy, about to head to Zurich this weekend
<gchristensen> oh nice
<gchristensen> say, will you be at nixcon?
o1lo01ol1o has quit [Ping timeout: 276 seconds]
jgt has joined #nixos
<gchristensen> johnw: can you find the proper options for this to automatically agree? `yum install curl` also -- does centos need more packages than just curl for Nix to install?
mexisme has joined #nixos
Guest29 has joined #nixos
<johnw> no, I won't be there :(
<Guest29> Hi all, has anyone had any luck setting up wireguard? "wg-quick up mullvad-se4" seems to just stop all traffic
<johnw> I don't think it should
<johnw> automatically agree?
<johnw> oh, yum install -y
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je32A
<gchristensen> excellent, thanks
<johnw> gchristensen: ah, my other build failed too: https://github.com/jwiegley/procman
<johnw> if you just run `nix-build` in a clone of that, it manifests it; as likely does any build
batzy has joined #nixos
<batzy> nix-env -qa <package> is taking a really long time.
michas has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<batzy> like actually just not working
<batzy> it's been 10 minutes.
joehh has quit [Ping timeout: 258 seconds]
joehh has joined #nixos
Guest29 has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 246 seconds]
Guest34 has joined #nixos
<batzy> anyone know what's up?
<johnw> does "top" show anything happening at all? anything stuck?
<batzy> yeah it's using pretty insane amounts of memory and cpu
drakonis1 has quit [Ping timeout: 258 seconds]
drakonis1 has joined #nixos
<batzy> johnw, like 30% memory
<johnw> what is?
<batzy> nix-env -qa
<johnw> you can use `gdb -p <PID>` to connect to the process and get a backtrace
<johnw> same with `strace -p <PID>`
<johnw> (I'm assuming you're on Linux)
<batzy> er
<batzy> lots of stuff moving fast
<johnw> strace is a hose
<johnw> look for repetitions
<batzy> man idk
<batzy> there's a lot of 'buildpythonpackage'
Guest34 has quit [Remote host closed the connection]
<johnw> I'm not sure what else to try
Guest34 has joined #nixos
<Guest34> Anyone have any luck with wireguard?
<batzy> lots of this
<johnw> nix-env -qa used to work for you before, the way you're using it now?
<batzy> yeah I think so
<batzy> johnw, it just finished
<batzy> it pasted the same result 3 times
<batzy> i guess on multiple channels
drakonis_ has joined #nixos
<johnw> Guest34: it used to; now I get: cannot find package "golang.zx2c4.com/wireguard/device"
drakonis1 has quit [Ping timeout: 240 seconds]
<johnw> Guest34: it works in rev b36dc66bfea6b0a733cf13bed85d80462d39c736 of nixpkgs
<Guest34> Seems like wireguard-go is no longer the recommended approach?
<Guest34> But I can't get wg-quick up to work
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7ba2943d72b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
mexisme has joined #nixos
ris has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/499d72936b9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
jasonrm_ has quit [Quit: ZNC 1.7.3 - https://znc.in]
mishac has joined #nixos
<mishac> hello
<mishac> i seem to have run into DNS problem with nixos
<mishac> and i wonder if anyone has any ideas how to fix it
<mishac> i can ping dns servers and ip addresses of the websites
<mishac> but the name does not resolve
<Guest34> Is there any way to get wg-quick up to work?
wfranzini has quit [Remote host closed the connection]
Walker3R has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @eadwu opened pull request #69127 → cascadia-code: init at 1909.16 → https://git.io/Je3a2
Walker3R has joined #nixos
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @refnil opened pull request #69128 → fedpkg: fix build → https://git.io/Je3aa
Walker3R has quit [Read error: Connection reset by peer]
Walker3R has joined #nixos
<clever> mishac: is the dns server configured in /etc/resolv.conf ?
Guest34 has quit [Remote host closed the connection]
Guest34 has joined #nixos
mishac has quit [Ping timeout: 260 seconds]
Walker3R has quit [Ping timeout: 246 seconds]
Walker3R has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #69129 → typora: allow pandoc to be in PATH → https://git.io/Je3aK
<{^_^}> [nixpkgs] @eadwu closed pull request #69065 → typora: build without electron_5 dependency → https://git.io/Je3qI
emacsomancer has joined #nixos
liberiga has joined #nixos
Walker3R has quit [Ping timeout: 276 seconds]
selfsymmetric-mu has joined #nixos
Walker3R has joined #nixos
Guest34 has quit [Ping timeout: 240 seconds]
Walker3R has quit [Read error: Connection reset by peer]
Walker3R has joined #nixos
sigmundv has quit [Ping timeout: 265 seconds]
Walker3R has quit [Read error: Connection reset by peer]
Walker3R has joined #nixos
Zer0xp has joined #nixos
Walker3R has quit [Ping timeout: 246 seconds]
Walker3R has joined #nixos
Walker3R has quit [Read error: Connection reset by peer]
Walker3R has joined #nixos
Walker3R has quit [Ping timeout: 246 seconds]
Walker3R has joined #nixos
slack1256 has joined #nixos
silver_ has quit [Read error: Connection reset by peer]
liberiga has quit [Ping timeout: 260 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
Walker3R has quit [Remote host closed the connection]
jay_ has joined #nixos
jay_ has quit [Remote host closed the connection]
growpotkin has joined #nixos
jlv has joined #nixos
batzy has quit [Quit: Leaving]
<jlv> Is the a nix function to get the directory of the .nix file?
growpotk- has joined #nixos
growpotkin has quit [Ping timeout: 276 seconds]
growpotk- has quit [Ping timeout: 258 seconds]
<jlv> Something like `pwd` for nix
mexisme has quit [Ping timeout: 276 seconds]
<samueldr> there is no concept of "cwd" or "pwd" within the nix eval, but every file knows where it is, and any relative path is relative to the current file (not cwd or pwd)
<samueldr> so ./. is the directory the file you wrote that in is in
<samueldr> jlv: is that what you were looking for?
<jlv> samueldr: I need a string in this case, so I can't use the built in relative path.
<jlv> And it needs to be an absolute path.
<samueldr> > toString ./.
<{^_^}> "/var/lib/nixbot/state/nixpkgs"
<samueldr> when paths are converted to string, they are always turned to absolute paths
m0rphism has quit [Ping timeout: 246 seconds]
<buckley310> theres also dirOf ./.
abathur has joined #nixos
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 265 seconds]
<jlv> Just above `toString` in the manual is, what looks like, an even simpler solution: Use /. + "/path" to convert a string into an absolute path. For relative paths, use ./. + "/path"
<clever> > toString ./.
<{^_^}> "/var/lib/nixbot/state/nixpkgs"
<clever> > "${./.}"
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs' is forbidden in restricted mode
<clever> toString behave very differently from treating it as a string
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg closed pull request #69108 → dropbox: 73.4.118 -> 81.4.195 → https://git.io/Je3Rc
<{^_^}> [nixpkgs] @peterhoeg merged pull request #68996 → terraform: 0.12.8 -> 0.12.9 → https://git.io/JeOHj
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/Je3VW
mexisme has quit [Ping timeout: 240 seconds]
szicari has quit [Quit: ZNC - http://znc.in]
szicari has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
mac10688 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to gnome-3.34: https://git.io/Je3VB
MmeQuignon has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @millerjason opened pull request #69130 → vimacs: init at 2016-03-24 → https://git.io/Je3Vu
<mac10688> anyone know what the default login for a nixos container is or how to configure a user on one?
szicari has quit [Ping timeout: 245 seconds]
szicari has joined #nixos
<pie_> ok so now how do i fix
<pie_> qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
<pie_> used to be solved by settign some env vars but thats not working so simply right now for some reason
<pie_> hmm
* pie_ tries unstable
<pie_> meh still broken
mexisme has joined #nixos
<pie_> i just wanted to draw on drawpile a bit :/
<pie_> used to work
<buckley310> drawpile launches for me
zacts has joined #nixos
jlv has quit [Remote host closed the connection]
<pie_> maybe its something related to the usual qt mess...but i dont have anything installed in nix-env...so i must have forgotten about something?
mexisme has quit [Ping timeout: 276 seconds]
<pie_> i did just remove something that depended on qt from my nix env but that shouldnt matter right?
cdepillabout has joined #nixos
<buckley310> its possible that affected it. environment variables affect how QT loads
<mac10688> guys, i found it. to login to a nixos-container you need to `sudo nixos-container root-login foo`
<mac10688> this calls for a pizza party
<{^_^}> [nixpkgs] @xzfc opened pull request #69131 → Avoid subshells → https://git.io/Je3VD
justanotheruser has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/4fd551ee2f1 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
Okinan has quit [Quit: Konversation terminated!]
<buckley310> so the chances of gnome 3.34 being in 19.09 are pretty much zero, right?
<{^_^}> nix#2259 (by pushcx, 1 year ago, open): Manual's build example doesn't build
drakonis has quit [Read error: Connection reset by peer]
pareidolia has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
<worldofpeace> buckley310: yes, for sure zero percent.
<worldofpeace> If we released perhaps 3 months later we could have done that.
<buckley310> welp, I guess I'm not leaving unstable this round :D
vonfry has joined #nixos
Wharncliffe has quit [Ping timeout: 276 seconds]
gyroninja has quit [Read error: Connection reset by peer]
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
gyroninja has joined #nixos
Zer0xp has quit [Ping timeout: 268 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
knupfer has joined #nixos
wfranzini has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 2.5]
emacsomancer has quit [Read error: Connection reset by peer]
domogled has joined #nixos
domogled has quit [Client Quit]
zacts has joined #nixos
justbeingglad has left #nixos [#nixos]
knupfer has quit [Ping timeout: 245 seconds]
<slack1256> On nix repl, why are some builtins exposed with a __ prefix at top level?
<slack1256> Why don't export it at top level bare?
<clever> anything without a __ prefix, gets directly added to the top-level scope
<clever> so things like abort, true, false, and map are just in the scope by default
<clever> anything with an __ prefix, gets added to both the top-level scope (with the prefix) and then again to builtins (with it stripped)
<slack1256> I see, kind of make sense.
<slack1256> Thanks for the GH links clever.
mexisme has joined #nixos
mac10688 has quit [Ping timeout: 276 seconds]
fusion809 has quit [Remote host closed the connection]
abathur has quit [Ping timeout: 268 seconds]
kleisli has quit [Ping timeout: 245 seconds]
joehh has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #69132 → ocamlPackages.containers: 1.4 → 2.6.1, and related fixes → https://git.io/Je3w4
dbyte has quit [Remote host closed the connection]
dbyte has joined #nixos
ericsagnes has quit [Ping timeout: 276 seconds]
peel has quit [Disconnected by services]
peel has joined #nixos
joehh has joined #nixos
palo1 has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #68962 → ocamlPackages.ocaml-protoc: init at 1.2.0 → https://git.io/JeOwZ
<{^_^}> [nixpkgs] @vbgl pushed commit from @vyorkin to master « ocamlPackages.ocaml-protoc: init at 1.2.0 (#68962) »: https://git.io/Je3wE
<{^_^}> [nixpkgs] @aszlig pushed to master « ip2unix: 2.1.0 -> 2.1.1 »: https://git.io/Je3wu
<{^_^}> [nixpkgs] @vbgl merged pull request #68958 → ocamlPackages.ppx_deriving_rpc: init at 5.9.0 → https://git.io/JeOVy
<{^_^}> [nixpkgs] @vbgl pushed commit from @vyorkin to master « ocamlPackages.ppx_deriving_rpc: init at 5.9.0 »: https://git.io/Je3wz
<{^_^}> [nixpkgs] @aszlig pushed to release-19.09 « ip2unix: 2.1.0 -> 2.1.1 »: https://git.io/Je3wg
palo has quit [Ping timeout: 276 seconds]
palo1 is now known as palo
ericsagnes has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
slack1256 has quit [Remote host closed the connection]
ebzzry has joined #nixos
<ebzzry> Where is the keybase fs mounted by default?
cdepillabout has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/51bc28fd29d (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> [nixpkgs] @bjornfor pushed to master « kicad: fix build »: https://git.io/Je3wM
<{^_^}> [nixpkgs] @bjornfor merged pull request #68985 → kicad: fix build → https://git.io/JeOyy
<clever> ebzzry: is it listed in `mount` output?
vonfry has quit [Quit: WeeChat 2.4]
cdepillabout has joined #nixos
cdepillabout has quit [Client Quit]
<{^_^}> [nixpkgs] @aszlig pushed to release-19.03 « ip2unix: 2.0.1 -> 2.0.2 »: https://git.io/Je3wS
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Je3wH
<{^_^}> [nixpkgs] @Ma27 merged pull request #69094 → httpie: add missing 'setuptools' to propagatedBuildInputs → https://git.io/Je3n3
Ariakenom has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed commit from @madjar to release-19.09 « httpie: add missing 'setuptools' to propagatedBuildInputs »: https://git.io/Je3wQ
zacts has quit [Quit: WeeChat 2.4]
dermetfan has joined #nixos
iqubic` has joined #nixos
civodul has joined #nixos
iqubic has quit [Ping timeout: 245 seconds]
iqubic` has quit [Remote host closed the connection]
iqubic has joined #nixos
dermetfan has quit [Ping timeout: 240 seconds]
peel_ has quit []
peel_ has joined #nixos
peel has quit [Disconnected by services]
peel_ is now known as peel
peel1 has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #69133 → firmware-linux-nonfree: 2019-07-17 -> 2019-08-15 → https://git.io/Je3rJ
Chiliparrot has joined #nixos
hc has quit [Remote host closed the connection]
wfranzini has joined #nixos
polman has joined #nixos
bennofs has quit [Quit: WeeChat 2.4]
init_6 has joined #nixos
mexisme has joined #nixos
M-Gregoire49 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/25544be8315 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ng0 has joined #nixos
niksnut has joined #nixos
M-Gregoire49 has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #69106 → libfido2: 1.1.0 -> 1.2.0 → https://git.io/Je34o
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Je3rn
asymptotically has joined #nixos
kvda has joined #nixos
veske has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @doronbehar opened pull request #69134 → neovim-remote: 2.2.0 -> 2.2.1 → https://git.io/Je3rS
<{^_^}> [nixpkgs] @doronbehar opened pull request #69135 → imapfilter: 2.6.12 -> 2.6.13 → https://git.io/Je3rH
captn3m0 has quit [Ping timeout: 258 seconds]
sigmundv has joined #nixos
<eyJhb> Is there any guidelines for EOL software in Nix/NixOS?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/021d733ea3f (from 85 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<eyJhb> Oh, and is anybody op for checking out #68850 and maybe merging it?
Tucky has joined #nixos
<{^_^}> https://github.com/NixOS/nixpkgs/pull/68850 (by eyJhb, 4 days ago, open): purple-slack: Init at 2019-08-18
thc202 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m0rphism has joined #nixos
tvorog has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #69136 → onedrive: init at 2.3.9 → https://git.io/Je3om
alex`` has joined #nixos
hmpffff has joined #nixos
<ij> I'm trying to install the sq_mini_racer ruby gem, but it seems like it wants to download v8 or something. I'm installing on darwin with bundix. https://clbin.com/dXDCb
<ij> What package is v8 in? Node?
<ij> libv8, I guess
<manveru> hmm
asymptotically2 has joined #nixos
asymptotically is now known as Guest527
asymptotically2 is now known as asymptotically
ng0_ has joined #nixos
klntsky has quit [Remote host closed the connection]
andreas303 has quit [Remote host closed the connection]
xelxebar has quit [Remote host closed the connection]
<manveru> ij: just v8
orivej_ has quit [Ping timeout: 276 seconds]
oida has quit [Remote host closed the connection]
<manveru> i guess similar flags as for `therubyracer` gem might work
<{^_^}> [nixpkgs] @peti merged pull request #68989 → haskell.compiler.ghcjs86: Bump ghc-8.6 branch, fix build. → https://git.io/JeOSh
<{^_^}> [nixpkgs] @Ma27 pushed to master « httpie: use python3 by default »: https://git.io/Je3o4
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je3oB
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #69095 → haskell-hakyll: remove outdated patch. → https://git.io/Je3nH
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je3oz
oida has joined #nixos
ng0 has quit [Ping timeout: 260 seconds]
Guest527 has quit [Ping timeout: 260 seconds]
jb55 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to release-19.09 « httpie: use python3 by default »: https://git.io/Je3or
<ij> I found those flags. I'm using my local fork (with the generic ruby builder :/) and I'll try adding the same flags in gem-config/default.nix
klntsky has joined #nixos
dbyte has quit [Remote host closed the connection]
xelxebar has quit [Remote host closed the connection]
dbyte has joined #nixos
andreas303 has joined #nixos
Palpares has quit [Ping timeout: 260 seconds]
cartwright has quit [Ping timeout: 260 seconds]
cinimod` has joined #nixos
<cinimod`> I just created a nixos machine
<cinimod`> But I am running out of disk space :(
vdemeester_ has joined #nixos
nschoe has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #69137 → openjdk8: add `setJavaClassPath`-hook to jdk as well → https://git.io/Je3oy
Palpares has joined #nixos
cartwright has joined #nixos
<cinimod`> I think it must be something to do with the way the space is partitioned
vdemeester_ has quit [Client Quit]
dbyte has quit [Ping timeout: 276 seconds]
dermetfan has joined #nixos
<cinimod`> I have a disk which is 100G
<manveru> ij: man, that's the second gem in two days that tries to download shit from the net during build...
phreedom has quit [Remote host closed the connection]
veske has joined #nixos
Makaveli7 has joined #nixos
klntsky has quit [Ping timeout: 260 seconds]
ng0_ has quit [Ping timeout: 260 seconds]
oida has quit [Ping timeout: 260 seconds]
asymptotically has quit [Ping timeout: 260 seconds]
<ij> yeah, that really sucks
<ij> adding those flags in the nixpkgs didn't help for some odd reason
cartwright has quit [Ping timeout: 260 seconds]
Palpares has quit [Ping timeout: 260 seconds]
andreas303 has quit [Ping timeout: 260 seconds]
<manveru> yeah
<manveru> checking...
<ij> thanks :)
<cinimod`> My service provider tells me I have a 100G disk
o1lo01ol1o has joined #nixos
<cinimod`> But df -h tells me I have far less
<manveru> cinimod`: then you should make larger partitions :)
fendor has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<cinimod`> manveru: can you point me at the relevant nixos doc?
justanotheruser has quit [Ping timeout: 265 seconds]
ixxie has joined #nixos
<cinimod`> I have tried to understand that but failed
alanz has quit [Remote host closed the connection]
<cinimod`> I am already running nixos
<cinimod`> This seems to deal with the nixos installer - I am well beyond that point
<cinimod`> I think I need to re-partition somehow
alanz has joined #nixos
<{^_^}> [nixpkgs] @thundergolfer opened pull request #69139 → Upgrade argo to 2.3.0 from 2.2.1 → https://git.io/Je3KJ
<manveru> well, the back up your nixos config and install again?
<ij> don't you just need to resize the partition?
<manveru> depends on the filesystem
<ij> it's probably ext4
<ij> was it possible to do live? I don't remember any more
<{^_^}> [nixpkgs] @Ma27 merged pull request #68965 → csvs-to-sqlite: 0.9 -> 1.0 → https://git.io/JeOoU
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Je3KL
<manveru> ,locate bin growpart
<{^_^}> Found in packages: cloud-utils
jD91mZM2 has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @Ma27 pushed commit from @B4dM4n to release-19.09 « csvs-to-sqlite: 0.9 -> 1.0 »: https://git.io/Je3KO
<manveru> i think that might work, but you probably have to unmount / first, which means you have to do it from the installer...
jD91mZM2 has joined #nixos
<manveru> there is also `boot.growPartition` option in nixos
<manveru> but i've never tried that
jb55 has joined #nixos
phreedom has joined #nixos
xelxebar has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
klntsky has joined #nixos
Palpares has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
nschoe has quit [Ping timeout: 268 seconds]
ng0_ has joined #nixos
<cinimod`> I think this is beyond my knowledge level
oida has joined #nixos
<cinimod`> I created a VM on azure with a nixos image
<cinimod`> Sadly this image doesn't seem to use the available disk space
<{^_^}> [nixpkgs] @1000101 opened pull request #69140 → prometheus-apcupsd-exporter: init at unstable-2019-03-14 → https://git.io/Je3K0
gyroninja has quit [Ping timeout: 268 seconds]
<manveru> cinimod`: then try setting `boot.growPartition = true;` in your config
<manveru> and reboot
noudle has joined #nixos
Makaveli7 has joined #nixos
<manveru> you might have to collect all garbage first, and remove packages until the config can fit though
aswanson has quit [Quit: WeeChat 2.4]
<cinimod`> I can't even install emacs atm
<manveru> nano?
justanotheruser has joined #nixos
gyroninja has joined #nixos
<manveru> `sudo nix-collect-garbage -d` first
cartwright has joined #nixos
o1lo01ol1o has joined #nixos
<marek> should pname match the preference in all-packages.nix?
<{^_^}> [nixpkgs] @teto closed pull request #41264 → [wip] ns3 update + Dce (direct code execution init) → https://github.com/NixOS/nixpkgs/pull/41264
<marek> I see most of the prometheus exporter are references as prometheus-*-exporter, but has the pname of *-exporter only
asymptotically has joined #nixos
ng0_ is now known as ng0
Guillaum has quit [Ping timeout: 250 seconds]
nschoe has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/021d733ea3f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
ixxie has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #68275 → squashfsTools: 4.4dev_20180612 -> 4.4 → https://git.io/fjjx0
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/Je3Kr
Guillaum has joined #nixos
multun has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e81404fdeda (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
multun has joined #nixos
<manveru> ij: looks like the libv8 gem removed the option to provide your own v8...
<manveru> this is really frustrating
<manveru> also `Starting with libv8 3.11.8.0, all even point releases contain only a source-based distribution, while odd point releases contain both a source-based distribution and binary distributions. However both point releases correspond to the exact underlying code. The only difference is the version number.`
<manveru> srsly, who thinks of such things
FRidh has quit [Ping timeout: 265 seconds]
FRidh has joined #nixos
Okinan has joined #nixos
andreas303 has joined #nixos
tmaekawa has joined #nixos
xelxebar_ has joined #nixos
<{^_^}> [nixpkgs] @ruuda opened pull request #69142 → python37Packages.sentry-sdk: Fix tests → https://git.io/Je3KQ
<cinimod`> I am still trying to find out how I set a password on my nixox / azure vm
<cinimod`> nixos
polman has quit [Ping timeout: 276 seconds]
<cinimod`> The VM agent is either unavailable, or not installed, which may prevent VMAccess from running.
<cinimod`> So it seems I can't do it from the azure console
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dae532c4457 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
xelxebar has quit [Remote host closed the connection]
sigmundv has quit [Quit: Leaving]
FRidh has quit [Ping timeout: 245 seconds]
polman has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<cinimod`> Perhaps my best bet is to create a nixos image with better partitions and just delete the existing VMs
<cinimod`> nix-collect-garbage -d fails because I don't have enough space
<clever> cinimod`: find at least one file outside of /nix/store, delete it manually, then `nix-collect-garbage --max-freed 1m`
<clever> cinimod`: does that work?
sigmundv has joined #nixos
<cinimod`> I don't have *any* files - I just created the VM about an hour ago
<clever> cinimod`: systemd makes a bunch of crap, like journal files
markasoftware has quit [Quit: No Ping reply in 180 seconds.]
<clever> cinimod`: even bash makes .bash_history
markasoftware has joined #nixos
<cinimod`> [sundials@testVM:~]$ nix-collect-garbage --max-freed 1m
<cinimod`>
<cinimod`> error: cannot open connection to remote store 'daemon': executing SQLite statement 'pragma synchronous = normal': disk I/O error (in '/nix/var/nix/db/db.sqlite')
<cinimod`> 0 store paths deleted, 0.00 MiB freed
<cinimod`>
nschoe has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #69140 → prometheus-apcupsd-exporter: init at unstable-2019-03-14 → https://git.io/Je3K0
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Je3Kj
<clever> cinimod`: `du -h` ?
<cinimod`> clever: where? in ~/ or /
<{^_^}> [nixpkgs] @Taneb opened pull request #69143 → kexi: patch error due to Qt 5.13 → https://git.io/Je36e
<cinimod`> [sundials@testVM:~]$ du -h
<cinimod`> 16K .
<cinimod`> 4.0K ./.nix-defexpr
<cinimod`> 8.0K ./.ssh
<cinimod`>
<{^_^}> [nixpkgs] @joachifm merged pull request #69103 → tor: 0.4.1.5 -> 0.4.1.6 → https://git.io/Je3lH
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/Je36v
<clever> cinimod`: try `du -h /var` and use a pastebin
<clever> cinimod`: sudo rm -rf /var/log/journal/8b08efc1f01043c68c35918ca30c2a5a
<clever> that will give you a whopping 17mb!!
<clever> then try `nix-collect-garbage --max-freed 1m` again
<cinimod`> clever: afaict I never set a sudo password and the azure console won't allow me to set one on nixos :(
<clever> cinimod`: can you ssh in as root?
<cinimod`> I can try
<cinimod`> It also asks me for a password
arahael4 is now known as Arahael
<clever> then youll never be able to actually use this machine once the free space is fixed
<clever> your better off nuking it and starting over
<cinimod`> That was my thinking
<cinimod`> Presumably the image I am using needs to be modified
<clever> i would just use nixops
<cinimod`> How would I use nixops with azure?
<clever> ack, youll need to use nixops 1.6, and then follow that doc
suzanne has joined #nixos
<cinimod`> This yak really needs some shaving
<cinimod`> I am trying to solve equations using Chebyshev polynomial approximations
<cinimod`> Somehow here I am using nixops on azure
<clever> why do you need azure for Chebyshev polynomial approximations?
FRidh has joined #nixos
<cinimod`> I want to use CUDA for my solver - I thought something like nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz -E 'with import <nixpkgs> { config.allowUnfree = true; }; stdenv.mkDerivation { name = "foo"; buildInputs = [ (python37.withPackages (pkgs: [pkgs.tensorflowWithCuda])) ]; }' would be a way of not having to worry about manually installing everything
<cinimod`> But I can't use CUDA with nix unless I am running nixos
<FRidh> cinimod`: no need for the stdenv.mkDerivation
<clever> cinimod`: was cuda the amd or the nvidia one?
<clever> nvidia i think?
<cinimod`> clever: yes but I didn't know there was a choice
<clever> cinimod`: nvidia is primarily cuda, amd is primarily opencl i believe
<cinimod`> That's what I think
<clever> cinimod`: i have used cuda before with nixops and aws, so nothing is forcing you to go with azure
<cinimod`> clever: I need a VM somewhere to run nixos I think so why not azure?
<cinimod`> Did I say I was forced to use azure? I certainly didn't mean to give that impression
<cinimod`> I just happen to have used azure off and on over the last 6 years
__monty__ has joined #nixos
<{^_^}> [nix] @regnat opened pull request #3098 → Split build.cc → https://git.io/Je36G
<clever> cinimod`: more that you can switch to aws, to avoid the issues of nixops having azure disabled
jD91mZM2 has quit [Quit: ZNC 1.7.3 - https://znc.in]
<cinimod`> clever: colemickens had created instructions on how to create a nixos VM on azure - probably I should see what they suggest or as you say switch to AWS
<cinimod`> clever: it may be that one of their instructions can be modified to partition the disk - I looked through the instructions but I can't see how to modify them myself
<clever> cinimod`: can you link the instructions?
<cinimod`> But I have no idea how atm
<clever> cinimod`: line 5
<clever> cinimod`: you can just --arg diskSize 2048
liberiga has joined #nixos
<__monty__> 1536 M(?)B is a weird default size, no?
<__monty__> Or is it just enough to fit the image?
<cinimod`> clever: on line 6 what does ... signify?
<cinimod`> __monty__: I don't know
<__monty__> cinimod`: That you can call the function with a record that includes other fields.
<__monty__> And I think they'll be accessible from within the body but not sure.
suzanne has quit [Ping timeout: 246 seconds]
LnL has quit [Quit: exit 1]
<clever> cinimod`: line 6, the ..., causes it to ignore any arguments not listed there
LnL has joined #nixos
LnL has joined #nixos
<clever> cinimod`: this will load azure-mkimage.nix and pass it a nixpgs and rev, you could add a diskSize there, or just modify the default
o1lo01ol1o has joined #nixos
<clever> __monty__: i'm guessing it was made as small as possible, and its supposed to resize itself on first boot, but maybe it was just a little bit too small
<cinimod`> clever: I used the prebuilt image - I will now try and create my own image
<cinimod`> Thanks very much for the help / pointers :)
<cinimod`> I will report back on progress
o1lo01ol1o has quit [Read error: Connection reset by peer]
<cinimod`> I may even write a blog about it
o1lo01ol1o has joined #nixos
<cinimod`> The world needs to know these things
<__monty__> You probably should, and then add a link to the wiki.
jtojnar has quit [Quit: jtojnar]
fendor has quit [Ping timeout: 240 seconds]
fendor has joined #nixos
joshuagl has joined #nixos
<pie_> buckley310: fml i just forgot to set DISPLAY and didnt see the first error message
tmaekawa has quit [Quit: tmaekawa]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-19.03: https://git.io/Je36d
suzanne has joined #nixos
<{^_^}> [nixpkgs] @SFrijters opened pull request #69144 → WIP gdc: init at 9.2.0 → https://git.io/Je36A
MmeQuignon has joined #nixos
mniip has quit [Ping timeout: 610 seconds]
fendor has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @delroth opened pull request #69145 → mcomix: add missing setuptools dependency → https://git.io/Je36j
bew has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 245 seconds]
bew has joined #nixos
bew has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #68961 → plan9port: do not use which in builder.sh → https://git.io/JeOwO
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Je3iv
jD91mZM2 has joined #nixos
iyzsong has joined #nixos
Makaveli7 has quit [Ping timeout: 240 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<qyliss> /go
aw has joined #nixos
spacefrogg has joined #nixos
ris has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/262b328b0ba (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
eyJhbTmp has joined #nixos
kcalvinalvinn has joined #nixos
sauyon has joined #nixos
<sauyon> has anybody run into `undefined reference to symbol 'memcpy@GLIBC_2.2.5'` before?
<sauyon> `readelf` the library seems to show it as available, so I'm confused about how this is happening
iyzsong has quit [Remote host closed the connection]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #66429 → liquidprompt: init at 2018-05-21 → https://git.io/fj7wZ
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/Je3ig
eyJhbTmp has quit [Ping timeout: 260 seconds]
<marek> any good way to list all of the derivations using nix-store?
<marek> or is ls /nix/store|grep srv enough? I guess that would include sources too
nschoe has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/21be1354d29 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<__monty__> Find/fd'd be better than ls | grep.
suzanne has quit [Quit: Leaving]
Makaveli7 has joined #nixos
dansho has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @delroth opened pull request #69147 → libgdiplus: split package to reduce dependencies closure size → https://git.io/Je3iS
graf_blutwurst has joined #nixos
Walker3R has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #69148 → komodo-python-dbgp: init at 11.0 → https://git.io/Je3ix
kenshinCH has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @delroth opened pull request #69149 → mono-zeroconf: remove broken package → https://git.io/Je3ij
Walker3R has quit [Ping timeout: 276 seconds]
Walker3R has joined #nixos
thblt has joined #nixos
<thblt> I have a small issue that may, or may not, be a bug. On a system where git isn't globally installed, declaring a derivation in ~/.nixpkgs/config.nix that uses fetchGit to grab source code fails, because fetchGit assumes git is somehow present. Is it worth reporting?
<{^_^}> [nixpkgs] @liff opened pull request #69151 → pythonPackages.hcloud: init at 1.6.0 → https://git.io/Je3PY
<emily> zfs is broken on current nixos-unstable I guess?
<{^_^}> [nixpkgs] @hkjn opened pull request #69152 → python: ledgerblue: 0.1.24 -> 0.1.28 → https://git.io/Je3PZ
<{^_^}> #46603 (by yorickvP, 1 year ago, closed): `fetchGit` requires `git` as runtime dependency
<etu> emily: Is it? I'm using the last (not latest) one and have made a new generation but not rebooted yet
<emily> maybe an incompatible linux bump; I was using linuxPackages_latest
<etu> Oh, I'm on the default kernel
<etu> 5.3 is new out this week
<emily> yeah, I think that was it
<thblt> infinisil: err, thanks.
emily has quit [Remote host closed the connection]
jD91mZM2 has quit [Quit: ZNC 1.7.3 - https://znc.in]
jD91mZM2 has joined #nixos
Walker3R has quit [Remote host closed the connection]
emily has joined #nixos
liberiga has quit [Ping timeout: 260 seconds]
Tucky has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @hkjn opened pull request #69153 → ledgeragent: init at 0.9.0 → https://git.io/Je3Pg
Shoubit has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #69149 → mono-zeroconf: remove broken package → https://git.io/Je3ij
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je3P6
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @delroth to release-19.09 « mono-zeroconf: remove broken package »: https://git.io/Je3PP
<Shoubit> What's the simplest way to write to an arbitrary (root) file from configuration.nix? `writeTextFile` doesn't work because it runs as a nix builder user. I'm also aware of environment.etc, but I want to write to /run.
<gchristensen> you can't
<{^_^}> [nixpkgs] @fpletz closed pull request #69133 → firmware-linux-nonfree: 2019-07-17 -> 2019-08-15 → https://git.io/Je3rJ
<gchristensen> you could write a systemd service to put it there. maybe you could describe your problem more?
<Shoubit> Do I have to write my own NixOS module (or modify one)?
<delroth> custom activation script might be a solution too?
<gchristensen> activation scripts are almost never the right answer
<tilpner> Shoubit: Simplest way without much extra setup is probably systemd.tmpfiles
<Shoubit> because I'm too impatient for Nixos 19.09 lol
mog has joined #nixos
<tilpner> Shoubit: You could just put that in your config
<tilpner> It might even work
<tilpner> So services.xserver.displayManager.job.preStart = ...;
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/Je3Py
<tilpner> Combine with a let-in to bring pulseConfig in
<{^_^}> [nixpkgs] @romildo merged pull request #69026 → enlightenment.enlightenment: add dependency on bc → https://git.io/JeOhy
<{^_^}> [nixpkgs] @romildo pushed 3 commits to master: https://git.io/Je3PS
aswanson has joined #nixos
<Shoubit> Oh nice, that'd be very convenient
hmpffff has quit [Quit: nchrrrr…]
fusion809 has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
MmeQuignon has quit [Read error: Connection reset by peer]
edhebi has joined #nixos
edhebi has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra pushed to flakes « Flake alias -> id »: https://git.io/Je3Pd
<Shoubit> I forgot my Bluetooth dongle so I can't try it right now but it builds fine so let's assume it works. Thanks for the help guys!
drakonis_ has joined #nixos
cinimod` has quit [Ping timeout: 276 seconds]
drakonis_ has quit [Ping timeout: 265 seconds]
thblt has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
Makaveli7 has quit [Ping timeout: 265 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
dermetfan has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
rsoeldner has joined #nixos
justbeingglad has joined #nixos
<jD91mZM2> ,
<{^_^}> Special commands: find tell locate expand - Commands sorted by use count, page 0 (use ,<n> to view page <n>): tofu help libraries unstable escape'' library unfree declarative howoldis ping callpackage escape" overlay ask paste pinning -a profiling pr imperative nixlang++ which-channel cache xy exec wololo fancy-uninstall xml botsnack invite pills channels haskell loot stateversion home-manager stuck pointers escape-special tias timer dontask nur
<jD91mZM2> ,nixlang++
<jD91mZM2> ,1
<{^_^}> Page 1: pure-eval runtimedeps thesis cloak configsearch error flakes upgrade context feeds ifd jdwhat logs mime nix-bundle nixossearch smart-questions whomademe worldofyumminess wrapper bootfull cloudfront helpout info nix-info nixeval nixgl orginvite the-pr-with-initially-1152-new-nixos-options wrapnix zip zol activationscripts arm avoid-the-review-spam dnw docbook github hardware matrixbridge nix-env-r nix-repl nixcon nixpkgsversion not-os
<jD91mZM2> ,2
<{^_^}> Page 2: notfound ops outpath proot python qt releasenotes replacemodule root todeclarative wrapgappshook
<jD91mZM2> Is there a place to read about merge priority? I'm having trouble understanding what mkDefault does, as I assumed it'd combine my custom value with the default value.
dermetfan has joined #nixos
nikola_i has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #69154 → pgformatter: 4.0 -> 4.1 → https://git.io/Je31K
<{^_^}> [nixpkgs] @delroth opened pull request #69155 → mono: remove dontStrip from derivation → https://git.io/Je31D
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @bachp opened pull request #69156 → tautulli: 2.1.33 -> 2.1.34 → https://git.io/Je3Mv
psyanticy has joined #nixos
<infinisil> jD91mZM2: Only the highest priority definitions are merged together
<infinisil> This in turn means that if you want to have your value merged with the existing one, you need to know what priority the existing one has
multun has quit [Quit: WeeChat 2.5]
<infinisil> Because if you assign a higher one you'll be overriding it completely, and with a lower one your value would be ignored
<jD91mZM2> infinisil: I see, thanks!
<jD91mZM2> That was easier than I expected heh
<jD91mZM2> (to understand)
<infinisil> :)
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/Je3Ma
cinimod` has joined #nixos
nikola_i has quit [Ping timeout: 245 seconds]
multun has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
mniip has joined #nixos
joehh has quit [Ping timeout: 276 seconds]
boxscape has joined #nixos
<jboy> >I'm on NixOS and I'm trying to `stack build` something that requires GHC 7.10.3 (lts-4.2). How do I best go about getting an old version?
jakobrs has joined #nixos
boxscape has left #nixos [#nixos]
<infinisil> jboy: Using an older version of nixpkgs
<jboy> ok thanks infinisil
<immae> jboy: isn’t it stack.yml that decides which version of ghc gets used for a given project?
nikola_i has joined #nixos
endformationage has joined #nixos
<jboy> yes it is. but as i understand stack can't install a different ghc version on nixos.
<immae> is it specific to nixos?
<immae> on my system stack (installed via my package manager) downloads/compile ghc in ~/.stack, so ghc has nothing to do with my distribution
<jboy> I'm not sure, I know nothing about the haskell ecosystem.
logzet has joined #nixos
werner291 has joined #nixos
asymptotically has quit [Quit: Leaving]
<dminuoso> Its funny, I just realized how annoyed I was by the lack of documentation in the entire nix and nixos ecosystem..
waleee-cl has joined #nixos
<dminuoso> And then after some pondering I told to myself "well, its just as bad as say ansible, but at least I can declaratively describe my systems"
<emily> nixos: undocumented, but specified
mexisme has joined #nixos
<dminuoso> In some sense Haskell is not too different. Hackage is filled with so many packages that are completely undocumented, but the guarantee of types lets you live with it.
<jboy> immae: is there a smart way to figure out which nixpkgs version has the package version I'm looking for?
<dminuoso> If only nix was typed. :(
rsoeldner has quit [Ping timeout: 240 seconds]
<immae> jboy: I would go for dichotomy (`git blame`), around the time where lts-4.2 was around
<immae> s/blame/bisect/
cinimod` has quit [Ping timeout: 240 seconds]
iyzsong has quit [Ping timeout: 268 seconds]
mexisme has quit [Ping timeout: 240 seconds]
rsoeldner has joined #nixos
__monty__ has quit [Ping timeout: 258 seconds]
<tazjin> ,locate perf
<{^_^}> Found in packages: pig, atom, jzmq, storm, brackets, dart_dev, dart_old, sonic-pi, atom-beta, linux.dev, dart_stable, bitwarden-cli, intel-gpu-tools, linux_mptcp.dev, nodePackages.bower, python27Packages.perf, python37Packages.perf, linuxPackages_4_4.perf, linuxPackages_4_9.perf, linuxPackages_4_14.perf, linuxPackages_4_20.perf, linuxPackages-libre.perf, linuxPackages_xen_dom0.perf, linuxPackages_4_4.kernel.dev, and 16 more
nschoe has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2019-09-13 -> 2019-09-20 »: https://git.io/Je3DY
acarrico has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bjornfor pushed to release-19.09 « kicad: fix build »: https://git.io/Je3Ds
fendor has quit [Ping timeout: 252 seconds]
rsoeldner has quit [Remote host closed the connection]
dm9 has joined #nixos
jakobrs has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
justanotheruser has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
armin has joined #nixos
orivej has joined #nixos
<jboy> thanks immae, found the revision I needed, and I just ran `$ NIX_PATH=nixpkgs=https://... nix-shell` to get an environment with the old compiler version. I think it's working.
<immae> cool :)
<jboy> environment variable seemed easier than figuring out how to overload nixpkgs in default.nix.
<catern> eraserhd: yeah I got feedback from my user, they were trying to symlink ~/.config/kak/autoload/system to the system autoloads but didn't know where to symlink it
o1lo01ol_ has quit [Ping timeout: 240 seconds]
<immae> jboy: does the project comme with a shell.nix?
<jboy> no, it doesn't. I wrote the default.nix
<immae> ok
<immae> jboy: Then if you have time, I would suggest that you try your "latest" stack figure out what version of ghc he needs to install. In my opinion (and if I understand well the stack README) it "should" work like that
nikola_i has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/7ba2943d72b (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<immae> (maybe the stack.yml would need a bit of fixing, but ghc itself should be installed and compiled out of the box by stack)
<jboy> I did try that, immae, but it gave me a cryptic error message, and it didn't install ghc.
<immae> ah
<immae> may I see the message if it’s not too late?
<eraserhd> catern: yeah, that is tough.
Zer0xp has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
<jb55> is there something like jq but for nix?
<srhb> jb55: nix eval?
<jb55> srhb: I don't want to evaluate anything
<srhb> jb55: I don't see how that would work then.
<jb55> I don't see how it wouldn't work
<slabity> After updating my system I am getting errors with Vulkan extensions. Did something change again?
<eraserhd> catern: they could make their own autload directory without overriding the system one. This is where kak does it, in the system kakrc: https://github.com/mawww/kakoune/blob/master/share/kak/kakrc#L28-L49
jakobrs has joined #nixos
<srhb> jb55: It's just not very useful if what you're seeing isn't an attribute set. And even then, nix eval is still useful.
<immae> jb55: you just want a nix re-formater, or you want to do the same thing that jq permits?
<srhb> jb55: (eg. nix eval -f yourfile.nix foo.bar)
zacts has joined #nixos
init_6 has quit []
<eraserhd> catern: They could copy it into their local kakrc and change the directory (and delete superfluous bits).
werner291 has quit [Ping timeout: 268 seconds]
<jb55> oh I think eval works here...
<immae> (jq pretty-prints json, but it does many other things. It would make sense to pretty-print nix, but appart from that I don’t see what you could mean by "an equivalent of jq")
silver has joined #nixos
ddellacosta has joined #nixos
<jb55> srhb: I just wanted to pull the crates attribute out of Cargo.nix when its generated by crate2nix, it looks like eval works for that. I guess I just need to pretty print it now...
<ddellacosta> hey folks, is there a way to install packages from other OSes, and if so what is best from these options: .deb (for either Debian or Ubuntu) or .rpm (for CentOS)?
Zer0xp is now known as Guest61943
Soo_Slow has joined #nixos
<emily> ddellacosta: not easily
Zer0xp has joined #nixos
<emily> nix packages contain more specific information than a deb or rpm, so it's not a trivial conversion
<srhb> ddellacosta: Usually it's about as problematic as custom binary distributions.
<ddellacosta> and where is that documented? I couldn't find anything obvious here: https://nixos.org/nixpkgs/manual/ , but I saw an old blog post about installing .deb packages, not sure if it's up-to-date: https://reflexivereflection.com/posts/2015-02-28-deb-installation-nixos.html
<slabity> ddellacosta: I know a few derivations that make use of dpkg files, but it's not quite simple
<ddellacosta> emily, srhb: hmm okay that's what I was afraid of
<gchristensen> I doubt it is documented, it is a bit hacky
<srhb> ddellacosta: So, unpack the thing, manually untangle the mess, patchelf all the things.
<srhb> You could probably do something slightly more generic with FHS stuff, but it's its own can of worms
<ddellacosta> okay, gotcha. Yeah this is not too surprising
<{^_^}> [nixpkgs] @mmahut opened pull request #69157 → jormungandr: 0.3.1415 -> 0.3.9999 → https://git.io/Je3yJ
<emily> yeah my first call here would be a chroot like buildFHSEnv or even just making a debootstrap chroot
<ddellacosta> alright thanks everyone, I'll see if I can fish out some source code or tarball for this project
<srhb> Mine too, unless it's small enough that I feel confident I can patchelf my way out of it..
<srhb> *in a reasonable amount of time. :P
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/96539330978 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<slabity> ,locate libGLX_nvidia.so.0
<{^_^}> Couldn't find in any packages
<slabity> ,locate libGLX_nvidia
<{^_^}> Couldn't find in any packages
jakobrs has left #nixos [#nixos]
<slabity> Well that's strange...
<slabity> ,locat libGLX
<srhb> slabity: Either nesting or unfree issue?
<slabity> ,locate libGLX
<{^_^}> Found in packages: libglvnd, mesa.drivers, libGLU_combined, driversi686Linux.mesa_drivers.drivers
<srhb> slabity: /nix/store/y0f4xj5vsdjx10s0f4gw90agbdpf2rqd-nvidia-x11-418.56-5.0.7/lib/libGLX_nvidia.so
<srhb> slabity: so, linuxPackages.nvidia_x11
<slabity> That's strange... I have `allowUnfree = true;` in my config but nix-locate can't find it
<srhb> slabity: Doesn't nix-locate rely on hydra information?
<srhb> slabity: As in, it checks Hydra builds to find the files in each attribute
<slabity> Does it? I am not familiar with the internals of it...
<srhb> (Well, top level attribute at least)
knupfer has joined #nixos
<srhb> slabity: Nix itself has no idea what files are in which package before building it.
<slabity> What I'm confused about is why that file no longer exists in my profile after updating...
<slabity> I still have `videoDrivers = [ "nvidia" ];`, and I don't think I made any other configuration changes that would affect it... Why isn't it installed?
Guest61943 has quit [Ping timeout: 240 seconds]
hmpffff has joined #nixos
kleisli has joined #nixos
Zer0xp has quit [Ping timeout: 246 seconds]
<srhb> slabity: I don't think that should cause it to be included in your profile.
Ariakenom has quit [Remote host closed the connection]
<slabity> But it should be in my LIBGL path, right?
<slabity> Actually wait... Where is the environment variable? Wasn't there one that pointed to the opengl drivers?
<srhb> slabity: Under NixOS I expect they're only in /run/opengl-driver/lib ?
<slabity> srhb: Yes, but I remember there was some LD environment variable that pointed to that... Now I don't have that variable for some reason...
<Taneb> Is it possible to name a "derivation" that's just pointing to local files (possibly with a filter)?
<mdash> Taneb: yes
<mdash> Taneb: it'll copy them into the store when it's built
<Taneb> mdash: I mean, so that the store path has a particular suffic
<Taneb> *suffix
<mdash> yes
<Taneb> How?
growpotkin has joined #nixos
<slabity> Taneb: There are helper functions that let you create derivations from the contents of a file or remote data
<{^_^}> [nixpkgs] @Mic92 merged pull request #68939 → python3Packages.{websockets, uvicorn,python-engineio}: bump an… → https://git.io/Je3yR
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/Je3y0
<Taneb> slabity: I'm aware, but I have "builtins.filterSource filter ./." which none of the helper functions I can see help with
<slabity> Taneb: Using 'builtins.readFile' and 'builtins.toFile' won't work? I'm not familiar with the filterSource function
acarrico has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to release-19.09: https://git.io/Je3yg
<Taneb> slabity: it puts a partial view of a directory into the nix store
<Taneb> i.e. multiple files
sigmundv has quit [Ping timeout: 265 seconds]
dermetfan has quit [Ping timeout: 252 seconds]
hmpffff has quit [Quit: nchrrrr…]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/021d733ea3f (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<infinisil> Taneb: Make a wrapper derivation
<infinisil> Like `runCommand "x" {} "mkdir -p $out/some/subdirectory; cp -r ${builtins.filterSource ...} $out/some/subdirectory"`
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ea623c7ef8c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
growpotkin has quit [Ping timeout: 240 seconds]
hyper_ch has quit [Quit: ZNC 1.7.4 - https://znc.in]
tvorog has quit [Ping timeout: 258 seconds]
hyper_ch has joined #nixos
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
pie_ has quit [Ping timeout: 265 seconds]
drakonis_ has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
wfranzini has quit [Remote host closed the connection]
<__red__> Greetings
<__red__> so if I wanted to pull an updated package from a pull request that someone was proposing
<__red__> and hasn't been merged yet
<__red__> what would be the most effective way of doing it?
jsomedon has joined #nixos
<gchristensen> today's office hours (in ~2h50min - 1900UTC / 3pm america/new_york) is going to be a question & answer format, plus PR review. if you're interested, come to #nixos-officehours. I'd love to get a few questions and PRs lined up ahead of time!
<__red__> ooh - what a great idea!
<__red__> so that's more project questions / directions / + 'help my PR isn't merged' type things?
<gchristensen> it is whatever we make of it! :) do you have ideas? (in the past, it has been some questions, some PR review, some interview-style stuff)
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e6707624346 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<__red__> Well - selfishly my daughter is dragging me over not being able to play minecraft with me so I'm watching someone else's PR - I should probably contact them and see if there is anything I can help with
<__red__> (very unlikely(
<gchristensen> :)
<__red__> also - I got my first NixOS production server at work ;-)
<gchristensen> :o
<__red__> which is no mean feat given that they're an oracle linux / java shop
<gchristensen> :o
<__red__> oh - the minecraft PR lost its WIP tag - awesome!
polman has quit [Ping timeout: 240 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #69134 → neovim-remote: 2.2.0 -> 2.2.1 → https://git.io/Je3rS
<{^_^}> [nixpkgs] @teto pushed commit from @doronbehar to master « neovim-remote: 2.2.0 -> 2.2.1 »: https://git.io/Je3Sg
logzet has quit [Ping timeout: 250 seconds]
Okinan has quit [Quit: Konversation terminated!]
erasmas has joined #nixos
Ilya_G has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
zacts has joined #nixos
Okinan has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
kleisli has quit [Ping timeout: 240 seconds]
ivn has joined #nixos
o1lo01ol1o has joined #nixos
ivn has left #nixos [#nixos]
o1lo01ol1o has quit [Remote host closed the connection]
<Ilya_G> Good afternoon. I have a question about `nix-build` running out of memory while pulling a python pip dependency. I have a custom Python project that I am building inside a docker instance `nixos/nix`. It annoyingly spins up with only 2GB of RAM. As I build my custom package in verbose mode I see `warning: dumping very large path (> 256 MiB);` as
<Ilya_G> it tries to fetch pip and then it overruns memory and terminates.
ivn has joined #nixos
<Ilya_G> Any suggestions?
o1lo01ol1o has joined #nixos
ivn has left #nixos [#nixos]
captn3m0 has joined #nixos
<Ilya_G> I was considering prefetching Pip separately but I am not sure how.
tokudan has quit [Quit: Dunno.]
almostnobody has joined #nixos
Heirlung has quit [Quit: Leaving]
<almostnobody> hi, is there a right way to patch a package in nix config(in my case custom keyboard layout for xorg package)?
inkbottle has joined #nixos
kleisli has joined #nixos
Palpares has quit [Remote host closed the connection]
<qyliss> almostnobody: packagename.overrideAttrs ({ patches ? [], ... }: { patches = patches + [ /path/to/your.patch ]; })
Palpares has joined #nixos
tokudan has joined #nixos
<exarkun> I was just offline for a while and I couldn't boot my nixos test vm because "warning: unable to download 'https://cache.nixos.org/qz1y94vln2wf480maj0gqyqzfaxkzaqw.narinfo': Couldn't resolve host name (6);"
<lordcirth_> Ilya_G, can you not increase the RAM quota of the docker container?
work_ has joined #nixos
<exarkun> And then I couldn't run nixops because "warning: unable to download 'https://cache.nixos.org/c170hxp5dmgwiasgw4lgjv91z12fkcxw.narinfo': "
<exarkun> this was a real bummer
<exarkun> it also seems totally unnecessary. I *have* everything. Why are these tools trying to talk to cache.nixos.org?
<exarkun> And why do they fail when they can't instead of just proceeding? eg https://cache.nixos.org/c170hxp5dmgwiasgw4lgjv91z12fkcxw.narinfo doesn't even exist!
<exarkun> but because the error is dns-related instead of http 404 everything is broken?
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/499d72936b9 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
Emiller88 has joined #nixos
<{^_^}> #47764 (by rnhmjoj, 50 weeks ago, merged): nixos/xserver: add option to install custom xkb layouts
<Ilya_G> lordcirth_: it presents it's own challenges. I was wondering if there was a way to prefetch pip maybe so that it would chew on memory in isolation.
jsomedon has quit [Quit: jsomedon]
<exarkun> Ilya_G: You could try packaging without pip.
dm9 has quit [Quit: WeeChat 2.6]
drakonis has quit [Ping timeout: 240 seconds]
<Ilya_G> exarkun: sadly I am not sure how to so any hint would be helpful. Also Python without `pip` cant really go anywhere as it is Python Library Manager
<lordcirth_> Shouldn't the common libraries be packaged in nix already?
<exarkun> Ilya_G: On Nix you generally do a lot without pip
<exarkun> Ilya_G: What are you trying to build?
<exarkun> lordcirth_: sure! otoh, if you depend on an uncommon package then that doesn't solve your problem. ;)
<exarkun> Ilya_G: On Nix Nix is your package manager and it does a much better job than pip does.
<lordcirth_> Well, if it's trivial to make a Nix package for it, then you solve a problem for everyone.
<Ilya_G> exarkun I am building our own custom software as a package for VM using NixOS
<exarkun> I'm little the wiser with that answer
jgeerds has joined #nixos
<exarkun> What kind of package are you building? Are you packaging something to run on NixOS?
drakonis has joined #nixos
<almostnobody> infinisil: thanks, that's great
werner291 has joined #nixos
<ShaRose> If I write a derivation to run a few commands as a package using pkgs.writeScriptBin, when will it execute? If I add it in a config module along with, say, docker, will it run before or after the docker service is started?
<Ilya_G> exarkun: Yes. I am not sure what detail you were looking for.
<exarkun> Ilya_G: Okay. If you're building it to run on NixOS, skip pip and use a combination of the nixpkgs-supplied Python libraries and your own Nix-based packaging of Python libraries that aren't in nixpkgs (the latter of which you can contribute to the former if you like).
<Ilya_G> exarkun: We have a custom service that we would like to run on NixOS as the base. It is going to be deployed on prem on customer VMs and we wanted control over OS
<exarkun> Seems like a good idea.
almostnobody has quit [Remote host closed the connection]
<exarkun> Embrace NixOS and leave pip behind.
<werner291> Greetings, I installed Nixos on what I thought was a separate partition, but I can't seem to be able to boot into Windows anymore. I'm in the grub 2 shell, and I can see my Windows files, but when I run "chainloader (hd0,gpt2)/Windows/boot/EFI/bootmgfw.efi" Grub spits out a cryptic "/EndEntire\nfile path...."
<werner291> (I'm pretty sure it was actually a separate partition.)
zupo has joined #nixos
<werner291> (Sisn't intend to ping shell there. If I did, my apologies.)
<ShaRose> werner291 that doesn't seem like quite the correct path for the Windows efi bootloader: are you trying to boot it from the C:\Windows dir, or did you move the bootloader during your nix install?
<azazel> ShaRose: you will have to add an entry into `systemd.services` entry of configuration.nix and have it run before the docker service unit
rembo10 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<Phillemann> Dose anybody have Borderlands 2 installed via Steam? It doesn't start and I suppose it's some NixOS linker thingy, but I'm not sure.
<ShaRose> I never thought of doing that: thanks azazel
zacts has quit [Quit: WeeChat 2.4]
<werner291> AFAIK, I installed Nixos onto a completely spearate partition. One partition for /boot and one for the root, shouldn't have touched windows.
<azazel> do a `man configuration.nix` and search systemd.services
<werner291> *seperate
<Ilya_G> exarkun: where would I even begin with that?
<ShaRose> I always liked using https://nixos.org/nixos/options.html tbh
<werner291> I did run gparted to delete a swap-partition, perhaps that's confusing some part of my system?
<exarkun> Ilya_G: here's a python project I'm currently working on, https://github.com/privatestorageio/zkapauthorizer
<{^_^}> [nixpkgs] @burke closed pull request #63868 → mscgen: add darwin to meta.platforms → https://git.io/fjosD
<exarkun> Ilya_G: see, eg, `zkapauthorizer.nix` at the top level of that repo
<Ilya_G> exarkun: so your setup.py is empty? Is it even used?
<ShaRose> werner291 the windows bootloader should be on your efi partition: is it not?
<exarkun> Ilya_G: it isn't used. I will fill it in eventually but it will be for people who want to use the package not on nixos.
<exarkun> Ilya_G: that use case isn't a priority for me yet :)
<exarkun> Ilya_G: it will just be a regular ol' setup.py but it won't make any difference to what happens for nixos.
<exarkun> or, well, it could, but I think this one won't
<{^_^}> [nixpkgs] @vbgl merged pull request #68772 → ocamlPackages.optint: 0.0.2 -> 0.0.3 → https://git.io/Je39q
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.optint: 0.0.2 -> 0.0.3 »: https://git.io/Je39m
<werner291> ShaRose: Which partition would that be?
Shoubit has quit [Ping timeout: 268 seconds]
<werner291> I hve gparted in front of me.
<catern> eraserhd: it would probably be good for the default kakoune package to be slightly easier to use than that - is it possible to include the system packages in the generated plugins.kak?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<exarkun> Ilya_G: The *main* thing that buildPythonPackage does that is relevant here is that it will find all of the python library dependencies and supply then so that setup.py/distutils/setuptools/pip don't have to do anything to get them. They'll just notice the dependencies are already there and move on.
<ShaRose> you should have a fat partition as the first partition, and it's probably flagged as your EFI partition
<werner291> There's a "microsoft reserved partition" with unknown filesystem, "basic data partition" which contains Windows, my NixOS root partition, some empty space and the partition that holds /boot
<ShaRose> that's where grub lives for example
rembo10 has joined #nixos
<Ilya_G> exarkun: doesn't `buildPythonPackage` automatically call setup.py?
<Ilya_G> exarkun: also what actually triggers pip to be installed?
<ShaRose> that's odd: did you do anything odd when installing windows?
<eraserhd> catern: Perhaps we can add an option, but it looks like there could be a bunch of failure modes, including double-loading.
<ShaRose> Normally it loves creating like 4 partitions
Shoubit has joined #nixos
<werner291> Not that I know of. I did put /boot in a completely separate partition.
<exarkun> Ilya_G: You can find out - `nix why-depends ...`, probably, will tell you.
<werner291> And I'm booting NixOS from there.
<ShaRose> yeah but windows should have had it's own '/boot' partition kind of
<werner291> It's actually the last partition on my SSD.
<eraserhd> catern: OK, if we disable system autoload, I think we could do that.
<werner291> Oh?
<Ilya_G> exarkun: would `...` bbe the name of my bbuild package?
<werner291> This is Windows 10 btw.
<exarkun> I think you have to give it two things, the names of the dependee and depender, I forget which order
<werner291> /boot is my only bootable patition, I don't see Windows' EFI partition.
drakonis has quit [Read error: Connection reset by peer]
<exarkun> my guess is that pip is pulled in by some basic part of the python support in nixpkgs, though
<exarkun> Ilya_G: also if you paste your package expression somewhere someone might look at it and point out something crazy it's doing that causes the whole problem
<exarkun> Ilya_G: but avoid pip for dependency resolution is still a better solution
<werner291> Did I manage to delete Windows' EFI partition?
orbekk1 has joined #nixos
drakonis has joined #nixos
<ShaRose> probably
<werner291> That is wierd, I don't recall any actions that should have done that.
<ShaRose> werner291 normally, windows has a recovery partition, your EFI partition, the MSR (It's probably really small, right?), then your windows NTFS
<werner291> Don't see the recovery partition either.
<werner291> Wtf
dhkl has quit [Quit: ZNC 1.7.3 - https://znc.in]
<ShaRose> werner291 this is what Windows' EFI partition should contain (I mounted it from my own windows install) https://img.ShaRo.se/cjE-B.png
<ShaRose> tree doesn't even show hidden files IIRC so it's actually missing some
orbekk has quit [Ping timeout: 265 seconds]
<ShaRose> oh right
<ShaRose> dirs only
<werner291> I have something resembling that in /windows
<werner291> At least...
<ShaRose> yeah, that's the info windows uses to build it
<werner291> That NTFS partition seems to have some boot stuff in it.
<werner291> And a folder named "recvoery" too
<werner291> *recovery
<ShaRose> you should have a BCD file in EFI/Microsoft/Boot
<werner291> EFI? I don't have an EFI partition.
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/21be1354d29 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e6707624346 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<ShaRose> EFI is a folder
<ShaRose> think /boot/EFI/Microsoft/Boot
<{^_^}> [nixpkgs] @vbgl opened pull request #69160 → ocamlPackages.ptmap: 2.0.3 → 2.0.4 → https://git.io/Je390
<werner291> I think I borked my Windows install.
<eyJhb> werner291: the sooner the better
<ShaRose> werner291 you can probably recover it using a windows CD tbf
<werner291> I'm considering just ditching Windows tbh, yeah. Would Windows perhaps have dunmped its' bootloader into that partition I created for /boot in NixOS?
<werner291> And which then got deleted when I reinstalled NixOS?
drakonis_ has joined #nixos
<werner291> Mostly running windows because I can't get my Ryzen 3400G to run under Nixos (yet)
drakonis has quit [Ping timeout: 245 seconds]
<ShaRose> it's possible: not sure if nix would have just formatted it during install
<{^_^}> [nixpkgs] @teto merged pull request #69113 → vimPlugins.LanguageClient-neovim: 0.1.146->0.1.154 → https://git.io/Je30D
<{^_^}> [nixpkgs] @teto pushed commit from @nbardiuk to master « vimPlugins.LanguageClient-neovim: 0.1.146->0.1.154 »: https://git.io/Je39z
<werner291> Would be my guess... Windows saw a bootable EFI partition and dumped its' stuff in there.
<werner291> Which then got erased.
<ShaRose> werner291 if you've got a windows 10 CD it isn't actually that hard a fix
drakonis has joined #nixos
<werner291> Nope, I'm working with ISOs and USB drives, which you apparently can't burn onto the USB drive without Microsoft's tool (which only runs on windows, obviously)
<teto> yep windows messes up with the bootloader, as mac os did, ended up getting rid of both. I had a dual boot ubuntu/nixos when starting nixos but now I have just nixos
<werner291> I'd have to beg one of my Windows-usings friends to burn the ISO for me.
<ShaRose> well, actually, rufus can do it just fine
<werner291> Rufus runs on Linux?
<ShaRose> no, but there are others
<infinisil> werner291: Give https://nixos.org/nixos/options.html#useosprober a try
<werner291> Already tried.
<werner291> But looks like I simply managed to bork my Windows install.
<KodiakIT[m]> werner291, IIRC if you're a non-windows machine Microsofts site will let you DL the ISO directly.
<ShaRose> it removed the BCD bootloader, so
<ShaRose> werner291 apparently UNetbootin should work for you
<catern> eraserhd: keep in mind I have never used kakoune so really I have no idea :)
<werner291> UNetBootin? I'll try.
<catern> but, just making suggestions! do what you think is best
<ShaRose> or not
drakonis_ has quit [Ping timeout: 240 seconds]
<ShaRose> actually wait, this is easy
<ShaRose> it's an iso you can just extract it
<werner291> What do I format my usb drive to? I see people suggesting fat32, but one of the files is >4GB
jtojnar has joined #nixos
<ShaRose> exfat 'may' work, not sure. NTFS probably would, but it depends on your motherboard
<werner291> MSI b450 gaming plus
<werner291> With latest firmware
<infinisil> exfat works
<infinisil> Wait
<werner291> Rumor has it NTFS should work.
<infinisil> Yeah exfat should work
<werner291> ExFat, lemme try that.
<infinisil> Wait for what exactly?
<ShaRose> format the usb to exfat, extract the ISO on to it, off you go probably
<infinisil> Oh you don't need to format an usb for that
<werner291> Putting a Windows ISO onto a USB stick.
<slabity> exfat is typically used for removable drives that don't need special extended attributes
<infinisil> The ISO contains the partition layout
<werner291> I remember Windows giving me some really wierd errors when I just tried it with dd
Heirlung has joined #nixos
<slabity> Oh. Windows can only be installed on a USB stick through their tool I believe. I don't think their ISO can be dd'd over
<samueldr> woeusb is made to "burn" windows isos to usb
<samueldr> (for the installation medi)
<samueldr> media*
<werner291> Woeusb?
<werner291> Gotta try that.
<werner291> Windows media tool thingy only runs on Windows.
<samueldr> it's packaged in nixpkgs
<werner291> So you gotta use Windows to get Windows.
<werner291> Oh?
<werner291> Neat
<werner291> I love NixOS.
<werner291> I'd switch over to it entirely if I could.
<ShaRose> shockingly, it's not dell specific!
kleisli has quit [Ping timeout: 240 seconds]
<ShaRose> make the directories if they don't exist (They probably don't)
<{^_^}> [nixpkgs] @artemist opened pull request #69161 → linuxPackages_5_3.openafs_1_8: fix build → https://git.io/Je399
<{^_^}> [nix] @andir opened pull request #3099 → add support for queryPathFromFileHash → https://git.io/Je39H
<werner291> They don't, I'm pretty sure now. I came into this channel believing Windows had a separate EFI partition somewhere, but it apparently tried to re-use the one I made for Nixos (and made Nixos inaccessible of course)
<symphorien> when I run nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix (source: https://nixos.wiki/wiki/Creating_a_NixOS_live_CD) I get error: attribute 'isoImage' in selection path 'config.system.build.isoImage' not found
<symphorien> (on 19.09)
<symphorien> does someone know the correct incantation ?
Ilya_G has quit [Ping timeout: 260 seconds]
<infinisil> symphorien: Did you import the installation profile in iso.nix?
<symphorien> I copied what is in the wiki with little modification
zupo has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/14fa24f87a4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<infinisil> symphorien: Hm, what if you did `--arg configuration ./iso.nix` instead of `-I nixos-config=iso.nix`
<symphorien> same error
jgt has quit [Ping timeout: 276 seconds]
<symphorien> by curiosity can you reproduce the issue with the configuration file of the wiki ?
<infinisil> symphorien: Just tried, but nope, I don't get an error
<infinisil> checked out the release-19.09 branch, then nix-instantiate nixos -A config.system.build.isoImage -I nixos-config=iso.nix
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0a56a467c59 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> Which succeeds
<infinisil> Maybe your '<nixpkgs>' isn't what you think it is?
growpotkin has joined #nixos
<symphorien> oh I used the wrong file for iso.nix ><
Ariakenom has joined #nixos
multun has quit [Quit: WeeChat 2.5]
<exarkun> idiomatic way to copy a file from one VM to another VM in a nixos test?
<exarkun> $machine->succeed("scp ...")?
Emiller88 has quit [Ping timeout: 250 seconds]
Zer0xp has joined #nixos
Zer0xp_ has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
jgt has joined #nixos
drakonis_ has joined #nixos
equivrel` has joined #nixos
equivrel has quit [Ping timeout: 245 seconds]
jgt has quit [Ping timeout: 276 seconds]
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
hyper_ch has quit [Quit: ZNC 1.7.4 - https://znc.in]
hyper_ch has joined #nixos
werner291 has quit [Ping timeout: 260 seconds]
iqubic has quit [Ping timeout: 265 seconds]
o1lo01ol_ has joined #nixos
growpotkin has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
hmpffff has joined #nixos
kleisli has joined #nixos
buckley310 has quit [Quit: Ping timeout (120 seconds)]
zzz has quit [Ping timeout: 245 seconds]
tpanum has quit [Quit: ZNC 1.7.3 - https://znc.in]
hke has quit [Quit: Ping timeout (120 seconds)]
buckley310 has joined #nixos
ivan has quit [Remote host closed the connection]
MichaelRaskin has joined #nixos
hke has joined #nixos
switchy has quit [Remote host closed the connection]
bigvalen has quit [Quit: ZNC by prozac - http://znc.sourceforge.net]
silver_hook has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
ivegotasthma has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
ldlework has quit [Quit: co'o ro do]
duckfullstop has quit [Quit: Why do you need...?]
bigvalen has joined #nixos
inkbottle has quit [Remote host closed the connection]
ivan has joined #nixos
kini has quit [Remote host closed the connection]
switchy has joined #nixos
duckfullstop has joined #nixos
ivegotasthma has joined #nixos
ldlework has joined #nixos
inkbottle has joined #nixos
ajp_ has quit [Quit: No Ping reply in 180 seconds.]
tpanum has joined #nixos
silver_hook has joined #nixos
ajp has joined #nixos
zzz has joined #nixos
mexisme has joined #nixos
Shoubit has quit [Ping timeout: 246 seconds]
chiefgoat has quit [Quit: ZNC 1.7.5-rc1 - https://znc.in]
<exarkun> How do I escape a "@" in a string in a nixos test?
<davidtwco> Are there any projects/ways to interpolate variables from Nix in other files? eg. instead of embedding my vim config in Nix and doing ${...} inside (losing my vim syntax highlighting), I'd keep that in another file but still be able to do ${...} interpolation of Nix variables in it?
chiefgoat has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
<exarkun> builtins.readFile
<exarkun> Oh hm
<exarkun> dunno
kini has joined #nixos
<emily> substituteAll
<emily> not sure I'd call it a project so much as a function
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
selfsymmetric-pa has joined #nixos
equivrel` has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « zfs: Incompatibility with kernel 5.3 »: https://git.io/Je3QR
whald has joined #nixos
kleisli has quit [Ping timeout: 240 seconds]
o1lo01ol_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
jgt has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #69161 → linuxPackages_5_3.openafs_1_8: fix build → https://git.io/Je399
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/Je3QX
polman has quit [Ping timeout: 276 seconds]
jgt has quit [Ping timeout: 276 seconds]
polman has joined #nixos
Palpares has quit [Remote host closed the connection]
Palpares has joined #nixos
abathur has joined #nixos
zupo has quit [Ping timeout: 265 seconds]
pie_ has joined #nixos
erictapen has joined #nixos
t58 has joined #nixos
zupo has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
tokudan has quit [Quit: Dunno.]
Shell has quit [Quit: ZNC 1.7.4 - https://znc.in]
qyliss has quit [Quit: bye]
virus_dave has joined #nixos
<lordcirth_> It would be great if the NixOS ISO's came with .zsync files
jgt has joined #nixos
tokudan has joined #nixos
<manveru> davidtwco: yeah, you can do that :)
<davidtwco> Oops, didn't see the other answers until that ping. I wasn't sure if there was just a simple function or if it would be a separate project that is its own templating language or something like that.
<infinisil> lordcirth_: What's that?
Shell has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
lewo has quit [Remote host closed the connection]
<manveru> davidtwco: as long as your file doesn't use "''", that is
<davidtwco> manveru: what do you mean by "''"?
qyliss has joined #nixos
Phillemann has quit [Quit: WeeChat 2.5]
<manveru> double single-quotes
<lordcirth_> infinisil, zsync lets you download updated versions of isos (or other large blobs) by downloading a small zsync file, comparing to the previous iso on disk, and downloading only the diffs
<manveru> i mean, it's possible, but harder...
civodul has joined #nixos
o1lo01ol1o has joined #nixos
<davidtwco> Ah, I see. Most of the cases where I'd want this are triple single quote strings.
jgt has quit [Ping timeout: 264 seconds]
kleisli has joined #nixos
<infinisil> lordcirth_: I see, not sure if it would help much, since any deep dependency will change all its dependents
nixnothing has quit [Ping timeout: 245 seconds]
<infinisil> And that happens a lot (see staging branch)
<lordcirth_> infinisil, maybe. But I know that on Ubuntu ISOs I get significant savings.
<manveru> davidtwco: gimme a second, i can maybe make that work too
<infinisil> Ubuntu doesn't have the deep dependency change propagation thing Nix does though
<infinisil> But yeah maybe worth investigating whether it would help
<ShaRose> I'm confused... what's the point of the win-virtio package?
<infinisil> Oh but also, a zsync file is probably dependent on what the previous iso version was, and that wouldn't work very well with how Nix works either
<ShaRose> It doesn't keep the iso, it doesn't link the files anywhere, I don't get it
<lordcirth_> infinisil, no, it's only generated from the new files
nixnothing has joined #nixos
<lordcirth_> It's basically just a list of chunk hashes
<infinisil> Ah I see
rmeis has joined #nixos
<lordcirth_> But the chunks are variable-sized depending on content, and thus by (insert black magic here) byte offsets don't break it.
o1lo01ol1o has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
jgt has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ixxie has joined #nixos
<catern> With the Nixpkgs Python tooling, and with setuptools in general, is it possible to make two different derivations from the same repo with different setup.py files? (which specify different python packages)
pbb has joined #nixos
whald has quit [Quit: Leaving]
jgt has quit [Ping timeout: 276 seconds]
<davidtwco> manveru: thanks! that's just what I was looking for.
<davidtwco> manveru++
<{^_^}> manveru's karma got increased to 29
<manveru> davidtwco: np, i built a whole static site generator out of it :)
<davidtwco> manveru: oh? I've actually been looking to see if there were any static site generators in Nix - I only found styx?
<manveru> i really have to rewrite the readme though...
<{^_^}> [nixpkgs] @worldofpeace closed pull request #2281 → Preview: deterministic build → https://git.io/kVR2mQ
<davidtwco> manveru: thanks! I'll need to look into that.
<manveru> https://gitlab.com/manveru/finesco/ is an example of a larger site with two blogs
jgeerds has quit [Ping timeout: 258 seconds]
virus_dave has quit [Quit: virus_dave]
polman has quit [Ping timeout: 240 seconds]
<davidtwco> manveru: awesome, thanks
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
acarrico has quit [Ping timeout: 258 seconds]
knupfer has joined #nixos
pbb has joined #nixos
virus_dave has joined #nixos
<eraserhd> So, is it true that you can't make a derivation for a rust program without adding all dependent crates to crates-io.nix? Or is there some way around that?
<eraserhd> s/dependent/dependency/
domogled has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #68175 → minecraft: 2015-07-24 -> 2.1.5965 (closes #68123) → https://git.io/fjjc6
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/Je37p
werner291 has joined #nixos
<gchristensen> infinisil++ __red__++
<{^_^}> __red__'s karma got increased to 1, infinisil's karma got increased to 141
<werner291> I have returned to report victory: Windows is once again accessible, all without nuking my NixOS install.
polman has joined #nixos
virus_dave has quit [Quit: virus_dave]
<{^_^}> [nixpkgs] @Infinisil pushed commit from @hyperfekt to release-19.09 « minecraft: 2015-07-24 -> 2.1.5965 »: https://git.io/Je35f
dermetfan has joined #nixos
ixxie has quit [Ping timeout: 276 seconds]
<werner291> Where are you guys all from? I thought I saw NixOS foundation is based in the Netherlands?
<infinisil> werner291: Neat, what did you do to get it working again?
<infinisil> Most people are from europe I believe, I'm from Switzerland :)
<werner291> Woeusb to the rescue. It finished with an error message, but the USB did end up booting.
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<werner291> You do have to do some trickery though, had to dig around the command prompt.
<werner291> And a lot of guides tell you you have to format the partition, but that wasn't necessary.
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<werner291> I'm in the Netherlands.
pbb has joined #nixos
polman has quit [Ping timeout: 265 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @LnL7 merged pull request #68883 → cheroot: fix darwin sandbox build → https://git.io/Je353
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Je35s
<werner291> And after the install, systemd-boot picked up Windows and NixOS immediately. Was kinda silly, seeing Windows under a list of 20 Nix generations.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Spiffy has left #nixos ["Textual IRC Client: www.textualapp.com"]
<drakonis_> shouldn't systemd-boot have menus for older generations?
<gchristensen> infinisil: a lot of people in EU. I'm in US :)
<werner291> Oh, never sait it was a bad thing.
<werner291> *said
<werner291> Seriously, that feature has saved my ass a couple times already.
<drakonis_> i mean
<{^_^}> [nixpkgs] @LnL7 merged pull request #68823 → notebook: fix darwin sandbox build + dependencies → https://git.io/Je35n
<{^_^}> [nixpkgs] @LnL7 pushed 8 commits to master: https://git.io/Je35c
<drakonis_> 5 generations available before the menu
<drakonis_> the full set inside
mexisme has joined #nixos
<drakonis_> well this looks confusing
<werner291> Oh... Not sure about that.
<drakonis_> grub has the latest generation available, every other in a menu
<drakonis_> then there's non nix OSes below the generation menu entry
<{^_^}> [nixpkgs] @LnL7 merged pull request #68782 → pythonPackages.portend: fix darwin build → https://git.io/Je35C
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Je35W
ixxie has joined #nixos
mgdm has joined #nixos
<Mic92> mgdm: https://discourse.nixos.org/t/nixos-meetup-in-edinburgh-glasgow/3941 (This message has been postponed on 2019-09-07 07:37:35.)
<mgdm> oh that's neat
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68850 → purple-slack: Init at 2019-08-18 → https://git.io/Je35l
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je358
emacsomancer has joined #nixos
<worldofpeace> infinisil++
<{^_^}> infinisil's karma got increased to 142
<duncan> How do we comment on that discourse thing without joining it?
<duncan> (that is, I would comment that I am interested)
<drakonis_> email probably?
<{^_^}> [nixpkgs] @siriobalmelli opened pull request #69163 → ycmd: 2018-09-20 -> 2019-09-19; add optional golang completion → https://git.io/Je35E
<duncan> hmm...
<drakonis_> i've seen someone on the fedora discourse reply using email
<{^_^}> [nixpkgs] @LnL7 merged pull request #68691 → pythonPackages.trustme: fix darwin build → https://git.io/Je35u
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Je35z
<duncan> I think I'm technically already 'known' to be interested though ;)
<{^_^}> [nixpkgs] @LnL7 merged pull request #68681 → pythonPackages.h11: fix darwin build → https://git.io/Je35a
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Je35V
ddellacosta has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #69084 → osmid: init at 0.6.8 → https://git.io/Je3s5
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Je356
rmeis has quit [Ping timeout: 240 seconds]
jgt has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
<__red__> So, when I add something to my local (unpriv) account but doing the nix-build -A ; nix-env -i ./result
<__red__> ...
<__red__> and perhaps a more general question
<__red__> how do I list the packages that are installed by users on my system using nix-env as opposed to being in my configuration.nix
<__red__> ?
<gchristensen> nix-env -q
<{^_^}> [nixpkgs] @LnL7 merged pull request #68689 → uvloop: fix darwin build → https://git.io/Je35X
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Je351
werner291 has quit [Ping timeout: 240 seconds]
dansho has joined #nixos
<__red__> I need to eat more docs
<gchristensen> hehe
<gchristensen> :)
fendor has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #69157 → jormungandr: 0.3.1415 -> 0.3.9999 → https://git.io/Je3yJ
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Je35M
Sellerie has quit [Quit: The Lounge - https://thelounge.github.io]
fendor has quit [Client Quit]
<__red__> Anyways- so the WAY largest question I had (and maybe multiple nixpkgs is the way to do this?) is this
work_ has quit [Quit: Connection closed for inactivity]
<mgdm> duncan: heh, I was about to ask the same
<{^_^}> [nixpkgs] @bbigras opened pull request #69164 → starship: 0.17.0 -> 0.18.0 → https://git.io/Je359
<__red__> There is a Linux distribution called Pentoo. (pentoo.ch - FOR THE LOVE OF EVERYTHING NSFW - DON'T GO TO .com)
<__red__> that distribution is basically Gentoo + Overlay
werner291 has joined #nixos
<__red__> their installer grabs portage, adds the overlay containing the additional packages, then builds "world" which contains all the applications that come by default with this OS.
Sellerie has joined #nixos
<clever> __red__: at one time, nixos.com was nsfw, but the domain has since expired
<__red__> excellent!
<__red__> is there an equivalent mechanism inside of nixos?
<clever> __red__: manifest.nix and systemPackages basically have the same role as world
<__red__> like I said, it may end up being: nixpkgs + <someothernixpkgs> + <some package just containing all the apps as dependancies>
<duncan> mgdm, Mic92, cc qyliss
<clever> any time you run `nix-env -i` or `nix-env -e`, it will modify ~/.nix-profile/manifest.nix and update the profile
<clever> `nix-env -q` will list its contents
<clever> __red__: nixpkgs also supports overlays, which can change and add packages
<qyliss> You have to join the discourse
<{^_^}> [nixpkgs] @delroth opened pull request #69165 → redo-apenwarr: fix source URL → https://git.io/Je355
<qyliss> I think
<qyliss> I reply over mail but still needed to make an account
<__red__> is a system-wide overlay the correct way to do that?
<__red__> or (since I just learned this is possible), would a second channel make more sense?
<clever> __red__: overlays can be either system wide or per-user
<duncan> hmm I actually live in Glasgow now :P
<duncan> I was wanting to start an FP meetup there
<clever> __red__: channels are also global and per-user, and you can add multiple channels if you want to use things from another channel
<duncan> I even prepared a cute talk
<mgdm> duncan: I know some folk who would be into that
<mgdm> duncan: hell, I could maybe get a venue
<duncan> I was going to venture down to the Electron Club to poke around.
<mgdm> ah cool
<qyliss> duncan: whoa since when
rouma has joined #nixos
<qyliss> (do you live in glasgow?)
<duncan> since... two weeks ago
<qyliss> oh. congrats on the move then!
<duncan> <3 thanks!
<mgdm> congrats :-)
<duncan> It is kind of strange that there is no such meetup, given GHC was originally written there afaiu
<duncan> maybe these things just fizzle out
<__red__> truth
<werner291> So, I cherry-picked a commit (https://github.com/NixOS/nixpkgs/commit/75a60db00e85589791cbc7db676415fe4beca05a) onto release-19.03 in a local clone of nixpkgs and installed kernel 5.2, and my new GPU is now working! That leaves me with a question, though: how does that work with updates and stuff line system.autoUpgrade.channel?
<infinisil> If you make a PR with that commit to the 19.03 branch and it gets merged, it'll be in the 19.03 channel eventually
<mgdm> duncan: I think there have been previous attempts and they didn't stick
<infinisil> werner291: ^
growpotkin has joined #nixos
<werner291> ^ which one?
<{^_^}> [nixpkgs] @Infinisil pushed commit from @hyperfekt to release-19.03 « minecraft: 2015-07-24 -> 2.1.5965 »: https://git.io/Je35j
<__red__> also clever - that insight regarding manifest.nix helped a lot of other things fall into place
<__red__> thank you.
o1lo01ol1o has joined #nixos
<__red__> (I really need to document each of these epiphanies as they are revealed to me as they may help other people who have travelled to nixos via a similar path to I)
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
acarrico has joined #nixos
growpotkin has quit [Ping timeout: 240 seconds]
<mgdm> anyone ever have a build blow up with 'undefined reference to strlcpy' when doing some feature detection?
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 258 seconds]
thc202 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mmahut opened pull request #69166 → jormungandr: adding jormungandr-scenario-tests → https://git.io/Je3dq
andymandias_ has joined #nixos
andymandias has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #68178 → shunit2: init at 2019-08-10 → https://git.io/fjjW1
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/Je3dG
lordcirth_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @werner291 opened pull request #69167 → broadcom_sta: fix build on linux-5.1 → https://git.io/Je3dc
<werner291> Well, there we go, I guess?
jasonrm has joined #nixos
<__red__> werner291: I just learned how to do this today!
<werner291> Do what?
<werner291> Pull requests?
<__red__> maintaining my own local clone of nixpkgs to build my system from and trying to keep it up to date
<__red__> I learned how to keep the default channel and add a specific patch / PR
<werner291> Aha. How do you keep it up to date?
<__red__> today, at officehours :-)
<werner291> Cronjob that pulls into the repo?
<__red__> (see gchristensen - I'm not the only person who did that!)
<__red__> Nope
<__red__> so - if you have access to youtube you can watch them show how it's done
<__red__> but basically, the way that it worked was:
noudle has quit []
<__red__> 1. keep your system on your norma channel (unstable / stable / whatever)
<gchristensen> :)
<__red__> install hub
<werner291> I do have access to YT. On my NixOS machine, no less.
<__red__> (apparently in nix.gitAndTools.hub)
<__red__> make a build directory
<__red__> git clone nixpkgs
<__red__> cd nixpkgs
<__red__> hub pr checkout <prnumber>
<__red__> nix-build -A <packagename>
<__red__> nix-env -i ./result
<__red__> and boogie - you have that updated package in your environment
<__red__> (now - if this is a service as opposed to a package *shrug*)
work_ has joined #nixos
<LnL> I still kind of like the idea of patch support for nix-channel, but seems kind of pointless to implement features for that now
<werner291> Oh, I meant automatically.
<werner291> As in, how do you update your system while keeping the patch?
<LnL> that would avoid having to maintain your own branch
<werner291> Yes
<werner291> Exactly
<gchristensen> hrm. my kernel is spinning on trying to handle some disconnected usb devices :/
<__red__> werner: as you usually would - nix-channel --update ; nixos-rebuild switch
<LnL> yeah if nix-channel could apply patches when updating you can keep a folder with custom commits you want ontop of whatever channel you want
<werner291> Hold on... I installed kernel 5.2 with a patched version of broadcom-sta through my own fork of the repo. Doesn't that break updating?
abathur has quit [Ping timeout: 245 seconds]
<__red__> okay - I missed that detail - above my paygrade
* __red__ looks up...
<werner291> Isn't that just the same as doing "git pull" on the version you clones?
<werner291> *cloned
LangeOortjes has quit [Quit: Konversation terminated!]
phreedom has quit [Ping timeout: 260 seconds]
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
emacsomancer has quit [Quit: WeeChat 2.6]
selfsymmetric-pa has quit [Remote host closed the connection]
<mgdm> my build is exiting with status 2 but there is no log file
<mgdm> yay
<{^_^}> [nixpkgs] @matthewbauer opened pull request #69168 → Add hardware.enableAllUdevRules → https://git.io/Je3dd
<werner291> Or rather, git fetch + git rebase (Sorry, was AFK for a sec)
wildtrees has joined #nixos
<gchristensen> yarr zfs and 5.3
<emily> I wish for linuxPackages_latest_zfs
<{^_^}> [nixpkgs] @Infinisil merged pull request #58059 → sdImage: use findmnt to get root device when resizing → https://git.io/fjfQH
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/Je3dp
<{^_^}> [nixpkgs] @0x4A6F opened pull request #69169 → meli: init at pre-alpha-0.3.0 → https://git.io/Je3dh
cnidario has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/6825f045df3 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
werner291 has quit [Remote host closed the connection]
fresheyeball has joined #nixos
<fresheyeball> I need to give chrome a folder inside a nix-build
<fresheyeball> can I make a tmp folder?
<fresheyeball> if I just make one the path ends up being /build/myfolder
<fresheyeball> which is not right
<infinisil> "give"?
__monty__ has joined #nixos
<fresheyeball> infinisil: it needs a directory to work with, usually in $HOME
<fresheyeball> I can pass an absolute path
<ShaRose> anyone have any ideas how I can add the system path to systemd.services.<name>.path? I'm trying to call zfs, which is located in /nix/store/rlxdlqfmk0p7s22zfqsshyhd12i2n85w-system-path/bin/zfs
<ShaRose> same deal for docker
<{^_^}> [nixpkgs] @Ma27 pushed to master « mautrix-telegram: 0.6.0 -> 0.6.1 »: https://git.io/Je3FU
emacsomancer has joined #nixos
<infinisil> fresheyeball: What's the problem with writing the folder to $out, then using the derivation result?
<{^_^}> [nixpkgs] @Ma27 pushed to release-19.09 « mautrix-telegram: 0.6.0 -> 0.6.1 »: https://git.io/Je3FT
<fresheyeball> infinisil: I don't want to hang onto this data
<fresheyeball> its trash chrome needs to run
phreedom has joined #nixos
<infinisil> ShaRose: You could do `path = [ pkgs.zfs ]`, but if you want the system path I think it would be `path = [ config.system.path ]`
__monty__ has quit [Quit: leaving]
<infinisil> fresheyeball: For a quick and nasty thing, I guess you can do -K to keep the build directory, then use the outputted path
<infinisil> (and make it fail to output that path)
<ShaRose> infinisil pkgs.zfs doesn't work because the zfs binary isn't in those subdirectories: will try config.system.apth though
<infinisil> ShaRose: In what subdirectories?
<kleisli> this command fails for me on nixos: `nix-shell -p haskellPackages.Agda`
<kleisli> possible bug?
<infinisil> ShaRose: ${pkgs.zfs}/bin/zfs is existent for me
<ShaRose> failed for me
<{^_^}> [nixpkgs] @Ma27 merged pull request #68627 → treewide: build some unfree packages locally → https://git.io/Je3FI
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Je3FL
<infinisil> ShaRose: Did you use the .dev output perhaps?
<infinisil> kleisli: Probably just a haskell build failing, that's pretty common and expected
<ShaRose> I'm not sure what nix did, but adding pkgs.zfs to path said zfs: command not found
<ShaRose> config.system.path seems to work though
<{^_^}> [nixpkgs] @matthewbauer merged pull request #69131 → Avoid subshells → https://git.io/Je3VD
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 8 commits to staging: https://git.io/Je3Fq
knupfer has quit [Ping timeout: 245 seconds]
<infinisil> ShaRose: If you run `realpath $(which zfs)` in your terminal, what do you get?
<infinisil> ShaRose: And what do you get when you run `nix-build '<nixpkgs>' -A zfs`?
<ShaRose> huh, that's odd. I do show it in the zfs-user path now
<ShaRose> Ah, I bet I know what happened
<ShaRose> I'm still trying to figure out why it can't add dependancies yet, so I bet it didn't bother actually automatically starting the services
nash8192[m] has left #nixos ["User left"]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/55d63efdc0c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> Not sure I get that, but I'd advise against using config.system.path
<ShaRose> yep, that was it.
<infinisil> Ah it just didn't restart it and you looked at the previous error?
<kleisli> infinisil: what do you mean? and how should i get around such an issue?
<ShaRose> I assumed since the service definition changed it'd restart :P
<infinisil> kleisli: Depends on the error, can't help much without seeing it
hmpffff has quit [Quit: nchrrrr…]
<infinisil> ShaRose: It should usually, not sure why it didn't, oh well
<{^_^}> [nixpkgs] @globin merged pull request #69165 → redo-apenwarr: fix source URL → https://git.io/Je355
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/Je3Fs
hmpffff has joined #nixos
<kleisli> infinisil: https://paste.ee/p/3NP4L
hmpffff has quit [Client Quit]
<ShaRose> now let's see if it does what I want after a reboot :P
<infinisil> kleisli: Looks like a cabal version mismatch, what's your nixpkgs version?
<infinisil> kleisli: Apparently there's already an issue on this: https://github.com/NixOS/nixpkgs/issues/57746
<{^_^}> #57746 (by livnev, 26 weeks ago, open): Agda doesn't build in master
<infinisil> Seems to be fixed in master
<{^_^}> [nixpkgs] @matthewbauer merged pull request #68614 → cacert: simplify setupHook → https://git.io/Je3FB
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/Je3FR
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<infinisil> So I assume you're probably running 19.03 where it's indeed not building
<kleisli> infinisil: thank you
xelxebar_ has quit [Ping timeout: 260 seconds]
cartwright has quit [Ping timeout: 260 seconds]
Palpares has quit [Ping timeout: 260 seconds]
jb55 has quit [Ping timeout: 260 seconds]
klntsky has quit [Ping timeout: 260 seconds]
ng0 has quit [Ping timeout: 260 seconds]
alex`` has quit [Ping timeout: 276 seconds]
phreedom has quit [Ping timeout: 260 seconds]
oida has quit [Ping timeout: 260 seconds]
andreas303 has quit [Ping timeout: 260 seconds]
<infinisil> :)
cnidario has quit [Remote host closed the connection]
domogled has quit [Quit: domogled]
<duncan> I want stickers >.< I ran out of nix stickers from ccc
<duncan> [congress]
<{^_^}> [nixpkgs] @VShell opened pull request #69170 → buildRustCrate: fix merging feature flags → https://git.io/Je3Fa
<duncan> Is there... some kind of restriction on printing one's own?
o1lo01ol1o has joined #nixos
jb55 has joined #nixos
emacsomancer has quit [Read error: Connection reset by peer]
oida has joined #nixos
phreedom has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
xelxebar has joined #nixos
<qyliss> duncan: I can't answer that (although I very much doubt it), but I can bring you some back from Nixcon I'm sure
cartwright has joined #nixos
Palpares has joined #nixos
ng0 has joined #nixos
andreas303 has joined #nixos
multun has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
klntsky has joined #nixos
<ShaRose> even if there technically was, I don't think anyone would care
<samueldr> the only restriction is that they have to be installed the right way up
o1lo01ol1o has quit [Ping timeout: 276 seconds]
<ShaRose> duncan I hope you are installing them rotated by 60 degrees just to stick it to the man
ixxie has quit [Ping timeout: 265 seconds]
<ShaRose> *30
werner291 has joined #nixos
* infinisil checks his NixOS sticker
<infinisil> Phew
<werner291> Is there a configuration.nix equivalent of "xinput set-button-map 11 1 3 2
<werner291> "?
<{^_^}> [nixpkgs] @veprbl merged pull request #69167 → [19.03] broadcom_sta: fix build on linux-5.1 → https://git.io/Je3dc
<{^_^}> [nixpkgs] @veprbl pushed commit from @werner291 to release-19.03 « broadcom_sta: fix build on linux-5.1 (#69167) »: https://git.io/Je3FS
<infinisil> werner291: You using synaptics?
<infinisil> If so, there's `services.xserver.synaptics.buttonsMap`
<werner291> Not that I know of, maybe?
<werner291> My right mouse button is broken, so I'm re-purposing the scroll wheel button.
<infinisil> And with libinput it can be done with `services.xserver.libinput.buttonMapping` seemingly
<worldofpeace> samueldr: I guess #68513 adding `-type f` made it stop wrapping symlinks
erasmas has quit [Quit: leaving]
<{^_^}> https://github.com/NixOS/nixpkgs/pull/68513 (by bjornfor, 1 week ago, merged): wrapQtAppsHook: use `patchelf --print-interpreter` instead of `isELFExec`
<infinisil> Ah I think libinput and synaptics are meant for trackpads
jtojnar has quit [Remote host closed the connection]
<werner291> I mean... I can literally just run the "xinput set-button-map 11 1 3 2" command in a terminal and it'll work, just trying to do it the "NixOS" way. But I'll have a look at those options.
jtojnar has joined #nixos
<infinisil> werner291: Okay I think you can do what you need with `services.xserver.inputClassSections`, see `man evdev` for the ButtonMapping option
<werner291> Will do
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
rouma has quit [Remote host closed the connection]
jtojnar_ has joined #nixos
jtojnar has quit [Ping timeout: 245 seconds]
jtojnar_ is now known as jtojnar
justanotheruser has quit [Ping timeout: 265 seconds]
endformationage has quit [Quit: WeeChat 2.5]
werner291 has quit [Remote host closed the connection]
Sisyphe[m] has joined #nixos
kleisli has joined #nixos
tokudan has quit [Quit: Dunno.]
tokudan has joined #nixos
Rusty1 has joined #nixos
Guest66 has joined #nixos
erictapen has quit [Ping timeout: 265 seconds]
justanotheruser has joined #nixos
dermetfan has quit [Ping timeout: 240 seconds]
erictapen has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
joehh has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #69173 → wrapQtAppsHook: correct skip directories heuristic → https://git.io/Je3bq
tokudan has quit [Quit: Dunno.]
delroth has quit [Quit: WeeChat 2.5]
delroth has joined #nixos
<gchristensen> emily: maybe we could help ZoL do more regular releases (like a 0.8.1.1) somehow (though admitedly I don't know what goes in to releasing ZFS...)
tokudan has joined #nixos
erictapen has quit [Ping timeout: 265 seconds]
swerlk has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/10903f55a87 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
drakonis_ has quit [Read error: Connection reset by peer]
emacsomancer has joined #nixos
<{^_^}> [nixpkgs] @HugoReeves opened pull request #69174 → croc: 6.1.1 -> 6.1.3 → https://git.io/Je3bc
Guest66 has left #nixos [#nixos]
emacsomancer has quit [Remote host closed the connection]
emacsomancer has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
kleisli has quit [Ping timeout: 240 seconds]
drakonis_ has quit [Ping timeout: 268 seconds]
kleisli has joined #nixos
<{^_^}> [nixpkgs] @Chiiruno opened pull request #69175 → lokinet: init at 0.5.2 → https://git.io/Je3b0
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
jluttine has quit [Ping timeout: 240 seconds]
srl295 has quit [Quit: Connection closed for inactivity]
endformationage has joined #nixos
werner291 has joined #nixos
<{^_^}> [nixpkgs] @0x4A6F opened pull request #69176 → eidolon: init at 1.4.6 → https://git.io/Je3bK