gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
tzemanovic has quit []
<rawtaz> seems like everyone went to bed :D
<rawtaz> or perhaps home from work
camsbury has quit [Ping timeout: 272 seconds]
Ericson2314 has quit [Ping timeout: 264 seconds]
wpcarro has joined #nixos
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
ris has quit [Ping timeout: 260 seconds]
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
chpatrick has quit [Quit: Connection closed for inactivity]
wpcarro has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
Lisanna has joined #nixos
tzemanovic has joined #nixos
<Lisanna> Hey, I'm seeing incredibly poor memory performance during evaluation when I have a import statement inside of a function that gets called a very large number of times
tzemanovic has quit [Remote host closed the connection]
<Lisanna> even though there are only like 5 unique argument combinations that actually get passed in to the function
hitchhikingcoder has joined #nixos
<clever> Lisanna: one min
<clever> Lisanna: the master branch of nix isnt capable of remembering what a function returned for a given value
tzemanovic has joined #nixos
<clever> but if you save that into an attr, it will only call it once
<Lisanna> clever it's not good enough to just give it a name in a let, it has to be stored in an attr?
<clever> a let block may also work
mayhewluke has quit [Ping timeout: 240 seconds]
<Lisanna> ok
<clever> as long as you are using the same let block instance, and not re-importing that file too much
<clever> ,profile
<{^_^}> clever: Did you mean profiling?
<{^_^}> Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
<clever> and those 2 let you measure the effect and see if your actually improving it
wpcarro has joined #nixos
wpcarro has quit [Read error: Connection reset by peer]
mayhewluke has joined #nixos
<Lisanna> Are there plans to add memoization to the Nix evaluator?
<clever> Lisanna: a branch with that already exists
<Lisanna> ok
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fADQz
viric_ has joined #nixos
hitchhikingcoder has quit [Remote host closed the connection]
<Lisanna> OK, so the hack here is to create an attrset which maps the function inputs directly to their results, and that will be memoized
viric has quit [Ping timeout: 252 seconds]
<clever> Lisanna: yeah, the values in the set are thunks, that run the function once and remember the result
<Lisanna> ok
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
EternalZenith has joined #nixos
<EternalZenith> Hello, all.
<EternalZenith> I'm trying to install NixOS from Arch, but whenever I run nixos-install now, it logs me out
<EternalZenith> It at one point started downloading and setting things up, but now it doesn't even do that
<Lisanna> clever foo: { bar = 2; baz = 4; }.${foo}
<Lisanna> is that enough to memoize bar / baz?
<Lisanna> EternalZenith /from/ arch?
<clever> Lisanna: probably
<EternalZenith> From within it, yes
<EternalZenith> Is that not the best idea?
<Lisanna> EternalZenith I've heard of stuff like that being done, but never tried it myself since it seems hacky
<EternalZenith> It certainly feels that way
<Lisanna> FWIW I always install from some live media, like a USB stick
<EternalZenith> I might have to do that
<EternalZenith> I have run into quite a few weird things so far
<EternalZenith> Time to try and do this booted into nixos, then
EternalZenith has quit [Remote host closed the connection]
fragamus has joined #nixos
<c15ade4> man, a nixos-vm that works like nixos-container would be so neat
<Lisanna> yep, memoization fixed it
<clever> Lisanna: nice
<Lisanna> clever++
<{^_^}> clever's karma got increased to 26
<Lisanna> ^^
zanxis has joined #nixos
<zanxis> Hey
<emily> Lisanna: you want to create the attrset outside of the function, presumably?
<Lisanna> emily yeah, I ended up having to go with more or less exactly what nixpkgs does
Cale has quit [Remote host closed the connection]
<emily> *nods*
<Lisanna> i.e. don't think there's a way to trick the evaluator into memoizing stuff with some generic approach that you can just write as a pure function
Ericson2314 has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
<emily> Lisanna: you can build out type-dispatching infrastructure for it like some haskell libraries do
<emily> but it might be awkward in nix
<gchristensen> "might" :D
<{^_^}> [nixpkgs] @romildo opened pull request #46815 → efl: 1.21.0 -> 1.21.1 → https://git.io/fAD5E
zanxis has left #nixos [#nixos]
Cale has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/9f768ff43ce (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jperras has quit [Ping timeout: 272 seconds]
Ericson2314 has quit [Changing host]
Ericson2314 has joined #nixos
silver has quit [Read error: Connection reset by peer]
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Supersonic has quit [Ping timeout: 250 seconds]
JonReed has quit [Ping timeout: 252 seconds]
Growpotkin has joined #nixos
<Growpotkin> radical idea: Make Nix a general purpose language AT ALL COSTS
<Growpotkin> BY ANY MEANS NECESSARY
Supersonic has joined #nixos
jperras has joined #nixos
oldandwise has joined #nixos
<oldandwise> i enabled services.chrony.enable = true; in /etc/nixos/configuration.nix, but 'systemd-timesyncd' is still running during boot. I have now 2 ntp client.. how to fix?
<gchristensen> growpotkin: no
<clever> oldandwise: services.timesyncd.enable = false;
<Growpotkin> gchristensen: cmon. It'll be a good time.
<Growpotkin> At least just append it's parser for sets and quasi-quotes onto haskell.
<clever> growpotkin: when i first got into nix, i had ideas on how to add a c ffi to nix, and use it for opengl stuff, lol
<clever> growpotkin: including using nix derivations to cache computation in the store, with normal GC to clean up the cache
<emily> shocking that there's no nix web framework
<Growpotkin> Well I'm game if you are Clever.
<gchristensen> emily: like https://github.com/styx-static/styx/ ?
<clever> growpotkin: i have since gotten over that temporary insanity :P
<Growpotkin> nah come on
<Growpotkin> les do it
<Growpotkin> i love openGL
<clever> growpotkin: with recent changes, its actually easier
<Growpotkin> we use it for students all the time, and I'm so sick of giving them C++ projects
<jackdk> you give your students nix projects?
<emily> gchristensen: ha, I guess that's actually a reasonable use of nix
<clever> growpotkin: plan a, haskell :P
<gchristensen> emily: it is a bit slow :)
<Growpotkin> Nah we don't give students Nix projects, but we could
<Growpotkin> Haskell is way more reasonable
<Growpotkin> I have been working on a Ray Tracer project in Haskell for em
fragamus has joined #nixos
<Growpotkin> the department is game to assign new languages all the time. They are into "holistic understanding" less than proficiency in specific languages
<clever> growpotkin: builtins.importNative("${foo}/lib/libfoo.so") will return an artbitary nix Value*
<clever> growpotkin: that value can be a set containing more primops (functions that run c++ code)
<clever> go nuts!
<Growpotkin> YTMND
<Growpotkin> gotta run. But thanks again Clever. You're always swooping in with good advice.
<clever> in theory, you can just eval a file with nix-instantiate, and it would fire up opengl and do anything you want
<gchristensen> advice yes, good? _usually_ yes ;)
<clever> you just need to make a primop that accepts a nix function for the state machine and event handling
sigmundv has quit [Ping timeout: 244 seconds]
<clever> and then run the nix function for any event, and to compute the state changes
<clever> and with the right code, it can support building derivations to produce values passed to opengl
<clever> so you could have a derivation to compile the texture from a set of directions
<clever> growpotkin: which would allow you to create a game like https://en.wikipedia.org/wiki/.kkrieger but leverage nix for caching
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<Growpotkin> damn
<Growpotkin> you really thought this through
<clever> and yet i didnt write a single line of code, lol
<Growpotkin> Would that leverage hashing?
mroth19 has joined #nixos
carlosdagos has joined #nixos
<mroth19> Allah іs ԁoіᥒɡ
mroth19 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<clever> yeah, it wold be all of the hashing nix already does
<clever> nix will hash the build instructions to compute the $out
<Growpotkin> my god
<Growpotkin> you're a monster
<Growpotkin> this is such a good idea
<emily> nix is not hashing, allah is hashing.
<gchristensen> emily: :)
<clever> you basically just have a pkgs.runCommand derivation, that does whatever you want, and produces an image with the texture as $out
rauno has joined #nixos
rauno has quit [Remote host closed the connection]
<clever> and if the args to it havent changed, nix just pulls the old image out of /nix/store/
<clever> growpotkin: oh god, you could even have a binary cache, lol
<clever> so it would download pre-rendered game assets on startup
<clever> but you are free to modify the build instructions for any asset, and it will just rebuild it locally
<gchristensen> the reason this is in particular interesting to .kkrieger is due to how the game was developed and distributed, which the wiki page describes
<Growpotkin> yeah im reading the wiki on it now
<Growpotkin> these nerds killed it
<Growpotkin> very inspired
<clever> the basic idea of how they made it so damn small, is to store svg rather then png
<clever> and just render at startup
<clever> but extending that to everything, 3d models, textures, map layout, music
<oldandwise> where can i find `vde_switch` ?
<copumpkin> is there a nix --store option that will automatically put the result of a build into an S3 binary store as a nar?
<clever> ,locate vde_switch
<{^_^}> Found in packages: vde2
<clever> copumpkin: you can probably use `--store s3://` but i would prefer to use `nix copy --to s3://`
<oldandwise> not found
<clever> oldandwise: what command did you run?
<oldandwise> clever: vde_switch -tap tap0 -mod 660 -group kvm -daemon
<clever> oldandwise: and how did you install vde2?
<copumpkin> nix copy isn't quite what I want
<copumpkin> --store s3:// tells me that the operation (presumably build) isn't support on s3 stores
<clever> copumpkin: thats what i feared, and why i would prefer copy
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f1737fa6466 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
drakonis_ has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
abueide has quit [Ping timeout: 252 seconds]
winem_ has joined #nixos
fragamus has quit [Read error: Connection reset by peer]
<oldandwise> clever: thanks for vde2 package name
nckx has quit [Ping timeout: 240 seconds]
winem_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @domenkozar closed pull request #42869 → heroku: 3.43.16 -> 7.5.7 → https://git.io/fMoW2
<copumpkin> clever: can I give nix copy a drv somehow to copy? this notion of installables seems kind of awkward
<copumpkin> I basically don't want nix copy to do any evaluation
<clever> copumpkin: all of the nix 2.0 commands will try to build the .drv you give it before doing the action you requested
<clever> they can also be given paths to finished builds
<copumpkin> I dunno, I passed it a .drv path and it seems to ignore me entirely
<clever> ah, some may not handle it at all
<copumpkin> nix copy --to s3://blah/blah/blah /nix/store/hash-name.drv
<clever> the s3 backend doesnt really support drv files
<copumpkin> well yeah, I'm not trying to copy the .drv to it
<copumpkin> just make it build the .drv and upload the result
<clever> then you should run `nix-store -r` on that drv first i guess
<copumpkin> yeah, I don't have a shell though
<copumpkin> so I'm trying to avoid chaining together these things manually and do it in a single nix invocation :)
<clever> ?
<clever> ah
<copumpkin> that's why I was trying nix-store -r before
<copumpkin> but I can't upload to s3 from there, and I can't build from nix copy
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46816 → androidndk: Add Darwin support for 18.09 → https://git.io/fADbd
hakujin has quit [Ping timeout: 240 seconds]
<clever> [clever@amd-nixos:~]$ nix copy --to ssh-ng://root@system76 /nix/store/v2l3ncp0ypdssjf7b8rxyppn3kyq3w87-hello-2.10.drv
<clever> copumpkin: ok, i can confirm that `nix copy` supports copying drvs over ssh-ng, without building
<copumpkin> yeah, I'd much rather have a "tell me what you want" than a "do what I mean" in this space
hakujin has joined #nixos
<copumpkin> not a fan of this generic installable notion
<clever> so copyPaths(src,dst,pathset) can support drv's
<copumpkin> which means it's not going to build them for me
<clever> copumpkin: yeah, not seeing any real way to make it build the thing
<copumpkin> oh well, not a big deal
<copumpkin> thanks for taking a look
Dedalo has joined #nixos
Dedalo has quit [Client Quit]
oldandwise has quit [Quit: leaving]
hakujin has quit [Ping timeout: 246 seconds]
lektrik has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46817 → androidndk: Add Darwin support → https://git.io/fADNL
nckx has joined #nixos
thc202 has quit [Ping timeout: 272 seconds]
hakujin has joined #nixos
<adisbladis> What's a good way to pull in multple sources in to a single package?
<disasm> Ankhers: if I remember, you were doing some work with elixir a while back. Is trying to get phoenix to work in beam-packages.nix a fools errand that I shouldn't touch? Main goal is to try to get bors-ng derivation for nixos instead of having to use docker or something hacky, like a nix-shell building it on the production host.
daemon2 has joined #nixos
<daemon2> Ꭺⅼⅼah is ԁoing
daemon2 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<adisbladis> clever: That works for fetchFromGitHub but not for fetchurl
<clever> adisbladis: use fetchzip to get an unpacked copy
<clever> fetchzip still works on tar files, the name is a bit misleading
hakujin has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46817 → androidndk: Add Darwin support → https://git.io/fADNL
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/fADNw
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46816 → androidndk: Add Darwin support for 18.09 → https://git.io/fADbd
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fADNo
hakujin has joined #nixos
rauno has joined #nixos
EarlDeLaWarr has quit [Ping timeout: 240 seconds]
hakujin has quit [Ping timeout: 246 seconds]
hakujin has joined #nixos
hakujin has quit [Ping timeout: 272 seconds]
EarlDeLaWarr has joined #nixos
hakujin has joined #nixos
hakujin has quit [Ping timeout: 244 seconds]
hakujin has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
Ericson2314 has quit [Ping timeout: 244 seconds]
tzemanovic has quit [Remote host closed the connection]
Growpotkin has left #nixos [#nixos]
rauno has quit [Ping timeout: 240 seconds]
counting1ort has joined #nixos
<adisbladis> clever: Right. I can migrate to use fetchzip instead :)
oldandwise has joined #nixos
countingsort has quit [Ping timeout: 272 seconds]
<oldandwise> need some proper howto how to give qemu nixos guest an internet access
mayhewluke has quit [Ping timeout: 252 seconds]
<clever> oldandwise: by default, qemu sets up userland nat and it just works
<c15ade4> oldandwise: yeah - i did a hack and used user mode network + a wireguard vpn to give my vpn an ip address
mayhewluke has joined #nixos
<c15ade4> my vm an ip address*
<c15ade4> since i didn't know how to use tun/tap and was lazy
<adisbladis> Oh right, the src hashing is over the output. So I'll have to wrap fetchurl in a derivation to get unpacked sources using the tarball hash
<clever> adisbladis: fetchurl uses the hash of the file it downloads, fetchzip uses the hash of the NAR that results from unpacking the thing it downloads
<adisbladis> clever: Yeah. I know =)
<clever> the only other difference is that fetchzip can support zips
brejoc has joined #nixos
spear2 has quit [Quit: Leaving]
tzemanovic has joined #nixos
sbdchd has quit [Remote host closed the connection]
brejoc has quit [Ping timeout: 240 seconds]
oldandwise has quit [Remote host closed the connection]
ekleog has quit [Quit: WeeChat 2.0]
<jackdk> ,locate tree
<{^_^}> Found in packages: xsd, jmol, root, tree, atom, saxon, fcppt, and 38 more
ekleog has joined #nixos
brejoc has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #46811 → libreoffice-fresh: 6.1.0.3 -> 6.1.1.2 → https://git.io/fADyD
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fADpe
xok has quit [Quit: Leaving.]
worldofpeace has quit [Ping timeout: 244 seconds]
kisik21 has joined #nixos
rauno has joined #nixos
kreetx has joined #nixos
blankhart has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #46489 → ocamlPackages.ppx_import: 1.4 -> 1.5 → https://git.io/fAVPd
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ppx_import: 1.4 -> 1.5 »: https://git.io/fADp1
kreetx has quit [Ping timeout: 246 seconds]
shiver has quit [Quit: leaving]
shiver has joined #nixos
<CMCDragonkai> When you run a python program from Nix store, what happens to the pycache files?
<CMCDragonkai> Especially if the nix store is made to be immutable?
<{^_^}> #22569 (by edanaher, 1 year ago, closed): Python 3.5 bytecode caches not working
endformationage has quit [Quit: WeeChat 1.9.1]
Ariakenom has joined #nixos
hamishmack has quit [Ping timeout: 244 seconds]
Lears has joined #nixos
[Leary] has quit [Ping timeout: 252 seconds]
abueide has joined #nixos
mounty has joined #nixos
kreetx has joined #nixos
<rsa> anyone got "nvidia prime" working?
Lisanna_ has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<andi-> if I remember correctly thats mixing intel + nouveau? That used to work on my notebook. Haven't checked in a while but just worked out of the box.
[Leary] has joined #nixos
<rsa> i want to use the nvidia driver by default for the xserver
kreetx has quit [Ping timeout: 240 seconds]
Lears has quit [Ping timeout: 240 seconds]
<andi-> never tried that, there used to be bumblebee for that but it is mostly dead IIRC
<rsa> yeah, i've been using bumblebee
<andi-> PRIME only works with the mesa/open source drivers AFAIK
<adisbladis> On my laptop nouveau has about the same performance as intel
<adisbladis> So I just use the intel card and ignore the nvidia one
smolboye has quit [Ping timeout: 240 seconds]
hyper_ch2 has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
<adisbladis> rsa: It's mentioned on the wiki https://nixos.wiki/wiki/Nvidia#Nvidia_PRIME
<ashkitten> is there a way to make nix-shell initialize faster? i use a script with a nix-shell shebang for my print screen button, but it takes nearly an entire second to start the shell...
<adisbladis> ashkitten: Don't use nix-shell for that kind of thing. Why not make a package for your cript?
<ashkitten> i don't really know how to, tbh
Lisanna_ has quit [Ping timeout: 246 seconds]
hamishmack has joined #nixos
<ashkitten> like, i know how to write it in the nixpkgs repo, but not as part of the user config or whatever
<adisbladis> ashkitten: I could help you out. You mind pasting your script?
<ashkitten> oh, i just walked away from the computer.. wasn't expecting to be doing anything more with it tonight
<ashkitten> i figured i'd get some info and impl it when im awake
Mateon2 has joined #nixos
<adisbladis> ashkitten: Pop by any time =) If I'm not here to help you I'm sure someone else will be.
orivej has joined #nixos
matthewbauer has joined #nixos
<ashkitten> yeah, sure thing
revtintin has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon2 is now known as Mateon1
tertl3 has quit [Quit: Connection closed for inactivity]
trcc has joined #nixos
Ariakenom has joined #nixos
rauno has joined #nixos
kreetx has joined #nixos
lsyoyom has quit [Ping timeout: 244 seconds]
kreetx has quit [Ping timeout: 252 seconds]
Anton-Latukha has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
hyper_ch2 has joined #nixos
xok has joined #nixos
Thra11 has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
xok has quit [Ping timeout: 245 seconds]
Thra11 has quit [Ping timeout: 246 seconds]
jackdk has quit [Ping timeout: 246 seconds]
matthewbauer has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46638 → vimPlugins: warn if alias is used inside overrides → https://git.io/fAPJI
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyff
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
lsyoyom has joined #nixos
Anton-Latukha has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46799 → git-lfs: 2.4.2 -> 2.5.2 → https://git.io/fAD0X
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyfO
abueide has quit [Ping timeout: 240 seconds]
melleb has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #46788 → python3Packages.mypy: 0.620 -> 0.630 → https://git.io/fAMxz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyf8
<buckley310> I am currently getting this error when trying to run a 3rd party binary on my machine and I'm not sure what to do :(. Does this look familiar to anyone?: symbol lookup error: /nix/store/hhncd3f33scx5azdv503s34095wm7llj-glib-2.54.3/lib/libgobject-2.0.so.0: undefined symbol: g_variant_dict_ref
reinzelmann has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<buckley310> (system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.03.133231.01f5e794913", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs)
tzemanovic has joined #nixos
<srhb> buckley310: Sounds like libgobject is too old or too new for that binary. What is it? It might have its dependencies listed somewhere
<{^_^}> [nixpkgs] @Mic92 pushed to master « python2.pkgs.mypy_extensions: also enable python2 »: https://git.io/fAyf1
<buckley310> ive been working on a package to set it up
<srhb> Well, the symbol is clearly defined...
<buckley310> yeah i thought so, i did a `strings|grep` on it...
xok has joined #nixos
<srhb> Might still be a version thing..
kreetx has joined #nixos
<srhb> Oh, maybe I'm reading the output wrong
<buckley310> if you do feel motivated to look at it i can post my package
<srhb> Yeah, it's undefined
<buckley310> oh
<srhb> Please do, though this is probably at the limits of what I can help with, but someone else might be able to
orivej has joined #nixos
<srhb> nm that.so: U g_variant_dict_ref
<buckley310> vmware-horizon-client: http://ix.io/1mUR
<buckley310> its partly coppied from this, which supposedly works: https://aur.archlinux.org/packages/vmware-horizon-client
xok has quit [Ping timeout: 252 seconds]
chpatrick has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #46808 → krakenx: 0.0.1 -> 0.0.3 → https://git.io/fADXt
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyJ3
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46640 → ocamlPackages.mlgmpidl: 1.2.6 -> 1.2.7 → https://git.io/fAPUZ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyJo
baimafeima2 has joined #nixos
tzemanovic has joined #nixos
mvnetbiz27 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46634 → airsonic: provide additional jvm configuration → https://git.io/fAiN3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyJP
mvnetbiz27 has joined #nixos
baimafeima2 has quit [Remote host closed the connection]
baimafeima2 has joined #nixos
<srhb> buckley310: It's defined in libglib-2.0.so
viric_ is now known as viric
<srhb> So why is the lookup happening in libgobject...
<{^_^}> [nixpkgs] @Mic92 merged pull request #46794 → compcert: 3.3 -> 3.4 → https://git.io/fAD0t
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyJ7
<srhb> buckley310: aha
<srhb> buckley310: Try moving the nix lib rpath to the front of the path instead of the end
alex`` has quit [Quit: WeeChat 2.0]
<buckley310> alright lets see...
<buckley310> it opens! :D
<srhb> hoorah
<buckley310> yay no more windows VM lol
baimafeima2 has quit [Client Quit]
<buckley310> weird so i guess this client comes with its own copy of glib?
baimafeima3 has joined #nixos
baimafeima3 has quit [Remote host closed the connection]
mayhewluke has quit [Ping timeout: 272 seconds]
baimafeima has joined #nixos
<srhb> buckley310: It certainly has /view/crtbora/libglib-2.0.so.0
melleb has quit [Ping timeout: 245 seconds]
* emily blinks at /view
<emily> what's that from?
<buckley310> vmware-horizon used to be called vmware-view
<srhb> But that symbol isn't defined anywhere there and I don't understand how the lookup occurred in libgobject anyway. Honestly, it's beyond my ability. :-)
<srhb> Fortunately I have +7 to luck when it comes to patchelf.
<buckley310> well, for posterity, this is the minimum required to run vmware-horizon on nixos http://ix.io/1mUT
<buckley310> I'm going to bed, thanks very much :)
<srhb> buckley310: If you're not going to contribute it upstream, could you gist it tomorrow with a nice title? :-)
<srhb> Would be easier to find in the future then
<srhb> buckley310: And sleep well
<buckley310> I will do something with it. upstream sounds good, but its pretty hacky as-is and im very new to nix :D
mayhewluke has joined #nixos
<srhb> Sure, but a starting point beats nothing :-)
<buckley310> will do something with it tomorrow.
<srhb> Great! Thanks!
<buckley310> also have not tried going past the main menu, not pushing my luck tonight
lopsided98_ has joined #nixos
lopsided98 has quit [Ping timeout: 276 seconds]
goibhniu has joined #nixos
<Aleksejs> srhb: I've managed to configure audio/mic in skype. I think the problem was not with skype itself but with blueman
<Aleksejs> I think 8.28.0.41 is good to go
<srhb> Aleksejs: Please comment on the PR. :) Someone else had the same problem that I did with no UI showing up though..
baimafeima has quit [Read error: Connection reset by peer]
lopsided98_ has quit [Ping timeout: 240 seconds]
<srhb> Haven't figured out what that is, but it makes me reluctant to merge it.
Boomerang has joined #nixos
lopsided98 has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #46815 → efl: 1.21.0 -> 1.21.1 → https://git.io/fAD5E
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fAyTB
<Aleksejs> I have a second laptop with nixos and KDE on it, I can test it later. But it works fine on i3
<{^_^}> [nixpkgs] @srhb pushed commit from @romildo to release-18.09 « efl: 1.21.0 -> 1.21.1 »: https://git.io/fAyTu
<srhb> Aleksejs: Very strange...
civodul has joined #nixos
<srhb> Aleksejs: The PR is here, by the way, to track discussion of the issue: https://github.com/NixOS/nixpkgs/pull/46772
<{^_^}> #46772 (by srhb, 23 hours ago, open): Backport 18.03: skypeforlinux: 8.24.0.2 -> 8.28.0.41
<srhb> Ah, you got it, thanks :-)
<Aleksejs> :)
palo_ has joined #nixos
palo_ has quit [Changing host]
palo_ has joined #nixos
MarcWeber has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46772 → Backport 18.03: skypeforlinux: 8.24.0.2 -> 8.28.0.41 → https://git.io/fAM3U
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/fAyTD
<srhb> ... oh well :P
<srhb> My feeling is that it probably works and my desktop is just weird, but meh, skype..
<srhb> It probably is strictly better than a broken url anyway. :-)
<{^_^}> [nixpkgs] @srhb merged pull request #46800 → exim: enable LMTP support → https://git.io/fADEI
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fAyTQ
<{^_^}> [nixpkgs] @srhb pushed commit from @pacien to release-18.09 « exim: enable LMTP support »: https://git.io/fAyTF
palo has quit [Ping timeout: 272 seconds]
thc202 has joined #nixos
knupfer has joined #nixos
<jtojnar> mvnetbiz27: what piper expresion do you have?
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #46136 → makefile2graph: init at 2018-01-03 → https://git.io/fAEa8
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @CMCDragonkai to master « makefile2graph: init at 2018-01-03 (#46136) »: https://git.io/fAykQ
melleb has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #46781 → git-appraise: init unstable at 2018-02-26 → https://git.io/fAM6u
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fAykA
shoogz has quit [Ping timeout: 264 seconds]
hotfuzz_ has quit [Ping timeout: 244 seconds]
tzemanovic has joined #nixos
hotfuzz_ has joined #nixos
shoogz has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46809 → elementary-xfce-icon-theme: 0.12 -> 0.13 → https://git.io/fADX5
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAyIX
matto has joined #nixos
monotux has quit [Ping timeout: 244 seconds]
<tilpner> Hi! Does anyone know how to use carnix for cross-compilation (so that proc-macros work)?
worldofpeace has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
<matto> Hi all, is there a non-interactive nix multiuser install script?
knupfer has joined #nixos
<sphalerite> I think that's noninteractive?
<srhb> sphalerite: The problem might be sudo. iirc it used to refuse running as root at some point, but requires sudo?
<sphalerite> oh
<srhb> I'm not sure if that's still the case though
<srhb> It doesn't look like it from a quick glance.
<srhb> printf '\e[1;31mwarning: installing Nix as root is not supported by this script!\e[0m\n' -- but it's just a warning...
bwellsnc has joined #nixos
<bwellsnc> Aⅼlah іs ԁοiᥒɡ
bwellsnc has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<srhb> Ah, the multi user install does barf on having root. Meh.
<srhb> So in order to make it unattended, it appears sudo must be passwordless.
<sphalerite> or we could fix the script?
<sphalerite> for multi-user install having root is desirable anyway, right?
<srhb> Sure, but this looks like a deliberate decision, so clearly some discussion must take place. :)
<srhb> failure <<EOF Please do not run this script with root privileges. We will call sudo when we need to.
orivej has quit [Ping timeout: 252 seconds]
<adisbladis> Thats just plain weird
dbmikus has joined #nixos
<sphalerite> matto: what you could do is set up a dedicated account with nopasswd sudo rights and run it as that? It's kind of a hack but until (if) the script is changed to allow running as root, it should do as a workaround?
<matto> yes! Thanks, I was just wondering if there was something that works without workaround ...
<srhb> matto: Can you open an issue about unattended installs?
<matto> yes
<srhb> matto: It will be easier to ping the relevant people there.
<srhb> Thank you :)
<puffnfresh> copumpkin: you trying out the linuxkit builder?
dbmikus_ has joined #nixos
cement has quit [Ping timeout: 246 seconds]
adamt has joined #nixos
adamt is now known as Guest79935
dbmikus has quit [Ping timeout: 250 seconds]
pie__ has joined #nixos
sigmundv has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
pie_ has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
brejoc has quit [Quit: Leaving]
brejoc has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #46736 → mpack: Invoke /run/wrappers/bin/sendmail via execvp → https://git.io/fA1of
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyOd
<{^_^}> [nixpkgs] @Mic92 pushed commit from @clefru to release-18.09 « mpack: Invoke /run/wrappers/bin/sendmail via execvp »: https://git.io/fAy3e
rauno has quit [Ping timeout: 252 seconds]
fendor has joined #nixos
xok has joined #nixos
EarlDeLaWarr has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46547 → git2r: add SSH support → https://git.io/fArNm
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAy3a
Guest79935 has quit [Changing host]
Guest79935 has joined #nixos
Guest79935 is now known as adamt
derped has quit [Remote host closed the connection]
<Taneb> Is there a table somewhere of what buitins.langVersion is in different versions of Nix?
knupfer has quit [Ping timeout: 252 seconds]
<srhb> Taneb: Doubt it.
trcc has quit [Remote host closed the connection]
<sphalerite> Taneb: maybe I could hack something together with git blame
knupfer has joined #nixos
<sphalerite> Taneb: in fact… it's never been changed
<sphalerite> Taneb: the only commit touching it is the one that originally introduced it
<sphalerite> so langVersion has been 5 since November 2012
<sphalerite> First release containing it seems to be 1.10
<Taneb> Nix 1.11.16 seems to have it be 3
c15ade4 has quit [Quit: WeeChat 2.0]
<sphalerite> oh pff I got the commit wrong >_>
<sphalerite> hm, last bump commit, from 4 to 5, doesn't indicate why it was bumped :|
knupfer has quit [Quit: knupfer]
Dedalo has joined #nixos
<sphalerite> 3 to 4 was adding floats
palo_ is now known as palo
<sphalerite> 2 to 3 was ignoring context for string equality testing
<Taneb> OK, we're switched to nixpkgs 18.03 at work, 18.09 can come out now
<sphalerite> hahaha
<sphalerite> 1 to 2 was making storePath substitute paths if they're missing
<sphalerite> and 1 was the version where it was introduced
trcc has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shabius_ has joined #nixos
Dedalo has joined #nixos
shabius has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
dbmikus_ has quit [Ping timeout: 252 seconds]
pie__ is now known as pie_
kreetx has quit [Quit: leaving]
Kelppo has joined #nixos
c15ade4 has joined #nixos
jasongrossman has joined #nixos
orivej has joined #nixos
xok has quit [Remote host closed the connection]
baimafeima has joined #nixos
matto has quit [Ping timeout: 264 seconds]
hotfuzz has joined #nixos
<Aleksejs> The homepage of this package is wrong https://github.com/NixOS/nixpkgs/blob/01f5e794913a18494642b5f237bd76c054339d61/pkgs/applications/networking/instant-messengers/messenger-for-desktop/default.nix#L95 - it should be .com instead of .org. .org points to similar but different package
hotfuzz_ has quit [Ping timeout: 252 seconds]
<rawtaz> Aleksejs: would you mind filing a PR for that? you can do it real easily, just edit that file on GitHub (in the master branch) and submit a PR
<rawtaz> no need to even clone the repo locally
<adamt> Well, it's more complicated than that, it seems (not the technical part).
<adamt> The author claims the project is basically dead, and suggests using a different piece of software instead -- actually the one you get at messengerfordesktop.org
<adamt> Of course the current situation is still wrong
<rawtaz> right. well regardless of rekommendations ,the current website for the project should be reflected in the nix file i suppose
<Aleksejs> rawtaz: I don't see that package on master
<rawtaz> oh really?
* rawtaz looks
<rawtaz> interesting. perhaps it was removed
<manveru> here's a list of more wrong links: https://repology.org/repository/nix_unstable/problems :)
init_6 has joined #nixos
<{^_^}> #41224 (by worldofpeace, 15 weeks ago, merged): messenger-for-desktop: remove
<{^_^}> [nixpkgs] @Mic92 merged pull request #46316 → pythonPackages.psycopg2: 2.7.1 -> 2.7.5 → https://git.io/fAgfL
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAy8J
hakujin has joined #nixos
<rawtaz> Aleksejs: problem solved then, i guess :>
<rawtaz> err, adamt
<adamt> So it was more complicated after all. :P
revtintin has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46336 → lib: Improve overrideExisting implementation → https://git.io/fAg1U
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fAy8g
hakujin has quit [Ping timeout: 245 seconds]
<rawtaz> yup
<adamt> manveru: The site claim that https://crates.io/ has been down for more than a month, which I seriously doubt :P
<Taneb> In double-single quote strings (''foo''), how can I escpae the sequence "'${"?
<symphorien> ,escape'' Taneb
<{^_^}> Taneb: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<Taneb> I'd want to '''${, but that gives me a double quote and then the special meaning of ${
<symphorien> > '' ''''${ ''
<{^_^}> error: syntax error, unexpected $end, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at (string):195:1
<symphorien> hum
<symphorien> I don't know
<manveru> > '' ''''''${ ''
<{^_^}> error: syntax error, unexpected $end, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at (string):195:1
<manveru> > '' '''''${ ''
<{^_^}> "''${ "
<manveru> when in doubt, just add more '
<Taneb> That's got too many single quotes
<symphorien> > '' ${ "'${" } ''
<{^_^}> error: syntax error, unexpected $end, expecting '"', at (string):194:12
<symphorien> ,escape"
<{^_^}> " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<symphorien> > '' ${ "'\${" } ''
<{^_^}> "'${ "
aiken_ has joined #nixos
<symphorien> poor man's solution
<Taneb> symphorien: that's certainly a way to do it
<symphorien> this is also a handy way to add comments
<sphalerite> > '' ''\'''${ ''
<{^_^}> "'${ "
baimafeima has quit [Quit: Leaving]
<sphalerite> Taneb: ''\ invalidates the meaning of the character following it
<manveru> oO
<sphalerite> hmm
<{^_^}> [nixpkgs] @adamtulinius opened pull request #46821 → coreclr: update homepage → https://git.io/fAy46
<sphalerite> > '' ''\'''\${ }''
<{^_^}> "'${ }"
<sphalerite> that also works x)
<symphorien> sphalerite++
<{^_^}> sphalerite's karma got increased to 17
<manveru> maybe some day we'll get heredocs...
<sphalerite> > curly = s: "'\${" + s + "}"
<{^_^}> curly defined
<sphalerite> > '' hello ${curly "world"} ''
<{^_^}> "hello '${world} "
carlosdagos has quit [Quit: Connection closed for inactivity]
<sphalerite> > curly = s: "\${" + s + "}"
<{^_^}> curly defined
<sphalerite> > '' hello '${curly "world"}' ''
<{^_^}> "hello '${world}' "
<Taneb> sphalerite: neat
<c15ade4> anyone know if nixos has support for loop file mounts in filesystems
<c15ade4> ?
<sphalerite> c15ade4: yes
<sphalerite> c15ade4: as in it does. You can create one imperatively using mount -o loop like on any other distro
derped has joined #nixos
<sphalerite> not sure if nixos-generate-config supports it though actually. Worth a try though I guess
<c15ade4> hmm ok
matto has joined #nixos
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dedalo has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/305f13d3d73 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @srhb merged pull request #46821 → coreclr: update homepage → https://git.io/fAy46
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fAyRH
<{^_^}> [nixpkgs] @mdorman opened pull request #46822 → cabal-install: use newer version of Cabal library → https://git.io/fAyRQ
oida has quit [Remote host closed the connection]
oida has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #46823 → pgcli: 1.6.0 -> 1.10.3, pythonPackages.pgspecial: 1.8.0 -> 1.11.2 → https://git.io/fAy0U
baimafeima has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @borisbabic opened pull request #46824 → gitAndTools.pre-commit: 1.10.4 -> 1.11.0 → https://git.io/fAy09
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 250 seconds]
oida has quit [Ping timeout: 256 seconds]
oida has joined #nixos
silver has joined #nixos
dbmikus_ has joined #nixos
<{^_^}> [nixpkgs] @adamtulinius opened pull request #46825 → OVMF: update homepage → https://git.io/fAyER
jasongrossman has quit [Ping timeout: 240 seconds]
<mkaito-> I just noticed that nixos deprecated the users mailing list in favour of discourse. Sad times.
mkaito- is now known as mkaito
mkaito has quit [Changing host]
mkaito has joined #nixos
<goibhniu> :/
<mkaito> next, we'll probably deprecate IRC for Discord.
<lesh> ufff... is there any other interface four discourse but web? does it support gpg?
MarcWeber has joined #nixos
<tilpner> mkaito - Matrix, I hope
<mkaito> you can all rip weechat from my dead cold hands
<srhb> Doesn't discourse have decent email support?
<tilpner> mkaito - Apps and reply-via-email
dbmikus_ has quit [Ping timeout: 272 seconds]
<tilpner> And weechat does somewhat work with Matrix, so you wouldn't have to give it up
<tilpner> (And with Discord, via bridges. But let's hope it doesn't come to that)
<lesh> yeah weechat is one of the best made softwares I've seen
<mkaito> I use discord via bitlbee plugin, which is actually decent.
<lesh> discourse does seem to have an ok email support, so the move is fine I think
<{^_^}> [nixpkgs] @xeji merged pull request #46802 → greybird: remove license cc-by-nc-sa-30 → https://git.io/fADE8
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « greybird: remove license cc-by-nc-sa-30 (#46802) »: https://git.io/fAyuW
<mkaito> the trend towards replacing fundamentally simple and flexible systems with overhyped bullshit worries me.
<srhb> I think it's impossible to make everyone happy on this topic anyway. :)
<srhb> mkaito: Please try to moderate your phrasing though, real people invested time in this regardless of your feelings for the solution. :)
<mkaito> sure sorry.
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/305f13d3d73 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<srhb> No problem! :)
<mkaito> I meant it not for nixos specifically, but the tech world in general.
* srhb nods
<srhb> I experience similar things as well..
<mkaito> latest source of extreme worry: Contributor Covenant and the Linux kernel, on the same day Linus decides to stop being the git we all love.
<srhb> Maybe a good topic for #nixos-chat :)
<mkaito> I didn't even know that exists
<srhb> Aha!
<mkaito> back on topic. bumped my system to nixos-unstable this morning, and a bunch of weird issues cropped up. most notably, gpg-agent doesn't seem to remember the fact that I've unlocked my gpg key and keeps asking for passphrase over and over. `systemctl --user` fails because XDG_RUNTIME_DIR is unset. `poweroff` and `reboot` don't work, probably because something about polkit is borked. I didn't want to go and open
<mkaito> issues on github before bringing it up here first.
dbmikus_ has joined #nixos
<mkaito> figured I'd at least ask here before I start bisecting nixpkgs
<srhb> mkaito: Hmm, I've experienced something similar.. Somehow I had two gpg agents running
<srhb> But I never found the root cause, and now it seems to be working :/
<mkaito> last time I had to debug polkit/systemd issues, it was an absolute nightmare.
<qyliss^work> You might want to have a look in GnuPG's /run directory
<srhb> mkaito: Yup.
<qyliss^work> I've had a similar problem when changing my GNUPGHOME
<qyliss^work> See if there are multiple sets of sockets in different subdirectories or something
<sphalerite> mkaito: did you reboot after the bump?
<qyliss^work> pkill gpg-agent might be a simple fix, alternatively
<sphalerite> mkaito: major upgrades don't tend to work well with nixios-rebuild switch
hotfuzz_ has joined #nixos
<mkaito> I can content systemd by manually setting XDG_RUNTIME_DIR=/run/user/$(id -u) -- the only interesting mention I can find in nixpkgs is https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/systemd.nix#L868
<mkaito> and yes, I did reboot.
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fAyzI
hotfuzz has quit [Ping timeout: 245 seconds]
<mkaito> alright I'll open a bunch of issues then
booglewoogle has joined #nixos
<mkaito> alright done. I'll try to bisect nixpkgs if I have time.
orivej has joined #nixos
<srhb> mkaito: Nice, thanks. :)
sbdchd has joined #nixos
<adamt> re: the 5 mysterious tickets for nixcon I mentioned yesterday: They are going back in the queue once the request has been processed, so get a big cup of coffee and start hitting refresh on the nixcon website. :P
<booglewoogle> https://nixos.wiki/wiki/Python -- is there any way i can specify my tailored python derivation inside configuration.nix? overrides seem to be used for changing build specifications (or does the way in the link work by simply changing the buildinputs and putting pandas&requests into python's scope that way?).
<srhb> booglewoogle: Exact same way.
<gchristensen> adamt: I'm glad I got my ticket :')
<srhb> adamt++
<{^_^}> adamt's karma got increased to 1
<srhb> booglewoogle: When overriding an old package you usually do { ... oldPackage = something to manipulates oldPackage; }
sbdchd has quit [Ping timeout: 272 seconds]
<srhb> booglewoogle: When creating a new package it's just { ... newPackage = something that creates newPackage; }
<srhb> booglewoogle: It's quite generic :)
oldandwise has joined #nixos
<booglewoogle> srhb: okay, perfect! thanks a lot :)
<adamt> gchristensen: And I'm sorry we were selfish enough to make it hard for you to get in the first place. ;-)
dbmikus_ has quit [Ping timeout: 252 seconds]
camsbury has joined #nixos
<gchristensen> adamt: I mean, I had entire months to do it and it was my fault.
kiloreux has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fAyaz
<{^_^}> [nixpkgs] @peti merged pull request #46822 → cabal-install: use newer version of Cabal library → https://git.io/fAyRQ
<kiloreux> I am using PHP with nix and loading it just correctly. But when I launch my app I always get "call to undefined function yaml_parse_file()"
<kiloreux> Does anyone ran into this issue before ?
<kiloreux> (of course I installed yaml with buildPecl)
<mkaito> as a very php-ingorant person, that doesn't sound like an issue between nix and php, but rather missing libraries for php?
<{^_^}> [nixpkgs] @Mic92 merged pull request #46824 → gitAndTools.pre-commit: 1.10.4 -> 1.11.0 → https://git.io/fAy09
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyao
baimafeima has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46825 → OVMF: update homepage → https://git.io/fAyER
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAya6
<{^_^}> [nixpkgs] @Mic92 pushed commit from @adamtulinius to release-18.09 « OVMF: update homepage »: https://git.io/fAya1
<kiloreux> That's correct. But it's likely something about nix that is causing this problem. Since running "php -r "print_r(get_loaded_extensions());"" show the yaml extension loaded just fine.
<mkaito> ok then I respectfully delegate to someone who actually knows how php handles extensions
jasongro` has joined #nixos
jasongro` has quit [Remote host closed the connection]
<kiloreux> Thank you mkaito <3 .
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #46823 → pgcli: 1.6.0 -> 1.10.3, pythonPackages.pgspecial: 1.8.0 -> 1.11.2 → https://git.io/fAy0U
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fAyaA
<oldandwise> in my other nixos, once i start 'chronyd' the 'systemd-timesyncd' stops and vice versa. But in one of my laptop, both are running. How to explain this? Is it safe to disable 'systemd-timesyncd' ?
<mkaito> oldandwise: check `systemctl cat` for both services. probably a missing conflict declaration, is my first guess.
<oldandwise> i see 'Conflicts=shutdown.target' in systemd-timesyncd.
<{^_^}> [nixpkgs] @Mic92 merged pull request #46287 → flow: 0.79.0 -> 0.80.0 → https://git.io/fAz0N
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyVG
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyVC
<{^_^}> [nixpkgs] @Mic92 merged pull request #46283 → frostwire-bin: 6.7.1 -> 6.7.2 → https://git.io/fAzRb
<{^_^}> [nixpkgs] @adamtulinius opened pull request #46829 → pythonPackages.gmpy: update homepage → https://git.io/fAyV4
dbmikus_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #46279 → godot: 3.0.4 -> 3.0.6 → https://git.io/fAzBp
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyV0
<{^_^}> [nixpkgs] @xeji opened pull request #46830 → nixos/release.nix: disable tests.ec2-config → https://git.io/fAyVz
<{^_^}> [nixpkgs] @adamtulinius opened pull request #46831 → pythonPackages.gmpy2: update homepage → https://git.io/fAyVy
jperras has joined #nixos
dbmikus_ has quit [Ping timeout: 252 seconds]
* Taneb is going to NixCon!
<jasongrossman> Taneb++
<{^_^}> Taneb's karma got increased to 2
<Taneb> I saw the tickets getting refunded and dived on the opportunity
<manveru> :D
<manveru> gonna need a bigger venue next time
<jasongrossman> Hey people. My trackpad has started behaving badly (sometimes scrolls in the wrong direction). Is there an easy way to tell whether there've been any changes to libinput in unstable recently?
<exarkun1> Where do people keep the persistent state involved in configuring systems with nixops? For example, their keys.
<adamt> exarkun1: We keep stuff like that in Git
<Myrl-saki> exarkun1: We don't. :P
<Myrl-saki> We being me specifically.
<adamt> exarkun1: Oh wait sorry, read nixops as nixos, we don't use nixops, forget what I said.
<exarkun1> adamt: ah ok thanks
<exarkun1> Myrl-saki: Your nixops deployments don't have persistent state?
<Taneb> exarkun1: keys, we keep in a folder which is not version controlled.
<sphalerite> jasongrossman: for p in /nix/var/nix/profiles/system* ; do echo $'\n\n$p' ; nix-store -qR $p | grep libinput ; done
<Taneb> If we lose them it's a huge nuisance but not the end of the world, we'd just generate new keys
<Myrl-saki> exarkun1: Currently? Nope. Later in the future? Probably, but at that point, we'd probably be using a shared machine for deployment.
<exarkun1> Taneb: How do they get deployed?
<Myrl-saki> exarkun1: OTOH, there's git-crypt if you really need it.
<exarkun1> builtins.readFile + deployment.keys?
<jasongrossman> sphalerite: Thanks. I've made a note of that.
<Myrl-saki> exarkun1: deployment.keys has an option that accepts a path, IIRC.
<Taneb> exarkun1: yeah, that exactly
<adamt> exarkun1: Be careful your secret keys doesn't end up in the nix store.
<Myrl-saki> OTOH, we do use builtins.readFile. It works okay, so not much reason to change.
<Myrl-saki> adamt: ++
<{^_^}> adamt:'s karma got increased to 1
<Myrl-saki> adamt: I was thinking of running a cron job.
<sphalerite> jasongrossman: whoops, the $p in the echo should be outside the quotes
<exarkun1> Myrl-saki: hard to tell from the docs :/ https://nixos.org/nixops/manual/#idm140737318276736
<sphalerite> jasongrossman: for p in /nix/var/nix/profiles/system* ; do echo $'\n\n'$p ; nix-store -qR $p | grep libinput ; done
<exarkun1> adamt: yes, indeed.
<adamt> We replaced nixops with our own tool, so we basically just scp files like that on servers from our repo.
<Myrl-saki> exarkun1: I just learned to check the source code. :P
<Myrl-saki> [nix-shell:~/Development/EEA1101L]$ realpath $(which nixops)
<Myrl-saki> /nix/store/6hyd4k0ah27h2skz7fx1b3bmj7n2k2h9-nixops-1.6/bin/nixops
orivej has quit [Ping timeout: 252 seconds]
<sphalerite> jasongrossman: nix-diff can be very useful for this sort of thing too
<exarkun1> every time I remember that nixops is a pile of python, the day gets a little bit darker
<Myrl-saki> options.keyFile = mkOption {
<Myrl-saki> Seems like it's this one.
<jasongrossman> sphalerite: Thanks.
moredhel has quit [Read error: Connection reset by peer]
moredhel has joined #nixos
<jasongrossman> Aha. Yes, libinput has changed recently.
<jasongrossman> Damn. Could be difficult to narrow down the bug.
Dedalo has joined #nixos
<exarkun1> Myrl-saki: okay, thanks
kanotix has joined #nixos
Izorkin has quit [Read error: No route to host]
Izorkin has joined #nixos
<Myrl-saki> Holy crap.
<Myrl-saki> TIL, Nix has been tested with the LHC?
<{^_^}> [nixpkgs] @Mic92 merged pull request #46831 → pythonPackages.gmpy2: update homepage → https://git.io/fAyVy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyrP
<gchristensen> Myrl-saki: hmm?
<Myrl-saki> "The use of Nix has been tested within LHCb, one of the four large experiments at
<Myrl-saki> the Large Hadron Collider (LHC). In this talk we will discuss the conclusions of
<gchristensen> neat, link?
<Myrl-saki> One of the talks in NixCon.
<gchristensen> hot diggit ydog
* Myrl-saki should get a passport
<{^_^}> [nixpkgs] @Mic92 merged pull request #46829 → pythonPackages.gmpy: update homepage → https://git.io/fAyV4
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAyry
<Myrl-saki> There's also Mozilla and Nix.
<Myrl-saki> Oh wait, I think that one is obvious?
<Myrl-saki> Is Rust by Mozilla?
<oldandwise> something is still keeping running my systemd-timesyncd. Not sure what.. but in other boxes, these 2 are exclusive
<Myrl-saki> oldandwise: Let me give it a check.
<{^_^}> [nixpkgs] @basvandijk merged pull request #46512 → haskell lib: add --enable-benchmarks in doBenchmark → https://git.io/fAwii
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fAyrj
<oldandwise> in my other box, once i `systemctl start chronyd` it stops systemd-timesyncd and vice versa
<Myrl-saki> oldandwise: You need Conflicts=.
<Myrl-saki> Oh, you do have it for chronyd.
<oldandwise> don't think so,.. coz in my hpmini it looked the same
<oldandwise> i check the 'Conflict' line and it looked the same
<Myrl-saki> You probably need requiredby.
knupfer has joined #nixos
<oldandwise> my other box which worked: http://termbin.com/5im5
<Myrl-saki> I mean you need to check requiredBy*
<Myrl-saki> SEems like there's no difference.
<oldandwise> now, i'm doubting if i can totally drop systemd-timesyncd now that i don't know what keeps it being run
<Myrl-saki> Oh wait, right.
<Myrl-saki> systemctl list-dependencies systemd-timesyncd.service
<sphalerite> oldandwise: you can mask it using systemd.services.systemd-timesyncd.enable = false; if you just want to be rid of it
<Myrl-saki> I have to go
<oldandwise> sphalerite: yeah.. but need to find root cause
jasongrossman has quit [Ping timeout: 240 seconds]
<kiloreux> What does this error mean? I am getting a failure on it "could not create directory: /homeless-shelter" ?
<manveru> kiloreux: something tries to create a file in $HOME
EarlDeLaWarr has joined #nixos
<oldandwise> Myrl-saki: thanks.. can we do opposite.. ?
romildo has joined #nixos
<romildo> Is there any golang developer or package maintainer here? I am needing help in packaging some software from deepin.
shreyansh_k has left #nixos ["Leaving"]
shreyansh_k has joined #nixos
<moredhel> romildo, could you show us what you currently have, and where you are stuck?
<oldandwise> so i did list-dependencies --reverse, and saw 'docker' and virtualbox
jasongrossman has joined #nixos
winem_ has joined #nixos
<{^_^}> [nixpkgs] @copumpkin merged pull request #46810 → stdenv/darwin: bump bootstrap tools → https://git.io/fADMT
<{^_^}> [nixpkgs] @copumpkin pushed 2 commits to staging: https://git.io/fAyKB
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<romildo> moredhel, currently I am trying to package https://github.com/linuxdeepin/dde-api. I will upload a working in progress PR so that you can see.
oldandwise has quit [Quit: leaving]
davenpcm has joined #nixos
waleee has joined #nixos
orivej has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
blankhart has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @romildo opened pull request #46833 → dde-api: init at 3.1.30 [WIP] → https://git.io/fAyiW
<romildo> moredhel, https://github.com/NixOS/nixpkgs/pull/46833 is my initial attempt at packaging dde-api.
<{^_^}> #46833 (by romildo, 1 minute ago, open): dde-api: init at 3.1.30 [WIP]
miasma has quit [Ping timeout: 252 seconds]
trcc has quit [Remote host closed the connection]
Dedalo has joined #nixos
trcc has joined #nixos
Dedalo has quit [Client Quit]
trcc has quit [Ping timeout: 240 seconds]
aiken_ has quit [Quit: Leaving]
<qyliss^work> http://cache.nixos.org/k6hlff34l56gd8nzz9ch1d3wh6cnkn5k.ls looks like it might be corrupted?
Dedalo has joined #nixos
<qyliss^work> The server claims it's application/json but it's some weird short binary thing
<qyliss^work> (I found this because nix-index chokes on it)
<samueldr> there was a small while where compressed artifacts got into the cache "in a wrong way"; don't know the exact details though
<samueldr> this is most likely a brotli compressed file, but not served the right way to be decoded on the fly
alex`` has joined #nixos
<{^_^}> bennofs/nix-index#35 (by jameysharp, 3 days ago, merged): Ignore fetch failures
<samueldr> a fix was apparently merged
<qyliss^work> Oh, nice!
<samueldr> (yes, since now I can update and get a working index :))
<qyliss^work> I shall build it from Git
<samueldr> the instructions for a quick installation are in the README
<{^_^}> [nixpkgs] @grahamc opened pull request #46834 → stdenv: Validate meta.outputsToInstall → https://git.io/fAyXi
<qyliss^work> I have nix-env deliberately disabled :P
<qyliss^work> (I don't like the impurity)
<samueldr> b-b-but the cheaty backdoor!
<samueldr> (though you could realistically nix-shell it I guess)
<qyliss^work> I just overrode src in my overlay :)
kiloreux has quit [Ping timeout: 246 seconds]
<qyliss^work> Oh, but buildRustPackage isn't overridable
<qyliss^work> Annoying
spear2 has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kelppo has quit [Ping timeout: 246 seconds]
Kelppo has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 9 commits to haskell-updates: https://git.io/fAyMZ
revtintin has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fAyMW
adamt has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « cabal2nix: update yaml override to the latest version »: https://git.io/fAyMg
endformationage has joined #nixos
kiloreux has joined #nixos
wpcarro has joined #nixos
Dedalo has joined #nixos
<romildo> I have added a commit by mistake on my PR https://github.com/NixOS/nixpkgs/pull/46833 and as a consequence some review requests were added automatically. How can they be canceled?
<{^_^}> #46833 (by romildo, 39 minutes ago, open): dde-api: init at 3.1.30 [WIP]
jasongro` has joined #nixos
jasongro` has quit [Client Quit]
jasongrossman has quit [Ping timeout: 252 seconds]
ixxie has joined #nixos
<worldofpeace> I think someone with the correct rights has to go in and dismiss the requests
ajs124 has quit [Quit: Gateway shutdown]
<{^_^}> [nixpkgs] @WilliButz opened pull request #46835 → prometheus-json-exporter: 2016-09-13 -> 2017-10-06, add bool support → https://git.io/fAyyR
chessai has joined #nixos
<kiloreux> How can I install `yes` on nixpkgs ?
<gchristensen> pkgs.coreutils
<kiloreux> Thank you.
reinzelmann has quit [Quit: Leaving]
tzemanovic has quit []
emerson has quit [Quit: leaving]
<acowley> Does anyone have any tips on debugging post-build steps for packages that take a very long time to build?
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ivanovsaleksejs opened pull request #46836 → Ampy → https://git.io/fAySC
<hodapp> are you manually walking through the individual build steps?
<acowley> hodapp: I tend not to because they're a of a pain (e.g. do you need to eval a variable or are you calling a function?), and getting through a successful install always leaves me having to rebuild anyway.
emerson has joined #nixos
<acowley> hodapp: I am willing to accept that that is the best way, btw.
<kiloreux> Is it possible to use curl to download something thing in postFixup ?
<acowley> I'm always optimistic that the normal build will work, so I want to avoid the double build I end up having to do when I do a manual step-through that does work.
<acowley> I suppose I'm being lazy, and just need to accept the way things work.
<symphorien> hodapp: you might want to try https://github.com/NixOS/nixpkgs/pull/42371
<{^_^}> #42371 (by Mic92, 12 weeks ago, open): breakpointHook: add for debugging failing builds
<symphorien> acowley: ^ sorry
<acowley> symphorien: Oh, wow!
<Izorkin> how to fix error - getting attributes of path '/nix/store/bsyhhflcd1f3xg8b5xzc063r4c49p8p7-docbook-xsl-ns-1.79.1': No such file or directory. Not work nixos-rebuild
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Taneb opened pull request #46837 → haskellPackages.JuicyPixels: re-enable Haddock → https://git.io/fAy96
hakujin has joined #nixos
jasongrossman has joined #nixos
hakujin has quit [Ping timeout: 244 seconds]
<wpcarro> When I run `nix-repl '<nixpkgs-unstable>'` I'm getting an error about my Nix version needing >= 2.0 ... when I run `nix --version` I get `2.0.4`. Anyone know what might be going on?
waleee has quit [Quit: WeeChat 2.2]
<clever> wpcarro: nix-repl only uses 1.11, you want nix repl
<wpcarro> clever: oh those are two different things..?
<clever> yeah
<wpcarro> woah...
<clever> the tab completion and history also behave differently
<wpcarro> What's the reason for supporting both?
<clever> nix-repl has been removed from nixpkgs
<clever> what does `which nix-repl` return?
bm123 has joined #nixos
<wpcarro> clever: /Users/wpcarro/.nix-profile/bin/nix-repl
<wpcarro> maybe it's installed with `nix-env`..? Idk how it got there
<clever> you installed nix-repl with nix-env, so it will remain there and ignore all updates until you install another
<clever> nix-env -e nix-repl to remove it
bm123 has quit [Remote host closed the connection]
theodoor has joined #nixos
jensens has quit [Ping timeout: 240 seconds]
ajs124 has joined #nixos
ajs124 has quit [Client Quit]
fendor has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
hyper_ch2 has quit [Quit: Page closed]
Kelppo has quit [Ping timeout: 240 seconds]
jasongrossman has quit [Remote host closed the connection]
Kelppo has joined #nixos
spietz has joined #nixos
<wpcarro> clever: thank you!
booglewoogle has quit [Quit: Leaving]
* qyliss^work 1 hour later has a horrible 20 line hack that allows buildRustPackage arguments to be overridden from an overlay
hakujin has joined #nixos
<wpcarro> Does anyone know if it's possible to start a `nix-shell -p` and source its packages from `<nixpkgs-unstable>`?
Kelppo has quit [Ping timeout: 245 seconds]
<clever> wpcarro: -p always does import <nixpkgs> {}
<clever> so you need to either use -E or -I nixpkgs=...
<wpcarro> clever: will read more about -E and -I to learn more
<clever> behind the scenes, `nix-shell -p hello` is identical to `nix-shell -E 'with import <nixpkgs> {}; pkgs.runCommand "shell" { buildInputs = [ (hello) ]; } ""'`
<{^_^}> [nixpkgs] @grahamc merged pull request #46834 → stdenv: Validate meta.outputsToInstall → https://git.io/fAyXi
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/fAyd4
Ariakenom has quit [Ping timeout: 252 seconds]
<cransom> huh. it sure is.
<{^_^}> [nixpkgs] @grahamc opened pull request #46838 → stdenv: Validate meta.outputsToInstall → https://git.io/fAydV
<wpcarro> clever: great resources. Thanks so much
<wpcarro> wow C++ can be so ugly
<gchristensen> all code is ugly
JonReed has joined #nixos
jasongrossman has joined #nixos
<mdash> but especially C++
<devopsdeluxe> ^^^
<Yaniel> at least Rust has personality
<{^_^}> [nixpkgs] @WilliButz opened pull request #46839 → codimd: fix option `configuration.saml.idpCert` → https://git.io/fAyFx
theodoor has quit [Ping timeout: 252 seconds]
ajs124 has joined #nixos
chessai has quit [Remote host closed the connection]
humanoyd has joined #nixos
Dedalo has joined #nixos
erasmas has joined #nixos
clefru has joined #nixos
jasongrossman has quit [Ping timeout: 240 seconds]
<chaker> Hey guys, do I need anything specifc to run nixos tests? I thought that using "nix-build -A" would run them?
sbdchd has joined #nixos
<clefru> chaker: I usually do "nix-build -A stable nixos/tests/zfs.nix" to run this particular test
ajs124 has quit [Quit: Gateway shutdown]
wpcarro has quit [Remote host closed the connection]
<clefru> How do I make ''${foobar}'' not splice the foobar variable but to output the string literal ${foobar}. I tried \${foobar} $${foobar} $\{foobar} and all do the wrong thing.
wpcarro has joined #nixos
jasongrossman has joined #nixos
<clefru> Couldn't find anything on that in the manual :/
matto has quit [Quit: WeeChat 1.4]
<samueldr> ,escape'' clefru
<{^_^}> clefru: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<samueldr> the manual has information about escaping those around the terms "antiquotation" https://nixos.org/nix/manual/#idm140737317981648
wpcarro has quit [Remote host closed the connection]
<samueldr> (antiquotation isn't the escaping, but the expansions)
wpcarro has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/947ae71dcec (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
wpcarro has quit [Remote host closed the connection]
melleb has quit [Ping timeout: 245 seconds]
<chaker> Sorry I wasn't specific. we have nixos tests to check some nix code that we have internally in the company. the tests start couple of machine and make sure that they can communicate correctly. When I run the tests using "nix-build -A tests" it fails with 'The option `networking.interfaces.eth1.ip4' is used but not defined.'
<samueldr> what I like to do, when escaping becomes hairy in indented strings (due to mixing single-quotes and bash variables) I will make those segments into an expanded nix expression... like follows:
jperras has quit [Quit: WeeChat 2.2]
<samueldr> > ''echo ${"''\${somethingHairy}''"}''
<{^_^}> "echo ''${somethingHairy}''"
<clefru> samueldr: thanks for the manual! unfortunately the solution ''\${bla}'' doesn't work. That's what should work by my interpretation of "The special characters " and \ and the character sequence ${ must be escaped by prefixing them with a backslash (\)."
<samueldr> > ''echo ''${bla}''
<{^_^}> "echo ${bla}"
<samueldr> the escape sequence is a pair of single-quotes into indented strings
<{^_^}> [nixpkgs] @xeji pushed commit from @thefloweringash to staging « git: 2.18.0 -> 2.19.0 (#46723) »: https://git.io/fAypY
<{^_^}> [nixpkgs] @xeji merged pull request #46723 → git: 2.18.0 -> 2.19.0 → https://git.io/fA14M
<clefru> samueldr: ah, got it. also I was looking at the wrong part of the manual..
<samueldr> in the chapter I linked, the "Strings can be written in three ways" section starts with "the most common way", which is when using double-quotes "string"
<samueldr> when using double-single-quotes, this is an indented string
<samueldr> (and when using a non-monospaced font, it can quickly get confusing!)
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « varnish6: 6.0.0 -> 6.0.1 (#46170) »: https://git.io/fAyp2
<{^_^}> [nixpkgs] @xeji merged pull request #46170 → varnish6: 6.0.0 -> 6.0.1 → https://git.io/fAu2z
<clefru> samueldr: thanks for your explanation!
<clefru> samueldr++
<{^_^}> samueldr's karma got increased to 22
<{^_^}> [nixpkgs] @xeji merged pull request #46190 → riot-web: 0.16.0 -> 0.16.2 → https://git.io/fAuyD
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « riot-web: 0.16.0 -> 0.16.2 (#46190) »: https://git.io/fAypd
LogicAside has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46266 → japa: 0.8.4 -> 0.9.2 → https://git.io/fAzWC
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « japa: 0.8.4 -> 0.9.2 (#46266) »: https://git.io/fAyhO
Boomerang has quit [Quit: WeeChat 1.9.1]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @xeji merged pull request #46296 → drumgizmo: 0.9.15 -> 0.9.16 → https://git.io/fAzup
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « drumgizmo: 0.9.15 -> 0.9.16 (#46296) »: https://git.io/fAyhu
<{^_^}> [nixpkgs] @xeji merged pull request #46290 → checkSSLCert: 1.64.0 -> 1.72.0 → https://git.io/fAzEy
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « checkSSLCert: 1.64.0 -> 1.72.0 (#46290) »: https://git.io/fAyhM
<{^_^}> [nixpkgs] @xeji merged pull request #46244 → neo4j: 3.4.5 -> 3.4.6 → https://git.io/fAz3D
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « neo4j: 3.4.5 -> 3.4.6 (#46244) »: https://git.io/fAyhd
<{^_^}> [nixpkgs] @xeji merged pull request #46261 → jaaa: 0.8.4 -> 0.9.2 → https://git.io/fAzcQ
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « jaaa: 0.8.4 -> 0.9.2 (#46261) »: https://git.io/fAyhh
<{^_^}> [nixpkgs] @xeji merged pull request #46223 → pcapfix: 1.1.1 -> 1.1.2 → https://git.io/fAzID
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pcapfix: 1.1.1 -> 1.1.2 (#46223) »: https://git.io/fAyjJ
<{^_^}> [nixpkgs] @xeji merged pull request #46277 → groonga: 8.0.5 -> 8.0.6 → https://git.io/fAzBv
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « groonga: 8.0.5 -> 8.0.6 (#46277) »: https://git.io/fAyjO
dbmikus_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46263 → ocamlPackages.js_of_ocaml: 3.2.0 -> 3.2.1 → https://git.io/fAzCl
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « ocamlPackages.js_of_ocaml: 3.2.0 -> 3.2.1 (#46263) »: https://git.io/fAyj4
<{^_^}> [nixpkgs] @xeji merged pull request #46204 → qtox: 1.16.1 -> 1.16.3 → https://git.io/fAupv
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « qtox: 1.16.1 -> 1.16.3 (#46204) »: https://git.io/fAyjr
sbdchd_ has joined #nixos
sbdchd has quit [Ping timeout: 272 seconds]
bennofs has joined #nixos
<{^_^}> [nix] @grahamc pushed 2 commits to docs-aliases: https://git.io/fAyjj
<das_j> when having a central build server which builds all my systems, is there an easy way to build an arm64 system?
<{^_^}> [nix] @grahamc pushed 0 commits to docs-aliases: https://git.io/fASek
dbmikus_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #46835 → prometheus-json-exporter: 2016-09-13 -> 2017-10-06, add bool support → https://git.io/fAyyR
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fASez
<{^_^}> [nixpkgs] @globin pushed 2 commits to release-18.09: https://git.io/fASeP
knupfer has joined #nixos
romildo has quit [Quit: Leaving]
<pie_> this seems to have a package, its called pencil https://pencil.evolus.vn/
<pie_> the executable segfaults for me, anyone else?
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gmock: 1.8.0 -> 1.8.1 (#46273) »: https://git.io/fASe7
<{^_^}> [nixpkgs] @xeji merged pull request #46273 → gmock: 1.8.0 -> 1.8.1 → https://git.io/fAz8s
hotfuzz_ is now known as hotfuzz
haslersn has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46291 → cstore_fdw: 1.6.1 -> 1.6.2 → https://git.io/fAzEp
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « cstore_fdw: 1.6.1 -> 1.6.2 (#46291) »: https://git.io/fASvL
<haslersn> Hi, fetchFromGitHub is something from nixpkgs, right? So why is it written in camel case?
<pie_> ok actually im not sure its a segfault
<das_j> haslersn: Why not? Is it forbidden?
<haslersn> das_j: I thought camel case is for builtins. Like builtins.fetchGit and pkgs.fetchgit
<pie_> something about some udev loader check failed
Thra11 has joined #nixos
<norfumpit> i ran into problems using nixops to deploy to a remote nixos instance of a different architecture. through some github issues i found to set `nixpkgs.system` and that worked, but is that proper?
<clever> norfumpit: yeah
<norfumpit> and is that all i need to set?
<norfumpit> should this be documented somewhere, or is it treated as a bug?
<norfumpit> i guess nixops should be able to tell the remote machine architecture
<gchristensen> it is not a bug. by design, nixops doesn't look at the remote system for any sort of introspection
<{^_^}> [nixpkgs] @globin pushed to staging « texlive: fix missing synctex header »: https://git.io/fASvx
<{^_^}> [nixpkgs] @globin pushed to staging-18.09 « texlive: fix missing synctex header »: https://git.io/fASff
fendor has quit [Quit: Leaving]
<norfumpit> i see
kevinprince24 has joined #nixos
<kevinprince24> Αllаh іѕ ԁoing
kevinprince24 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @xeji pushed to staging-18.09 « gtk-doc: don't build with dblatex by default »: https://git.io/fASf0
FRidh has joined #nixos
<d1rewolf> guys, is /tmp cleared by default on nixos upon reboot?
<gchristensen> boot.cleanTmpDir defaults to false
<das_j> d1rewolf: there are two options for that
<{^_^}> [nixpkgs] @grahamc merged pull request #46838 → stdenv: Validate meta.outputsToInstall → https://git.io/fAydV
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to release-18.09: https://git.io/fASJe
<infinisil> > nixos.options.boot.cleanTmpDir.default
<das_j> there is also something that puts it to a tmpfs
<{^_^}> false
<{^_^}> [nixpkgs] @FRidh pushed 399 commits to staging-next: https://git.io/fASJf
<das_j> > nixos.options.boot.tmpOnTmpfs.default
<{^_^}> false
<d1rewolf> das_j: is one preferred over the other?
<das_j> d1rewolf: Depends on what you want
<das_j> One cleans /tmp on boot, the other one puts it into a tmpfs
<das_j> I prefer tmpfs but that depends on your preference
<d1rewolf> what would be the advantage for using tmpfs?
<das_j> d1rewolf: You can boot into a recovery system to recover your /tmp and you don't fill up your memory if you don't have a lot (like on a pi)
cement has joined #nixos
<lluchs> it's also faster as long as you have enough RAM
<infinisil> Related: #17494
<{^_^}> https://github.com/NixOS/nixpkgs/pull/17494 (by cmfwyp, 2 years ago, open): nixos: set default for boot.tmpOnTmpfs to true
<d1rewolf> das_j: I presume you mean you can boot and do that if you don't use tmpfs, correct?
<das_j> yes of course
<das_j> sorry
sbdchd_ has quit [Remote host closed the connection]
winem_ has quit [Ping timeout: 276 seconds]
<d1rewolf> das_j: k, thanks very much for th help
<das_j> np
<{^_^}> [nixpkgs] @FRidh merged pull request #45557 → pythonPackages.bjoern: init at 2.2.2 → https://git.io/fAtnG
<{^_^}> [nixpkgs] @FRidh pushed commit from @CMCDragonkai to master « pythonPackages.bjoern: init at 2.2.2 »: https://git.io/fASJi
dbmikus_ has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #46842 → buildRustPackage: add overrideRustAttrs to output → https://git.io/fASJ1
Ariakenom has joined #nixos
dbmikus_ has quit [Ping timeout: 246 seconds]
sbdchd has joined #nixos
<d1rewolf> do most of you use auto-updates?
revtintin has quit [Quit: WeeChat 1.9.1]
<clefru> what are auto-updates?
haslersn has quit [Ping timeout: 252 seconds]
<d1rewolf> clefru: system.autoUpgrade.enable = true;
<clever> i dont use that
<{^_^}> [nixpkgs] @jslight90 opened pull request #46843 → mattermost: 5.1.0 -> 5.3.0 → https://git.io/fASUl
<d1rewolf> clever: what's your approach for keeping your systems up-to-date?
<clefru> d1rewolf: ah no, doesn't fit my character. I want to know when stuff breaks :)
<samueldr> a drawback I had with autoUpgrade was that it filled a small VM's inode table with rebuilds and all the transient files... so it's probably better to enable it with something that cleans and/or optimises the FS
sbdchd has quit [Ping timeout: 240 seconds]
<clever> d1rewolf: i nix-channel --update and nixos-rebuild every now and then
<samueldr> (or not use it)
<clefru> maybe I'd would run that for a security-updates-only nixpkgs branch. debian had that kind of things
sbdchd has joined #nixos
theodoor has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<d1rewolf> clefru: that's really what I'm looking for. keeping up to date on security patches
booglewoogle has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #46665 → pythonPackages.fuse: 0.2.1 -> 0.3.1 | refactor | python3 support → https://git.io/fAXtR
<{^_^}> [nixpkgs] @FRidh pushed commit from @Assassinkin to master « pythonPackages.fuse: 0.2.1 -> 0.3.1 | refactor | python3 support »: https://git.io/fASTU
<booglewoogle> is there a way I can point the networking.hosts option to a hosts file in configuration.nix (because it'd be a long list)? or should I do this by creating a module for that purpose?
<clever> booglewoogle: builtins.readFile ./foo
<clever> booglewoogle: or import
<booglewoogle> clever: thanks!
<clever> extraHosts is just a string, in the standard /etc/hosts format
<booglewoogle> clever: import would mean creating a module, correct?
<clever> hosts is a set, so it would need imort
<clever> doesnt have to be a module
<clever> you can just networking.hosts = import ./hosts.nix;
jperras has joined #nixos
<clever> and then hosts.nix contains { "127.0.0.1" = [ "foo.com" ]; }
<booglewoogle> ah
<booglewoogle> i see
<booglewoogle> cool, thanks!
<gchristensen> is nix-env supposed to use ~/.config/nixpkgs/config.nix ?
<elvishjerricco> gchristensen: I thought that all non-restricted evaluations of nixpkgs were supposed to.
Twey has joined #nixos
<gchristensen> me too but it "doesn't work"
<Twey> What do we do for packages with multiple licenses? Can meta.license be a list?
<gchristensen> it can
<{^_^}> [nixpkgs] @xeji merged pull request #46272 → iasl: 20180313 -> 20180629 → https://git.io/fAz8k
<maurer> gchristensen: .... shouldn't it? You'd know better than me, but I could swear I am currently depending on it doing so in order to install unfree packages, and for my customizations...
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « iasl: 20180313 -> 20180629 (#46272) »: https://git.io/fASkU
<maurer> and they seem to be working
<gchristensen> right.
<gchristensen> I must be doing something stupid :)
<clever> gchristensen: add -v and look for any config.nix's
<{^_^}> [nixpkgs] @teto opened pull request #46844 → gImageReader: init at 3.2.99 → https://git.io/fASkO
<clever> NIXPKGS_CONFIG=/etc/nix/nixpkgs-config.nix
<maurer> The only thing I can think of that I might be doing different is that I'm using nix-env -iA nixpkgs.foo for most things
<maurer> rather than nixos.foo
<clever> gchristensen: this env var also has nearly max priority, if the file exists
<Twey> gchristensen: Cool, thanks :)
<maurer> (and nixpkgs points to a local checkout)
<clever> bbl
<Twey> (turns out I didn't need it anyway, though: PyPI lied to me)
theodoor has quit [Remote host closed the connection]
theodoor has joined #nixos
<gchristensen> guh channel confusion!
wpcarro has joined #nixos
MrTrick29 has joined #nixos
<MrTrick29> Aⅼlah is ⅾoing
MrTrick29 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @Twey opened pull request #46845 → python2Packages.PlyPlus: init at 0.7.5 → https://git.io/fASkS
<{^_^}> [nixpkgs] @FRidh merged pull request #46627 → pythonPackages.dask-*: init → https://git.io/fAiXJ
<{^_^}> [nixpkgs] @FRidh pushed 9 commits to master: https://git.io/fASkA
smolboye has joined #nixos
cross has joined #nixos
<clefru> d1rewolf: nix isn't my favorite on security to be honest. there isn't anything to force a 0-day security-update through on a nix-channel release. (at least I haven't seen it)
<d1rewolf> guys, I'm at work an trying to use this (https://pastebin.com/m6YaTZaL) to build rocketchat. Odd thing is, at home, this worked, but here, I'm getting: /rocketchat.nix:1:1 called with unexpected argument 'config', at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:170:8
<clefru> if my startup plans go according to plan (long-term profitable), I hope to have my employees ship lots of security improvements into nix.
<d1rewolf> any ideas what would cause that?
philippD has joined #nixos
<d1rewolf> clefru: yeah, that's a shame.
<{^_^}> [nixpkgs] @xeji merged pull request #46830 → nixos/release.nix: disable tests.ec2-config → https://git.io/fAyVz
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/release.nix: disable tests.ec2-config (#46830) »: https://git.io/fASIT
<d1rewolf> makes me hesitate a bit
<d1rewolf> what's the story with ubuntu+nix and security?
<das_j> I'm currently trying to deploy a aarch64 system from a x64 system. Now I get "error: a 'x86_64-linux' is required to build '/nix/store/j16l9pjhcbjfjwrbcylwb36b2clll67k-append-initrd-secrets.drv', but I am a 'aarch64-linux'". Do I need to append flags to nixos-rebuild?
<d1rewolf> do you get the best of both worlds or do they step on eachother?
<{^_^}> [nixpkgs] @xeji pushed to release-18.09 « nixos/release.nix: disable tests.ec2-config (#46830) »: https://git.io/fASIm
<clefru> I guess that you get the worst of both worlds.
<d1rewolf> clefru: how so? ubuntu at least attempts to patch zero-days quickly
<cransom> i don't think i've ever seen combining 2 package managers make something more secure. it would always be less so
<maurer> clefru: The "force a 0day patch through" basically ends up being "one of the people with commit bits sees you poke them and does it"
<maurer> clefru: At least for vulns I've been aware of and communicated with people about, they seem to get fixed within a day
<maurer> but it is a best effort basis, project doesn't have the massive staff of debian or ubuntu
<andi-> clefru: what kind of secruity improvements do you have in mind for nix(os)?
alex`` has quit [Quit: WeeChat 2.0]
<gchristensen> clefru: we can "force" a security patch to a channel, but it doesn't matter anyway. Our security patches land in channels typically faster than RedHat, and on par with Debian / Ubuntu.
<d1rewolf> I'm wondering if, for production systems, ubuntu or debian + ansible would be better. I really it's not completely reproducible, but I'd bet you could get close
<exarkun1> what do you do when using vbox and nixops guesses the vm ip wrong?
<d1rewolf> gchristensen: as a user, how can I keep up with patches? should I be updating from the channel daily?
<gchristensen> yes
<andi-> there is a handy auto-update option in the nix options
<maurer> If you follow stable, and do nixos-rebuild --upgrade regularly, little will change other than security
<d1rewolf> gchristensen: ok, that's a hole in my practices. would autoupgrade be better?
<gchristensen> depends on your use case
<d1rewolf> maurer: i'm on unstable on the recommendation of many here
<maurer> unstable is great for dev
reinzelmann has joined #nixos
<maurer> but you mentioned production a couple times
<d1rewolf> gchristensen: I'd like to just make sure my systems are patched with some frequency
<maurer> For anything production, use stable
<clefru> maurer: what if hydra is stuck? I don't think that we have a mechanism to force an alternative version for say release-18.03 into channels-18.03 which only has the security things cherry-picked
<d1rewolf> maurer: yeah, sorry...not using it in production yet
smolboye has quit [Quit: WeeChat 2.2]
<d1rewolf> just for desktops at home and work so far....
<clefru> andi-: deterministic builds mostly, similar to the debian deterministic build effort
<maurer> clefru: gchristensen is better able to answer that, and I haven't heard of that stopping a security update to stable before
smolboye has joined #nixos
<gchristensen> if there is a big security problem we take great care to make sure things are not stuck
<maurer> As far as production goes, while I am a huge nix fan in general, 100% of my production systems run debian stable
<clefru> maurer: I have seen the stable channel stuck for >8-10days in the last years, not only once unfortunately.
<maurer> This is just a long legacy of debian stable Just Working
<clefru> maurer: so I guess any security thing would get clogged up as well. yes, I could use the -small branch..
<maurer> they have gotten so many things right in a row that I am hesitant to switch, even with how great nixos has been for hobbydev
<maurer> clefru: well, as gchristensen just said, evidently stuff basically gets manually adjusted
<gchristensen> people are paying attention to problems and working to solve them, with a special eye towards when security sensitive patches need to get out
<{^_^}> [nixpkgs] @costrouc opened pull request #46846 → [WIP] pythonPackages.ovito: init at 3.0.0 → https://git.io/fASIF
<clefru> gchristensen: how would you force a security patch to a channel? just push a state untested by hydra? (I am totally fine with that btw)
smolboye has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/57062f9072a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
smolboye has joined #nixos
sigmundv has quit [Ping timeout: 272 seconds]
Lears has joined #nixos
smolboye has quit [Client Quit]
[Leary] has quit [Ping timeout: 245 seconds]
<clefru> gchristensen: https://github.com/NixOS/nixpkgs/pull/34385 never got a response, and the underlying https://github.com/NixOS/nixpkgs/issues/34383 took way too long for me to feel comfortable. I do understand that this is a volunteer organization, no hard feelings, no critique. It just does by a long margin not meet my personal requirements on triaging PRs clearly tagged with the security label.
<{^_^}> #34385 (by clefru, 33 weeks ago, closed): Upgrade kernel compiler to GCC 7.
<{^_^}> #34383 (by clefru, 33 weeks ago, closed): Compile kernel with retpoline GCC support
<gchristensen> sure
smolboye has joined #nixos
<gchristensen> understandable
<clefru> again, if I run my company on nix, I'd be happy to donate some staff to that aspect.
init_6 has quit [Ping timeout: 252 seconds]
<gchristensen> please do :) I'd love to talk to you about that
<d1rewolf> guys, I'm at work an trying to use this (https://pastebin.com/m6YaTZaL) to build rocketchat. Odd thing is, at home, this worked, but here, I'm getting: /rocketchat.nix:1:1 called with unexpected argument 'config', at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:170:8
<andi-> disasm: that smells like you are including it as a module instead of building it as a package
<andi-> d1rewolf: ^
<andi-> disasm: sorry, wrong tabcompletion
johanot has joined #nixos
<d1rewolf> andi-: I am. going to have to go back through my notes on how i installed it at home. thx
<cransom> d1rewolf: i can't duplicate that, https://gist.github.com/cransom/8dc85f9c3594002c4455e912d5344124 . but yes, as andi- mentioned, it sounds like you are using it in an imports context for modules, rather than treating it as a package.
<andi-> d1rewolf: `rocket-chat = pkgs.callPackage ./my-file.nix {}` and then include it in the package set where you want it to appear.
<exarkun1> `nixops deploy ...` just times out trying to ssh to the virtualbox vm it just created. what to do?
[Leary] has joined #nixos
<d1rewolf> andi-: yep, that's it. thanks for the memory trigger ;)
Lears has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/81884ce1b46 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<norfumpit> what anonuid should i use for nfs' exports on nix
chessai has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/305f13d3d73 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
jtojnar_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #46848 → aesop: fix build with vala_42 → https://git.io/fASmw
taktoa has joined #nixos
jtojnar has quit [Ping timeout: 252 seconds]
jtojnar_ is now known as jtojnar
trcc has joined #nixos
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #46849 → lollypop-portal: add python3 → https://git.io/fASY3
booglewoogle has quit [Quit: Leaving]
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jperras has quit [Quit: WeeChat 2.2]
wpcarro has quit [Remote host closed the connection]
sbdchd has quit [Remote host closed the connection]
<Twey> How do I get a gcc with multilibs into my derivation's build environment? multiStdenv doesn't seem to put any 32-bit libgcc_eh.a &c. libraries on the path
jperras has joined #nixos
<Twey> I have a /nix/store/iws163qgakl4mrlkplp1nk8p3sqxjgmc-gcc-7.3.0/lib/gcc/i686-unknown-linux-gnu/7.3.0/libgcc_eh.a , pulled in by Mono apparently, but I can't seem to reverse-engineer whatever black magic it used to do that
<{^_^}> [nixpkgs] @xeji opened pull request #46850 → pythonPackages.nilearn: fix test_signal tests → https://git.io/fASOG
<Twey> (I'm trying to compile a 32-bit binary on my 64-bit system, and that binary wants to link against libgcc_*.a)
hakujin has quit [Ping timeout: 245 seconds]
<symphorien> Use pkgi686Linux.mkDerivation
<Twey> Oooh
<Twey> Will that still give me the 64-bit libraries, as well?
<Twey> (some of what I'm compiling is for the host)
spietz has quit [Ping timeout: 246 seconds]
Anton-Latukha has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #46848 → aesop: fix build with vala_42 → https://git.io/fASmw
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fAS32
<Twey> Hm, that's weird — doesn't seem to have affected it…
<Twey> Oh, maybe because it's using cmake. Hm
tmaekawa has joined #nixos
<nikivi> I am thinking of building a universal nix installer tool
<nikivi> since there are many converters from go packages to nix as well as npm packages to nix
<{^_^}> [nix] @edolstra merged pull request #2428 → Document Aliases → https://git.io/fAMr2
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fAS3N
<nikivi> I want to build a tool that you can use to install any package (with automatic conversion to nix) so you can run 'nixi go github.com/cortesi/modd/cmd/modd' to install the package with nix instead of go
<nikivi> and do same for npm/rust/..
<nikivi> is anyone interested in this tool?
<nikivi> my problem is that I want to use nix for everything but right now it's too painful as so many binary insallations are not easily available on nixpkgs
hotfuzz_ has joined #nixos
anders has joined #nixos
<Twey> symphorien: Yes, worked with a regen — thank you!
anders is now known as Guest28075
<Twey> nikivi: The problem is that ‘installing things’ is not really Nix's model…
<nikivi> I am thinking of having the tool be a wrapper over tools like https://github.com/kamilchm/go2nix and https://github.com/NixOS/npm2nix with nice API
<nikivi> what is Nix's model?
<Twey> nikivi: It might be nice to have a universal ‘generate me a Nix expression from this URL’ tool
<Twey> nikivi: Usually you want to have a Nix derivation that you can refer to in other expressions
tmaekawa has quit [Quit: tmaekawa]
hotfuzz has quit [Ping timeout: 252 seconds]
melleb has joined #nixos
grp has joined #nixos
sbdchd has joined #nixos
trcc has quit [Remote host closed the connection]
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
trcc has joined #nixos
taktoa has quit [Remote host closed the connection]
fragamus has joined #nixos
spietz has joined #nixos
trcc has quit [Ping timeout: 246 seconds]
hakujin has joined #nixos
<acowley> Is there a way to use cc-wrapper with a compile whose name is not gcc or clang?
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bc7ec9b6518 (from 72 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<acowley> There's a surprising amount of string matching in there
booglewoogle has joined #nixos
spietz has quit [Ping timeout: 246 seconds]
<acowley> I've muddled through this before, but I'm hoping things have improved since the last time I did so.
<acowley> My situation is I have a clang derivative not called clang, and I need it to be able to find header files.
hakujin has quit [Ping timeout: 252 seconds]
hakujin has joined #nixos
<symphorien> what if you wrap it as "cc" ?
blahdodo has quit [Ping timeout: 252 seconds]
<acowley> wrapCC leaves me with a wrapper whose bin directory includes only as, c++, cc, clang, clang++, ld, ld.bfd, and ld.gold
<acowley> The thing I'm wrapping does have clang and clang++ in its bin
<acowley> But it also has a compiler called `hcc`, which is what I'd like to wrap.
<copumpkin> hcc! :O
<acowley> I end up playing games with names to make it work
blahdodo has joined #nixos
<acowley> But it's quite unsatisfying
<acowley> copumpkin: It's probably not as exciting as whatever you're thinking
<acowley> copumpkin: This is AMD's heterogenous compute compiler
<copumpkin> aw
reinzelmann has quit [Quit: Leaving]
<booglewoogle> hey, firewall question: it seems nixOS is using iptables, and from what I understand, following the policy chain, it'll default to accepting any inbound connection? am i just reading this wrong? line 3 -> line 13 https://pastebin.com/K7WsgRpv
<andi-> booglewoogle: well the INPUT chain is set to ACCEPT that is corret bu tall packets are being "jumped" into the nixos-fw chain which has a refuse & log at the end.
Guest28075 has quit [Quit: Page closed]
<booglewoogle> andi-: okay.. i was thinking it'll go through the chain from the top, using the first policy that matches -- in this case i thought that'd be the 'accept' in line 13 since that has no filter specified?
kiloreux has quit [Ping timeout: 252 seconds]
<andi-> booglewoogle: pardon me, you are correct. I was assuming the standard nixos configuration for the firewall
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #46851 → nixos/activation: Switch from bash to sh to avoid reading users bash config → https://git.io/fASnR
<andi-> booglewoogle: actually, add an -v to your iptables command or even better use iptables-save
<andi-> then you see it is just for `lo`
sigmundv__ has quit [Remote host closed the connection]
davenpcm has quit [Remote host closed the connection]
sigmundv has joined #nixos
hakujin has quit [Ping timeout: 264 seconds]
<booglewoogle> andi-: oh, you're right. i know i'll default to adding -v in the future! hehe. thanks!
kiloreux has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #46852 → sqlite: 3.24.0 -> 3.25.0 → https://git.io/fASck
klntsky has quit [Remote host closed the connection]
<d1rewolf> does using nix on ubuntu use the same packages from nixpkgs, or are there ones especially built for ubuntu?
klntsky has joined #nixos
<Twey> d1rewolf: It will use the same packages
<worldofpeace> ^
<Twey> d1rewolf: By design, Nix is isolated as much as possible from the outer environment
<Twey> Obviously things like kernel modules will be affected by the running kernel (so it's up to you to make sure you match kernel versions), but that's about it
<Twey> The big bug-bear of these is graphics drivers, where you have to make sure your Nix packages are using a graphics driver that's compatible with whatever you're using on your host OS
<srhb> Twey: Didn't libglvnd ease this significantly?
<exarkun1> What's the username/password for the nixops virtualbox images?
<Twey> srhb: Not in practice ☹ libglvnd still has to find a libGL somewhere, and in fact it's worse than before in that libglvnd can only use LD_LIBRARY_PATH to find it
<srhb> Twey: Ah, right. Thanks. :)
<Twey> srhb: And you still have the problem that the system libGL is going to require system versions of libraries like glibc, so you have to make sure those libraries are on the LD_LIBRARY_PATH, but those dependencies might be incompatible with your Nix versions, so you can't always load them together…
<d1rewolf> Twey: ok, thanks very much for that info
<srhb> Twey: Fun!
<Twey> srhb: In addition, in practice, you have to pull a bunch of X libraries in from the system as well, because those have to match up
<Twey> srhb: Stuff like libcapsule/dlmopen might be a solution in the long term, since it lets you load sets of libraries into separate namespaces, but it's not easy work
<Twey> srhb: I pushed Nix into my workplace and then we started using OpenGL, so this stuff haunts me :þ
<srhb> Twey: I got that vibe. :D
<srhb> Twey: Appreciate the overview.
abueide has joined #nixos
chessai has quit [Ping timeout: 252 seconds]
trevthedev has joined #nixos
trevthedev has quit [Changing host]
trevthedev has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chessai has joined #nixos
booglewoogle has quit [Quit: Leaving]
john_doe_jr25 has joined #nixos
<john_doe_jr25> Aⅼlɑһ іs doіng
<john_doe_jr25> ѕun iѕ ᥒot doinɡ Аlⅼah is ԁoing
john_doe_jr25 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @domenkozar pushed to master « datadog-integrtaions-core: 2018-05-27 -> 2018-09-18 »: https://git.io/fASWl
hakujin has joined #nixos
<azazel> what an hassle those "holy" bots
<andi-> I can recommend the channel #containernetworking if you want to witness them in full without interruptions m(
<{^_^}> [nixpkgs] @jtojnar merged pull request #46849 → lollypop-portal: add python3 → https://git.io/fASY3
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fASWa
<{^_^}> [nixpkgs] @domenkozar pushed to release-18.09 « datadog-integrtaions-core: 2018-05-27 -> 2018-09-18 »: https://git.io/fASWP
fragamus has joined #nixos
ajs124 has joined #nixos
<exarkun1> Anyone used nixops virtualbox support? Anyone at all?
<exarkun1> #vbox wants me to believe it's broken and always has been
<cransom> i can't remark whether it's broken now, but it wasn't always.
<azazel> exarkun1: never used it, always used nixos own qemu support
<sphalerite> I'm confused. I ran nixos-generate-config --root /mnt, then nixos-install, and I'm getting "error: selector 'x86_64-linux' matches no derivations"
<kreisys> Hey I need some help :)
<kreisys> The binary that comes out seems to be botched... missing link to libfontconfig.so.1
trevthedev has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bc7ec9b6518 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<sphalerite> hahaha ok. turns out nixos-install will not run in a nix-shell, because of its use of the `system` shell var. Which just happens to also be an env var which is set in every nix-shell
civodul has joined #nixos
<sphalerite> kreisys: try adding fontconfig to your nix-shell?
<azazel> sphalerite: strange
<azazel> ah
<kreisys> It did it doesn't help.
<sphalerite> kreisys: did you rerun npm install?
<sphalerite> kreisys: you may need to have it rebuild whatever uses fontconfig
<kreisys> yeah fontconfig is supposed to be a dependency of a dependency not a direct one
trevthedev has joined #nixos
trevthedev has quit [Changing host]
trevthedev has joined #nixos
theodoor has quit [Quit: Leaving]
<kreisys> cairo's link seem to be fine
BlessJah_ has joined #nixos
<das_j> Where is the list of UIDs again?
<das_j> ah nixos/modules/misc/ids.nix
<rawtaz> what's up, my favourite community folks in my currently favourite linux distribution?
<rawtaz> (even though hardly anything in it works yet :D)
<{^_^}> [nixpkgs] @xeji opened pull request #46855 → czmq: 4.0.2 -> 4.1.1 → https://git.io/fAS8Y
hitchhikingcoder has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #46856 → nixos/tt_rss: Give a proper UID → https://git.io/fAS8G
<rawtaz> exarkun1: what's the problem? i never used nixos in virtualbox, im currently trying to make vmware guest tools (open-vm-tools) work properly in nixos under Fusion though.
<{^_^}> [nixpkgs] @basvandijk merged pull request #46837 → haskellPackages.JuicyPixels: re-enable Haddock → https://git.io/fAy96
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fAS84
<Taneb> \o/
<exarkun1> rawtaz: I'm trying to make nixo*P*s deploy some stuff on some VirtualBox VMs.
hitchhikingcoder has quit [Client Quit]
<{^_^}> [nixpkgs] @xeji merged pull request #46851 → nixos/activation: Switch from bash to sh to avoid reading users bash config → https://git.io/fASnR
<{^_^}> [nixpkgs] @xeji pushed commit from @etu to master « nixos/activation: Switch from bash to sh to avoid reading users bash config (#46851) »: https://git.io/fAS8g
orivej has joined #nixos
<exarkun1> which is supposedly trivial https://nixos.org/nixops/manual/#idm140737318599728 but in reality just seems broken
sanscoeur has joined #nixos
sanscoeur has quit [Read error: Connection reset by peer]
<{^_^}> nixops#1009 (by exarkun, 1 hour ago, open): Deploy times out trying to SSH to VirtualBox VM
<exarkun1> nixops seems to create the VM in NAT networking mode which #vbox assures me does not now nor has it ever allowed inbound connections from the host to the VM
<{^_^}> [nixpkgs] @xeji pushed commit from @etu to release-18.09 « nixos/activation: Switch from bash to sh to avoid reading users bash config (#46851) »: https://git.io/fAS8i
knupfer has quit [Ping timeout: 264 seconds]
hitchhikingcoder has joined #nixos
<exarkun1> but nixops needs such connections to finish provisioning the VM
<exarkun1> I assume there's some random, obscure configuration setting somewhere which just needs to be tweaked to fix things but I have no idea where it is, I'm not really a regular virtualbox user (and #vbox is a little too snooty to help much)
sanscoeur has joined #nixos
<rawtaz> exarkun1: hm, have you investigated if you can configure a VB VM with NAT *and* port forwarding into it at the same time?
<rawtaz> btw, VB rules :-)
<exarkun1> I don't really want to configure VB at all. nixops is supposed to do this for me.
<exarkun1> The only reason I'm looking at VB at all is to make this experience more repeatable for other developers
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46857 → misc pkgs: various cross fixes in preparation for darwin->linux → https://git.io/fAS8j
<exarkun1> If they have to reconfigure obscure networking details before it works then the purpose has been soundly defeated
<exarkun1> (and I hate VB, sorry :/)
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46858 → Darwin to linux prep → https://git.io/fAS4k
<Baughn> Ooookay. So.
<Baughn> I'm trying to follow https://nixos.wiki/wiki/Nix_Installation_Guide#Installing_without_root_permissions, for a system on which I don't have root.
<exarkun1> I'm doing one last look at my system to see if there is some lingering garbage configuration from some other project that might have screwed things up but then I'm tossing the whole idea in the trash.
<Baughn> This tells me to use the nix binary.
<rawtaz> i am only suggestion steps to debug the issue, not suggesting something that developers using nixops should have to do in the long run.
<Baughn> But it doesn't tell me where I'd get one.
<rawtaz> it seems to me that you are biased by hating VB, and that it's impacting your efforts to debug the issue
FRidh has quit [Quit: Konversation terminated!]
<srhb> Baughn: Follow the manual instead :)
Ericson2314 has joined #nixos
Ericson2314 has quit [Changing host]
Ericson2314 has joined #nixos
<srhb> Though that'll bring you to a situation where you need a root install to get the non-root install I guess :P
<exarkun1> rawtaz: sure, could be. also by #vbox who were kind of jerks.
<Baughn> srhb: The manual doesn't have a section for this.
<exarkun1> and also the aggressively awful VB CLI
<rawtaz> heh, i suggest you ditch this thing youre working on. its probably making you more upset than happy.
<Twey> Baughn: You can grab a build off Hydra: https://hydra.nixos.org/job/nix/master/release#tabs-constituents
flexw has joined #nixos
<Baughn> Er... which one?
<Twey> Baughn: What's your host system?
<Baughn> I'm not sure.
<Baughn> Some variant of x86_64 linux. Looks like centos or redhat.
<Twey> Hmm
<Twey> Damn, no, it's interpreted with a Nix store path…
<Twey> What an amusing reversal of the usual frustrations
trcc has joined #nixos
<srhb> Twey: Down _that_ path lies a lot of "hmm, I wonder how to compile X statically"
knupfer has joined #nixos
<Twey> I mean, there's an unhappy path here where you strip the rpath off that binary and then use LD_LIBRARY_PATH to feed it all its dependencies
<Twey> Could work for bootstrap
<Twey> But it does feel like there should be an FHS-compatible Nix binary tarball lying around somewhere
<{^_^}> [nixpkgs] @ju1m opened pull request #46859 → dovecot: allow sasl_bind=yes in the LDAP driver. → https://git.io/fASBY
<{^_^}> [nixpkgs] @xeji opened pull request #46860 → openxpki: fix build, use current python3Packages → https://git.io/fASB0
trevthedev has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #46861 → nixos/weechat: backport to 18.09 → https://git.io/fASRI
GiGa|Laptop has joined #nixos
<GiGa|Laptop> Evening all. Just trying to contribute an update to Keepass in NixPkgs. I've pulled the upstream master but when I try to build Keepass I get "error: error parsing derivation '/nix/store/0621850mygqy4dqgiga9s34fiiq77q58-libXrender-0.9.10.drv': expected string 'Derive(['"
<GiGa|Laptop> I only touched Keepass' default.nix - can anyone explain what's happening please?
<rawtaz> GiGa|Laptop: what did you change? that .drv file is a generated one
<GiGa|Laptop> I didn't
<infinisil> GiGa|Laptop: What does `nix-info` output?
<GiGa|Laptop> I only changed pkgs/applications/misc/keepass/default.nix
<GiGa|Laptop> infinisil, my nix-info: https://pastebin.com/Tu09nkfp
<Twey> Baughn: If you have user namespaces you can use `unshare -rUm` and then `mount --bind ~/nix /nix` and proceed from there
<infinisil> (it's made to paste directly in here)
<GiGa|Laptop> OH, ok
<GiGa|Laptop> system: "x86_64-linux", multi-user?: no, version: nix-env (Nix) 2.0.4, channels(root): "nixos-19.03pre152634.218ce4de508, nixos-unstable-19.03pre152634.218ce4de508", channels(jonathan): "nixos-17.09.2683.360089b3521", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<rawtaz> GiGa|Laptop: yes, and i asked what in that default.nix file you changed?
<GiGa|Laptop> rawtaz, ah, sorry, I misread. "version = "2.40";" (was 2.39.1)
<GiGa|Laptop> rawtaz, not updated the hashes yet
<infinisil> Hmm, your nix install doesn't seem botched at least
<Twey> How can `nix run --store` ever work? There's a catch-22 — you need to have /nix mounted before you can run the binary, because the binary is interpreted with a /nix path
<GiGa|Laptop> rawtaz: I normally update the hashes after the build fails
<Twey> Seems like it only works if you already have a global /nix
<infinisil> GiGa|Laptop: Try nix-store --verify
<rawtaz> GiGa|Laptop: interesting, that wasnt much of a change :)
<infinisil> GiGa|Laptop: Or nix-store --verify --check-contents --repair
<infinisil> Seems like your store is botched
<infinisil> Maybe
<Baughn> Twey: I do have user namespaces, but I get 'invalid argument' from that. I don't think I have access to use them.
i0-dfn has quit [Read error: Connection reset by peer]
<GiGa|Laptop> nix-store --verify gives "reading the Nix store...
<GiGa|Laptop> checking path existence..."
<GiGa|Laptop> as my user
<GiGa|Laptop> Running "nix-store --verify --check-contents --repair" with sudo gives some different output though
<GiGa|Laptop> things like
<GiGa|Laptop> path '/nix/store/05s0ysh6vfyjmsyyq9h4sh4hwphz2xga-libsamplerate-0.1.9.drv' was modified! expected hash 'sha256:0kz617y8q26jhsvlv6228mcgcqzdv2fnr7i59w50s749jrxna547', got 'sha256:0ip26j2h11n1kgkz36rl4akv694yz65hr72q4kv4b3lxcbi65b3p'
<GiGa|Laptop> error: cannot repair path '/nix/store/05s0ysh6vfyjmsyyq9h4sh4hwphz2xga-libsamplerate-0.1.9.drv'
<{^_^}> [nixpkgs] @xeji opened pull request #46862 → arelle: fix build, use current python3 → https://git.io/fASRj
<infinisil> GiGa|Laptop: Let it finish and then try to build it again
<infinisil> or did it error out because of that error?
Twey has quit [Ping timeout: 245 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trevthedev has joined #nixos
<{^_^}> [nixpkgs] @siers opened pull request #46863 → link-grammar: init at 5.5.0 → https://git.io/fAS0S
knupfer has quit [Ping timeout: 252 seconds]
<GiGa|Laptop> infinisil, OK, it's still going. I'll have to plug in power supply!
<{^_^}> [nixpkgs] @kalbasit opened pull request #46864 → terraform: update all providers and move terraform-provider-nixos to the list of providers → https://git.io/fAS0F
melleb has quit [Ping timeout: 252 seconds]
<GiGa|Laptop> infinisil: does the fact that it can't repair these things matter, or will it just re-initialise them, so to speak?
<infinisil> GiGa|Laptop: I'm not sure, I'd hope it would just delete it so it can reinstantiate it
<infinisil> Did it delet that path?
<GiGa|Laptop> infinisil: /nix/store/05s0ysh6vfyjmsyyq9h4sh4hwphz2xga-libsamplerate-0.1.9.drv still exists, but the process is still going
<infinisil> GiGa|Laptop: Ah, it might do that at the end, let's see
tertl3 has joined #nixos
<symphorien> GiGa|Laptop: this will also update the sqlite db to match reality
johanot has quit [Quit: leaving]
<GiGa|Laptop> symphorien: Ah, makes sense
<GiGa|Laptop> My system.stateVersion is still "16.09"; Haven't spotted anything saying to change it, but not actively looked
<GiGa|Laptop> Does it need changing yet?
<infinisil> ,stateVersion
<{^_^}> Setting stateVersion to the latest release doesn't update anything and can only break your setup at best. If you want to regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually upgraded with the new value
<grp> I'm developing stuff using nix-shell, but sometimes nix updates system packages behind my back, so I need to wait for nix-shell to download stuff from cache.nixos.org. How can I stop this from happening? By all means, the only time I want my system to update anything at all is when doing nixos-rebuild, nothing else
<makefu> grp: this normally only happens when your nix-shell packages get garbage-collected
<makefu> or you update your channel
<grp> I haven't done any garbage collection lately, maybe it's being done automatically
* grp will check that
<infinisil> grp: Yeah, nix doesn't do anything behind your back by default
<elvishjerricco> grp: If you update your nixpkgs channel without doing a nixos-rebuild, the rest of you nix commands will still see and use the new channel. So in that case, nix-shell may have to download new things
<makefu> grp: for pinning your nix-shell environment: https://nixos.wiki/wiki/Garbage_Collection#Proper_nix-shell_GC_pinning
<elvishjerricco> makefu: That guide is a little off IIRC. It recommends rooting the `.drv` file, which does not keep dependencies rooted.
<elvishjerricco> (unless you have `keep-outputs = true`, which isn't always good advice)
<makefu> elvishjerricco: feel free to update the wiki :)
<elvishjerricco> makefu: I would, but I'm not sure what to update it with
<GiGa|Laptop> Still running
<das_j> Hm, is there a way to keep files that are added using nix-prefetch-url?
<grp> makefu++
<{^_^}> makefu's karma got increased to 1
<grp> elvishjerricco++
<{^_^}> elvishjerricco's karma got increased to 4
flexw_ has joined #nixos
<infinisil> das_j: --print-path and nix-store --add-root ..
<das_j> infinisil: Oh, that's easier than expected, thank you
<das_j> Do I remove that root by just removing the symlink in /nix/var?
<infinisil> You probaobly want --indirect as well
flexw has quit [Ping timeout: 252 seconds]
<das_j> infinisil++
<{^_^}> infinisil's karma got increased to 24
<makefu> das_j: you can use `nix-store --gc --print-roots` to see all the root symlinks. removing them will `free` the pointer and make everything ready for gc-ing next time
kiloreux has quit [Ping timeout: 272 seconds]
<das_j> Alright, thanks!
<makefu> with nix-store --gc --print-roots | grep result you will also find all the `random` result files which you may have created with nix-build
<infinisil> Oh and the exact command is:
<infinisil> nix-store --add-root foo --indirect -r /nix/store/...
flexw_ has quit [Ping timeout: 252 seconds]
<GiGa|Laptop> stateVersion's only mentioned in relation to sshd. Won't be touching it
<infinisil> ,root = How to create an indirect gc root to /nix/store/...-hello as a symlink named "foo" in the current directory: nix-store --add-root foo --indirect -r /nix/store/...-hello
<{^_^}> root defined
flexw has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46857 → misc pkgs: various cross fixes in preparation for darwin->linux → https://git.io/fAS8j
<{^_^}> [nixpkgs] @Ericson2314 pushed 5 commits to master: https://git.io/fASud
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46858 → misc pkgs: various cross fixes in preparation for darwin->linux for 18.09 → https://git.io/fAS4k
<{^_^}> [nixpkgs] @Ericson2314 pushed 5 commits to release-18.09: https://git.io/fASuN
kiloreux has joined #nixos
kisik21 has quit [Ping timeout: 240 seconds]
hitchhikingcoder has quit [Ping timeout: 252 seconds]
<das_j> infinisil: So is that what I want? nix-store --add-root displaylink --indirect -r $(nix-prefetch-url --print-path file://$PWD/displaylink.zip | grep /)
<infinisil> I'd prefer to use | tail -n1, but yeah something like that
<{^_^}> [nixpkgs] @Ericson2314 pushed 836 commits to staging: https://git.io/fASzs
trcc has quit []
<das_j> also a good solution. thank you!
<{^_^}> [nixpkgs] @Ericson2314 pushed 40 commits to staging-18.09: https://git.io/fASzW
<infinisil> ;)
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
duncan^ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @benley opened pull request #46865 → ddccontrol-db: 20061014 -> 20180908 → https://git.io/fASza
<{^_^}> [nixpkgs] @eadwu opened pull request #46866 → jetbrains.editors: 2018-09-18 → https://git.io/fASzr
<GiGa|Laptop> It's done - warning: not all errors were fixed
<GiGa|Laptop> same build problem though
<infinisil> Darn
chessai has quit [Read error: Connection reset by peer]
BlessJah_ has quit [Remote host closed the connection]
<GiGa|Laptop> I'll try building it on my other computer another day. I don't want to PR something I've not tested
phry has quit [Quit: WeeChat 2.1]
trevthedev has quit [Ping timeout: 250 seconds]
<GiGa|Laptop> Thanks for your help folks, I'll try again later
<GiGa|Laptop> Need sleep
GiGa|Laptop has quit [Quit: Sleep required]
<{^_^}> [nixpkgs] @globin merged pull request #46839 → codimd: fix options → https://git.io/fAyFx
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fAS2P
jtojnar has quit [Read error: Connection reset by peer]
hitchhikingcoder has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
jtojnar has joined #nixos
notlar has joined #nixos
sbdchd has quit []
sbdchd has joined #nixos
sbdchd has quit [Client Quit]
peayogurt has joined #nixos
humanoyd has quit [Quit: WeeChat 2.2]
kanotix is now known as Rusty1_
kiloreux has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 252 seconds]
kiloreux has joined #nixos
mayhewluke has joined #nixos
patrl has joined #nixos
silver_ has joined #nixos
kiloreux has quit [Ping timeout: 252 seconds]
flexw has quit [Quit: leaving]
kiloreux has joined #nixos
silver has quit [Ping timeout: 252 seconds]
monotux has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
phry has joined #nixos
monotux has quit [Read error: Connection reset by peer]
monotux has joined #nixos
notlar has left #nixos ["WeeChat 2.2"]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4c4aff32937 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @benley opened pull request #46868 → ddccontrol: 0.4.2 -> 0.4.4 → https://git.io/fASrf
Thra11 has quit [Ping timeout: 240 seconds]
ym555 has joined #nixos
duncan^ has joined #nixos
grp has quit [Quit: box shutting down...]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dtzWill opened pull request #46869 → rhash: 2018-02-05 -> 1.3.6 → https://git.io/fASrz
crsc24 has joined #nixos
<crsc24> Alⅼɑh іѕ ԁoiᥒg
crsc24 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
abueide has quit [Ping timeout: 252 seconds]
hitchhikingcoder has quit [Quit: hitchhikingcoder]
Anton-Latukha has quit [Quit: Leaving.]
Dedalo has joined #nixos
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
notlar has joined #nixos
notlar has quit [Quit: notlar]
notlar has joined #nixos
andrewrk has joined #nixos
andrewrk has left #nixos ["Leaving"]
endformationage has quit [Quit: WeeChat 1.9.1]
civodul has quit [Ping timeout: 252 seconds]
nDuff has joined #nixos
notlar has quit [Quit: notlar]
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @dtzWill opened pull request #46870 → musl: apply upstream fix for locking race, minor cleanup → https://git.io/fAS6J
brejoc has quit [Ping timeout: 264 seconds]
hamishmack has joined #nixos
patrl has quit [Ping timeout: 246 seconds]
EarlDeLaWarr has quit [Quit: Textual IRC Client: www.textualapp.com]
tzemanovic has joined #nixos
jperras has quit [Ping timeout: 245 seconds]
EarlDeLaWarr has joined #nixos
hitchhikingcoder has joined #nixos
hakujin has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #46871 → musl: apply other selected upstream fixes while rebuilding → https://git.io/fASiu
goibhniu has quit [Ping timeout: 252 seconds]
hitchhikingcoder has quit [Quit: hitchhikingcoder]
jperras has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46872 → haskell infra: Also pass `--with-ar` in cross builds → https://git.io/fASip
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46873 → haskell infra: Also pass `--with-ar` in cross builds for 18.09 → https://git.io/fASPq
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
jluttine has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @xeji opened pull request #46874 → nixos/tests/containers-imperative: fix on i686 → https://git.io/fASPo
peayogurt has quit [Remote host closed the connection]
EarlDeLaWarr has quit [Ping timeout: 244 seconds]
<elvishjerricco> Is there a convenient way to add patches to a `fetchFromGitHub` result? Or is there a function that makes a derivation that simply applies a patch to another path?
<clever> elvishjerricco: what about just using the patches arg of mkDerivation?
<elvishjerricco> clever: `mkDerivation { src = fetchFromGitHub { ... }; patches = [...]; installPhase = "mv . $out"; }`?
<elvishjerricco> Was just hoping there'd be some kind of convenience function :P
jluttine has joined #nixos
<clever> do you even need to build it? heh
init_6 has joined #nixos
Ariakenom has quit [Quit: Leaving]
<elvishjerricco> clever: Hm?
<clever> what do you plan to do after patching the src?
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46872 → haskell infra: Also pass `--with-ar` in cross builds → https://git.io/fASip
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fASXR
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46873 → haskell infra: Also pass `--with-ar` in cross builds for 18.09 → https://git.io/fASPq
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fASXE
<elvishjerricco> clever: Pass it to another thing that does not use it as `src`, so I can't just `overrideAttrs (_: { patches = ...; })`
sigmundv__ has joined #nixos
<clever> ah, what is that other thing?
<elvishjerricco> clever: Internal :P
<clever> ah
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5b053b4697f (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<clever> modify it to accept patches=? , or to run the patchPhase
<elvishjerricco> clever: I've wanted an `applyPatches` function for a while, so I'm just gonna write that :P
jluttine has quit [Ping timeout: 246 seconds]
jluttine has joined #nixos
hakujin has joined #nixos
nikivi has quit [Quit: ZNC is awesome]
<rawtaz> how come in https://github.com/NixOS/nixpkgs/blob/305f13d3d733b46708042e4b04188815fd4e5c2f/pkgs/tools/backup/restic/default.nix#L39 there's just one maintainer listed (i presume), yet in https://nixos.org/nixos/packages.html#restic there's three? where does the other two come from, how does the package list know about them?
nikivi has joined #nixos
ajs124 has quit [Quit: Gateway shutdown]
ajs124 has joined #nixos
hakujin has quit [Ping timeout: 246 seconds]
hakujin has joined #nixos
sanscoeu_ has joined #nixos
abueide has joined #nixos
peayogurt has joined #nixos
sanscoeur has quit [Ping timeout: 264 seconds]
peayogurt has quit [Ping timeout: 252 seconds]
johnw_ has joined #nixos
init_6 has quit []
<{^_^}> [nixpkgs] @urkud opened pull request #46875 → Cython 0.28.5, hypothesis 3.69.2 → https://git.io/fAS18
peayogurt has joined #nixos
hakujin has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46869 → rhash: 2018-02-05 -> 1.3.6 → https://git.io/fASrz
<{^_^}> [nixpkgs] @xeji pushed 2 commits to staging: https://git.io/fAS1o
bb010g[m] has joined #nixos
ym555_ has joined #nixos
sanscoeu_ has quit [Remote host closed the connection]
carlosdagos has joined #nixos
ym555 has quit [Ping timeout: 272 seconds]
<bb010g[m]> How would you use ZNC 1.7 with `services.znc`?
<bb010g[m]> (Running nixos-18.03.)
tzemanovic has quit [Remote host closed the connection]
Streetwalrus has joined #nixos
tzemanovic has joined #nixos