NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFVsV
<NixOS_GitHub> nixpkgs/master 161e80e Maximilian Bosch: treewide: get rid of invalid `buildPhases` argument...
<NixOS_GitHub> nixpkgs/master 30cbba9 Orivej Desh: Merge pull request #31390 from Ma27/fix-buildphase-expressions...
NixOS_GitHub has left #nixos []
patrl has joined #nixos
<ghostyy> has anyone here ever used nixos with lxd?
jtojnar has quit [(Quit: jtojnar)]
jtojnar has joined #nixos
<ghostyy> i get error: the "zfs" tool is not enabled
<pie_> ugh, best way to run node-webkit apps?
<manveru> pie_: yarn2nix
<pie_> manveru, huh, i dont know what yarn is
<manveru> more or less a replacement for npm
<manveru> it creates a lockfile that can be easily used via yarn2nix
<manveru> i use it to build webpack stuff
<pie_> argh this is what i want to build https://github.com/FPGAwars/icestudio
<manveru> fun :)
<manveru> not just npm but bower too...
<pie_> x3 i barenly know anything about this node stuff
<manveru> it doesn't use webpack afaict
<manveru> ah, nm
* pie_ runs yarn
notdaniel has quit [(Ping timeout: 250 seconds)]
<manveru> it definitely doesn't use webpack
betaboon has quit [(Ping timeout: 240 seconds)]
<manveru> but it does use npm and bower dependencies... two different package managers for node
<manveru> i think there was also some bower2nix, it's been ages since i did anything with that
<pie_> ;_;
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nicknovitski closed pull request #23412: nodePackages: regenerate package set with node2nix -6 (master...node2nix6) https://git.io/vynB0
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/vFVZ5
<NixOS_GitHub> nixpkgs/master 028c192 John Wiegley: coqPackages_8_6/7.equations: new expression 1.0-beta/8.7 branch
NixOS_GitHub has left #nixos []
jtojnar has quit [(Quit: jtojnar)]
<manveru> well... can't say it'll be easy :(
<manveru> if it wasn't 1:30am i'd give it a try, but that grunt config seems quite hostile
erasmas has quit [(Quit: leaving)]
slack1256 has joined #nixos
<manveru> anyway, just running it is easy i'd say
<manveru> packaging it would be harder
<slack1256> some program I packaged is passing from a C++ app to a javascrip + electron app. I only know to to pack for nixos because I already knew how to compile and install C/C++ programs on FHS linux. How do I approach discovering how to install this new app?
<manveru> slack1256: maybe look at atom or other electron apps already packaged
<slack1256> !!!
<slack1256> right!
<pie_> manveru, running it is fine for me...
<pie_> how do i do that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31237: parallel: 20170722 -> 20171022 (staging...update/parallel-20171022) https://git.io/vFCOf
NixOS_GitHub has left #nixos []
<manveru> well, you already ran yarn
<manveru> the biggest hurdle will be building your own nwjs...
<manveru> afaict it's using prebuilt binaries for electron
<manveru> and those will not be binary compatible with nixos
92AACE98L has joined #nixos
<92AACE98L> [nixpkgs] orivej closed pull request #31170: php: add config.php.mysqlnd option (master...php-mysqlnd-m) https://git.io/vFZ7O
92AACE98L has left #nixos []
7GHAA482F has joined #nixos
<7GHAA482F> [nixpkgs] orivej pushed 5 new commits to master: https://git.io/vFVnN
<7GHAA482F> nixpkgs/master 41cd4f2 John Boehr: php: add config.php.mysqlnd option
<7GHAA482F> nixpkgs/master 24c6407 John Boehr: Merge branch 'master' of https://github.com/NixOS/nixpkgs into php-mysqlnd-m
<7GHAA482F> nixpkgs/master 4f3649b John Boehr: Merge branch 'master' of https://github.com/NixOS/nixpkgs into php-mysqlnd-m
7GHAA482F has left #nixos []
<manveru> `./node_modules/.bin/nw app` this part
Arcaelyx has joined #nixos
<manveru> you can maybe patchelf it
Arcaelyx_ has quit [(Ping timeout: 248 seconds)]
codygman has joined #nixos
jtojnar has joined #nixos
<codygman> I have an external hard drive which is exfat that I need to run fsck for. First I need to figure out how to install exfat stuff for nixos.
<manveru> codygman: it goes in your systemPackages
patrl has quit [(Ping timeout: 240 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
<codygman> manveru: Yeah, I ended up trying that and it worked. Thanks.
<Unode> can someone point me to the manual or doc page that lists most functions available from nix. Google is sending me all around and I can't seem to find it. Thanks
<Unode> also while at it, I'm looking for a way to delete files/folders after unpacking in a buildPythonPackage expression. What would be the recommended way to do so?
markus1199 has joined #nixos
<manveru> Unode: https://nixos.org/nix/manual/ lists the builtin functions
<manveru> https://nixos.org/nixpkgs/manual/ for the ones in nixpkgs
<manveru> hmm i thought it had a function list once...
<codygman> Is something like this wordpress example (https://nixos.wiki/wiki/Wordpress) meant to be run with nix-shell, built with nix-build and nix-installed,or something else? My goal is just having a working local development wordpress.
markus1189 has quit [(Ping timeout: 248 seconds)]
<Unode> manveru: hum... maybe I'm think about something else. I once encountered a page that listed most of the functions you can call in a build expression with descriptions of what they do
<Unode> I was using "writeText" as search and didn't find anything. I'm starting to wonder how extensive that page was and if writeText was actually there.
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
matthewbauer has joined #nixos
<Unode> and looking through it, 'that page' might very well be the nixpkgs manual. 'writeText' isn't documented in detail there.
phreedom has quit [(Ping timeout: 250 seconds)]
<Unode> and I just realized that even if I wanted to read the code where that function comes from, I've no idea where to look :)
<manveru> well, it's in nixpkgs
erictapen has quit [(Ping timeout: 248 seconds)]
<Unode> I was git grepping nixpkgs but ... hehe needle in a haystack
<Unode> manveru: can't seem to find writeText there
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFVCg
<NixOS_GitHub> nixpkgs/master 2c9e195 Yegor Timoshenko: nixos-prepare-root: chmod if dir already exists
<NixOS_GitHub> nixpkgs/master 2dd9588 Orivej Desh: Merge pull request #31071 from yegortimoshenko/nixos-install/mkdir-or-chmod...
NixOS_GitHub has left #nixos []
jb55 has quit [(Ping timeout: 248 seconds)]
<gchristensen> Unode: https://search.nix.gsc.io/?q=writeText %3D&i=nope&files=&repos=
<Unode> gchristensen: I see. Thanks!
<manveru> heh
<manveru> hound ftw
<Unode> darn... there's no delete function there :/
<gchristensen> delete?
<Unode> gchristensen: I want to delete a file after unpacking a tarball
<gchristensen> oh, probably just rm
<Unode> gchristensen: and how do I target the right time? I.e. after tarball extraction? It's a buildPythonPackage expression
sauyon has joined #nixos
<clever> Unode: somewhere in the patchPhase i'm thinking
<gchristensen> it probably takes postUnpack
Dr8128 has joined #nixos
<Unode> http://dpaste.com/0FK1JNX is what I have so far
<Unode> it's a 'dirty' package
<clever> runCommand doesnt work like that
<clever> it creates a new package, that is compiled by running the command, then returns the result of building it
<Unode> hold on, the patch is all messed up after paste
<clever> a;sp tje
<clever> also the '' is missing from that patch
<Unode> the hell... dpaste is losing lines...
<clever> its visible in raw mode
<Unode> yeah... trailing whitespace making a mess
<clever> oh
<clever> scroll to the right
<clever> i think your terminal did that when you copied
<Unode> yup, copying from vim with mouse selection (working on a remote machine)
<sauyon> hmm
<sauyon> I'm trying to mount a fuse filesystem on boot
<clever> Unode: run "gist -p" on the file from a shell
<Unode> clever: too big :P it's all of pkgs/top-level/python-packages.nix
<sauyon> and I'm not sure what I'm supposed to
<Unode> clever: but the raw mode mostly shows how it looks
<Unode> with some bad indentation on the diff
<sauyon> it fails if I put it into fileSystems because it requires network, but putting _netdev in makes it fail because it's actually passed to the mount command
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFVWC
<NixOS_GitHub> nixpkgs/master 6cae9e7 Harmen: go: use absolute dir in getGoDirs()
<NixOS_GitHub> nixpkgs/master 0fddfcd Orivej Desh: Merge pull request #30350 from alicebob/absdir...
NixOS_GitHub has left #nixos []
<sauyon> oh this is s3fs
<sauyon> yeah I'm trying to do basically that with s3backer
<clever> sauyon: that module does everything, even setting up the iam role and bucket with nixops
<sauyon> actually it didn't even find the command until I linked s3backer to mount.s3backer
<clever> so you never have to touch access keys
<sauyon> oh that's pretty cool I'll look into that
<sauyon> it might be an s3backer problem then I'll look into the s3fs package
<Unode> clever: so any suggestions on that buildPythonPackage expression? I want to remove pyqi/functional.py
<clever> Unode: find the definition of buildPythonPackage, and see what arguments it accepts
<clever> nix-repl> builtins.unsafeGetAttrPos "buildPythonPackage" pythonPackages
<clever> { column = 10; file = "/nix/store/q71jxrnm2a49s8hzfirm4ssri1x0lqqg-nixos-18.03pre118328.6d86fcb86d/nixos/pkgs/top-level/python-packages.nix"; line = 85; }
<clever> 55 buildPythonPackage = makeOverridablePythonPackage (callPackage ../development/interpreters/python/build-python-package.nix {
<clever> Unode: i think it will accept any arg that stdenv.mkDerivation accepts
<clever> so you can just do postUnpack = "rm foo/bar";
<sauyon> clever: this is what I'm trying to do https://gist.github.com/sauyon/ec91d362cd1b0a4224d28e4e735a0fcb
<sauyon> but unfortunately s3backer doesn't parse _netdev properly so it errors
<clever> sauyon: line 10 of the file i linked, # mount unsets PATH when running this
<clever> sauyon: i had to give an absolute path
<sauyon> ah right sorry
<clever> and set the fstype to fuse
<sauyon> I was playing with that yeah
<sauyon> right cool thanks
<clever> i have the type encoded into the device
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to staging: https://git.io/vFVWS
<NixOS_GitHub> nixpkgs/staging d473ef2 Aneesh Agrawal: openssh: 7.5p1 -> 7.6p1...
<NixOS_GitHub> nixpkgs/staging ac522cb Orivej Desh: Merge pull request #30137 from aneeshusa/update-openssh-to-7.6p1...
NixOS_GitHub has left #nixos []
<sauyon> I feel like this should be fixed
Guest80931 has quit [(Ping timeout: 240 seconds)]
sauyon1 has joined #nixos
<Unode> clever: postUnpack doesn't seem to have any effect, or I'm using it incorrectly. Reading on it...
mekeor has quit [(Ping timeout: 250 seconds)]
<clever> Unode: what if you put an echo statement into it?
jgertm has joined #nixos
<clever> Unode: also try an echo on prePatch, postPatch, and preConfigure
<sauyon1> eurgh server went down again because s3backer failed to mount :(
<sauyon1> is there a way to disable that
<clever> sauyon1: neededForBoot = false; should do that
<Unode> clever: ok echo works... which means I have the wrong path. Easy from here. Thanks!
<sauyon1> strange... I'm pretty sure it's on
<clever> Unode: yeah, just throw in an ls and pwd
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar opened pull request #31507: Fixes for CUDA and Tensorflow update (master...tensorflow-new) https://git.io/vFVlm
NixOS_GitHub has left #nixos []
<Unode> I see the issue. postUnpack is outside the unpacked dir. pre/postPatch are inside. More reliable to use those.
<Unode> already hitting the next error so, success :D
<clever> yeah, after preunpack, unpack, and postunpack have ran, the stdenv will cd into the dir it made
<Unode> an interesting one /share/nix/store/rrn0lv9s69h7g5vfqi604ws9gsgmmc0q-binutils-2.28.1/bin/ld: cannot find -lart_lgpl_2
<Unode> time to get the miner's hat
Sonarpulse has joined #nixos
<clever> [clever@amd-nixos:~]$ nix-locate art_lgpl_2
<clever> gnome2.libart_lgpl.out 0 s /nix/store/hrjassnhnpwl59ymb4vnqb7xrm3i0bpq-libart_lgpl-2.3.21/lib/libart_lgpl_2.so
<clever> Unode: done
<Unode> o.O
hellrazor has joined #nixos
<Unode> ok... then checking if this has been fixed in nixpkgs already (using nixos-17.09)
<Unode> coming from /nix/store/qi1isq6gykpanxjbinig835irq3sx7nj-python3.6-reportlab-3.2.0.drv_ failed with exit code 1
hellrazo1 has quit [(Ping timeout: 268 seconds)]
<Unode> god.. this pyqi package is a mess
<Unode> the code is mostly fine but tests have a gazillion dependencies. Can I define test-only dependencies? I'm only familiar with the propagatedBuildInputs strategy
<clever> tests go under buildInputs like the rest of the deps
<Unode> ah so that's the distinction
<Unode> ok makes sense
Sonarpulse has quit [(Ping timeout: 250 seconds)]
<Unode> ok and it happened again :S my /tmp was completely erased . I really need to figure out what rogue process or service is causing this :/
<clever> Unode: execsnoop may help
<clever> [root@amd-nixos:~]# nix-shell -p perf-tools --run execsnoop
<clever> Unode: this shows every program being ran on the system, and the parent pid of each
<clever> 23194 32403 /nix/store/azq5rpd6z2m6qs80fcr56mcflggabv7y-dhcpcd-6.11.5/libexec/dhcpcd-run-hooks
<Unode> clever: but I need to catch it in action no?
<clever> 23195 23194 resolvconf -d enp3s0.ra -f
<clever> Unode: yeah, leave it running into a log file, and wait for it to happen
Dr8128 has quit [(Ping timeout: 268 seconds)]
<clever> i just happened to catch dhcp refreshing /etc/resolv.conf
<Unode> clever: I suspect this is a systemd service or timer
<clever> journalctl would also help if that was the case
<Unode> clever: lets see. The tricky thing is I don't know when it happened
<Unode> or do I... hum
<Unode> nope, too much stuff uses /tmp there's nothing there but the folder's timestamp is 1 minute ago
<clever> what about the timestamp of the oldest file?
<Unode> there's not a single file there
<sauyon1> hrmm
<Unode> not even X pipes
<sauyon1> hrm
sauyon has quit [(Quit: WeeChat 1.9.1)]
<sauyon1> oops
<sauyon1> running nixos-rebuild switch seems to hardlock my system
Arcaelyx has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
Arcaelyx has joined #nixos
phreedom has joined #nixos
<Unode> clever: from journalctl http://dpaste.com/3WG44XC ... can only say WTF!
noobineer has joined #nixos
noobineer has quit [(Max SendQ exceeded)]
matthewbauer has quit [(Remote host closed the connection)]
<Unode> and umounting /tmp brought loads of stuff back ...
matthewbauer has joined #nixos
<Unode> no clue why this is happening
<Unode> could it be that because I have /tmp as tmpfs and the folder isn't empty, it fails at boot and then system retries after a few hours online...
<clever> Unode: it sounds like the tmpfs wsnt mounted to begin with
<clever> and you where storing files in the /tmp directory of /
<clever> then the system fixed the problem
<clever> how did you configure tmp to be a tmpfs?
<Unode> nixos, let me grab the configs
<clever> there is already an option to do just that
<Unode> but it seems that if I just do "mount /tmp" it can actually "over-mount"
theseriousadult has joined #nixos
<clever> Unode: oops, ^^
<Unode> clever: and how do I set the size?
erictapen has joined #nixos
<theseriousadult> Hey, vim users, what plugin do you use for .nix files?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #31509: SDL: try disabling sdltest on darwin (master...disable-sdltest) https://git.io/vFV8z
NixOS_GitHub has left #nixos []
<Unode> theseriousadult: "vimHugeX" I think that does it on my system.
<theseriousadult> Unode: thanks
<Unode> clever: yeah this is weird... I don't think one should be able to overmount a filesystem just like that. Even if it's tmpfs
<clever> Unode: thats how linux has always worked
<clever> you can mount any fs over an existing directory
<Unode> if empty
<Unode> no?
<clever> its often caused /boot problems for new nixos users
<clever> even of its not empty
<clever> zfs and s3fs are special, in that they demand the directory to be empty first
<clever> but most things dont care
<Unode> I could swear that was the default
<Unode> caring that is
<Unode> I stand corrected
<clever> i try to chmod the mount-point to 0, so nothing can access the directory under it
<clever> then things fail in an obvious way if you dont mount
Supersonic112 has quit [(Disconnected by services)]
<clever> Unode: you may also want to set "neededForBoot=true;" on the entry in nixos, so the initrd mounts it
<Unode> "entry in nixos" ?
Supersonic112_ has joined #nixos
<Unode> oh I see
Supersonic112_ is now known as Supersonic112
jb55 has joined #nixos
<Unode> lets see if that gets rid of systemd's confusion
<manveru> muhaha
<manveru> i got icestudio to run
<manveru> now... who wanted that
<manveru> oh, he's gone :(
mekeor has joined #nixos
<Unode> manveru: :S guess a pull request won't hurt?
<manveru> it's just a nix-shell atm... but maybe someone wants to package it
<manveru> just wanted a proof of concept... towards the end i figured out that someone already packaged some nw apps, so not sure how useful it is
<manveru> anw, sleep now
<manveru> in case pie_ shows up again, show him that
lambdamu has joined #nixos
Sonarpulse has joined #nixos
lambdamu_ has quit [(Ping timeout: 268 seconds)]
thc202 has quit [(Ping timeout: 248 seconds)]
mbrgm has quit [(Ping timeout: 268 seconds)]
mbrgm has joined #nixos
mbrgm has quit [(Changing host)]
mbrgm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31493: sdcv: 0.4.2 -> 0.5.2 (master...patch-1) https://git.io/vFauU
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 240 seconds)]
<mekeor> while writing an overlay, when should i use `super.foo.override` and when should i use `super.callPackage /path/to/foo`? (and also, how do i find out the `/path/to`?)
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
srdqty1 has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
srdqty1 has joined #nixos
<sauyon1> I think you should almost just use override[,Attrs]
<sauyon1> unless you want to write your own package
shanemikel has joined #nixos
shanemikel has quit [(Client Quit)]
shanemikel has joined #nixos
shanemikel is now known as Guest92922
Arcaelyx_ has joined #nixos
Arcaelyx_ has quit [(Read error: Connection reset by peer)]
<mekeor> alright, thanks
Mateon1 has quit [(Ping timeout: 268 seconds)]
Mateon3 has joined #nixos
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 268 seconds)]
theseriousadult has quit [(Ping timeout: 268 seconds)]
Mateon3 is now known as Mateon1
theseriousadult has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #31511: anura: init at 20171110 (master...anura) https://git.io/vFVRt
NixOS_GitHub has left #nixos []
shanemik_ has joined #nixos
Guest92922 has quit [(Ping timeout: 248 seconds)]
<mekeor> i'm trying to define an overlay. http://sprunge.us/IhII i want to override the patches and the src. http://sprunge.us/jDfG when i try to override the src, i get this error http://sprunge.us/QCbX "called with unexpected argument ‘src’". any ideas?
<clever> .override cant change src, that needs .overrideAttrs
matthewbauer has quit [(Remote host closed the connection)]
throwaway_name has joined #nixos
matthewbauer has joined #nixos
<mekeor> okay, but why?
theseriousadult has quit [(Ping timeout: 268 seconds)]
srdqty1 has quit [(Quit: WeeChat 1.9.1)]
throwaway_name has quit [(Quit: Leaving)]
adamt has quit [(Ping timeout: 248 seconds)]
<mekeor> it worksss woooww >3
<mekeor> *:3
<clever> mekeor: .override is to change the arguments going into the file, on line 1-ish
<clever> mekeor: while .overrideAttrs changes the arguments as they are passed into stdenv.mkderivation
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/98fcc3bd5d (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2b0dd71efa (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
drakonis has quit [(Read error: Connection reset by peer)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/78eed74497 (from 21 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
acowley is now known as acowley_away
takle has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mekeor opened pull request #31514: st: add description and use https for homepage. (master...master) https://git.io/vFV06
NixOS_GitHub has left #nixos []
<shanemik_> I updated Nix recently and my Haskell project's haddock docs aren't ending up in ./result (my derivation has doHaddock=true, and I see the docs are being built, just can't find 'em)
jgertm has quit [(Ping timeout: 240 seconds)]
Arcaelyx_ is now known as Arcaelyx
erictapen has quit [(Ping timeout: 248 seconds)]
<clever> shanemik_: split outputs, you need to build the .doc attribute of the derivation
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFV0x
<NixOS_GitHub> nixpkgs/master 1baad86 Mekeor Melire: st: add description and use https for homepage.
<NixOS_GitHub> nixpkgs/master 5559618 Orivej Desh: Merge pull request #31514 from mekeor/master...
NixOS_GitHub has left #nixos []
marusich has quit [(Quit: Leaving)]
ryanartecona has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
dieggsy has joined #nixos
shanemik_ has quit [(Ping timeout: 248 seconds)]
Arcaelyx has quit [(Read error: Connection reset by peer)]
Arcaelyx has joined #nixos
shanemikel has joined #nixos
schoppenhauer has quit [(Ping timeout: 260 seconds)]
schoppenhauer has joined #nixos
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 248 seconds)]
ericsagnes has quit [(Ping timeout: 255 seconds)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #26133: wakatime: 7.0.4 -> 8.0.2 (master...update/pkgs/tools/misc/wakatime) https://git.io/vHZwd
NixOS_GitHub has left #nixos []
slack1256 has quit [(Remote host closed the connection)]
Arcaelyx has joined #nixos
<andrewrk> does anyone use dolphin with the gamecube controller adapter?
<andrewrk> I think we need a udev rule
<andrewrk> it would be neat if the dolphin package installed that automatically
Arcaelyx_ has quit [(Ping timeout: 268 seconds)]
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 248 seconds)]
shlevy has quit [(Ping timeout: 264 seconds)]
shlevy has joined #nixos
Arcaelyx has joined #nixos
shanemikel has joined #nixos
<shanemikel> thanks clever
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31505: lr: 0.4 -> 1.1 (master...pkg/lr) https://git.io/vFVLm
NixOS_GitHub has left #nixos []
MJJEFF has joined #nixos
<shanemikel> so building the .doc attribute gives me a result-doc link... now unfortunately whether I build the project derivation or the .doc derivation, it does all the work of building my project and haddock docs.. is there a way for me to get both links from one go?
Arcaelyx_ has quit [(Ping timeout: 240 seconds)]
<shanemikel> better yet, a way to prevent the splitting in the first place?
drp has joined #nixos
<MJJEFF> (newbie here) I'd like to get naturalScrolling set up for my mouse and not just my trackpad. AFAIK, currently this isn't supported as the naturalScrolling option only affects the trackpad. My thoughts on how to tackle this is to just copy the services.xserver.config setting from libinput and create a new .nix that sets that one setting but modified to target the mouse. Is that a good way about it, or would anyone recommend another
<MJJEFF> way?
p4cman has joined #nixos
todder has quit [(Quit: is such a quitter...)]
todder has joined #nixos
FreakingOut1987 has joined #nixos
<FreakingOut1987> does anyone here use the Electron framework?
ryanartecona has quit [(Quit: ryanartecona)]
ericsagnes has joined #nixos
dieggsy has quit [(Ping timeout: 250 seconds)]
alhariel has quit [(Ping timeout: 248 seconds)]
shanemikel has quit [(Quit: Textual IRC Client: www.textualapp.com)]
alhariel has joined #nixos
derchris_ has joined #nixos
derchris has quit [(Read error: Connection reset by peer)]
iyzsong has joined #nixos
derchris_ has quit [(Read error: Connection reset by peer)]
derchris has joined #nixos
MJJEFF has quit [(Quit: Konversation terminated!)]
ssmike has joined #nixos
mekeor has quit [(Remote host closed the connection)]
ericsagnes has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ericsagnes opened pull request #31517: groonga: 7.0.3 -> 7.0.8 (master...pkg-update/groonga) https://git.io/vFVg0
NixOS_GitHub has left #nixos []
MP2E has quit [(Remote host closed the connection)]
ma27 has joined #nixos
jb55 has quit [(Ping timeout: 260 seconds)]
ericsagnes has joined #nixos
adamt_ has joined #nixos
MP2E has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9.1)]
orivej has quit [(Ping timeout: 248 seconds)]
<fearlessKim[m]> when you go to https://nixos.org/ there is sthg troubling, ie. you can select nix/nixops/nixpkgs/etc and you will have "Manual" in the top bar. Except for nixOs !
rogue_koder has quit [(Quit: Konversation terminated!)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4d4e70d071 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<adamt_> fearlessKim[m]: That does look weird
markus1199 has quit [(Ping timeout: 240 seconds)]
adamt_ is now known as adamt
<fearlessKim[m]> adam_t everytime it hits me and it's bothersome as there is quite some information in the nixos manual
markus1189 has joined #nixos
<fearlessKim[m]> as a newcomer, seeing no manual for nixos may induce that nixos is an abstraction of nix+nixops etc as it seemingly has no dedicated manual
asuryawanshi has joined #nixos
ma27 has quit [(Quit: WeeChat 1.9.1)]
<srhb> fearlessKim[m]: Huh, yes, I think that would be good to add.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vFVwc
<NixOS_GitHub> nixpkgs/master 1806559 Frederik Rietdijk: python.pkgs.ipython: add missing typing dependency
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to release-17.09: https://git.io/vFVwC
<NixOS_GitHub> nixpkgs/release-17.09 68efaea Frederik Rietdijk: python.pkgs.ipython: add missing typing dependency...
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
matthewbauer has quit [(Ping timeout: 260 seconds)]
asuryawanshi has joined #nixos
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vFVwb
<NixOS_GitHub> nixpkgs/master e8be9f0 Frederik Rietdijk: python.pkgs.reportlab: move expression
<NixOS_GitHub> nixpkgs/master 2b2088e Frederik Rietdijk: python.pkgs.reportlab: 3.2.0 -> 3.4.0
NixOS_GitHub has left #nixos []
vcunat has joined #nixos
hellrazor has quit [(Ping timeout: 268 seconds)]
hellrazor has joined #nixos
<sphalerite> fearlessKim: it's on the page you get to when you follow the "Support" link. I agree it's not easy to find, but the top bar is pretty full already and I'm not really sure how it could be done better. Any ideas?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vFVrU
<NixOS_GitHub> nixpkgs/master ff4080e Frederik Rietdijk: python.pkgs.folium: fix build
NixOS_GitHub has left #nixos []
<srhb> I think some of the other options should be removed to make space, really.
<fearlessKim[m]> The "Search options" is the least meaningful for newcomers IMO. It could be removed/merged with "Packages" . Support/Community could be merged too. The manual should be a priority
<srhb> Agreed.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vFVrt
<NixOS_GitHub> nixpkgs/staging 8559b6d Vladimír Čunát: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
<sphalerite> True, and when I want the options page (I never really use the packages page) I just type "options" in my browser bar and select it from the history
<sphalerite> I'll make a PR
<srhb> \o/
<fearlessKim[m]> Linus: same, it's either in history or bookmarks. You are the man !
<sphalerite> although I think packages is most useful for newcomers
<srhb> Probably, yes.
<fearlessKim[m]> Keep it to the right, to be consistent with nix/nixops homepage
<sphalerite> (that is, more useful than it is to experienced users)
<fearlessKim[m]> yes because you want to kow if your favorites packagesareavailable before you make the switch
<sphalerite> and actually the packages page should really live on the nixpkgs section shouldn't it… although that would make it harder to find
<srhb> How do I make /urlselect and co work in the new weechat again? Looks like the split has all plugins enabled per default, but still, something broke
<sphalerite> srhb: oh yay the first trouble with the split :D hang on
<sphalerite> `weechat.override {configure = {availablePlugins, ...}: { plugins = with availablePlugins; [ python perl ];}`
<sphalerite> depending on which languages the scripts in question are in
<srhb> Right, okay.
<sphalerite> maybe it should default to all plugins rather than none…
<fearlessKim[m]> the "packages" could be also in nixpkgs but it's useful in nixos too.
<srhb> I thought it was python, but apparently it's lua.
<srhb> Adding lua as well did the trick. yay.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #31519: pythonPackages.yowsup: disable python2 build (master...fix-yowsup) https://git.io/vFVra
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Remote host closed the connection)]
simukis has joined #nixos
pie_ has joined #nixos
MP2E has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #31519: pythonPackages.yowsup: disable python2 build (master...fix-yowsup) https://git.io/vFVra
NixOS_GitHub has left #nixos []
ixxie has joined #nixos
__monty__ has joined #nixos
b has quit [(Quit: Lost terminal)]
<hyper_ch> hi Mic92
<__monty__> I have an environment (haskellPackages myEnvFun, similar to buildenv afaik) that won't build because a test fails for a single dependency. Can/should I override the dependency with a dontCheck predicate? http://ix.io/C8E
ericsagnes has quit [(Ping timeout: 248 seconds)]
ssmike has quit [(Ping timeout: 240 seconds)]
<pie_> __monty__, oddly enough i think sometimes things work if i try to build ghc again
<pie_> __monty__, which isnt actually an answer to your question
Itkovian has joined #nixos
<jtojnar> ixxie: could you take a look at the GNOME PR if you have time?
<ixxie> jtojnar: I will have some time tomorrow; keep in mind I have never done any contributing to nixpkgs before, so I will be slow to get my bearings
<__monty__> ixxie: Are you trying to trick us into writing documentation with snazzy words?
<ixxie> jtojnar: but I can try and do some testing and so on!
<ixxie> __monty__: sounds like you are trying to trick yourself into *not* writing documentation with some snazzy words ;)
Itkovian has quit [(Client Quit)]
<jtojnar> any help is appreciated
<ixxie> alright, lets keep in touch
ixxie has quit [(Quit: Lost terminal)]
hellrazor has quit [(Ping timeout: 240 seconds)]
<srhb> __monty__: No test failure on unstable for me, so I'm guessing no.
<srhb> Oh wait, wrong compiler version
<__monty__> srhb: I'm using the nixos channel.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 5 new commits to master: https://git.io/vFVod
<NixOS_GitHub> nixpkgs/master 2fa69f6 Michael Alan Dorman: elpa-packages: 2017-11-06
<NixOS_GitHub> nixpkgs/master 532e2ed Michael Alan Dorman: org-packages: 2017-11-06
<NixOS_GitHub> nixpkgs/master fa3ca0c Michael Alan Dorman: melpa-stable-packages: 2017-11-06
NixOS_GitHub has left #nixos []
<srhb> __monty__: Oh, are you intending to push the change upstream?
<__monty__> No, I haven't made any changes. I'm just looking for a way to get the environment to build.
<srhb> __monty__: You can absolutely add it to the compiler specific config file if you want to ignore the test failure.
<srhb> Or just locally in your env.
matthewbauer has quit [(Ping timeout: 248 seconds)]
matthewbauer has joined #nixos
hexamod has joined #nixos
<__monty__> I'm getting a syntax error on this, but I wanted to ask whether it's the right approach to add an env local override? Relevant part is the attribute "haskell821Packages": http://ix.io/Ca2
<srhb> __monty__: Entirely up to you if you do one or the other.
<srhb> __monty__: You're mising a semicolon after the definition of ghc-exactprint
asuryawanshi has joined #nixos
ssmike has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
asuryawanshi has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
romildo has joined #nixos
yegortimoshenko has quit [(Ping timeout: 248 seconds)]
<__monty__> srhb: I'm having some trouble with the "with pkgs.haskell.lib" which I think I need because dontCheck is defined there. Where exactly should the with go? http://ix.io/Ca3
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<srhb> __monty__: just use pkgs.haskell.lib.dontCheck directly
<srhb> There is not "with ... in" though
<srhb> It's just with ...;
hexamod has joined #nixos
Itkovian has joined #nixos
<__monty__> srhb: Thank you, I stuck with with in to make it easier to reuse this bit in the future, ganging up pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.dontHaddock ...) seems unwieldy.
<__monty__> Is it possible to list what packages an env contains with nix-env?
thc202 has joined #nixos
<srhb> __monty__: Short of printing the derivation, no.
<__monty__> srhb: Ok, thanks for the help. I don't understand some people don't "get" nix it's awesome, and I don't use that word lightly.
<romildo> Enlightenment-0.22.0 meson.build defines the variable suid_exes as a list of paths to file that should be set suid. How can I capture this variable as an attribute so that it can be used also in the Enlightenment module too?
ylwghst has joined #nixos
takle has joined #nixos
matthewbauer has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Quit: Leaving.)]
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
takle has quit [(Client Quit)]
hexamod has joined #nixos
zzamboni has joined #nixos
<drp> Anyone here got matrix-synapse running?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<adamt> drp: Yes, on unstable, but haven't tested it a lot.
<manveru> pie_: yo, you saw my message yesterday?
<drp> adamt: do you have a .nix? I have just added it as a service but don't have the user utils like syctl
<drp> I don't want to enable users to join randomly, I want to add them individually via command line
<manveru> pie_: stayed up until 3 to get it running, but you were gone already :( https://www.irccloud.com/pastebin/OQkgJ9G5/icestudio-shell.nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFVic
<NixOS_GitHub> nixpkgs/master 78dd422 Joerg Thalheim: wpsoffice: ignore build root references
NixOS_GitHub has left #nixos []
<pie_> manveru, ah :( thanks! ill check it out in a sec!
<manveru> just run that with nix-shell and it should start the app
<adamt> drp: Nope, no syctl, i just installed synapse from the module, sorry. :/
<drp> adamt: in the pkgs section? So you don't have the user utils as well?
zzamboni has quit [(Quit: Leaving.)]
<adamt> drp: I just set services.matrix-synapse.enable = true, so no, probably not
<sphalerite> drp: no, the nixos module
<romildo> How can I define an attribute of a derivation dynamically? Let's say, from the value of an environment variable, or from the output of a command?
<drp> Cool
joehh has joined #nixos
<sphalerite> romildo: that breaks nix's purity and isn't a good idea. But you can use builtins.getEnv
<sphalerite> romildo: the preferred way to do this sort of thing is to give the package an additional argument and use an override on it to change it.
ShalokShalom has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/68efaeab7b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<romildo> sphalerite, the package (enlightenment) build system (meson) produces a list of files that should be set suid. I need this list in the corresponding module derivation. What do you suggest to handle this?
bennofs has joined #nixos
ShalokShalom_ has quit [(Ping timeout: 268 seconds)]
zzamboni has joined #nixos
<derchris> hey, i got a problem with node2nix
<joehh> hi gchristensen, re pinging you - just seen the lumiguide nixcon video
<joehh> loved the auto rollback functionality
<joehh> nice and simple
<derchris> trying to convert a npm to nix, elgato-stream-deck
<derchris> when i try to build/install it, it fails because of a missing dependency
<joehh> haven't absolutely needed it yet, but have come awfully close
<joehh> looks like something I'll be putting into our deploys asap
<derchris> that is, it fails in one of the npm module depnedencies, because it is missing libusb
<derchris> i tried to add libus as a buildinput, but it still fails
<adamt> I'm trying to get a reading of the rssi of a bluetooth device (signal strength), but the internet tells me i want either the "rfcomm" or "hcitool" application for that. I can't find either on https://nixos.org/nixos/packages.html, but maybe they're packaged under a different name..?
<derchris> not sure if i added it to the correct locations
<sphalerite> romildo: you could use import-from-derivation — use builtins.readFile to read the file in from the derivation. But that won't be allowed in nixpkgs. I don't know of another way to solve it in this case, probably best to manually mirror the list though.
romildo has left #nixos ["Leaving"]
romildo has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
Piece_Maker has joined #nixos
jmc_fr has joined #nixos
Acou_Bass has quit [(Ping timeout: 268 seconds)]
Piece_Maker is now known as Acou_Bass
ylwghst has joined #nixos
hariel has quit [(Ping timeout: 240 seconds)]
alhariel has quit [(Ping timeout: 240 seconds)]
wolfcub has quit [(Ping timeout: 248 seconds)]
alhariel has joined #nixos
hariel has joined #nixos
wolfcub has joined #nixos
<adamt> Nvm, seems like the bluez5_28 package contains what i need, instead of the regular bluez-package.
zzamboni has quit [(Quit: Leaving.)]
p4cman has quit [(Quit: Connection closed for inactivity)]
ssmike has quit [(Read error: Connection reset by peer)]
__monty__ has left #nixos []
ylwghst has quit [(Quit: Lost terminal)]
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Wizek has joined #nixos
orivej has joined #nixos
<srhb> adamt: Looks like those tools were deprecated upstream with no replacements.
hexamod has joined #nixos
<srhb> Can anyone help me figure out why command-not-found is working on my system?
<srhb> I don't have any channels enabled afaik.
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
<srhb> Hm, I do have a /nix/var/nix/profile/per-user/root/channels/nixos
<srhb> I wonder why that is
p4cman has joined #nixos
Turion has joined #nixos
takle has joined #nixos
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Unode> is there any way to prevent nix-build from cleaning up the build directory? I'd like to inspect why something is failing
hexamod has joined #nixos
<LnL> --keep-failed
<Unode> LnL: thanks totally missed it in the manpage ... coffee time
roberth has quit [(Ping timeout: 240 seconds)]
__monty__ has joined #nixos
ylwghst has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vFV1H
<NixOS_GitHub> nixpkgs/master e19434b Matthew Bauer: SDL: try disabling sdltest on darwin
<NixOS_GitHub> nixpkgs/master 6bedd0b Daiderd Jordan: Merge pull request #31509 from matthewbauer/disable-sdltest...
NixOS_GitHub has left #nixos []
<__monty__> Used load-env-* for the first time and got some errors. Are these to be expected or should I investigate? http://ix.io/Cab
<__monty__> Also, is it possible to get a fish shell for load-env/nix-shell?
ssmike has joined #nixos
<sphalerite> __monty__: --run 'exec fish'
<sphalerite> __monty__: but all the shell functions that are part of the package will be missing of course
c0bw3b has joined #nixos
<__monty__> So, need to set the path inside?
ylwghst has quit [(Remote host closed the connection)]
<Unode> __monty__: nix-shell -p fish --run 'exec fish'
jmc_fr has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] DeltaEvo opened pull request #31521: albert: 0.12.0 -> 0.14.7 (master...master) https://git.io/vFVMw
NixOS_GitHub has left #nixos []
<sphalerite> __monty__: no, the env vars will be fine. Just shell functions used by the build scripts. Often you won't need them though, so it may well be fine
<__monty__> Can I automate the exec fish? Change the bashrc in the env, and include fish in the env of course?
<sphalerite> personally I'd just set up an alias (or function in fish? I think?) for nix-shell --run 'exec fish'
<__monty__> I guess, but that sounds more snowflakey : )
<srhb> /quit
<srhb> Woops
<hyper_ch> fail :)
python476 has joined #nixos
simendsjo has joined #nixos
<jluttine> has anyone managed to play blurays on nixos? i installed libaacs and aacskeys and libbluray but vlc is still complaining: "This Blu-ray Disc needs a library for AACS decoding, and your system does not have it."
<jluttine> do i need to tell vlc somehow that these libraries are available?
<jluttine> i just added those to systemPackages..
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vFVyr
<NixOS_GitHub> nixpkgs/master 0483842 Michael Raskin: xpra: 2.0.2 -> 2.1.3; xpraGtk3: 0.16.2 -> 2.1.3
NixOS_GitHub has left #nixos []
<Dezgeg> anyone familiar with SWIG and/or packaging stuff using SWIG?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vFVyp
<NixOS_GitHub> nixpkgs/master 57f5e2a Michael Raskin: bubblewrap: 0.1.8 -> 0.2.0
NixOS_GitHub has left #nixos []
<gchristensen> joehh: I agree, and should probably incorporate in to nixos / nixops somehow
hellrazor has joined #nixos
ssmike has quit [(Read error: Connection reset by peer)]
<gchristensen> if nixos fails to boot, it should automatically reboot and try the previous version, IMO
<Unode> gchristensen: configurable hopefully. Or this will surprise people.
<Unode> as in, I setup option A, rebooted and went to grab some tea. Came back and option was still not enabled :)
<gchristensen> I have no idea how it'd work in practice, but would want to take inspiration from how CoreOS does it
<gchristensen> this is most important around remote systems where sometimes if it fails to boot you have no recovery options
<Unode> gchristensen: yup. I totally see the use-case, just maybe not a default unless setup.
erictapen has joined #nixos
pareidolia has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 11 new commits to master: https://git.io/vFV9U
<NixOS_GitHub> nixpkgs/master e15d6e1 Andreas Rammhold: yara: 3.6.0 -> 3.6.3 (fixes CVE-2017-11328)
<NixOS_GitHub> nixpkgs/master 4b759a0 Andreas Rammhold: rzip: fix CVE-2017-8364
<NixOS_GitHub> nixpkgs/master f8b53a7 Andreas Rammhold: redis: fix CVE-2017-15047...
NixOS_GitHub has left #nixos []
b has joined #nixos
<jluttine> how can i use overlays to modify a package derivation so that it finds some library? i guess buildInputs isn't the solution, as that only affects building, not run-rime
joehh has quit [(Ping timeout: 248 seconds)]
<vcunat> jluttine: the typical way is that we put libs into build inputs, and the package's build system detects them and stores the path
<vcunat> and then it just uses the path during runtime as well
<jluttine> oh. i've thought that buildInputs aren't available during run time. they are just used for compiling
ssmike has joined #nixos
<jluttine> and i wouldn't want to compile the package... modifying buildinputs causes a compilation right? i just want to add the library to the library path during run time
<jluttine> or if anyone knows how to make libaacs available for vlc, i'd be happy to hear
<manveru> jluttine: you can wrap it and add a LD_LIBRARY_PATH
<vcunat> you can compile a wrapper
<jluttine> thanks
<vcunat> but LD_LIBRARY_PATH is less reliable
<vcunat> than build inputs
<vcunat> for example it overrides the libraries of any process that are spawned
<jluttine> are all build inputs added to the path of the compiled package? or only those that the compiled code refers to somehow?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vFV9F
<NixOS_GitHub> nixpkgs/master 459e4b7 Nikolay Amiantov: steam: add /steamrt/run.sh...
NixOS_GitHub has left #nixos []
<c0bw3b> gchristensen borf failed to evaluate nixos-manual and nixos-options in #31376 : it seems unrelated to my commits but how could I check that?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from 29e2462 to 8925b88: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable 99ed6c4 Frederik Rietdijk: Python: pythonModule...
<NixOS_GitHub> nixpkgs/python-unstable 1a485af Frederik Rietdijk: python.pkgs: use toPythonModule for packages defined outside python-packages.nix
<NixOS_GitHub> nixpkgs/python-unstable 6f566be Frederik Rietdijk: system-config-printer: recurse into python dependencies...
NixOS_GitHub has left #nixos []
<c0bw3b> Travis manual job failed the same way because it couldn't evaluate oraclejre (unfree)
<c0bw3b> *borg
<gchristensen> hmm
<gchristensen> no, borf is a good name too
<c0bw3b> ^^
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vFVHW
<NixOS_GitHub> nixpkgs/master 83c2838 Michael Weiss: android-studio-preview: 3.1.0.0 -> 3.1.0.2
NixOS_GitHub has left #nixos []
<gchristensen> hmmm
<c0bw3b> now you're scaring me :p
<c0bw3b> *oh noes I broke something*
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from 8925b88 to a872c30: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable 10dc19d Frederik Rietdijk: system-config-printer: recurse into python dependencies...
<NixOS_GitHub> nixpkgs/python-unstable 902a83b Frederik Rietdijk: python.pkgs.buildPythonPackage: meta.maintainers: don't add chaoflow
<NixOS_GitHub> nixpkgs/python-unstable 8efccd2 Frederik Rietdijk: python.pkgs.buildPythonPackage: don't propagate setuptools...
NixOS_GitHub has left #nixos []
Turion has quit [(Ping timeout: 240 seconds)]
<gchristensen> I don't know
<gchristensen> c0bw3b: can you rebase on master?
<c0bw3b> I can
sigmundv__ has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://git.io/vFVHp
<NixOS_GitHub> nixpkgs/master ff1d281 Eelco Dolstra: perlPackages.LWPAuthenOAuth: Init at 1.02
<NixOS_GitHub> nixpkgs/master 1a7dc1f Eelco Dolstra: perlPackages::Filelchown: Init at 0.02
NixOS_GitHub has left #nixos []
mekeor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] corngood closed pull request #31512: WIP: Steam beta fix (master...steam-beta-fix) https://git.io/vFVRY
NixOS_GitHub has left #nixos []
<c0bw3b> gchristensen just rebased
Neo-- has joined #nixos
Vorpal has quit [(Ping timeout: 250 seconds)]
ThatDocsLady has joined #nixos
Turion has joined #nixos
<manveru> usage like `nix-instantiate --show-trace --json --eval ./nixos-options.nix --strict --argstr query options.nix.sshServe.enable | jq .`
Turion has quit [(Ping timeout: 240 seconds)]
<mbrgm> does nixpks have some way to automatically package a python module?
<mbrgm> or do they have to be packaged manually?
acarrico has quit [(Ping timeout: 268 seconds)]
<mbrgm> thx!
<__monty__> mbrgm: I think you're the second person to ask this week.
<c0bw3b> you will find plenty of examples there
<mbrgm> c0bw3b: yeah, but this does not answer my question ;)
<__monty__> Conclusion was it's partly manual because of things like C dependencies.
<manveru> mbrgm: take a look at https://github.com/offlinehacker/pypi2nix
<mbrgm> ok
<__monty__> iirc
<mbrgm> manveru: that one looks great. gonna try it out. ty
<c0bw3b> ah missed the 'package' keyword i guess my bad
<jluttine> i'm always lost with these wrappers.. why are they shell functions instead of nix functions? now i need to figure out how and where i need to use those shell functions in my package derivation.. i would like to just use those wrappers as nix functions to create a wrapping
civodul has joined #nixos
ilyaigpetrov has joined #nixos
<jluttine> if a nix file defining a package derivation has some optional arguments (looking like enableFoobar ? false), how can i enable those?
goibhniu has joined #nixos
<jluttine> how to pass those arguments? i guess i need to use overlays somehow
Turion has joined #nixos
<mekeor> jluttine: how do you want to install that package? on command-line? from system configuration?
<vcunat> jluttine: somepackage.override { argument = newvalue; argument2 = newvalue2; }
<jluttine> i want to add the modified package to systemPackages in configuration.nix
<vcunat> and you enclose it in parentheses and put into systemPackages
jtojnar has quit [(Remote host closed the connection)]
<vcunat> (no need for overlay for this)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vFV7O
<NixOS_GitHub> nixpkgs/master 27e32aa Pascal Wittmann: disorderfs: 0.5.1 -> 0.5.2
NixOS_GitHub has left #nixos []
<jluttine> vcunat: ok! can i make it so that it changes the package in pkgs so that when i add the package to systempackages elsewhere, it adds the one i modified elsewhere?
<jluttine> guess that needs overlays
<vcunat> yes, that's what overlays are for
<jluttine> yep
<hyper_ch> hi vcunat
<vcunat> but you do the overriding the same way
<vcunat> just define the new version via super.somepackage.override....
<vcunat> hyper_ch: hi
Vorpal has joined #nixos
Vorpal has quit [(Changing host)]
Vorpal has joined #nixos
<jluttine> vcunat: yep thanks. was a bit lost with how to define overlays but i think i got it now. nixpkgs.overlays was supposed to be a list of overlays. nice
<jluttine> at least it started compiling so i guess i managed to change the parameters :)
<vcunat> there's a how-to recording from NixCon'17
<hyper_ch> vcunat: still need to test your TO change... but becuase of the break-in and entry I was preoccupied with other stuff
<vcunat> sure, I expected that to take time
<vcunat> TO didn't get stolen then?
<hyper_ch> vcunat: nah, they took the server, 3 monitors, several external usb drives and sticks, some money, post stamps, a suite, an ancient microwave, usb hub, poe switch, my Alexa, and other stuff... interestingly the TO and Yealink T48Gs were not taken..... they also took toilet paper and tissues....
* jluttine <3 overlays
<gchristensen> wat
<gchristensen> I'm sorry, hyper_ch
<vcunat> toilet paper :-D
<hyper_ch> vcunat: and also a stack uf those large paper bags you get at grociers shop with handles...
<gchristensen> to help carry all their find
<hyper_ch> gchristensen: nothing to worry about it.... re-setting up everything costs much more than actual value of stolen goods
<hyper_ch> however, now server is away from Debian with Proxmox and using native root encrypted zfs with Nixos and qemu/kvm for the VMs.... still I need a few things get to run
<hyper_ch> also I need a more up-to-date zfs version to actually be able to do incremental encrypted snapshots
jtojnar has joined #nixos
<hyper_ch> before, I had nightly backups
<hyper_ch> now I do 6h full pool backups until the incrementation works
<hyper_ch> once incremential sending resp. receiving works, I'll up it to hourly backups :)
iyzsong has quit [(Ping timeout: 240 seconds)]
iyzsong has joined #nixos
orivej has quit [(Ping timeout: 248 seconds)]
<c0bw3b> gchristensen: now eval-package-list has failed :p and all Travis jobs for yet another reason :/
<gchristensen> lol...
<c0bw3b> I feel like overlooking those and merging
<adisbladis> hyper_ch: Maybe just go ahead and bump zfsUnstable?
<hyper_ch> adisbladis: I do use zfsUnstable because I use encryption
<gchristensen> c0bw3b: please hold
<c0bw3b> gchristensen ok
<gchristensen> niksnut: ff1d281e557d84a8341e62f89ffbeb0748b455ba has broken eval, error: attribute ‘unknown’ missing, license = stdenv.lib.licenses.unknown; should be license = "unknown";
<gchristensen> 1a7dc1f86b99bc2a1ae82211bcaf1e964c47e61e is fine though
__monty__ has left #nixos []
<gchristensen> c0bw3b: want to send a PR fixing that? :)
hexamod has quit [(Ping timeout: 248 seconds)]
ThatDocsLady has quit [(Ping timeout: 240 seconds)]
hellrazor has quit [(Ping timeout: 248 seconds)]
Neo-- has quit [(Ping timeout: 240 seconds)]
<c0bw3b> gchristensen yes if I understood correctly : perlPackages.LWPAuthenOAuth meta.license should be set to text string "unknown"
<gchristensen> yeah
<c0bw3b> k PR incoming
__monty__ has joined #nixos
jtojnar has quit [(Quit: jtojnar)]
<__monty__> sphalerite: --run doesn't seem to work with load-env-ghc82, which is an environment defined with myEnvFun from haskellpackages.
<vcunat> if license is unknown, I'd personally use licenses.unfree
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b opened pull request #31523: perlPackages.LWPAuthenOAuth: fix meta.license (master...pkg/perloauth) https://git.io/vFVd3
NixOS_GitHub has left #nixos []
<__monty__> Also, still don't know where these errors are coming from when launching the env: http://ix.io/Cab
<vcunat> I'm no lawyer, but I think that without explicitly stated license you basically can't do anything with the SW
<sphalerite> monty: maybe the shell hook is overriding it
<gchristensen> vcunat: best not look at 99% of perl-packages.nix then
<c0bw3b> yheah there is no "unknown" defined in licenses.nix for now
<__monty__> vcunat: Unless you're getting the code from github. I believe they default to a form of open license, probably doesn't qualify as free but it's something.
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 2 new commits to master: https://git.io/vFVd8
<NixOS_GitHub> nixpkgs/master ab1075c Andrea Scarpino: qt5: Add qtnetworkauth submodule
<NixOS_GitHub> nixpkgs/master 1e9edbf Thomas Tuegel: Merge pull request #28480 from ilpianista/qt5...
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
ssmike has quit [(Ping timeout: 240 seconds)]
jensens has joined #nixos
<gchristensen> c0bw3b: ok can you rebase your libtom*pr?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31523: perlPackages.LWPAuthenOAuth: fix meta.license (master...pkg/perloauth) https://git.io/vFVd3
NixOS_GitHub has left #nixos []
<c0bw3b> gchristensen: yep will do
ssmike has joined #nixos
<c0bw3b> BTW the author of that perl package states that it could be redistributed under the same license at perl
<gchristensen> the "unknown" comes from https://metacpan.org/pod/LWP::Authen::OAuth
<c0bw3b> so niksnut might want to change that meta again to gpl2 and artistic1
<gchristensen> "License: unknown"
<c0bw3b> yes indeed..
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 21 new commits to master: https://git.io/vFVdN
<NixOS_GitHub> nixpkgs/master c06f3ca Michael Raskin: Drop obsolete .upstream file (project has moved)
<NixOS_GitHub> nixpkgs/master eeaf53d Michael Raskin: mcabber: set downloadPage to point to where we take the release anyway
<NixOS_GitHub> nixpkgs/master 99a3e13 Michael Raskin: baresip: 0.5.1 -> 0.5.6
NixOS_GitHub has left #nixos []
iyzsong has quit [(Ping timeout: 250 seconds)]
<c0bw3b> rebased and pushed
<fearlessKim[m]> in "{ a ? 4, b, ...} @ args", does "args" contain a and b ?
<gchristensen> yeah
seppellll has joined #nixos
<pie_> manveru, so i should be able to just run the nix file?
<manveru> pie_: with nix-shell
<pie_> right
joehh has joined #nixos
stanibanani has joined #nixos
<pie_> ok its running
stanibanani has left #nixos []
<joehh> back - ran out of batteries!
<pie_> manveru, thank you it seems to work ^_^
<pie_> dunno if its actualy functional, ive never used it
<manveru> :)
<manveru> me neither, just saw the starting screen
<pie_> dunno if it will need extra work to interface with the hardware stuff but i dont have any ogf that to test with
<pie_> *any of that stuff
<pie_> anyway ill poke around in it now
romildo has quit [(Quit: Leaving)]
<joehh> I suspect lumi must write the latest generation to a file as a post deploy step when succesful
<gchristensen> yeah
b has quit [(Remote host closed the connection)]
<pie_> manveru, hm it can attempt to install its toolchain
<pie_> looks like it uses python
<pie_> to get apio..
<manveru> :P
<pie_> to get other things
<pie_> what could possibly go wrong :D
adamt has quit [(Ping timeout: 248 seconds)]
<pie_> aaah there we go, craptons of errors :D
Dr8128 has joined #nixos
Sonarpulse has quit [(Ping timeout: 240 seconds)]
<joehh> had my second remote nixops deploy on friday - started from an appliance vm based on https://github.com/GeoscienceAustralia/NixOS-Machines
<gchristensen> c0bw3b: seems borg is having a bad time, I'd say just merge, heh
<joehh> worked first time (much to my surprise)
<pie_> joehh, :D
<c0bw3b> gchristensen : yes I think I will... Travis shows problems with qtnetworkauth.nix though
<gchristensen> hard-sigh.gif
<gchristensen> looking :)
<c0bw3b> I guess i should raise a warning in PR 28480
<c0bw3b> for ttuegel
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gbuisson opened pull request #31524: update Jackett to use mono50 (master...master) https://git.io/vFVFd
NixOS_GitHub has left #nixos []
<pie_> manveru, is there anything that would have made getting this to work easier?
<c0bw3b> yheah you were faster than me :p
acarrico has joined #nixos
<manveru> pie_: steam-run maybe
<gchristensen> c0bw3b: I'm sorry your PR has become the testing ground for other broken commits
<manveru> though that'd result in a mess quite fast
<pie_> lol is that the nuclear option
<c0bw3b> gchristensen no problem actually, a simple PR like this is perfect to troubleshoot bigger issues :p
<pie_> i mean was there anyhting that was specifically painful
<pie_> *what was painful
__monty__ has quit [(Quit: rebootying)]
<gchristensen> joehh: so cool :D
<Dr8128> When I upgrade to 17.09 I get an error about systemd-udev-settle.service and my internet stops working. Does anyone know why this could be? Also enp2s0 dissappears and wlp1s0 loses the inet part. Could it be that 17.09 cannot find my hardware?
<Dr8128> i mean from ifconfig
<joepie91> Dr8128: what is the "an error" exactly?
<Dr8128> enp2s0 and wlp1s0 from ifconfig
<manveru> pie_: collecting all the deps for patchelf... would be nice if that was automated
<joehh> this one is only 2800 km away, but is in a different country :)
<manveru> i mean, it gives you the name of the missing library, and i basically just did `find /nix/store -name somemissing.so.1` to find it... luckily i had the all around
<joehh> plus has much more infrastructure, so if we brick it, can get local IT to reinstall appliance
<hyper_ch> "my internet" :)
<pie_> manveru, right thats what i was guessing :P
__monty__ has joined #nixos
<pie_> manveru, i think there was actually something moderately helpful somewhere in the nixpkgs tools tree for that
<pie_> manveru, patchelf clunkyness annoys me to no end
<pie_> but i havent gotten around to doing something about it
b has joined #nixos
<joepie91> Dr8128: hmmm. that's not a very informative error.
<joepie91> Dr8128: can you have a look at `journalctl -u systemd-udev-settle -b 0` and see if there's anything useful in there?
<Dr8128> joepie91: ok but ill have to upgrade my computer which will disconnect me then get the output and then reboot in the old version again so ill brb
Dr8128 has left #nixos []
ylwghst has joined #nixos
<joepie91> hm, that wasn't really necessary :/
nixos1022 has joined #nixos
b has quit [(Quit: Lost terminal)]
Dr81281 has joined #nixos
b has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vFVNV
<NixOS_GitHub> nixpkgs/master f11e3b5 Evan Wallace: folly: 2017.07.24.00 -> 2017.11.06.00
<NixOS_GitHub> nixpkgs/master 417706d Graham Christensen: Merge pull request #31522 from Mankarse/folly-v2017.11.06.00...
NixOS_GitHub has left #nixos []
arximboldi has joined #nixos
arximboldi has quit [(Read error: Connection reset by peer)]
<joepie91> Dr81281: for future reference, you can also do something like `-b -1` to get the logs for a past boot :)
<joepie91> anyway, that's not really a helpful error at all
<joepie91> you could try doing a nix-store repair to make sure that nothing got corrupted
<joepie91> nix-store --verify --check-contents it seems
jabranham has joined #nixos
python476 has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vFVAJ
<NixOS_GitHub> nixpkgs/master 52fba7e Vladimír Čunát: perlPackages.LWPAuthenOAuth: the license is known...
NixOS_GitHub has left #nixos []
<manveru> also --repair :)
<Dr81281> ill try it thanks
<Dr81281> i guess i should also read up a little on systemd troubleshooting
<Dr81281> gtg thanks for the replies
Dr81281 has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from a872c30 to 578b99a: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable c0ff1d9 Frederik Rietdijk: python.pkgs.rivet: add bindings for rivet
<NixOS_GitHub> nixpkgs/python-unstable 88ad181 Frederik Rietdijk: python.pkgs.buildPythonPackage: do not pass attributes that stdenv.mkDerivation does not use
<NixOS_GitHub> nixpkgs/python-unstable ec32f75 Frederik Rietdijk: python.pkgs.pytest: add missing setuptools dependency
NixOS_GitHub has left #nixos []
vcunat has quit [(Ping timeout: 240 seconds)]
ssmike has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vFVA9
<NixOS_GitHub> nixpkgs/master 6c52e19 Eric Sagnes: groonga: 7.0.3 -> 7.0.8
<NixOS_GitHub> nixpkgs/master 71689dd Frederik Rietdijk: Merge pull request #31517 from ericsagnes/pkg-update/groonga...
NixOS_GitHub has left #nixos []
ylwghst has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vFVA7
<NixOS_GitHub> nixpkgs/master a1d8a23 Duarte David: albert: 0.12.0 -> 0.14.7...
<NixOS_GitHub> nixpkgs/master 72f4278 Frederik Rietdijk: Merge pull request #31521 from DeltaEvo/master...
NixOS_GitHub has left #nixos []
<Orbstheorem> Hi, I'm trying to install ipython using nix-env, I found the attribute name is 'python36Packages.ipython', but when I run ni-env, I get `error: attribute 'python36Packages' ... not found`
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vFVAA
<NixOS_GitHub> nixpkgs/master 33ab98d Tor Hedin Brønner: nix-bash-completions: init at 0.1...
<NixOS_GitHub> nixpkgs/master 2f34d20 Frederik Rietdijk: Merge pull request #31518 from hedning/nix-bash-completions-init...
NixOS_GitHub has left #nixos []
playX has joined #nixos
joehh has quit [(Ping timeout: 248 seconds)]
nextloop has quit [(Ping timeout: 255 seconds)]
hellrazor has joined #nixos
asuryawanshi has joined #nixos
playX has quit [(Ping timeout: 260 seconds)]
jabranham has quit [(Remote host closed the connection)]
<hyper_ch> on NixOS, where do you put the overlay nix files?
nextloop has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
sphalerite__ has joined #nixos
<mekeor> hyper_ch: ~/.config/nixpkgs/overlays/ is where i put them
<sphalerite__> Hi all. I'm trying to run Black Mesa from steam, but it no longer starts, although it used to work. I get https://gist.github.com/anonymous/ede865408bd6e25c0aabee831c8955b9
<hyper_ch> mekeor: what if .conffig/nixpkgs doesn't exist?
<mekeor> hyper_ch: it's described elaborately at https://nixos.org/nixpkgs/manual/#sec-overlays-install
<sphalerite__> hyper_ch: you make it
<srhb> hyper_ch: If you have ~/.nixpkgs, you should move that to ~/.config/nixpkgs
<hyper_ch> I don't have ~/.nixpkgs either
<sphalerite__> mkdir -p ~/.config/nixpkgs
<sphalerite__> or rather, mkdir -p ~/.config/nixpkgs/overlays
<srhb> Note that these will only affect your user's nixpkgs. For system wide overlays, you should probably use nixpkgs.overlays
<ij> If I want to use bundix, should I first install all the gems with bundler in order to create a Gemfile.lock?
nextloop has quit [(Excess Flood)]
<manveru> no
<manveru> just run `bundix -l`
<manveru> it'll create the lockfile as well
acarrico has quit [(Ping timeout: 268 seconds)]
<hyper_ch> and where should nixpkgs.overlays be?
nextloop has joined #nixos
<sphalerite__> hyper_ch: in your system config
<hyper_ch> you mean configuration.nix?
<hyper_ch> not really sure what you mean with system config
grenade has joined #nixos
<sphalerite__> <nixos-config> then. So yes, probably configuration.nix :)
<mekeor> yes, it's /etc/nixos/configuration.nix by default, hyper_ch
acarrico has joined #nixos
<ij> manveru, Thanks a lot! Maybe this should be mentioned in the bundix's github README?
<manveru> true... it's a bit outdated
seppellll has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb opened pull request #31525: php: Fix php pcre symbol collissions (master...fix-php-pcre-patch) https://git.io/vFVpH
NixOS_GitHub has left #nixos []
<manveru> add the flag to the readme
jensens has quit [(Ping timeout: 264 seconds)]
<manveru> *added
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb opened pull request #31526: php: Fix php pcre by using external lib (master...fix-php-external-pcre) https://git.io/vFVp7
NixOS_GitHub has left #nixos []
endformationage has joined #nixos
<c0bw3b> ij manveru actually https://nixos.org/nixpkgs/manual/#sec-language-ruby is quite up-to-date :) i just used bundix for the first time recently by following this
nextloop has quit [(Ping timeout: 250 seconds)]
<mekeor> how do you update a sha256 hash of the sources after changing e.g. version number, without just trying to install the package and wait for it to fail with a statement like "x has sha256 hash ‘y’ when ‘z’ was expected"?
<c0bw3b> at least it was enough for my test case
<c0bw3b> mekeor : with nix-prefetch-url
<gchristensen> mekeor: usually I just use the error message
<tokudan[m]> mekeor: you can try nix-prefetch*
<hyper_ch> I don't get how this works
<mekeor> it seems, i still have to specify the exact url myself for nix-prefetch-url
endformationage has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hedning opened pull request #31527: nix-bash-completions: 0.1 -> 0.2 (master...nix-bash-completion-fix) https://git.io/vFVhL
NixOS_GitHub has left #nixos []
<ij> c0bw3b, ah "--magic"/"-m" would also have done it
<sphalerite__> aaah the black mesa breakage is because it wants an older libstdc++ :(
<mekeor> hyper_ch: i never tried it myself but i guess you have to insert something like this in your /etc/nixos/configuraion.nix: http://sprunge.us/ihjX
<mekeor> hyper_ch: does this help you? what exactly don't you understand?
<hyper_ch> mekeor: I want to try to use a newer version of zfs and spl unstable.... but no idea what I actually need to add
<mekeor> hyper_ch: did you look at the nix package definitions of those?
<hyper_ch> mekeor: no idea what package definitions are
<avn> hyper_ch: we had {spl,zfs}Unstable expressions in the past, but it was removed when zfs 0.7 was released
<hyper_ch> boot.zfs.enableUnstable = true;
<avn> may be it need to be partially reverted, and updated to possibility use unstable snapshots (+optionally patches from master/PRs)
__monty__ has left #nixos []
<hyper_ch> but no idea how to override those versions, revisisons and shas
<mekeor> hyper_ch: i wrote my first overlay yesterday. i wanted to override the `src` and `patches` attributes of the `st` package. maybe that helps you? https://github.com/mekeor/config/blob/master/nix/overlays/st.nix
<mekeor> hyper_ch: use --show-trace. i think it will show you the correct hash
<hyper_ch> mekeor: doesn't help
<hyper_ch> mekeor: well, it wi
<mekeor> doesn't it say something like "x has sha256 hash ‘y’ when ‘z’ was expected"? hyper_ch
hexamod has joined #nixos
<hyper_ch> mekeor: no it ase override missing
<mekeor> oh, no, sorr
<hyper_ch> says
<mekeor> sorry
<mekeor> yeah, you're right
<mekeor> hyper_ch: did you try using overrideAttrs instead of override?
<nixos1022> what interpreter should I write at the beginning of a python script?
<hyper_ch> mekeor: error: attempt to call something which is not a function but a set, at /nix/store/bz5b8zlvpj5qlvxz5ki0rjwc4ig6l7xv-nixos-18.03pre120118.4d4e70d071/nixos/pkgs/stdenv/generic/make-derivation.nix:176:56
<hyper_ch> nixos1022: #!/usr/bin/env python I think
<mekeor> the syntax is a little different. it's `super.zfsUnstable.overrideAttrs (oldAttrs: rec {`. it's described at https://nixos.org/nixpkgs/manual/#sec-pkg-overrideAttrs
<hyper_ch> or maybe even python27
<mekeor> hyper_ch: give us a log, please. in a pastebi
<mekeor> *pastebin
<hyper_ch> mekeor: there is no more log
<mekeor> hyper_ch: try overrideAttrs please
nextloop has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
<nixos1022> thx that help
<hyper_ch> that seems to be working... https://paste.simplylinux.ch/view/raw/beb9371a it's compiling stuff but no sha error yet
<nixos1022> *helps
hexamod has quit [(Client Quit)]
<ij> c0bw3b, Will the result of default.nix I created for ruby (as nixpkgs/manual instructed me to) be collected by nix-garbage-collect, if I run it?
hexamod has joined #nixos
<hyper_ch> mekeor: hmmm, strange... IMHO it compiles now zfs but the sha256 I've given is just a dummy and it didn't complain
<hyper_ch> mekeor: no, it's not using my overlay make[3]: Leaving directory '/tmp/nix-build-zfs-user-2017-10-16.drv-0/source/tests'
<hyper_ch> still the default one from the packages
<srhb> hyper_ch: How are you building zfs, and where is that overlay setting?
<hyper_ch> srhb: that overlay settign is in my configuration.nix
<hyper_ch> bulding: nixos-rebuild boot
<srhb> hyper_ch: Then your problem is probably that you're not overriding src
<mekeor> hyper_ch: i think you have to specify zfsUnstable
<hyper_ch> srhb: I have no idea what I'm doing
<srhb> Wait, is that even a package?
<mekeor> hyper_ch: where and how do you specify/install zfs?
<hyper_ch> boot.supportedFilesystems = [ "zfs" ];
<hyper_ch> boot.zfs.enableUnstable = true;
<mekeor> ah, hmmm
zzamboni has joined #nixos
<mekeor> hyper_ch: did you try `nix-env -i zfsUnstable` or something like that? i don't know if that should even work
zzamboni has quit [(Client Quit)]
<hyper_ch> mekeor: no... why would I try nix-env -i zfsUnstable?
<mekeor> hyper_ch: in order to see if the overlay works from the command-line? i was thinking that maybe you still have to tell nixos-rebuild that it should use the overlay which is defined in itself...
python476 has joined #nixos
<mekeor> but i'm just wildly guessing, hyper_ch. sorry. i don't have a clue. *shrug*
<hyper_ch> mekeor: I have no clue either
<aminechikhaoui> Hi, I'm having trouble making a usb ethernet device work on my machine, from the kernel logs I'm seeing these kind of errors
<c0bw3b> ij the result of your build would be gc'ed iff you delete any symlink pointing to it
<aminechikhaoui> relevant kernel logs: http://termbin.com/qwby
<srhb> hyper_ch: I think at least one issue is that you're only overriding the userspace things, not the linuxPackages.zfsUnstable revision and such
<srhb> hyper_ch: Perhaps you can investigate that.
<aminechikhaoui> also lsusb shows the device in mass storage mode but not sure if that's an issue
<aminechikhaoui> Bus 003 Device 024: ID 12d1:1f01 Huawei Technologies Co., Ltd. E353/E3131 (Mass storage mode)
<aminechikhaoui> anyone has an idea on how to make it work ?
<hyper_ch> srhb: I have no idea what's userspace things and what not...
acarrico has quit [(Ping timeout: 248 seconds)]
<mekeor> hyper_ch: did you try installing with nix-env? i think that's a good idea. cuz that's userspace.
<mekeor> hyper_ch: let's see if userspace works.
<srhb> hyper_ch: Try reading nixos/modules/tasks/filesystems/zfs.nix too :)
<hyper_ch> srhb: nothing in there points to the revision
<srhb> hyper_ch: No, but it shows you what's userspace and what's kernel.
<hyper_ch> mekeor: does nix-env uses the concfiguration.nix?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vFVjp
<NixOS_GitHub> nixpkgs/master f63c215 Pascal Wittmann: Fix homepage links (see #30636)
NixOS_GitHub has left #nixos []
<srhb> hyper_ch: It does not use the overlays from there, specifically.
<hyper_ch> srhb: I have no idea how things work
ajp_ has quit [(Remote host closed the connection)]
<srhb> hyper_ch: I think that's an exaggeration :-)
<hyper_ch> that's my complaint with NixOS like forever... there's nowhere any info how things actually work
<srhb> Wow, okay.. :P
ajp has joined #nixos
<srhb> Perhaps you need to take a break and come back at this with less frustration.
<hyper_ch> I have no idea what this line in configuration.nix does. { config, pkgs, ... }:
<srhb> hyper_ch: If you don't, that's not for lack of information in the manuals.
<hyper_ch> up to today I have not yet found any resource explaining that
<hyper_ch> srhb: I've been looking at the manuals for a long time and there's a lack of information
<hyper_ch> there's so many things the manual just takes for granted that you're supposed to know
<srhb> Yes, but certainly not for what an attribute list or an argument is. :)
<srhb> Er, attribute set.
<hyper_ch> but nowhere info where that knowledge should come from
<srhb> That is a valid complaint. You should read all three manuals entirely to remedy that.
<hyper_ch> srhb: I've been looking at the manuals for a long time and there's a lack of information
vcunat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 4 new commits to master: https://git.io/vFwek
<NixOS_GitHub> nixpkgs/master d500b84 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master e876aa4 Peter Simons: ghc: bump 8.2.2 pre-release to rc3
<NixOS_GitHub> nixpkgs/master 56a4c37 Peter Simons: git-annex: fix sha256 hash after upstream update
NixOS_GitHub has left #nixos []
<mekeor> hyper_ch: there are (at least) three manuals by the way. nix, nixpkgs, nixos.
<mekeor> hyper_ch: why not try installing zfsUnstable with nix-env?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #31498: WIP: language-c: add hack to deal with _Float128 in glibc (master...c2hs-fix) https://git.io/vFaX9
NixOS_GitHub has left #nixos []
<srhb> You must also have the overlay in the user nixpkgs then, by the way :)
Wizek_ has joined #nixos
<mekeor> srhb: "then"? when?
<srhb> s/then/in that case/ -- I'm not a native English speaker, sorry.
<mekeor> in which case? :D sorry, i couldn't follow :D
<sphalerite__> is nix-env broken on nixUnstable for anyone else? None of the operations seems to succeed, but they're fine in nix-shell -p nix
<srhb> mekeor: When you're using nix-env, you're using the user's nixpkgs, not the system wide one.
<srhb> mekeor: (meaning the overlays in /etc/nixos/configuration.nix have no effect for nix-env)
<srhb> Normally :)
<srhb> I should probably say "system profile vs user profile"
<srhb> sphalerite__: i can attest that it's at least not totally broken here.
<srhb> sphalerite__: Whether it's broken for someone else, I don't know. :P
fendor has joined #nixos
michiel_l has quit [(Ping timeout: 240 seconds)]
michiel_l has joined #nixos
<mekeor> hyper_ch: you were using overrideAttrs before. why you changed?
<sphalerite> It just seems to fail to build the environment every time. This also happens on nixos-rebuild.
<mekeor> srhb: how to tell the user profile to respect the system profile's packages/overlays?
<sphalerite> I can consistently work around it using nix-shell -p nix
<srhb> mekeor: import the same overlays variable from the same file in both configuration.nix and config.nix
<hyper_ch> mekeor: still old copy in clipboard
<srhb> sphalerite: Confirmed. unexpected EOF reading a line
<ij> What should the default.nix for ruby contain? With "with (import <nixpkgs> {}); bundlerEnv rec {…", the nix-shell I invoke doesn't see rails or any of the "vendor/…/bin"s files.
<srhb> sphalerite: On current nixos-unstable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti created revert-28480-qt5 (+1 new commit): https://git.io/vFweA
<NixOS_GitHub> nixpkgs/revert-28480-qt5 c1c21cd Peter Simons: Revert "qt5: Add qtnetworkauth submodule"
NixOS_GitHub has left #nixos []
<sphalerite> srhb: I'm on nixos-17.09 with nixUnstable
<srhb> sphalerite: Can you switch off nixUnstable at least?
<hyper_ch> mekeor: error: selector ‘zfs’ matches no derivations error: selector ‘zfsUnstable’ matches no derivations
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti opened pull request #31528: Revert "qt5: Add qtnetworkauth submodule" (master...revert-28480-qt5) https://git.io/vFwvv
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vFwvJ
<NixOS_GitHub> nixpkgs/master 5e94dc8 Peter Simons: Merge pull request #31528 from NixOS/revert-28480-qt5...
NixOS_GitHub has left #nixos []
<sphalerite> srhb: yeah as a workaround I do nix-shell -p nix whenever I need to use nix-env (as nix-env seems to be the only thing that's affected)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti deleted revert-28480-qt5 at c1c21cd: https://git.io/vFwvT
NixOS_GitHub has left #nixos []
<sphalerite> Even nixos-rebuild works fine in that nix shell
<srhb> sphalerite: Great :) I can't see a report on this issue...
<FRidh> i have a similar issue with nix unstabl
<FRidh> nix-shell shebang doesn't seem to work
<hyper_ch> mekeor: so. no nix-env -i
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vFwvu
<NixOS_GitHub> nixpkgs/master d426e90 Vincent Laporte: ocamlPackages.camomile: 0.8.6 -> 0.8.7
<NixOS_GitHub> nixpkgs/master 0f144fe Vincent Laporte: libtorrent-rasterbar: set meta.platforms to Unix
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gazally opened pull request #31529: libusb1: 1.0.20 -> 1.0.21 (master...update-libusb1) https://git.io/vFwvg
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 258 seconds)]
vcunat has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #29788: Add xf86-input-cmt touchpad driver from GalliumOS (master...cmt) https://git.io/vdIuI
NixOS_GitHub has left #nixos []
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] woffs opened pull request #31530: shotcut: 17.09 -> 17.11 (master...shotcut-17.11) https://git.io/vFwfk
NixOS_GitHub has left #nixos []
<averell> i put this overlay in my configuration.nix: http://lpaste.net/3503934921095774208 which is a workaround from here: https://github.com/NixOS/nixpkgs/pull/31498 but there seems to be no effect. still same c2hs error, the package somehow isn't used?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b closed pull request #31376: libtom{crypt,math}: update to 1.18.0 and 1.0.1 resp. (master...pkg/libtom) https://git.io/vFRw9
NixOS_GitHub has left #nixos []
<srhb> averell: How are you testing this?
<averell> straight nixos-rebuild, which errors out
<srhb> averell: Wait, is that a haskell derivation?
<srhb> averell: Did you mean to override haskellPackages?
erictapen has joined #nixos
<averell> ah, yes most likely
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b closed pull request #31527: nix-bash-completions: 0.1 -> 0.2 (master...nix-bash-completion-fix) https://git.io/vFVhL
NixOS_GitHub has left #nixos []
orivej has joined #nixos
<srhb> haskellPackages = super.haskellPackages.extend (selfhs: superhs: { language-c = ...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 2 new commits to master: https://git.io/vFwfK
<NixOS_GitHub> nixpkgs/master 5e98876 Robert Helgesson: perl-Encode: 2.78 -> 2.93
<NixOS_GitHub> nixpkgs/master f1caf10 Robert Helgesson: perl-Config-Grammar: 1.11 -> 1.12...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] danbst opened pull request #31531: tortoisehg: fix license dialog (master...mercurial-licence-fix) https://git.io/vFwfM
NixOS_GitHub has left #nixos []
drakonis has joined #nixos
<averell> thanks, it built past that point at least :) although for some reason i had to specify super.haskell.lib.dontcheck instead of super.dontcheck. same for the overrideCabal.
bennofs has quit [(Ping timeout: 250 seconds)]
simukis has quit [(Quit: simukis)]
simukis has joined #nixos
<srhb> Right.
<hyper_ch> fpletz: online?
<Turion> Does any of you develop with ghcjs? If yes, is there a way to install ghcjs-base system-wide?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/vFwUt
<NixOS_GitHub> nixpkgs/master 462b5e0 John Wiegley: coqPackages.mathcomp: 1.6.1 -> 1.6.4, for Coq versions 8.6 and 8.7
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #31532: enlightenment: 0.21.10 -> 0.22.0 (master...upd.enlightenment) https://git.io/vFwUC
NixOS_GitHub has left #nixos []
<taohansen> if i'm just using Nixpkgs, how do i install Firefox Quantum?
<srhb> taohansen: Which one is that again?
<srhb> 57?
<manveru> taohansen: firefox-beta-bin
asuryawanshi has joined #nixos
<rnhmjoj[m]> isn't quantum the project to gradually replace the engine in firefox with servo?
<manveru> no idea what the difference is between firefox-beta and -bin, but that's what i use
<srhb> manveru: There isn't a firefox-beta, afaik
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/vFwUh
<NixOS_GitHub> nixpkgs/release-17.09 4587b7e Matthew Bauer: SDL: try disabling sdltest on darwin...
NixOS_GitHub has left #nixos []
<taohansen> manveru: thanks so much
<taohansen> srhb: yeah 57
<manveru> ah, ok :)
<taohansen> oh there isn't?
<srhb> There is a firefox-beta-bin as manveru said
<srhb> There's no firefox-beta though
<taohansen> got it, thanks
<taohansen> oh i can see there is also a devedition bin
<taohansen> perfect
amfl has quit [(Read error: Connection reset by peer)]
amfl has joined #nixos
jmc_fr has joined #nixos
ryanartecona has joined #nixos
asuryawanshi has quit [(Ping timeout: 268 seconds)]
ryanartecona has quit [(Client Quit)]
<taohansen> `nix-env -qaP --arg config '{ allowUnfree = true; }' | nix-env -iA --arg config '{ allowUnfree = true; }' firefox-devedition-bin` results in ` `error: attribute ‘firefox-devedition-bin’ in selection path ‘firefox-devedition-bin’ not found`
vcunat has joined #nixos
<taohansen> pipe unnecessary, same result
<taohansen> must have mistyped, works now. apologies for command-spam
codygman has quit [(Quit: Page closed)]
<rnhmjoj[m]> is there a way to use `nix-copy-closure` or `nix copy` without signing packages? i'm connecting via ssh to another machine i control so i don't care about it.
jb55 has joined #nixos
<gchristensen> connect to the remote as a trusted-user (usually root)
<srhb> Oh, nice.
<srhb> Signing is changing in 1.12, isn't it?
<rnhmjoj[m]> gchristensen: what makes a user trusted? I have root login via ssh disabled and i'd rather not change this.
<gchristensen> the trusted-user option in nix.conf
seppellll has joined #nixos
sphalerite__ has quit [(Ping timeout: 260 seconds)]
<rnhmjoj[m]> gchristensen: thanks.
bennofs has joined #nixos
<srhb> I'm wondering if a simple solution for nix managed secrets could be hacked together once 1.12 lands. I'm thinking an auxiliary store that's locked away from everyone but root.
<srhb> That way, systemd units could substitute in from those..
rogue_koder has joined #nixos
hariel has quit [(Ping timeout: 260 seconds)]
hariel has joined #nixos
wolfcub has quit [(Ping timeout: 260 seconds)]
alhariel has quit [(Ping timeout: 260 seconds)]
alhariel has joined #nixos
wolfcub has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
seppellll has quit [(Ping timeout: 248 seconds)]
joncfoo has quit [(Ping timeout: 268 seconds)]
<srhb> sphalerite: I don't think it's a Nix issue. I've gone back to mid-october now and it's still an issue.
<srhb> sphalerite: Must be somewhere else...
<srhb> Or well, maybe some assumption is made by Nix that changed in nixos somehow.
<srhb> (Or the upstream sources?)
<jmc_fr> I've just (re-)installed nixos in a VBox, and at the end of nixos-install I somehow screwed up and my root password do not match. So I'm out of nixos-install with no password set up : Is there a way to recover this ? Or do I have to re-install ?
lassulus has quit [(Ping timeout: 240 seconds)]
<srhb> jmc_fr: Restart the installer, mount your system again, nixos-install --root /mnt --chroot, run passwd to set the password, reboot again
jb55 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #31534: CODEOWNERS: exclude lib/maintainers.nix (master...patch-7) https://git.io/vFwL8
NixOS_GitHub has left #nixos []
<jmc_fr> ok. currently I have falled to root : do I have to restart ?
<srhb> jmc_fr: Sorry, i did not understand that. Can you rephrase?
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
lassulus has joined #nixos
<jmc_fr> srhb: whet do you mean with "restart the installer" ? I'm currently in the installer, as root, just out of nixos-install
<jmc_fr> *what
<srhb> jmc_fr: Oh, nixos-install just finished?
<srhb> jmc_fr: You can just rerun nixos-install then. :)
<jmc_fr> srhb: you mean "nixos-install --root /mnt --chroot" ?
<srhb> jmc_fr: If you _just_ finished nixos-install, just rerun it without arguments again.
betaboon has joined #nixos
<betaboon> is the human maintaining nixops in here ?
<jmc_fr> Yes /just/ finished, but what do you mean with _just_ ? I want to avoid the whole install
<srhb> jmc_fr: It won't have to redownload everything.
<srhb> But yes, otherwise you can just do nixos-install --root /mnt --chroot and then passwd
<srhb> It won't make much difference, afaik.
<jmc_fr> ok, going to try... I'll tell you ;-)
<srhb> betaboon: I don't think a single human maintains nixops.
hexamod has joined #nixos
<jmc_fr> OK, re-running nixos-install is very quick : thanks
<srhb> jmc_fr: Yeah, should be :-)
<betaboon> srhb: let me rephrase: asside from creating a github-issue is there a way to ask in here if someone could create a nixos-17.09-nixops-virtualbox-vmdk ? :P
<srhb> betaboon: Hmm, is there a nix file to do that?
<betaboon> srhb: ah yeah there is a script in the nixops-repo in the "maintainer" directory. and it works just fine. just when using nixops to deploy to virtualbox it still seems to fetch the 16.09 base image
<srhb> betaboon: Looks like there is. Where can I upload it?
<srhb> Oh..
<betaboon> srhb: but as can be seen in that script, it is uploading to a s3 bucket. which is fine. but i can't do :P
<betaboon> so question is, who can ? :P
<betaboon> listening to myself, i should just open an issue ...
<betaboon> and be a good citizen
<srhb> Basically yes :-P
<betaboon> just sometimes i fall back into the mindset of hanging with a couple of ppl in an irc channel, just doing everything there :P
<srhb> It's very comfy, admittedly!
ambro718 has joined #nixos
<sphalerite> Meh, I have huge amount of mouse lag when I run games using primusrun
<srhb> sphalerite: Are you running a compositor at the same time?
<srhb> Not sure if that will help, but get general performance problems when running compton and primusrun something at the same time
<betaboon> so i just tried the nix-docker approach for running nixops on a macbook deploying into a virtualbox. still not working ...
_c_ has left #nixos ["-"]
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
drakonis has quit [(Read error: Connection reset by peer)]
<srhb> betaboon: Perhaps if you provide a more detailed description of what you did and how it fails, someone might be able to help.
<srhb> (Probably not me, since macs are mysterious to me.)
<betaboon> srhb: just preparing a simple usecase and description of what i did.
<srhb> Cool :)
Dr8128 has joined #nixos
<sphalerite> srhb: yeah I think so (plasma desktop). Would that cause it?
<srhb> sphalerite: I'm not sure about the cursor, really. I think it's worth a try.
jmc_fr has quit [(Ping timeout: 248 seconds)]
kaba has joined #nixos
<mbrgm> is there a way to inject something into /run/current-system/sw/bin from a nixos module?
<the-kenny> mbrgm: of course, you can just add stuff to environment.systemPackages.
<mbrgm> the-kenny: so when I want to add a wrapper script to that path, I'd have to create a derivation for it first, right?
<the-kenny> mbrgm: iirc there is some sort of utility function that will create a derivation from an executable for you. But generally: yes
<kaba> Hi, how can I help test the gnome 3.26 branch? I started building the git branch but it takes an eternety, than I saw that there is a hydra job compiling it, but I don't know much about hydra, could you please help me point to some place where I can get more info on it?
<mbrgm> the-kenny: ok. thx!
<mbrgm> I'm going to look for that utility function
<the-kenny> mbrgm: check trivial-builders.nix
<the-kenny> so for inline stuff you can use `writeShellScriptBin`
<mbrgm> that would be fine already. :)
<the-kenny> this takes two arg `name` and `text`, the former being the script name, the latter being its source :)
<mbrgm> ty!
<the-kenny> mbrgm: also note that you can also reference stuff from a nixos module directly. Just do something like `${pkgs.foo}/bin/your-program` in your ExecStart or whereever
<srhb> kaba: I think we used to be able to use hydra.nixos.org as a binary cache.
<the-kenny> This will insert the full path directly, without making it globally accessible
<srhb> kaba: If that's still possible, that should suffice to help you out.
<srhb> Oh, or are they copied directly to cache.nixos.org now?
<mbrgm> the-kenny: that's what I'm doing already in the module (for gnu mailman). however, I'd like to add a wrapped `mailman` executable to the path, which passes the proper config file option to the actual mailman executable, so the shell can be used without having to lookup the config file location in the service definition
<srhb> kaba: In that case, everything that is available on hydra should already be available to you.
<the-kenny> mbrgm: sounds reasonbable
<kaba> srhb: O, I see, thank you. But for some reason it's still compiling something huge right now :/
<mbrgm> the-kenny: writeShellScriptBin cannot directly be added to the systemPackages... what would be the bare minimum way to turn its result into a 'package' type?
<srhb> kaba: Are you sure it's built on hydra then?
<kaba> srhb: https://github.com/NixOS/nixpkgs/pull/29392 , vcunat's comment says so, linking to here: https://hydra.nixos.org/jobset/nixpkgs/gnome
<the-kenny> mbrgm: Did you wrap it in parentheses? environment.systemPackages = [ (writeShellScriptBin ...) ]?
<the-kenny> writeShellScriptBin evaluates to a normal derivation, so you should be able to add it to systemPackages
<mbrgm> the-kenny: awww snap ^^
<mbrgm> parenthesis ;)
* the-kenny does Clojure for his day job
<vcunat> srhb: cache.nixos.org is popluated after each single build
<the-kenny> I'm used to those!
<vcunat> (and it's no longer possible to use hydra.nixos.org as the cache, IIRC)
<gchristensen> (that is correct)
joncfoo has joined #nixos
<kaba> vcunat: But there are already compiled (gnome 3.26 branch) packages stored in the cache, aren't there?
<vcunat> yes, everything on hydra should go to cache immediately, as far as I understand
<kaba> If I create a git clone of jtojnar's repo, and use it as nixpkgs path, do I have to do anything else to make nix download what it can from the cache? Sorry, I don't quite understand how does nix looks for caches, should I add a separate channel as well?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4587b7e7dd (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<vcunat> no, you don't
nix-gsc-io`bot has quit [(Client Quit)]
<vcunat> (need to do anything else)
jmeredith has quit [(Quit: Connection closed for inactivity)]
<kaba> vcunat: Thank you, then appearently that package that takes so long is not yet compiled in hydra :(
<vcunat> kaba: have you mentioned some particular packages affected by this?
<vcunat> kaba: BTW, it's revision 2c447923caf1de787cbe24b5ef2995efffddc4ee, right?
<kaba> I didn't catch a glimpse of what took so long to compile unfortunately. I try it again, and will tell if I'm stuck at it
<kaba> vcunat: Yes it is
bennofs has quit [(Ping timeout: 240 seconds)]
<kaba> vcunat: Oo, sorry, I think I just messed up my local git repo and wasn't at this revision before. It's built now :)
<vcunat> :-)
kaba has quit [(Quit: Page closed)]
<srhb> vcunat: I see you commented on one of the pcre issues. I think if we switch over to external pcre, we should include one of the pcre tests somewhere. Can we do per-package nixos tests yet, or should I just add it to nixos/tests ?
<srhb> (especially since we now know that the cli php and apache module may behave differently)
<vcunat> srhb: well, there was a plan from Profpatsch about tests, presented a few weeks ago at NixCon, but I suppose that's not ready yet
<vcunat> srhb: what does it test?
<vcunat> libpcre itself, or its combination with php?
kaba has joined #nixos
<vcunat> if it's nothing too big, it might be good to just do them within check phase of a package
<srhb> vcunat: My test essentially enables services.httpd, serves a small php file from it and curls against that to see that pcre_match works
<srhb> Er, preg_match
<srhb> Whatever it's called.. :-P
<vcunat> right, so that looks like the nixos tests
<srhb> Yep.
<vcunat> I'd put it there, and perhaps include them in the channel-blocking sets
<srhb> vcunat: Alright, thanks for the feedback. :)
<vcunat> maybe I'd make a comment in the package expression that there's a test
<srhb> I will do that.
<vcunat> One of the arguments on NixCon was about the tests being often too far from the tested stuff.
hexamod has joined #nixos
<srhb> I saw the talk. I agree with that point. I'm looking forward to better package-near infrastructure :)
<vcunat> Yes. Encouraging more automated tests will help the community.
asuryawanshi has joined #nixos
<gchristensen> I like that we caught 2 eval errors today within 20min of them being introduced
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #31535: make-disk-iamge: add compressed option to compress qcow2 images (master...compress-qcow2) https://git.io/vFwYp
NixOS_GitHub has left #nixos []
b has quit [(Quit: Lost terminal)]
asuryawanshi has quit [(Ping timeout: 240 seconds)]
bennofs has joined #nixos
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to gcc-7: https://git.io/vFwOd
<NixOS_GitHub> nixpkgs/gcc-7 1862b77 Vladimír Čunát: Merge branch 'staging' into gcc-7
<NixOS_GitHub> nixpkgs/gcc-7 3610d63 Vladimír Čunát: gcc-7: sync some parts of expression from gcc-6...
NixOS_GitHub has left #nixos []
nh2 has quit [(Read error: Connection reset by peer)]
<lejonet> Hmmm, what could cause the wantedBy variable to not be honored in a service file? I've double checked that the wantedBy assignment I have in mine is the same as other, similar services, at systemd.services.sheepdog.wantedBy, but I don't see wantedBy in the service file that was created by the derivation
nh2 has joined #nixos
<lejonet> hence I can't enable that service :/
<lejonet> should it be in systemd.services.sheepdog.serviceConfig?
zzamboni has joined #nixos
<srhb> lejonet: Yeah
<lejonet> srhb: I'll move it then, thanks :)
<srhb> Wait, no.
acarrico has joined #nixos
<srhb> systemd.services.name.wantedBy is right. How are you concluding it's not working?
<lejonet> that systemctl enable tells me that there is no WantedBy in the service file, which I confirmed by looking at the service file referenced in vim
<lejonet> I can see all the other things, like wants, after, description and such, but no WantedBy
<srhb> lejonet: What did you set the value to?
<lejonet> wantedBy = [ "multi-user.target" ];
<srhb> Time to paste some snippets of your definitions then. Seems all right so far.
<lejonet> one moment then :)
jmc_fr has joined #nixos
<srhb> lejonet: Sorry, I don't spot any errors.
zzamboni has quit [(Quit: Leaving.)]
<lejonet> srhb: damnit, me neither, yet nixos doesn't agree with us :P
python476 has quit [(Quit: moronedhqrd)]
<bgamari> gchristensen, what expression is used to build the ARM installer images?
<srhb> lejonet: If you can share a branch, I guess I can take a peek.
<srhb> Might not help though :p
<lejonet> srhb: should be at github.com/lejonet/nixpkgs, branch sheepdog :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #31537: lkl: 2017-10-18 -> 2017-11-10, make-disk-image: do not fake time for cptofs (master...lkl) https://git.io/vFwsO
NixOS_GitHub has left #nixos []
python476 has joined #nixos
phreedom has quit [(Remote host closed the connection)]
<srhb> lejonet ls /etc/systemd/system/multi-user.target.wants shows sheepdog.service just fine
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vFws6
<NixOS_GitHub> nixpkgs/master f6655ba Vladimír Čunát: bootstrap tools test: fixup after d71833ee36
NixOS_GitHub has left #nixos []
fendor has quit [(Read error: Connection reset by peer)]
<lejonet> srhb: hmm, weird, I have that too, but there is no wantedBy in the service file, and trying to do it manually gets it to spew out nonsense
<lejonet> let me restart the server and see if it brings it up automatically, if so, its a moot issue
<srhb> Maybe you're doing something that doesn't make sense.
<srhb> Everything looks right to me :)
Turion has quit [(Quit: Leaving.)]
<lejonet> Well, yes, it probably doesn't make sense to try and enable it manually
<lejonet> and it makes sense that nixos itself makes the symlink instead of relying on systemctl enable, because all that does is the symlink
<lejonet> hence no need to actually write WantedBy in the service file
<srhb> lejonet: And /etc/static is a nix store path, so not writable.
<lejonet> Mhm
<srhb> Yes, I think everything is working as intended :)
phreedom has joined #nixos
<lejonet> Restarting the server now to test
<lejonet> As you said, it probably is working as intended :)
zzamboni has joined #nixos
<betaboon> so here is a writeup of my macos+nix+nixops+virtualbox oddysee: https://gist.github.com/betaboon/b239ce3730d0ba99e6c0b60bdaab8977 i would be thankful for any ideas. (cc srhb)
nh2 has quit [(Read error: Connection reset by peer)]
<srhb> betaboon: Hm.. Sorry, no idea how that nix docker thing would work. I've given up making Virtualbox work even on NixOS, but of course I also have a kvm alternative, which I guess you do not...
<betaboon> srhb: i am successfully running nixops and deploy containers into a local virtualbox on my nixos machine. it's a breeeze.
<betaboon> but now it's time to replicate my setup on a coworkers machine... a macbook..
<gchristensen> nic!
<gchristensen> nice!
<LnL> cool! :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b opened pull request #31538: libsmbios: 2.3.2 -> 2.3.3 (master...pkg/libsmbios) https://git.io/vFwGG
NixOS_GitHub has left #nixos []
<betaboon> LnL talking of the devil xD
<LnL> funny thing is that I've barely use that image myself
<betaboon> LnL i can report, starting it (using your script) still works out of the box.
<LnL> don't even remember why I made it :)
<lejonet> srhb: it does indeed try to start it at startup, so there is no actual issue :P
<betaboon> so it brings me further than the mentioned virtualbox-script.
<lejonet> srhb: now to try and get it to stop being stupid and crash sometimes because the daemon doesn't write a pidfile fast enough
<LnL> should probably update it to work with the daemon
<lejonet> maybe just forget about forking mode and put it as foreground -.-
<betaboon> LnL: do you have any idea what could be the issue ?
<LnL> oh, thought it worked
p4cman has quit [(Quit: Connection closed for inactivity)]
<LnL> can you paste the output of nix-info
Dr8128 has left #nixos []
<betaboon> LnL: the script and running that docker-build container. that works. but the part of using nixops to deploy a virtualbox-machine using that docker build container does not.
<betaboon> LnL: there is no nix-info on that macos machine oO
<LnL> nix-shell -p nix-info --run nix-info :)
<betaboon> yeah. stupid me. its in the gist now :P
<LnL> as for the deployment try nixops set-args --argstr system x86_64-linux
<LnL> but I don't think the script works for multi-user installs
<lejonet> Hmm, setting up stuff in the limits.conf or limits.d, how would I do that on nixos? security.pam.loginLimits doesn't seem to be what I want, or is it?
<betaboon> LnL: i sadly don
<betaboon> argh.... i sadly dont have access to the macos machine right now.
<betaboon> i havent quite understood the difference between multi-user and single-user install yet. and why exactly it seems to be a problem with these kinda things.
markus1189 has quit [(Remote host closed the connection)]
<LnL> for single user you can configure distributed builds with an environment variable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b pushed 2 new commits to master: https://git.io/vFwZI
<NixOS_GitHub> nixpkgs/master b2c2944 Christopher Singley: nzbget.service override nzbget.conf broken paths with current derivation
<NixOS_GitHub> nixpkgs/master 1503409 Renaud: Merge pull request #30943 from csingley/nzbget...
NixOS_GitHub has left #nixos []
<LnL> with a mutli-user install it has to be configured for the daemon
zzamboni has quit [(Quit: Leaving.)]
<betaboon> LnL: so the NIX_REMOTE_SYSTEMS which is being set by your script, has no effect on multi-user setup?
<LnL> yeah
<LnL> and because of that it's also hard to enable/disable it temporeraly
<betaboon> i see. so even if i would get the virtualbox script running (or use a regular nixos-virtualbox) i would still run into that problem
<LnL> with nix 1.12 there's --option builders, that makes it a lot nicer
<betaboon> is it feasible to convert the nix-setup on the macos to a single-user setup ? oO
<betaboon> LnL: would that 1.12 feature solve the current problems ?
<betaboon> and when is 1.12 scheduled for release ?
zzamboni has joined #nixos
<betaboon> how do you configure teh daemon to use distributed build. i find the manual confusing in that section. I'm assuming NIX_BUILD_HOOK ? oO
<jmc_fr> is there a `locate' natively in nixos ? or how do I get it work ?
<vcunat> betaboon: 1.12 isn't scheduled
<vcunat> yet
orivej has quit [(Ping timeout: 240 seconds)]
<LnL> betaboon: this is my launchd config https://gist.github.com/e617d3f40dce45c437d43b2c5af3c3b4
<Profpatsch> vcunat: Yes, I haven’t come around to formatting a PR yet.
<Profpatsch> I can’t promise anything, but tomorrow might be possible.
<Profpatsch> At least as WIP.
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<vcunat> The question about package tests just reminded me of it, but I don't think you need to hurry with the PR.
jb55 has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Quit: Leaving.)]
oleks has quit [(Quit: leaving)]
<betaboon> LnL: I'm lost at what to do with that :P
<betaboon> all i can notice is that it differs heavily from the one on my machine running nix-1.11.15 :P
oleks has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
patrl has joined #nixos
leothrix has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
leothrix has joined #nixos
zzamboni has joined #nixos
vcunat has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Ping timeout: 240 seconds)]
hiratara has joined #nixos
<betaboon> LnL: in your launchd config: does the presence of NIX_REMOTE_SYSTEMS there demonstrate how to configure remote-build with nix-daemon ?
<betaboon> is that what I
<betaboon> 'm looking at ?
<c0bw3b> jmc_fr : https://nixos.org/nixos/options.html#services.locate.enable
Arcaelyx_ has joined #nixos
<c0bw3b> jmc_fr and you may have to manually create /var/cache // cf issue #17397 on github
<lejonet> Hmm, what is the easiest way to handle optional options to be added to a command string in a service?
<lejonet> Now I kindof wish that sheepdog had support for a config file :/
<rnhmjoj[m]> can anybody finish reviewing this? https://github.com/NixOS/nixpkgs/pull/30516
<rnhmjoj[m]> i need eduroam at uni
zzamboni has quit [(Quit: Leaving.)]
Arcaelyx has quit [(Ping timeout: 240 seconds)]
<LnL> betaboon: yeah, if you add the environment variables from the script like that and configure ssh for root instead of your current user it should work
<lejonet> Ah, found it, ${optionalString () '' ''} :D
erictapen has quit [(Ping timeout: 248 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
dywedir- has joined #nixos
<rnhmjoj[m]> c0bw3b: thank you
nixos1022 has quit [(Ping timeout: 260 seconds)]
tommyangelo has quit [(Remote host closed the connection)]
tommyangelo has joined #nixos
<c0bw3b> rnhmjoj[m] i'm running a quick nox-review but getting the same merge conflict as the failed travis job
<c0bw3b> rnhmjoj[m] have you been able to test it?
<betaboon> LnL: as i currently only have access to a macbook that does not support docker i would have to go with a virtualbox. using the demo vmdk from the website. enabling ssh on that machine and ensure that root has passwordless ssh-root-access to that machine combined with the plist changes should work ?
<rnhmjoj[m]> c0bw3b: in fact i have been using it for a while on my laptop. it's possible i have to rebase the patch
<c0bw3b> rnhmjoj[m] github doesn't report any conflict but just in case, can you please rebase on master?
<rnhmjoj[m]> c0bw3b: sure, just a moment
nh2 has joined #nixos
<lejonet> Hmm, how do I make an optional assertion (yes, that is quite an oxymoron) as in, I want to add an assertion if a certain option has been set, because I have 2 options where if you set one, you have to set the other too
_c_ has joined #nixos
kaba has quit [(Quit: Page closed)]
mkoenig has joined #nixos
<symphorien> assert option1 -> option2
<LnL> betaboon: distributed builds only need ssh and nix so yes
<symphorien> not sure about the exact syntax though
<lejonet> ah, so { assertion = option1 -> option2; message = "darp"; } might work?
<betaboon> LnL: thanks for clearing that up. maybe you just gave me the missing link in form of that plist. I'll report back
nixos1022 has joined #nixos
mkoenig_ has quit [(Ping timeout: 248 seconds)]
<lejonet> symphorien: atleast for pkgs assert option1 -> option2 condition; seems to be valid, but this is a service file :/
<rnhmjoj[m]> c0bw3b: ok, rebased. there wasn't any conflict
<lejonet> symphorien: ah, you weren't too far off then
zzamboni has joined #nixos
<c0bw3b> rnhmjoj[m] ok thanks I'll just peek at what travis says then I merge, it's been tested anyway
Intensity has quit [(Ping timeout: 246 seconds)]
<symphorien> but yes I was initially thinking of pkgs...
<lejonet> symphorien: understandable :)
erictapen has joined #nixos
patrl has quit [(Quit: WeeChat 1.9.1)]
nixos1022 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b closed pull request #30516: nixos/wireless: add manual network configuration (master...wireless) https://git.io/vdSHg
NixOS_GitHub has left #nixos []
ssmike has joined #nixos
Itkovian has joined #nixos
radvendii has joined #nixos
Intensity has joined #nixos
hiratara has quit [(Remote host closed the connection)]
hiratara has joined #nixos
orivej has joined #nixos
drakonis has joined #nixos
bennofs has quit [(Ping timeout: 268 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b opened pull request #31542: lftp: 4.8.2 -> 4.8.3 (master...pkg/lftp) https://git.io/vFwlR
NixOS_GitHub has left #nixos []
radvendii has quit [(Quit: WeeChat 1.9.1)]
erictapen has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #31543: noto fonts and tools: update to newer tagged releases (master...noto-fonts-2017) https://git.io/vFwlQ
NixOS_GitHub has left #nixos []
hexamod has joined #nixos
ahmad has joined #nixos
<ahmad> Hi all, (probably) noob question here. I'm trying to override a package to get a version from git. To do this, I need to also enable the autoconf hook.
<ahmad> However, when trying to build, I get: error: undefined variable ‘autoreconfHook’ at /etc/nixos/configuration.nix:80:31
<clever> ahmad: add autoreconfHook to the buildInputs
<ahmad> This is what I have in my configuration.nix:
<ahmad> @clever, have done that
<ahmad> I guess I need to import the hook somehow
asuryawanshi has joined #nixos
jmc_fr has quit [(Ping timeout: 240 seconds)]
<tilpner> ahmad - Notice how you have to do "pkgs.fetchgit"? pkgs contains fetchgit, and also autoreconfHook
<symphorien> try pkgs.autoreconfHook and pkgs.pkgconfig as well
<symphorien> or with pkgs; [ ... ]
<benley> you also may want to use overrideDerivation rather than overrideAttrs
<tilpner> benley - Can you explain why?
<ahmad> So, if I try pkgs.autoReconfHook, I get another import error, let me see...
<avn> src is job for overrideAttrs
<benley> I'm looking for the docs about that - I mostly just remember that overrideDerivation is the new shiny way of doing it
<ahmad> error: undefined variable ‘pkgconfig’ at /etc/nixos/configuration.nix:80:51
<avn> ahmad: autoreconfHook, not autoReconfHook
<tilpner> benley - I think you got it wrong, overrideAttrs is newer IIRC
<benley> oh wait, ignore me. I had it backwards.
<benley> yeah, sorry :)
<ahmad> ^ is what I get with pkgautoreconfHook
<ahmad> @avn yup, typed it wrong here but not on the box :)
<rnhmjoj[m]> I think it should be `nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ ... ];`
asuryawanshi has quit [(Ping timeout: 268 seconds)]
<ahmad> oh wow, thanks all
<ahmad> Had to use pkgs.pkgconfig :)
<ahmad> Now I get a build error but I'd call that progress
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ssmike has quit [(Ping timeout: 248 seconds)]
vcunat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vmchale opened pull request #31544: init specdris at 2017-11-11 (master...master) https://git.io/vFw4g
NixOS_GitHub has left #nixos []
nh2 has quit [(Ping timeout: 240 seconds)]
<ahmad> @rnhmjoj[m] The concatenation works for buildInputs but not nativeBuildInputs, weirdly
<rnhmjoj[m]> ahmad: what is exactly that is not working?
<ahmad> ok so when I try the concat with nativeBuildInputs, eg.:
<ahmad> nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ pkgs.autoreconfHook ]
<ahmad> (with a semicolon at the end of course)
<ahmad> I get:
<ahmad> error: attribute ‘nativeBuildInputs’ missing, at /etc/nixos/configuration.nix:80:29
<ahmad> Whereas the form in my gist linked above works
c0bw3b has left #nixos []
<rnhmjoj[m]> ah, ok. it's probably just the package didn't define nativeBuildInputs in the first place.
<ahmad> But maybe not in the channel I'm using?
<ahmad> Mystery solved, thanks!
<rnhmjoj[m]> it was added two months ago
<lejonet> How do I repress the default behaviour of changing a comma-separated list into a space-separated one in a optionalString? I have ${optionalString (cfg.journalDir != "") ''-j dir=${cfg.journalDir},size=${cfg.journalDirSize}''} that turns into -j dir="thing" size="other thing" instead of -j dir="thing",size="other thing"
servator has joined #nixos
python476 has quit [(Read error: Connection reset by peer)]
<gchristensen> lejonet: I don't think optionalString does that
<rnhmjoj[m]> lejonet: I tried in nix-repl and it didn't happen
<rnhmjoj[m]> all optionalString does is `if cond then string else ""`
servator has quit [(Ping timeout: 248 seconds)]
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
vcunat has quit [(Ping timeout: 264 seconds)]