<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23734: ace: 6.3.3 -> 6.4.2 (master...ace) https://git.io/vyoIo
<eacameron> Is nix smart enough not to download dependencies for running the tests in a Haskell package when I deploy the app to a server with nixops?
<LnL> I'm pretty sure those are only build time dependencies
wangoe has quit [(Ping timeout: 256 seconds)]
wangoe has joined #nixos
digitus has quit [(Quit: digitus)]
roygbiv has joined #nixos
<ndowens08> clever: hey I put in that foo = foo.override { stdenv = clangStdenv } and gives undefind variable foo, so i created { foo, clangStdenv }: and then gives called without required argument ‘clangStdenv
<clever> ndowens08: can you gist all of the involved files?
<ndowens08> Error: No such file or directory @ rb_sysopen - /home/ndowens/nixpkgs/nox-review lol figures
<ndowens08> oen sec
Rizy has joined #nixos
<clever> ndowens08: ah, can you gist the config.nix also?
thc202 has quit [(Quit: thc202)]
<clever> yeah, that wont work at all
<ndowens08> ah figures lo
<eacameron> LnL: Ah ok that's very cool
<ndowens08> lol*
<clever> config.nix doesnt get those argments, and its completely invalid
<clever> ndowens08: one sec
<clever> ndowens08: this defines a function for applying overrides, and it will modify the foo package to use clang instead of gcc
<ma9e> is there a way to manage python packages outside of pip? like AUR's python packages
jsgrant- has quit [(Ping timeout: 240 seconds)]
<ndowens08> clever: attribute foo missing lol
<clever> yeah, foo has to be replaced with the name of the package you want to override
<ndowens08> ah darn lol
<LnL> ma9e: we have a bunch in the pythonPackages attribute, eg. nix-shell -p pythonPackages.cryptography
<ma9e> nice, thanks!
Rizy has quit [(Quit: Rizy)]
ericsagnes has joined #nixos
ma9e has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vyoqG
<NixOS_GitHub> nixpkgs/master 8d3c35a Tuomas Tynkkynen: SDL2_gfx: Fix non-x86 build
spluko has quit [(Ping timeout: 260 seconds)]
<samae> hey, anything I should know about `networking.supplicant`? The generated keeps failing to start with a "touch: cannot touch …" something in the /nix/store
wangoe has quit [(Ping timeout: 256 seconds)]
kampfschlaefer has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
estewei has quit [(Quit: Quit)]
<Ptival> would anyone be able to assist me in trying to use liquidhaskell under nix? it won't build because, through a chain of dependencies, it eventually requires concurrent-output-1.7.7, which has a directory<1.3 dependency
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23735: appstream: 0.9.5 -> 0.10.6 (master...appstream) https://git.io/vyomv
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23736: armadillo: 7.200.2 -> 7.800.1 (master...armadillo) https://git.io/vyomn
bennofs has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to staging: https://git.io/vyomw
<NixOS_GitHub> nixpkgs/staging fb4c43d Shea Levy: curl: Use CA bundle in nix default profile by default
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #23723: curl: Use CA bundle in nix default profile by default (staging...darwin-ca-bundle) https://git.io/vyrVX
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
<clever> samae: when i used wpa_supplicant, i just manualy copied a pre-existing config to /etc/wpa_supplicant.conf, and it just worked
markus1189 has joined #nixos
mudri has quit [(Ping timeout: 246 seconds)]
markus1199 has joined #nixos
<mythmon> Is there a trick to using tox? I tried to use `nix-shell -p tox`, and it fails to import virtualenv, one of its dependencies
<clever> samae: looks like all i did was networking = { wireless.enable = true; enableB43Firmware = true; }; and manualy poppulated /etc/wpa_supplicant.conf
<ndowens08> gonna have to figure how to expand this ext4 partition, i am at 58% usage
<clever> mythmon: did you try libtoxcore?
<mythmon> er, make that -p pythonPackages.tox
<clever> ndowens08: what is the ext4 fs ontop of?
<mythmon> clever: sorry, different tox
<clever> mythmon: pythonPackages.tox builds on my copy of nixos-unstable
markus1209 has quit [(Ping timeout: 240 seconds)]
<ndowens08> clever: what ya mean? if you mean like if I have other OSes and yes, freebsd, windows
<mythmon> it builds fine. it just doesn't work when it runs
<clever> ndowens08: is the ext4 on a partition or lvm or luks?
<mythmon> or rather, i'm not building it
<ndowens08> clever: neither, just reg
<clever> mythmon: ah
markus1219 has quit [(Ping timeout: 246 seconds)]
<clever> ndowens08: can you pastebin "df -h" ?
mudri has joined #nixos
<clever> ndowens08: looks like its on a normal partition, what does "fdisk -l /dev/sda" say?
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #23737: chromium: 56.0.2924.87 -> 57.0.2987.98 [Security] (master...update-chromium) https://git.io/vyoYO
<ndowens08> yea i have several EFIs lol, but to me safer
<Ptival> I guess my question should rather be: where does nix-shell figure out what the version of the hackage packages to use is?
<ndowens08> one of the linux part. was arch but no more
<clever> ndowens08: only options for resizing the ext4 in sda5 is to either delete/shrink partitions that come after it, or move it to a new drive
roygbiv has quit [(Quit: ™)]
<clever> Ptival: it gets that from the nixpkgs in $NIX_PATH usually
<Ptival> clever: ah I see, but I tend to use the nixpkgs in my clone in ~/nixpkgs, so I should set nix.nixPath in my config to point to that?
<clever> Ptival: or use -I nixpkgs=/home/clever/nixpkgs when running nix-shell
<Ptival> clever: but my default nix path points to some old revision that I don't even use
<clever> Ptival: could change the default then
<Ptival> ah no, I still have a channel in my root nix-channel
<ndowens08> clever: iirc sda12 was arch , so would that work , guessing not
<Ptival> hmm, would it be a bad idea to remove all channels for root?
<Acou_Bass> eey folks, just a query - im building a package that uses CMake, and while it builds all good, running it fails with: IOError: [Errno 2] No such file or directory: '/usr/include/linux/input.h'
<Acou_Bass> weirdly it runs great if i install the nixpkg on a non-nixos distro
<clever> ndowens08: even if you delete sda12, you would need to move 6-11 down and out of the way
<Acou_Bass> is this just going to be as simple as adding the linux package as a dependency...? XD
<clever> ndowens08: and thats ~300gig you need to shift by 80gig
<clever> ndowens08: this kind of problem is why i was throwing everything on LVM when i learned of it
<clever> ndowens08: but now i just throw it all on zfs, heh
<nh2> Acou_Bass: if that path exists in your non-nix distro but not in nixos, that would explain it
<nh2> Acou_Bass: I haven't tried it but I suspect that it'll work if you add the appropriate linux headers package to buildInputs, as that will likely set the `-I` / INCLUDE_PATH so that it will manage to build
jsgrant- has joined #nixos
<ekleog> hmm, anyone knows if there is a way to set which channel nixpkgs is supposed to follow in configuration.nix? (yes, in my case it does make sense, I'm copying a nixos derivation on a freshly bootstrapped machine with no channel set and would like to have a channel available rightaway without special configuration)
<ekleog> special kudos if there is also a way to know what is the channel the current machine works on, but here I don't have much hope
<Acou_Bass> nh2: turns out i already had pkgs.linux in the buildInputs... ill add headers too :P thanks!
Rizy has joined #nixos
octe has quit [(Ping timeout: 255 seconds)]
<Acou_Bass> hmm... ok so i added pkgs.linux and pkgs.linuxHeaders to both buildInputs AND in the LD_LIBRARY_PATH for the wrapper part and im still getting this error when running
pierron has quit [(Ping timeout: 260 seconds)]
<clever> Acou_Bass: what is the error?
pierron has joined #nixos
<Acou_Bass> sec ill pastebin :P
<clever> Acou_Bass: if the error says it cant find /usr/include/linux/input.h, then it probably isnt using the search path
<clever> if it was using the search path, it would have said <linux/input.h>
octe has joined #nixos
<clever> CHEAD = defines('/usr/include', 'linux/input.h')
<clever> it even says /usr/include right in the error
<Acou_Bass> hmm
<clever> Acou_Bass: so the problem, is that this code is ignoring the search path entirely, and just doing string concats to build a path
<clever> that works on 99% of linux systems
<Acou_Bass> that does add up - the daemon doesnt find libXfixes.so despite that being in the LD_LIBRARY_PATH too
dpren has quit [(Quit: Connection closed for inactivity)]
* Acou_Bass strokes beard
<Acou_Bass> so its probably hardcoded in the application itself
<clever> Acou_Bass: so the real question, is why the python code is trying to open the header file directly
<clever> and not calling a compiler to do the job
Rizy has quit [(Quit: Rizy)]
<Acou_Bass> hmm, there was one part of the .nix where i had to substituteinplace one of the python files to have $out/share/ rather than the hard-coded /usr/share
<Acou_Bass> probably a similar issue isnt it? =\
<clever> thats one way to handle it
<clever> substitute in ${linuxHeaders}/include/ maybe
<Acou_Bass> yah thats what ima try, as soon as i find which file it needs to go in :P
<clever> grep -r on the source
smw_ has joined #nixos
AllanEspinosa has joined #nixos
<smw_> so, clever did you ever find an sd card writer? :-)
<ndowens08> clever: yeah I like zfs but does nixos allow it during install?
<clever> ndowens08: 5 of my systems run with a zfs rootfs
<clever> ndowens08: one of them has zfs on lvm on luks
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23738: assimp: 3.2 -> 3.3.1 (master...assimp) https://git.io/vyosU
<ndowens08> hmm didnt know it could be installed on zfs initially
jsgrant- has quit [(Quit: Peace Peeps. o/ If you need me asap, message me at msg[at]jsgrant.io & I'll try to get back to you within 24 hours.)]
jsgrant- has joined #nixos
<Acou_Bass> hmm yepp, so the .py now has the linuxHeaders nix path to the input.h file... but i still get the same error Xd
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
<Acou_Bass> and i checked the nix path and the .h file is definitely there - however the running output still somehow references /usr/include/linux
the_scourge has quit [(Ping timeout: 260 seconds)]
mkoenig_ has joined #nixos
nh2 has quit [(Ping timeout: 258 seconds)]
pallav has quit [(Quit: pallav)]
AllanEspinosa has joined #nixos
contrapumpkin has quit [(Ping timeout: 260 seconds)]
pallav has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
derjohn_mob has quit [(Ping timeout: 260 seconds)]
mudri has quit [(Quit: WeeChat 1.7)]
mbrgm has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
derjohn_mob has joined #nixos
deepfire` has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
filterfish has joined #nixos
deepfire has quit [(Ping timeout: 240 seconds)]
deepfire` has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23739: aubio:0.4.1 -> 0.4.4 (master...aubio) https://git.io/vyoGM
systemfault has joined #nixos
Jackneill has quit [(Remote host closed the connection)]
alx741 has quit [(Quit: alx741)]
<NixOS_GitHub> [nixpkgs] ben-z opened pull request #23740: nodejs: 7.7.1 -> 7.7.2 (master...nodejs-7.7.2) https://git.io/vyoZz
spinus has quit [(Ping timeout: 256 seconds)]
iyzsong has joined #nixos
mkoenig_ has quit [(Quit: Lost terminal)]
marsam has joined #nixos
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23741: babl: 0.1.12 -> 0.1.24 (master...babl) https://git.io/vyons
marsam has left #nixos []
Wizek has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
Wizek_ has joined #nixos
k0001_ has quit [(Ping timeout: 240 seconds)]
hexagoxel has joined #nixos
Wizek_ has quit [(Max SendQ exceeded)]
eacameron has joined #nixos
Wizek_ has joined #nixos
<ndowens08> how do i set the location of a library for cmake? it is listed in buildinputs and ofc function line but says not found
eacameron has quit [(Ping timeout: 240 seconds)]
<ndowens08> makeLibraryPath didnt help
AllanEspinosa has quit [(Read error: Connection reset by peer)]
AllanEspinosa has joined #nixos
jsgrant- has quit [(Ping timeout: 240 seconds)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23742: bobcat: 4.02.00 -> 4.07.00 (master...bobcat) https://git.io/vyoCv
hexagoxel has joined #nixos
ndowens08 has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub> [nixpkgs] ben-z opened pull request #23743: emscripten 1.37.1 -> 1.37.3 (master...emscripten-1.37.3) https://git.io/vyoCR
griff_ has quit [(Ping timeout: 268 seconds)]
ertes has joined #nixos
mizu_no_oto has joined #nixos
jsgrant- has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
paperd has joined #nixos
paperd has quit [(Client Quit)]
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
systemfault has quit [(Quit: Bye!)]
endformationage has quit [(Quit: WeeChat 1.6)]
<NixOS_GitHub> [nixpkgs] gebner closed pull request #23743: emscripten 1.37.1 -> 1.37.3 (master...emscripten-1.37.3) https://git.io/vyoCR
spacekitteh has quit [(Remote host closed the connection)]
hexagoxel has quit [(Ping timeout: 256 seconds)]
zraexy has joined #nixos
hexagoxel has joined #nixos
<smw_> Is there documentation somewhere on using nix (the language) for non-nix (the package manager) related configs?
paperd has joined #nixos
endformationage has joined #nixos
iyzsong has quit [(Ping timeout: 240 seconds)]
endformationage has left #nixos []
jsgrant- has quit [(Ping timeout: 256 seconds)]
spacekitteh has joined #nixos
spacekitteh has quit [(Changing host)]
spacekitteh has joined #nixos
jsgrant_ has quit [(Quit: Peace Peeps. o/ If you need me asap, message me at msg[at]jsgrant.io & I'll try to get back to you within 24 hours.)]
smw_ has quit [(Quit: Computer has gone to sleep)]
smw_ has joined #nixos
<johnw> which attribute will install all of TeXlive's docs, including the PDFs?
smw_ has quit [(Ping timeout: 260 seconds)]
<johnw> hmm.. seems that even with inherit (texlive) scheme-full texdoc, packages like siunitx are installed, but not their docs
ericsagnes has quit [(Ping timeout: 260 seconds)]
filterfish has quit [(Ping timeout: 240 seconds)]
filterfish has joined #nixos
iyzsong has joined #nixos
stew has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
Wizek has quit [(Ping timeout: 246 seconds)]
Wizek_ has quit [(Ping timeout: 256 seconds)]
<taktoa> smw: you mean with `nix-instantiate --eval`?
<spacekitteh> so uh
<spacekitteh> does tor not start as a system service anymore?
hexagoxel has quit [(Ping timeout: 258 seconds)]
hexagoxel has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 9 new commits to master: https://git.io/vyo0V
<NixOS_GitHub> nixpkgs/master 4e0375c Franz Pletz: pidgin: 2.11.0 -> 2.12.0 for CVE-2017-2640...
<NixOS_GitHub> nixpkgs/master 12f3006 Franz Pletz: vim: 8.0.0329 -> 8.0.0442
<NixOS_GitHub> nixpkgs/master 051b3b3 Franz Pletz: libarchive: 3.2.2 -> 3.3.1
Rizy has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 3 new commits to master: https://git.io/vyo0y
<NixOS_GitHub> nixpkgs/master 0a72e45 ndowens: cgal: 4.7 -> 4.9
<NixOS_GitHub> nixpkgs/master cef420b vbgl: cgal: fix typo in license
<NixOS_GitHub> nixpkgs/master 8ef4cd9 Michael Raskin: Merge pull request #23733 from ndowens/cgal...
Rizy has quit [(Quit: Rizy)]
deepfire` has joined #nixos
johnsonav has quit [(Ping timeout: 246 seconds)]
deepfire` has quit [(Ping timeout: 258 seconds)]
derjohn_mob has quit [(Ping timeout: 256 seconds)]
sivteck has joined #nixos
sivteck has quit [(Max SendQ exceeded)]
filterfish has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to master: https://git.io/vyoEL
<NixOS_GitHub> nixpkgs/master 621e7a9 Franz Pletz: qemu: fetch vnc bugfix patch from debian...
<NixOS_GitHub> nixpkgs/master 323d0fd Franz Pletz: phpfpm module: set correct nixos sendmail path
<NixOS_GitHub> nixpkgs/master 7116144 Franz Pletz: batman-adv: 2016.5 -> 2017.0.1
Rizy has joined #nixos
oida has quit [(Quit: WeeChat 1.0.1)]
Jackneill has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 8 new commits to release-17.03: https://git.io/vyoEE
<NixOS_GitHub> nixpkgs/release-17.03 952e7f3 Franz Pletz: pidgin: 2.11.0 -> 2.12.0 for CVE-2017-2640...
<NixOS_GitHub> nixpkgs/release-17.03 57e693c Franz Pletz: lxc: add patch for CVE-2017-5985...
<NixOS_GitHub> nixpkgs/release-17.03 50586f2 Franz Pletz: linux: 3.12.70 -> 3.12.71...
simendsjo has joined #nixos
<sphalerite> c74d: thanks for the hints on ls btw!
<NixOS_GitHub> [nixpkgs] viric pushed 3 new commits to master: https://git.io/vyoEM
<NixOS_GitHub> nixpkgs/master a2737b1 Lluís Batlle i Rossell: vlock: improve eintr patch
<NixOS_GitHub> nixpkgs/master 8ac1343 Lluís Batlle i Rossell: bsc: init at 3.1.0...
<NixOS_GitHub> nixpkgs/master 7aa5eff Lluís Batlle i Rossell: lzham: init at 1.0...
hexagoxel has quit [(Ping timeout: 260 seconds)]
smw_ has joined #nixos
hexagoxel has joined #nixos
smw_ has quit [(Ping timeout: 260 seconds)]
k2s has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 6 new commits to release-16.09: https://git.io/vyoum
<NixOS_GitHub> nixpkgs/release-16.09 5aad6ec Franz Pletz: pidgin: 2.11.0 -> 2.12.0 for CVE-2017-2640...
<NixOS_GitHub> nixpkgs/release-16.09 d9785e5 Franz Pletz: lxc: add patch for CVE-2017-5985...
<NixOS_GitHub> nixpkgs/release-16.09 a18f122 Franz Pletz: linux: 3.12.70 -> 3.12.71...
k2s has quit [(Remote host closed the connection)]
<MichaelRaskin> k749gtnc9l3w4189n6fl8qww
k2s has joined #nixos
k2s has quit [(Client Quit)]
<socksy> hunter2
<sphalerite> :D
<socksy> anyone feel like some nixos evangelism?
jmeredith has quit [(Quit: Connection closed for inactivity)]
<socksy> there's this node package that was required by some work project, nodegit
<socksy> that failed to install on `npm install`
<socksy> turns out that the package includes libssh2 as a dependency, which it builds from scratch
<socksy> ok whatever, this works on NixOS
ninja_in_neopren has quit [(Quit: WeeChat 1.7)]
<socksy> but (and i have no idea if this is common in the NPM world, quite possibly) the library is included by having the source distribution of it in a /vendor folder
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vyouw
<NixOS_GitHub> nixpkgs/master 70b174d Franz Pletz: Revert "libarchive: 3.2.2 -> 3.3.1"...
<NixOS_GitHub> nixpkgs/master 7dfea0a Franz Pletz: youtubeDL: 2017.03.07 -> 2017.03.10
<socksy> and the maintainer ran autoconfig on his setup, generated the configure file, and include it in the source (not in the original source distribution for libssh2)
<socksy> of course, lots of /usr/bin references abound
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to staging: https://git.io/vyouo
<NixOS_GitHub> nixpkgs/staging bf6c90e Franz Pletz: libarchive: 3.2.2 -> 3.3.1
<socksy> so I make an issue in the repo, and now it's all "you're on your own on non-linux systems"
<socksy> "unixlike platforms" even
<socksy> so obviously i point out that nixos is a linux distro
<fpletz> socksy: have you checked if it can detect libssh2 and use it if installed on the system?
<fpletz> socksy: well, nixos does not conform to the linux filesystem hierachy standard :)
<socksy> the npm package or the configure file?
<socksy> sure, it's not LSB
<fpletz> you probably have to check both :)
<MichaelRaskin> Hm, using too many /usr/bin paths breaks on FreeBSD with probability close to one, too
<socksy> now he's moved the goal post to "Most probably /usr/bin/file has been standardized by POSIX"
<MichaelRaskin> WHAT
<socksy> yes.
<MichaelRaskin> (I have read SUS at some point)
<socksy> OS X is POSIX certified compliant ffs
<socksy> macOS i suppose these days
<socksy> anyhoo
<MichaelRaskin> Existence of `file` is indeed specified
<socksy> fpletz: it is probably possible, but the simpler fix is almost certainly just not commit the configure file and to have it run autoconfig, given the libssh2 package on nix is very simple https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/libssh2/default.nix
<MichaelRaskin> (wasn't sure, had to check)
<socksy> at /usr/bin?
<MichaelRaskin> I dunno, I guess quoting «Any of the standard utilities may be implemented as regular built-in utilities within the command language interpreter.» would be just trolling, right?
<MichaelRaskin> Of course not
<MichaelRaskin> I doubt SUS mentions /usr/ at all
<socksy> my guess is that proving him wrong will just make him move the goal posts over to the FHS
kampfschlaefer has joined #nixos
<samae> clever thanks for your answer
<fpletz> they even vendor openssl
<MichaelRaskin> Ouch ouch ouch
<samae> I'll try and make it work this way (I have a working supplicant.conf already)
<fpletz> and it looks like they use gyp to build those vendored packages and bypass the package-specific build systems?
<socksy> turns out that this library was so much of an issue for our company that they rewrote the tool in golang for static linking anyway, so at this point pursuing the conversation is mostly out of petty vindicativeness
oscarvarto has joined #nixos
<socksy> which to an extent i'm quite happy to do
<fpletz> this looks really fucked up to me… well, I guess for the cool nodejs kids this is normal today \o/
k2s has joined #nixos
k2s has quit [(Client Quit)]
<sphalerite> socksy: the FHS also doesn't specify where file should live. /bin would be just as appropriate
sivteck has joined #nixos
<socksy> hahaha
<socksy> ok
<sphalerite> Not only do they vendor OpenSSL, they vendor a one-year-old version
<oscarvarto> Hi! I'm new to NixOS. Trying to install something from nixpkgs. https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/dotnet-packages.nix
<socksy> sphalerite: would it be petty enough to open another issue about them vendoring libssl
<oscarvarto> I git cloned nixpkgs repository, then did `$ nix-build ./pkgs/top-level/dotnet-packages.nix` but it is not working
<socksy> oscarvarto: are you planning on modifying the package?
<MichaelRaskin> socksy: petty revenge would be to write an exploit and file an issue pretending you were hit by it
<socksy> ha.
<sphalerite> MichaelRaskin: I like your thinking.
<socksy> i wonder if anyone actually uses nodegit for something
<sphalerite> Or how about writing an exploit and finding a way to hit them with it? :D
<samae> clever: your simple solution just works, thanks again : )
<MichaelRaskin> sphalerite: now that may fall under criminal law
<sphalerite> oh yeah :/
<MichaelRaskin> And I think pretending to be hit by an exploit would actually be more damaging for the reputation
<sphalerite> Hm
<socksy> seems like it's the library they're using for axosoft's gitkraken, an electron/node app
<MichaelRaskin> Targeted hit, some details undisclosed, life happens. «I were owned just because you stupid people vendor a known-vulnerable OpenSSL what is wrong with you» — obvious violation of best practices which led to damage and is their obvious fault
<sphalerite> Wow, you're truly evil :D
<MichaelRaskin> Not really — this scheme would selfishly help me
<MichaelRaskin> I mean, I don't expect this bug to be useful for rooting smartphones by their lawful owners.
<MichaelRaskin> So no need to keep it in the wild
zarel has joined #nixos
<oscarvarto> socksy: Not right now. I am just trying to get started
<socksy> oscarvarto: then almost certainly you don't need to clone nixpkgs and run build directly just yet
roundhouse has joined #nixos
<oscarvarto> socksy, Well, then I don't know how to install https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/dotnet-packages.nix
<roundhouse> hi guys, is there any up to date documentation on how to create the signing keys for serving the nix store / copying a closure?
Jackneill has quit [(Quit: Leaving)]
<oscarvarto> I have added `nix-channel --add https://nixos.org/channels/nixpkgs-unstable`. Then tried with `$ nix-env -qaP '.*dotnet.*'`
[0x4A6F] has joined #nixos
<socksy> oscarvarto: do you want to install all of those packages? Check out what "nix-env -qaP | grep dotnet"
<socksy> i find the regex stuff a bit of a hassle
thc202 has joined #nixos
<socksy> then you can add the correct package in the packages part of your nixos with the name on the left side, so e.g. `dotnetPackages.FSharpFormatting'
[0x4A6F] has quit [(Ping timeout: 260 seconds)]
[0x4A6F] has joined #nixos
<oscarvarto> socksy, Thanks!
Rizy has quit [(Quit: Rizy)]
hexagoxel has quit [(Ping timeout: 258 seconds)]
hexagoxel has joined #nixos
<roundhouse> ok I figured it out; Is a pull that adds this information to the nix readme welcome?
<MichaelRaskin> Most welcome.
ericsagnes has joined #nixos
Rizy has joined #nixos
[0x4A6F] has quit [(Ping timeout: 256 seconds)]
[0x4A6F] has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F] has joined #nixos
<steveeJ> I'm wondering why I can't find a rust package that's defined here: https://github.com/rust-lang/crates.io-index/blob/d822c5853cb14caa5de84a71f6d4ed07ea5e31e1/ru/st/rustsym
<steveeJ> this commit is used by my local nixpkgs, yet this package is missing
civodul has joined #nixos
sivteck has quit [(Ping timeout: 240 seconds)]
<steveeJ> I'm not sure if I understand the rust/cargo workflow with nix correctly. is it possible to install a crate into the nix store?
bennofs has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to master: https://git.io/vyoaS
<NixOS_GitHub> nixpkgs/master 603b799 Linus Heckemann: Add removeReferencesTo for removing specific refs...
<NixOS_GitHub> nixpkgs/master a80e4d7 Linus Heckemann: syncthing: use removeReferencesTo
<NixOS_GitHub> nixpkgs/master 92b3b9b Joachim F: Merge pull request #23560 from lheckemann/precision-strike...
Rizy has quit [(Quit: Rizy)]
slyfox has quit [(Ping timeout: 268 seconds)]
Rizy has joined #nixos
slyfox_ has joined #nixos
<NixOS_GitHub> [nix] r-raymond opened pull request #1271: Document creation of signing keys for nix-store (master...patch-1) https://git.io/vyoVt
<NixOS_GitHub> [nixpkgs] PierreR opened pull request #23745: albert: fix #23710 (master...albert) https://git.io/vyoV3
Rizy has quit [(Quit: Rizy)]
lwf has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] aszlig pushed 3 new commits to master: https://git.io/vyoV9
<NixOS_GitHub> nixpkgs/master 1de5f1b aszlig: aqbanking/updater: Switch to HTTPS URL...
<NixOS_GitHub> nixpkgs/master 460c064 aszlig: aqbanking: 5.6.10 -> 5.6.12...
<NixOS_GitHub> nixpkgs/master e25f8f2 aszlig: gwenhywfar: 4.15.3 -> 4.17.0...
oscarvarto has quit [(Remote host closed the connection)]
Mateon2 is now known as Mateon1
<zetok> is there a way to enable debug symbols for all packages?
roundhouse has quit [(Remote host closed the connection)]
<zetok> + splitting & compressing them
mudri has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #23746: pythonPackages.parsedatetime: 2.1 -> 2.3 (fixes certbot) (master...fix-certbot) https://git.io/vyowS
apostolis has joined #nixos
simendsjo has quit [(Remote host closed the connection)]
alebatt has joined #nixos
Jackneill has joined #nixos
<alebatt> Hello ! I'm new with nix (on osx) and i'm trying to do a simple library like
<alebatt> running nix-build '<nixpkgs>' -A libfoo
<alebatt> i have error: attribute ‘libfoo’ in selection path ‘libfoo’ not found
<alebatt> i didn't have the ~/.nixpkgs/config.nix created, so i create the file, as the guy did in his tuto
<apostolis> It appears that the Nixos_Github bot sends a "^O" character in the channel. Firefox considers the last log as binary.
<alebatt> but it's wrote me a syntax error error: syntax error, unexpected '}', expecting ';', at /Users/albertlebatteux/.nixpkgs/config.nix:6:1
<apostolis> but it might be another reason, since previous logs also have that character.
<tilpner> alebatt - Yes, use packageOverrides = ... { ... };
JagaJaga has joined #nixos
<alebatt> awesome thank you ! :)
apostolis has quit [(Quit: WeeChat 1.7)]
<NixOS_GitHub> [nixpkgs] bachp closed pull request #23716: virtualbox: 5.1.14 -> 5.1.16 (master...virtualbox-5.1.16) https://git.io/vywxY
JagaJaga has quit [(Ping timeout: 260 seconds)]
MichaelRaskin has quit [(Quit: MichaelRaskin)]
k0001_ has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vyor7
<NixOS_GitHub> nixpkgs/master 3a4e237 Franz Pletz: qemu_test: don't apply patch for CVE-2016-9602...
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.03: https://git.io/vyorF
<NixOS_GitHub> nixpkgs/release-17.03 543eeae Franz Pletz: qemu_test: don't apply patch for CVE-2016-9602...
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-16.09: https://git.io/vyorb
<NixOS_GitHub> nixpkgs/release-16.09 067e66a Franz Pletz: qemu_test: don't apply patch for CVE-2016-9602...
ixxie has joined #nixos
<mbrgm> the-kenny: you're using gnuradio/osmosdr on nixos, right?
<mbrgm> at least I got the impression from the irc logs ;)
<mbrgm> how did you manage that gnuradio-companion finds the osmo source block?
justbeingglad has joined #nixos
justbeingglad has left #nixos []
mudri has quit [(Ping timeout: 260 seconds)]
apostolis has joined #nixos
peterhoeg has quit [(Remote host closed the connection)]
anddam has joined #nixos
<anddam> hello
ninja_in_neopren has joined #nixos
Rizy has joined #nixos
<Mic92> gchristensen: any feature request you have for https://github.com/flyingcircusio/vulnix ? I am currently on the same conference with him.
<Mic92> (him == the maintainer of this project)
<apostolis> irc/freenode] 2:#nixos(+ct){476}
<apostolis> [apostolis(i)] [apostolis(i)] nix inherit
<apostolis> sorry about that , trying to paste some nix code.
xvapx has joined #nixos
oscarvarto has joined #nixos
Jackneill has quit [(Ping timeout: 246 seconds)]
<alebatt> Why cc is working and gcc is not ? how can i import gcc
Wizek has joined #nixos
Wizek_ has joined #nixos
<alebatt> i tried to add them in the config nix and/or the default.nix of the library
xvapx has quit [(Client Quit)]
xvapx has joined #nixos
<sphalerite> alebatt: you should probably be using $CC if you're not using a build system. Otherwise the build system should find the $CC environemnt vairbale
<sphalerite> - typos
<alebatt> i need to put it on the first line where { stdenv gcc }
<alebatt> ?
mudri has joined #nixos
Rizy has quit [(Quit: Rizy)]
<alebatt> it's on my makefile, and my project are all using gcc, i can't afford to change that ... :/
<NixOS_GitHub> [nixpkgs] globin pushed 3 new commits to release-17.03: https://git.io/vyo6t
<NixOS_GitHub> nixpkgs/release-17.03 ae81e79 Gregor Kleen: das_watchdog: fix service type...
<NixOS_GitHub> nixpkgs/release-17.03 8106e0f Joachim Fasting: pythonPackages.pep257: meta.lecense -> license...
<NixOS_GitHub> nixpkgs/release-17.03 ead8fb7 Joachim Fasting: vndr: meta.licence -> license...
<alebatt> sphalerite: can i add the gcc packet into the build ?
<alebatt> just tried buildInputs = [ gcc ]; not working .. :/
<sphalerite> alebatt: gcc is already in stdenv so it shouldn't be necessary.
iyzsong has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
<sphalerite> just change your makefile to use the environment variable CC
<sphalerite> if you're using implicit rules it should work that out itself
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vyo6Z
<NixOS_GitHub> nixpkgs/master 91bbd73 Robin Gloster: suil-qt5: fix build
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vyo6c
<NixOS_GitHub> nixpkgs/release-17.03 1712e58 Robin Gloster: suil-qt5: fix build...
justbeingglad has joined #nixos
<yorick> fpletz: can you update linux-firmware again sometime soon? I'd like to get some of the newer kaby lake stuff in it
justbeingglad has left #nixos []
Rizy has joined #nixos
<fpletz> yorick: sure, I can do it right now :)
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vyo6V
<NixOS_GitHub> nixpkgs/master d6d7968 Robin Gloster: lightdm_qt: fix build
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vyo6w
<NixOS_GitHub> nixpkgs/release-17.03 e60ab0c Robin Gloster: lightdm_qt: fix build...
<apostolis> How could I build this package?
<apostolis> I see that it is a function that needs to be provided with some attributes.
xvapx has quit [(Remote host closed the connection)]
<yorick> apostolis: pkgs.callPackage ./default.nix {}
<yorick> or maybe pass it 'pkgs', that *might* work
<apostolis> I do not know the basics
<apostolis> The first I put in the file.
<apostolis> The second in the command line?
<apostolis> or not?
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vyo6S
<NixOS_GitHub> nixpkgs/master a241abf Tuomas Tynkkynen: Revert "stdenv: aarch64 is also ARM"...
frigate_freedom has joined #nixos
johnsonav has joined #nixos
nh2 has joined #nixos
<nh2> fpletz: I saw you are a tinc package maintainer, how do you use the config at https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/networking/tinc.nix to define which machines are in the network?
<frigate_freedom> Hello guys!
<frigate_freedom> I'm novice in NixOS. Trying to install emacs with ess.
<frigate_freedom> Created emacs.nix with the text from example on wiki, but i don't know, how to add there ess.
<frigate_freedom> Wil be very thankful to any help =)
<yorick> apostolis: nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}' (untested)
<Yaniel> frigate_freedom: what does your code look like right now?
<NixOS_GitHub> [nixpkgs] butterflya opened pull request #23747: Delete invalid option (master...patch-1) https://git.io/vyo6b
<frigate_freedom> Yaniel: http://pastebin.com/7c6xF1Et just copypaste from wiki
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vyoie
<NixOS_GitHub> nixpkgs/release-17.03 56f3c6b Robin Gloster: msilbc: fix build...
spinus has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vyoik
<NixOS_GitHub> nixpkgs/master c3c6953 Franz Pletz: firmwareLinuxNonfree: 2017-02-06 -> 2017-03-11...
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.03: https://git.io/vyoiI
<NixOS_GitHub> nixpkgs/release-17.03 907a1f0 Franz Pletz: firmwareLinuxNonfree: 2017-02-06 -> 2017-03-11...
<yorick> fpletz: thank you!
edwtjo has quit [(Ping timeout: 258 seconds)]
revtintin has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to release-17.03: https://git.io/vyoiY
<NixOS_GitHub> nixpkgs/release-17.03 68cc97d Tuomas Tynkkynen: linux_testing: 4.10-rc7 -> 4.11-rc1...
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-16.09: https://git.io/vyoiO
<NixOS_GitHub> nixpkgs/release-16.09 d8ead53 Franz Pletz: firmwareLinuxNonfree: 2016-07-12 -> 2017-02-06...
<NixOS_GitHub> nixpkgs/release-16.09 26424ee Franz Pletz: firmwareLinuxNonfree: 2017-02-06 -> 2017-03-11...
<Yaniel> frigate_freedom: so that's basically just concatenating lists of packages
<Yaniel> figure out which category the package you want falls into and add it to the corresponding list here
wak-work has quit [(Ping timeout: 246 seconds)]
<frigate_freedom> Yaniel: I want to instal ess, but seems, that it's not regular emacs package, thats why I don't know, how to add it
<fpletz> yorick: I had to fix #22365 anyway :)
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vyoiB
<NixOS_GitHub> nixpkgs/master 0a7673d aszlig: qemu_test: Rebase force-uid0-on-9p.patch...
<fpletz> nh2: you can use the host option, that's an attribute set of the host config
<NixOS_GitHub> [nixpkgs] joachifm opened pull request #23748: Use removeReferencesTo (master...use-remove-references-to) https://git.io/vyoi2
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<Yaniel> frigate_freedom: emacs packages are special in some way? dunno then
<apostolis> "emptry attribute name in selection path"
<NixOS_GitHub> [nixpkgs] butterflya opened pull request #23749: Enable openldap support for Evolution (master...patch-2) https://git.io/vyoi1
wak-work has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 4 new commits to master: https://git.io/vyoiD
<NixOS_GitHub> nixpkgs/master 3051daf Marius Bakke: pythonPackages.pyudev: 0.16.1 -> 0.20.0
<NixOS_GitHub> nixpkgs/master 4aaf27b Marius Bakke: pythonPackages.ds4drv: 0.5.0 -> 0.5.1...
<NixOS_GitHub> nixpkgs/master 61edb1c Joachim Fasting: pythonPackages.pyudev: 0.20.0 -> 0.21.0...
alx741 has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #23739: aubio:0.4.1 -> 0.4.4 (master...aubio) https://git.io/vyoGM
mizu_no_oto has joined #nixos
<frigate_freedom> Yaniel: there is no ess package in MELPA and ELPA, official cite suggest to install it via package manager (for Fedora, Ubuntu, Debian and CentOS) or build from source
<Yaniel> but your paste has an example "From main packages set" where it has pkgs.notmuch
<Yaniel> pkgs is basically the root package list
<apostolis> How can I find which attribute is empty?
ilyaigpetrov has joined #nixos
<frigate_freedom> Yaniel: there is no package called ess at https://nixos.org/nixos/packages.html
<frigate_freedom> I don't know, how to name this package to install
<Yaniel> nix-repl knows about pkgs.emacsPackages.ess
<Yaniel> at least on unstable
<Yaniel> this appears to be the package you linked
<apostolis> frigate_freedom : I managed to install it with M-x package-install
<apostolis> I got emacs25
exarkun has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] butterflya opened pull request #23750: Cleanup maintainer script gnome.sh (master...patch-3) https://git.io/vyoPy
steshaw has quit [(Quit: Connection closed for inactivity)]
ndowens08 has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm opened pull request #23751: Electrum 2 8 (master...electrum-2_8) https://git.io/vyoPF
<frigate_freedom> Yaniel: thank you!
<frigate_freedom> now another problem with building emacs.nix, will try to fix it (can not build jxy-font-lock+.el because sha summs mismatch)
<frigate_freedom> apostolis: from Melpa?
<apostolis> new to emacs. i think it was elpa
nmattia has joined #nixos
exarkun has joined #nixos
<nmattia> hi guys! I'm struggling to do something that should be very easy
<nmattia> I see that the `nightly.nix` file (function? derivation?) takes a `targets` argument, but I'm not sure how I can actually use it in my setting
<nmattia> do I have to copy the whole `rust/...` subdirectory if I want it to be overriden for a nix-shell?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
blahdodo has quit [(Ping timeout: 260 seconds)]
<apostolis> elpa/ess-20170227.802
<srk> error: infinite recursion encountered, at undefined position
<srk> :D
<srk> it builds though
eacameron has joined #nixos
danharaj has joined #nixos
k0001_ has quit [(Ping timeout: 260 seconds)]
<oscarvarto> Hello! Need some help to install a haskell package. I am trying `$ stack --nix install zlib` and I am getting `* Missing (or bad) header file: zlib.h`
nh2 has quit [(Quit: Leaving.)]
<nmattia> oscarvarto: do you have zlib in your stack.yaml?
<nmattia> (or local shell.nix?)
deepfire` has joined #nixos
<ndowens08> How stable do you guys think btrfs is now
frigate_freedom has left #nixos []
<oscarvarto> So, yes. I have [ zlib ] in my global stack.yaml (as a nix configuration)
<oscarvarto> I am trying to build https://github.com/begriffs/haskell-vim-now
<NixOS_GitHub> [nixops] AmineChikhaoui opened pull request #621: Fixing #620 (master...fix-620) https://git.io/vyo1e
<nmattia> oscarvarto: can you copy the relevant parts of your global stack yaml so that I can try?
<oscarvarto> nmattia, Should I use a paste service?
<nmattia> yeah that'd be easier
apostolis has quit [(Quit: WeeChat 1.7)]
<nmattia> oscarvarto: and you don't have a stack.yaml in the current directory, right?
<oscarvarto> nope
eacameron has quit [(Remote host closed the connection)]
<nmattia> oscarvarto: looks like it's happened before: https://groups.google.com/forum/#!msg/haskell-stack/_ZBh01VP_fo/0v4SxPw7GwAJ
eacameron has joined #nixos
frigate_freedom has joined #nixos
<sphalerite> nmattia: No, you shouldn't need to copy the rust directory to override stuff
<sphalerite> shouldn't need to copy anything in fact
<sphalerite> What exactly do you want to override, and where?
<nmattia> sphalerite: I want to add `targets` to the `rustc` derivation, as seems to be possible in nightly.nix
smw_ has joined #nixos
<sphalerite> Alright, and where do you want to use the result of that override?
<nmattia> in a nix-shell
<nmattia> so I was quite proud already when I got the basic rustc working in the shell :p
ixxie has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #23753: neomutt: 20170128 -> 20170306 (master...neomutt) https://git.io/vyoMk
cfricke has joined #nixos
c0ff33 has joined #nixos
<c0ff33> Hi guys, anyone using keybase?
deepfire` has quit [(Ping timeout: 256 seconds)]
zarel has quit [(Ping timeout: 264 seconds)]
[0x4A6F] has quit [(Read error: Connection reset by peer)]
[0x4A6F] has joined #nixos
<chattered> Does anyone use fcron?
<sphalerite> nmattia: then put in your shell something like with import <nixpkgs> ; rustNightly.override {targets = [stuff];}
<sphalerite> c0ff33: I used keybase a while back
<nmattia> sphalerite: it works!
<nmattia> so easy
<nmattia> silly me.
<sphalerite> :)
<c0ff33> sphalerite: Is actual version of keybase client in nixpkgs able to connect to service for you?
<ertes> is there a way to override the default GHC locally?
elon1 has joined #nixos
<c0ff33> sphalerite: I'm talking about nixos-unstable channel
<sphalerite> c0ff33: it didn't when I tried it from nixos-16.09 because it wasn't the latest version
Rizy has quit [(Quit: Rizy)]
<chattered> ertes: packageOverrides in your config.nix?
<c0ff33> sphalerite: The same for me. I installed keybase at 16.09 but it was in 10.0.17, then I upgraded to unstable because as I checked on nixpkgs GitHub there is 1.0.18 (newest one) there
<c0ff33> sphaletie: But my keybase is still 1.0.17 and I'm curious what I did wrong
<sphalerite> have you run nix-env -iA nixos.keybase again?
<c0ff33> I installed keybase by configuration.nix
[0x4A6F] has quit [(Quit: Quit)]
<sphalerite> have you done nixos-rebuild switch --upgrade?
<c0ff33> Yup
[0x4A6F] has joined #nixos
<NixOS_GitHub> [nixpkgs] jerith666 opened pull request #23754: pfixtools: patch for unbound API change (master...pfixtools-unbound) https://git.io/vyoMp
nh2 has joined #nixos
<NixOS_GitHub> [nixpkgs] jerith666 opened pull request #23755: krfb: expose kde 5 version (master...krfb) https://git.io/vyoDv
<c0ff33> I just tried to install keybase for my user by nix-env
<c0ff33> And it failed with conflicting packages
<c0ff33> That's it for conflict less operating system :P
frigate_freedom has left #nixos []
<kriztw> c0ff33: usually when I get conflicts it's because I have e.g. both wireshark in systemPackages and programs.wireshark.enable = true
[0x4A6F]_ has joined #nixos
<c0ff33> kriztw: I'm rechecking my config right now
<kriztw> Those wiresharks might be different, and nixos has no way of knowing which you'd prefer
<c0ff33> kriztw: but I think that my system resolves wrong package for keybase
[0x4A6F] has quit [(Ping timeout: 260 seconds)]
[0x4A6F]_ is now known as [0x4A6F]
smw_ has quit [(Quit: Computer has gone to sleep)]
smw_ has joined #nixos
<kriztw> c0ff33: I'm on unstable, and I just did nix-env -iA nixos.keybase and I get version 1.0.18
<c0ff33> kriztw: Thanks for info. My keybase is in environment.systemPackages and after nixos-rebuild switch --upgrade from 16.09 -> unstable its version is 10.0.17
<kriztw> c0ff33: remember you need to do sudo nix-channel --add, not nix-channel --add
<kriztw> as you need to set unstable as the system channel, not user channel
<kriztw> for switch to work
<kriztw> if sudo nix-channel --list says nixos https://nixos.org/channels/nixos-unstable then it should work
<c0ff33> kriztw: It says so, just checked
apostolis has joined #nixos
<kriztw> Hmm, maybe system.stateVersion = "17.03"? Not sure what that changes though
smw_ has quit [(Client Quit)]
<c0ff33> kriztw: It is system.stateVersion = "unstable"
<kriztw> maybe you have the old keybase in your user environment? does nix-env -qs have keybase in it?
eacameron has quit [(Remote host closed the connection)]
<c0ff33> Man...
<c0ff33> How come?
<c0ff33> It is here
<c0ff33> I wiped all user-installed packages before upgrade
<c0ff33> Ok, will remove this crap and check once again
eacameron has joined #nixos
<c0ff33> Thank you
<kriztw> np, glad I found the problem :D
marsam has joined #nixos
<kriztw> That's why I try to avoid using nix-env -i
<c0ff33> I think I installed it by nix-env to troubleshoot
<c0ff33> And it stuck there for some reason
<c0ff33> I think that -s switch does the trick
<kriztw> I try to use nix-shell -p for temporary packages
<c0ff33> Sorry for dumb question, I'm kinda new to whole nix idea
<kriztw> To not clog up my environment
<c0ff33> Nice tip, thanks
<c0ff33> Now it is 1.0.18
<c0ff33> Thank you very much
<clever> c0ff33: stateVersion doesnt do what you think
<apostolis> I am new to nixos. I am trying to install the master branch of agda at https://github.com/agda/agda but I fail.
<c0ff33> clever: What do you mean?
<clever> c0ff33: stateVersion doesnt control what version of nixos you get
eacameron has quit [(Ping timeout: 268 seconds)]
<clever> c0ff33: it tells nixos what version the state on your hdd is in, so pgsql and similar dont break from upgrades
<c0ff33> clever: Yeah, nix-channel does that
<c0ff33> clever: Sorry to say but I really don't understand this idea
<c0ff33> clever: but I have little to none db experience
<NixOS_GitHub> [nixpkgs] dezgeg opened pull request #23756: channel.nix: Use filterSource to exclude unnecessary files from nixpkgs (master...pr-filtersource) https://git.io/vyoyv
<c0ff33> clever: So to estabilish some good practice - when I'm on unstable nixos.stateVersion should be on some version? Like 17.03
<clever> brb
<NixOS_GitHub> [nixpkgs] butterflya opened pull request #23757: evolution:configure script refers to /usr/bin/file (master...patch-4) https://git.io/vyoSt
cfricke has quit [(Ping timeout: 240 seconds)]
anddam has left #nixos ["WeeChat 1.8-dev"]
blahdodo has joined #nixos
endformationage has joined #nixos
alx741_ has joined #nixos
alx741_ has quit [(Client Quit)]
alx741_ has joined #nixos
alx741_ has quit [(Client Quit)]
nh2 has quit [(Ping timeout: 260 seconds)]
alx741 has quit [(Ping timeout: 246 seconds)]
alebatt has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub> [nixpkgs] butterflya opened pull request #23758: hydra-eval-failures.py: Remove Python 2 specific syntax (master...patch-5) https://git.io/vyoSF
<shlevy> niksnut: ping
<shlevy> niksnut: Getting a protocol mismatch using build-remote against a 1.11 ssh store that only allows "nix-store --serve" as the command
<joachifm> c0ff33: stateVersion is mostly for modules to use internally, I think
<NixOS_GitHub> [nixpkgs] butterflya opened pull request #23759: debian-patches.sh: clean up maintainer script (master...patch-6) https://git.io/vyo9J
systemfault has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
jsgrant- has joined #nixos
fhoffmeyer has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub> [nixpkgs] butterflya opened pull request #23760: Dockerfile: Use a more recent nix/cleanup (master...patch-7) https://git.io/vyo9G
<clever> c0ff33: and the whole point of stateVersion, is so nixos knows which version you originaly installed
<clever> c0ff33: changing stateVersion will break the things it was meant to protect
bennofs has quit [(Ping timeout: 256 seconds)]
oscarvarto has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23761: dashpay: 0.12.055 -> 0.12.1.3 (master...dashpay) https://git.io/vyo9X
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #23580: dashpay: 0.12.055 -> 0.12.1.3 (master...dashpay) https://git.io/vyBFM
elon1 has quit [(Ping timeout: 246 seconds)]
<NickHu> Does nixos use grub or systemd-boot?
<Dezgeg> it's up to user to choose
<ndowens08> Is BTRFS considered safe now? also use to be a issue with partition filling faster with btrfs vs others, is it still that way
<NickHu> I followed the install guide in the manual, but the bootloader sure doesn't look like grub...
* jsgrant- is waiting till 2020, for real, to switch to btrfs full-time; Hear way too many horror stories still.
<Dezgeg> the EFI default is systemd-boot
<jsgrant-> Also, when they start supporting swap.
<NickHu> I see. I was just confused because in my nixos configuration I have a line boot.loader.grub.device = "/dev/sda";
* LnL doesn't have any swap configured
<Dezgeg> that will probably be never as it's a copy-on-write filesystem and the kernel swap only does in-place writes
elon1 has joined #nixos
<jsgrant-> LnL: Don't seem to need it in KDE all-too-much, but GNOME would run through 8gb with not that much open ... :^P
<NickHu> Is there a way to have an encrypted /boot with systemd-boot?
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #23721: kcachegrind: init at 2017-02-25 (master...kcachegrind) https://git.io/vyr2F
<Dezgeg> probably not, that's EFI for you...
<NickHu> I suppose http://www.pavelkogan.com/2014/05/23/luks-full-disk-encryption/ only applies to BIOS boot I guess
<LnL> jsgrant-: that machine has 32 and I have room to double it :)
nmattia has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<jsgrant-> LnL: Main 'desktop'-rig is a ~4 y/o laptop; Could max it to 16 ... but at this point, considering buying a proper workstation by this time next year. That being said, not nearly as much of problem since switching to the aforementioned KDE.
<jsgrant-> Atom takes a lot of mem though.
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #23762: physlock: fix issue #21935 (master...physlock) https://git.io/vyoHR
<jsgrant-> If KDevelop starts supporting Rust ...maybe I'd make the switch; Starting to get more "okay" with webtech though finally.
batdog has quit [(Ping timeout: 268 seconds)]
fhoffmeyer has joined #nixos
frigate_freedom has joined #nixos
desktop has joined #nixos
bennofs has joined #nixos
olejorgenb has quit [(Quit: Lost terminal)]
batdog has joined #nixos
elon1 has quit [(Ping timeout: 258 seconds)]
estewei has joined #nixos
frigate_freedom has left #nixos []
apostolis has quit [(Quit: WeeChat 1.7)]
Wizek_ has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] ben-z opened pull request #23763: closurecompiler: 20160208 -> 20170218 (master...closurecompiler-20170218) https://git.io/vyoQc
Phlogistique has quit [(Ping timeout: 255 seconds)]
zarel has joined #nixos
elon1 has joined #nixos
frigate_freedom has joined #nixos
c0ff33 has quit [(Quit: Lost terminal)]
alebatt has joined #nixos
jsgrant- has quit [(Ping timeout: 256 seconds)]
<frigate_freedom> Hello again!
<frigate_freedom> I have another issue :(
<frigate_freedom> emacs crashes when I try to open file with error "GLib-GIO-ERROR **: No GSettings schemas are installed on the system"
<frigate_freedom> using google found just couple of issues on github with some other programms
<frigate_freedom> my system is NixOS 17.03 with kde5
avn has quit [(Ping timeout: 240 seconds)]
ertesx has joined #nixos
ertes has quit [(Ping timeout: 256 seconds)]
ertesx is now known as ertes
gk- has joined #nixos
gk- has quit [(K-Lined)]
gk- has joined #nixos
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
gk- has quit [(K-Lined)]
griff_ has joined #nixos
elon1 has quit [(Ping timeout: 256 seconds)]
zarel has quit [(Ping timeout: 260 seconds)]
rc1140 has left #nixos ["WeeChat 1.4"]
<globin> niksnut, ikwildrpepper: hydra seems to be down
marsam has quit [(Ping timeout: 264 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
apostolis has joined #nixos
jsgrant- has joined #nixos
<apostolis> I have an anonymous function with arguments like "mkDerivations, alex" etc.
<apostolis> It seems that callPackage should find the names and fill the arguments.
<Rotaerk> are mkDerivations, alex, etc arguments, or elements of a parameter that's a set?
<apostolis> It is a set that is an argument to a function. If I understand the syntax correctly
JagaJaga has joined #nixos
<apostolis> It doesn't find them. so I enclosed this function with another that provided the parent sets stdenv and haskellPackages.
<Rotaerk> might help if you pasted what you're talking about
<apostolis> I am trying to put this .nix file into the nixpkgs git clone I have in my directory.
<apostolis> nix-build complains that the anonymous function is not provided with the arguments.
<Rotaerk> also paste the place where you're trying to use it
<apostolis> I am following the uick start guide.
<apostolis> I am at step 5.
slack1256 has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.4)]
<Rotaerk> can you link your all-packages.nix
<slack1256> on the haskell package set, how can omit building the test of a package?
<slack1256> "how can I" sorry
<apostolis> agda-beta = callPackage ../development/complilers/agda {};
<Rotaerk> slack1256, look at nixpkgs/pkgs/development/haskell-modules/configuration-common.nix
<apostolis> If you want the whole file, I can provide it.
<Rotaerk> that's where overrides of the haskell packages are set, and there are some examples of it using "dontCheck", which I think disables tests
<Rotaerk> not sure though
<avn_nb> Folks, anyone have install media of nixos with zfs 0.7.0 built-in?
<Rotaerk> apostolis, oh wait, sorry, looking back at your default.nix, I see why you're having trouble
<apostolis> ?
<Rotaerk> the type of nix expressions that you put into all-packages.nix aren't the same as the ones that you generate with cabal2nix
<apostolis> ?
<Rotaerk> basically, there are expressions designed to be imported into all-packages.nix; they take parameters that can be filled in by all-packages.nix
<Rotaerk> the expressions defining haskell packages are designed to be imported into something else
eacameron has quit [(Remote host closed the connection)]
Laboon3k has joined #nixos
<NixOS_GitHub> [nix] domenkozar pushed 1 new commit to master: https://git.io/vyo52
<NixOS_GitHub> nix/master ae56884 Domen Kožar: Dockerfile: 1.11.2 -> 1.11.7
<Laboon3k> Hello, people! Can you help me?
<apostolis> ok, I will look into this chapter to find some information.
<Laboon3k> Here, Virtualbox can't open the dialogue window for select a ISO image file - except if I use root.
<Rotaerk> apostolis, it has to do with the fact that the ACTUAL derivation that's being put into all-packages must be GHC itself, and you have a new GHC derivation for every combination of haskell packages that you want to use
alebatt has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vyo51
<NixOS_GitHub> nixpkgs/master bd4285a Domen Kožar: Remove Dockerfile...
<NixOS_GitHub> [nixpkgs] domenkozar closed pull request #23760: Dockerfile: Use a more recent nix/cleanup (master...patch-7) https://git.io/vyo9G
<bennofs> apostolis: use haskellPackages.callPackage instead of callPackage if you want to use the haskellPackage's callPackage in all-packages
<apostolis> I do not know. It seems the same to me.
<bennofs> apostolis: just replace callPackage by haskellPackages.callPackage
<apostolis> There are other packages that are not haskell, like emacs.
eacameron has joined #nixos
<Rotaerk> bennofs, what does that do? create a ghc instance with JUST that package?
<bennofs> apostolis: you can pass them explictly, like: haskellPackages.callPackage ./path/to/pkg { inherit (pkgs) emacs; }
<bennofs> Rotaerk: no, it just takes the "callPackage" function from the haskellPackages set
<apostolis> ok, I will give it a try.
<Rotaerk> but what's the result of the derivation?
<bennofs> Rotaerk: the same as what callPackage would give you?
<bennofs> Rotaerk: it's just that the "scope" (where callPackage auto-fills the arguments from) is different, the result isn't changed by callPackage
frigate_freedom has quit [(Ping timeout: 260 seconds)]
<bennofs> Rotaerk: you can do haskellPackages.callPackage ({ mkDerivation }: 4) and the result is an int
Laboon3k has quit [(Quit: Leaving)]
<apostolis> Yea, I figured that the problem is with regards with the scope.
<bennofs> (well, perhaps not exactly since callPackage also adds some attributes to the result, so it expects the result to at least be a set, but that's about it)
<NixOS_GitHub> [nixpkgs] domenkozar closed pull request #23758: hydra-eval-failures.py: Remove Python 2 specific syntax (master...patch-5) https://git.io/vyoSF
<bennofs> this works though:
<bennofs> nix-repl> haskellPackages.callPackage ({ mkDerivation }: { x = 3; }) {}
<bennofs> { override = «lambda»; overrideDerivation = «lambda»; overrideScope = «lambda»; x = 3; }
<bennofs> Rotaerk: I think you were thinking of haskellPackages.ghcWithPackages, which is an entirely different function
xvapx has joined #nixos
<Rotaerk> well my concern is that putting a result from haskellPackages.callPackage into all-packages.nix wouldn't be a useful result
ndowens08 has quit [(Quit: WeeChat 1.7)]
<bennofs> Rotaerk: it is useful if the package builds a haskell executable
<Rotaerk> I thought you had to take the result of that and put it into something like... haskellPackages.override { overrides = self: super: { mynewpackage = self.callPackage ...; } }
<Rotaerk> or whatever
<bennofs> Rotaerk: that is necessary for libraries, so that other packages can depend upon your package
<avn_nb> Folks, what I try to do wrong? `error: attribute ‘system’ in selection path ‘config.system.build.isoImage’ not found`
<Rotaerk> oh I see; for an executable that requires haskell to *build*, you can just do it the way you were describing
<Rotaerk> hmm though now that I think about it, that's basically what I'm doing here: https://github.com/Rotaerk/windowTest/blob/master/default.nix
<Rotaerk> producing an overridden haskellPackages, and *then* simply calling haskellPackages.callPackage on my own project
<apostolis> Good news, everybody, it works, now it tries to download stuff.
<Rotaerk> heh
<apostolis> Unfortunately, my agda code depended on a beta version of agda, thus I had to install agda from git.
<Yaniel> does nix support version numbers like x.y-pre?
<LnL> as in name = "name-version"?
<Rotaerk> apostolis, what I linked above is pulling in several things from git
<Rotaerk> and one thing from hackage directly
<avn_nb> Folks, I need help with building zfs enabled install media, anyone can help?
<Yaniel> I'm (still) packaging renderdoc, and it's got some fixes since the last release, but the version number in the source has already been bumped.
<Yaniel> So I was thinking to publish it as version 0.34-pre since the last release is 0.33
<bennofs> Yaniel: anything after the first - component that starts with digit is considered a version by nix
<Yaniel> does it upgrade seamlessly from 0.34-pre to 0.34 then?
<bennofs> Yaniel: no idea what nix-env does tbh
<LnL> the version starts at the first dash separated part that starts with a digit
<LnL> but I don't know how the version order is dermined
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #23751: Electrum 2 8 (master...electrum-2_8) https://git.io/vyoPF
<avn_nb> `attribute ‘boot’ at /etc/nixos/nixpkgs/nixos/modules/installer/cd-dvd/zfsconf.nix:9:7 already defined at /etc/nixos/nixpkgs/nixos/modules/installer/cd-dvd/zfsconf.nix:8:7` Any ideas?
<avn_nb> Building iso looks like pure magic
<apostolis> Unfortunately, my agda code depended on a beta version of agda, thus I had to install agda from git.
<LnL> avn_nb: nix-build -I nixos-config=/src/nixpkgs/nixos/modules/installer/cd-dvd/iso-image.nix '<nixos/nixos>' -A config.system.build.isoImage
<avn_nb> LnL: yes, it what I doing
contrapumpkin has joined #nixos
<LnL> avn_nb: you can create a configuration.nix with the iso-image module in the imports and configure other stuff you wan in the iso
<avn_nb> adding zfs stuff in copied installation-cd-base.nix make that mess
<contrapumpkin> is cloudfront down?
<contrapumpkin> I'm getting 503s from it
<contrapumpkin> hitting S3 directly seemed to work
<avn_nb> I hit issue when grub unable boot from zfs, and need install media to boot up and fix stuff
mudri has joined #nixos
revtintin has quit [(Quit: WeeChat 0.4.2)]
<clever> avn_nb: ive only done it with an ext4 /boot, but i have seen a zfs option in grub
<clever> Dezgeg: zfs claims to support swap in zvols, and its also a cow filesystem
<clever> Dezgeg: but zfs is also pretty memory hungry, and allocating memory while swapping isnt a good idea
<Dezgeg[m]> but does it support swap to files?
<clever> havent tried a swap file
<clever> and because of the deadlock stuff ive heard about, my laptop is (swap + zfs) on lvm, on luks
<clever> i just trust lvm more with swap
contrapumpkin has quit [(Ping timeout: 260 seconds)]
michaelpj has joined #nixos
<avn_nb> clever: http://lists.science.uu.nl/pipermail/nix-dev/2017-January/022583.html it looks to be common problem. copykernels should fix it, but I need to boot for it ;)
apostolis has quit [(Quit: WeeChat 1.7)]
<clever> avn_nb: ah, sounds like /boot is still on zfs, but then grub doesnt have to deal with the insane size of /nix/store/
<clever> so grub is having trouble with some paths in zfs
<Yaniel> looks like 0.1pre counts as older than 0.1 so it'll be fine
jsgrant- has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
elon1 has joined #nixos
<avn_nb> clever: for more fun, everything works, until I turn of dedup in zfs, and enable store relinking
ndowens08 has joined #nixos
m0rphism has joined #nixos
m0rphism is now known as Guest7739
elon1 has quit [(Read error: Connection reset by peer)]
<clever> avn_nb: it might be that zfs dedups the /boot files and the originals in /nix/store, and grub cant handle that dedup
<clever> avn_nb: one option is to make /boot a seperate zfs filesystem within the same pool, then it can have dedup off
<ndowens08> 8582
<avn_nb> clever: I had recommendation turn off dedup, because ddt take more memory than I have
<avn_nb> clever: this (boot) problem caused by /nix/store relinking, not by dedup
<Yaniel> hnngh, setting multiple cmakeFlags in the preConfigure hook doesn't work nicely
<clever> Yaniel: how are you setting them?
<Yaniel> if do cmakeFlags+=("a" "b") only "a" ends up in the actual invocation
<clever> ah, if they are constant you can just set them at the nix level
<clever> cmakeFlags = [ "a" "b" ];
<Yaniel> the problem is that "b" includes $out
<clever> ah
<avn_nb> Yaniel: also keep in mind, that cmakeFlags not expand $out
<clever> could skip the bash array logic, cmakeFlags="$cmakeFlags --foo=$out";
<avn_nb> add preConfigure if you need $out magic
<clever> so when bash does this assignment, it expands the old flags and out
Wizek_ has joined #nixos
<Yaniel> or I could just do cmakeFlags+="--foo=$out"
<clever> may need a space at the start, but that should work
<Yaniel> which works, if I add a space at the beginning of the new argument, which hacky
<Yaniel> *feels
<Yaniel> but I guess that's the way to go
<clever> Yaniel: there is a new feature being added to nix that will solve this
<clever> let me find it
<clever> Yaniel: something to do with hashPlaceholder
<clever> this allows you to do cmakeFlags = [ "a" "--foo=${builtins.placeholder "out"}" ]; at the nix lvel
<clever> but its not in 1.11.7, so it probably wont even work on nixpkgs master
<NixOS_GitHub> [nixpkgs] periklis opened pull request #23764: Revert "Revert "Merge pull request #23602 from periklis/topic_qt57_darwin"" (master...topic_qt57_darwin) https://git.io/vyoNm
brh has joined #nixos
<ndowens08> sigh, oh-my-zsh install gives I dont have zsh installed and I do
<brh> Hi guys, I have a question about how to pull the latest packages. I see 2 weeks ago that the password-store pkg was updated to version 1.7. I'm using the nixpkgs-unstable channel, but when I do nix-channel --update and then nix-env -u pass, it still just has 1.6.5. Is there something newer than nixpkgs-unstable?
<NixOS_GitHub> [nixpkgs] jerith666 closed pull request #23754: pfixtools: patch for unbound API change (master...pfixtools-unbound) https://git.io/vyoMp
<brh> Hmm, it says it was last updated 5 days ago, which ought to have the 13 day old password-store update right?
<clever> brh: the nixos-unstable-small channel is 15 hours old, so thats one way to temporarily get around the problem
<xvapx> brh: you can also clone and rebuild from local tree
<clever> brh: it may have updated 5 days ago, but did it use a commit from 5 days ago, or older?
<clever> brh: oh, and that 5 day figure is nixos-unstable, but you mentioned nixpkg-unstable
<brh> Err, yeah, I'm using nixpkgs-unstable according to nix-channel --list, which is 3 days old
<brh> It seems like 26625c9 is a new enough commit though
<clever> brh: are you on nixos or another distro?
<brh> I'm running nixos. Does that mean I have a hidden channel in addition to the one listed on nix-channel?
<clever> brh: run sudo nix-channel --list
<clever> yep
<clever> brh: and try nix-env -iA nixpkgs.pass
marusich has joined #nixos
<brh> aha, so I have to run `sudo nix-channel --update`?
<clever> and 16.09 isnt likely to have that update
<clever> but you can tell nix-env which channel to fetch from, the above command may solve it
<brh> the -iA nixpkgs.pass just installed 1.7
<clever> yeah, that tells it to look in a channel called nixpkgs
<clever> rather then the "first" channel with something called pas
<clever> s
<brh> hmm, so when I run `nix-env -i foo`, the "first" channel is my nixos channel (even though as a user I just see nixpkgs)?
<clever> looks like it
<clever> i avoid -i whenever i can, because it searches the .name attribute of every package in nixpkgs
<clever> which makes it ungodly slow, and in some cases, i dont have enough ram to even complete that
<brh> yeah I've noticed it's slow, but I often don't know eactly what I'm looking for
<clever> -iA tells it exactly what to install
<brh> I remember once I had a way of getting an interactive REPL with tab-completion, but for the life of me I can't find it again
<clever> there is also nox, which will do search and cache the db
<clever> nix-repl '<nixpkgs>'
<clever> bu that will probably load the nixos channel on root
<brh> aha, I was forgetting the argument to it
<brh> yeah, the repl's version of pass is 1.6.5
<clever> nix-repl ~/.nix-defexpr/channels/nixpkgs
<clever> this will force it to load nixpkgs from the current user
<brh> and that one has 1.7 :)
<clever> and you must never put a nixpkgs- channel on root with nixos
<clever> the nixos- channels have testing done, to ensure they cant brick a nixos machine, and that makes them slower to update
<brh> makes sense
<clever> the nixpkgs- channel has only very basic tests, i heard something about just vim and emacs working
<clever> the -small channels wait for only the above tests, so they can still update relatively quickly
<clever> and the non -small channels wait for hydra to build every single package
<clever> so a -small channel updates faster, but you may have to compile things
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #23393: valgrind: enable darwin build (master...topic_valgrind_darwin) https://git.io/vyGQd
zarel has joined #nixos
<brh> clever: thanks a lot! looks like I'm all set now
seagreen has quit [(Ping timeout: 240 seconds)]
slack1256 has quit [(Remote host closed the connection)]
<Yaniel> hmm is the usage of these placeholders documented somewhere?
<Yaniel> ah, in the commit message
<Yaniel> yeah this looks precisely like what I need
<octe> is this an appropriate channel for nixops questions?
oscarvarto has joined #nixos
<oscarvarto> Hi! I am getting a lot of collisions for haskell packages I installed previously with those installed with `nix-env -f "<nixpkgs>" -iA myHaskellEnv` Suggestions?
<Yaniel> clever: is there an ETA for placeholders?
<clever> Yaniel: i'm guessing nix 1.11.8
<clever> no idea when that is though
contrapumpkin has joined #nixos
<contrapumpkin> which output do bash completions traditionally go into?
alx741 has joined #nixos
seagreen has joined #nixos
<Dezgeg> with the binaries
<Yaniel> okay, I'll leave it at the preConfigure hack and a TODO then
marsam has joined #nixos
DutchWolfie has quit [(Quit: Konversation terminated!)]
civodul has joined #nixos
nh2 has joined #nixos
bb has joined #nixos
oscarvarto has quit [(Remote host closed the connection)]
<zetok> https://gist.github.com/zetok/cc5447ab21526e90cf13157039b17393 ← why the inconsistency? i.e. if string is treated as regexp, why did it yield a result for ff, but didn't for obs?
<clever> zetok: i prefer either tab-completing in the repl or using nox
<zetok> thanks, I'll check it out
<zetok> is it something like eix in Gentoo?
<clever> nox is a python program that will cache the package list, and then do searches on that cache
zraexy has quit [(Ping timeout: 240 seconds)]
alx741_ has joined #nixos
<bb> Hey everyone, how would I go about submitting a new package? I followed the instructions for writing one, and it works, as far as I can tell. What now? Just submit a pr?
alx741_ has quit [(Client Quit)]
alx741_ has joined #nixos
alx741_ has quit [(Client Quit)]
<clever> bb: yeah, and here is an example of what the changes should look like: https://github.com/NixOS/nixpkgs/pull/23679/files
eacameron has quit [(Remote host closed the connection)]
alx741 has quit [(Ping timeout: 264 seconds)]
<zetok> >No manual entry for nox
<zetok> :f
<clever> just run "nox obs"
<zetok> ok, nox is not what I'm looking for
eacameron has joined #nixos
<zetok> anyway, isn't the inconsistency that I've linked to above a bug?
<clever> not sure, could open an issue and see what others think
<Dezgeg> I think the regex match applies to the name part of firefox-45.7.0esr
ixxie has joined #nixos
<zetok> Dezgeg: even if that's the case, why would it not apply to e.g. `obs-studio-0.15.2` ?
<Dezgeg> if the regex acts like '^obs$' by default
roygbiv has joined #nixos
<zetok> ok
<zetok> why would it match strictly by default though?
<zetok> i.e. if someone wants to search for something, it's very likely that they're going to type in only part of the name
eacameron has quit [(Ping timeout: 240 seconds)]
<zetok> on the other hand, if someone wants to make an exact match against name (which seems to be less common use-case), they can always use `^$` in the regexp
<Dezgeg> probably legacy - I think it didn't always support regex
<zetok> would there be an interest in slightly breaking the "compatibility" with legacy behaviour in order to improve usability?
<Dezgeg> there are some plans to totally rewrite the CLI interface, not sure how soon that will be finished
<zetok> I see
<zetok> good to know, thanks
<Dezgeg> because the command syntax of nix-env is from the rpm era :)
zarel has quit [(Quit: Leaving)]
eacameron has joined #nixos
<contrapumpkin> Dezgeg: thanks!
<contrapumpkin> the new CLI is in progress
fnljk has joined #nixos
<contrapumpkin> you can use it in nixUnstable
alx741 has joined #nixos
ixxie has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] benley opened pull request #23765: ykpers: consolidate into yubikey-personalization (master...ykpers-duplicate) https://git.io/vyohJ
eacameron has quit [(Ping timeout: 268 seconds)]
xvapx has quit [(Remote host closed the connection)]
<benley> contrapumpkin: any idea how far nix 1.12 is from release?
xvapx has joined #nixos
<johnw> niksnut: ping
fresheyeball has quit [(Ping timeout: 246 seconds)]
fresheyeball has joined #nixos
<kragniz> has anyone installed nixos on a kimsufi box recently?
Sonarpulse has joined #nixos
eacameron has joined #nixos
<joepie91> kragniz: iirc OVH's rescue boot system has been roughly the same for the past years
<joepie91> so I doubt it'll have changed much
<joepie91> if at all
eacameron has quit [(Remote host closed the connection)]
<clever> the linode guide on the wiki should work just fine
nh2 has quit [(Ping timeout: 258 seconds)]
Sonarpulse has quit [(Ping timeout: 268 seconds)]
<clever> the biggest benefit i see with the OVH rescue setup, is that you can remotely trigger it even if the machine is bricked
<kragniz> cool, thanks
<clever> i recently switched 2 servers to nixos at another datacenter, and i had to open a support ticket just to get the cd tray closed, lol
<ivan> be really careful with OVH rescue environments the tools are sometimes old and I have hosed an ext4 partition with them
<kragniz> :<
<ivan> back when I didn't know to use xfs
hiratara has quit [(Ping timeout: 246 seconds)]
<zetok> ok, regarding my earlier question about enabling debug symbols for all packages, there is `environment.enableDebugInfo` but changing it to `true` clearly doesn't affect presence of debugging symbols
<zetok> which kinda makes me think that nixos doesn't have support for enabling debugging symbols :/
<clever> zetok: you need to run enableDebugging over a derivation, like nix-build -E 'with import <nixpkgs> {}; enableDebugging hello'
hiratara has joined #nixos
Wizek_ has quit [(Ping timeout: 256 seconds)]
<zetok> clever: from what I understand, that would need to be run on every package?
<clever> zetok: every package you want debug symbols for
Wizek has quit [(Ping timeout: 260 seconds)]
<zetok> so, every package
slyfox_ is now known as slyfox
<clever> another way of using it, foo.override { bar = pkgs.enableDebugging pkgs.bar; };
<clever> so now bar gets symbols, and foo link against the debug build of bar
<clever> but foo lacks symbols
eacameron has joined #nixos
nh2 has joined #nixos
<clever> i usualy identify which derivation the fault is in via gdb, then rebuild just that with symbols
<zetok> yeah, no
<clever> what are you trying to do?
<zetok> enable debug symbols for all packages
<Rotaerk> with nix expressions, is there a nice way to do function composition? f(g(h(x))) is getting old
<zetok> um, except for the kernel
<zetok> I don't expect that to be crashing
<Rotaerk> well, not necessarily composition, but chained application
<zetok> Rotaerk: have a function that applies functions to its arg?
<Rotaerk> yea, but that's only pretty in haskell because it's an operator
<clever> Rotaerk: foldl' maybe?
<Rotaerk> I'm doing stuff like... mapAttrs (k: v: ...) (filterAttrs (k: v: ...) blah)
avn has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
<clever> Rotaerk: you can probably use fold to run a list of functions on eachothers output, with x being the initial input
<Rotaerk> hmm, k
steshaw has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #23766: kcachegrind: init at 16.2.2 (master...kcachegrind-kdelibs) https://git.io/vyojS
<clever> nix-repl> builtins.foldl' (a: b: a + b) "initial" [ "1" "2" "3" ]
<clever> "initial123"
<benley> I keep looking at nixpkgs/nixos/from-env.nix and wondering if there is a reason it still hasn't been replaced with a reference to nixpkgs.lib.maybeEnv. Anyone know the story there?
<clever> Rotaerk: so if you gave it a list of functions, it would run the lamba with "initial" f1, then f1(initial) f2 ...
<benley> like, is maybeEnv deprecated?
<Rotaerk> yea, I get what you mean; probably the best way to avoid explicitly nesting the function calls
xvapx has quit [(Remote host closed the connection)]
<clever> Rotaerk: and similiar to haskell, you can return a partialy applied primop, so you can just do thing = builtins.foldl' (a: b: a + b)
<clever> Rotaerk: and then later do thing "initial" [ "1" "2" "3" ];
<Rotaerk> nix-repl> builtins.foldl' (f: g: x: f (g x)) (x: x) [(x: x + 1) (x: x * 2)] 5
<Rotaerk> 11 :P
xvapx has joined #nixos
<Rotaerk> though, it doesn't work if the types of the functions you're composing don't match
<Rotaerk> as in, I can't make the last one convert from number to string
<clever> yeah
<clever> you need to builtins.toString and expect a number
hlolli has joined #nixos
<hlolli> In which nix package do I need to install to get include <boost/algorithms/string.hpp> ?
<johnw> just boost
<clever> and installing things never gives you headers
<clever> nix skips the dev output
<johnw> for boost, the headers are an installation item
<johnw> they aren't just for building boost
<clever> i'm talking about nix-env -i vs nix-hell
mkoenig has joined #nixos
<johnw> ah
bb has quit [(Ping timeout: 260 seconds)]
<hlolli> ok, so I want to update the nix package csound, but csound needs this header file. How should I do this, doesn't sound self contained if I need to include it seperately? (btw just installed nix today for the first time)
<clever> hlolli: put boost into the buildInputs of the package
danharaj has quit [(Ping timeout: 240 seconds)]
<hlolli> ahh ok, should have the nix script download it? Do you have a .nix example that I can study?
Guest7739 has quit [(Quit: WeeChat 1.4)]
<hlolli> l-o-l, this looks simple
<Rotaerk> nix-hell...
<clever> Rotaerk: the laptop keyboard has a few faulty keys
<Rotaerk> heh
<Rotaerk> oh whoops, I'm wrong... you CAN mix types; I just read it in the wrong order
eacameron has joined #nixos
<Rotaerk> builtins.foldl' compose id [builtins.toString (x: x + 1) (x: x * 2)] 5 == "11"
<Rotaerk> hmm... wonder if builtins.fold' compose id is defined anywhere
m0rphism has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Remote host closed the connection)]
hiratara has joined #nixos
nh2 has quit [(Ping timeout: 240 seconds)]
<hlolli> next noob question. How does one install npm module (or packages it for installation)
<hlolli> (mainly, install globally).
catch22 has joined #nixos
<NixOS_GitHub> [nixpkgs] hlolli opened pull request #23767: bump csound version (master...master) https://git.io/vyKfT
danharaj has joined #nixos
barrucadu has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #23768: lib: fix mixed tab/space indents, trailing whitespace, etc (master...lib-whitespace) https://git.io/vyKfl
marusich has quit [(Quit: Leaving)]
marsam has left #nixos ["Killed buffer"]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<NixOS_GitHub> [nixpkgs] jansol opened pull request #23769: renderdoc: init at version 0.34pre (master...renderdoc) https://git.io/vyKfQ
hlolli_ has joined #nixos
eacameron has joined #nixos
justanotheruser has quit [(Ping timeout: 260 seconds)]
<steveeJ> is there an option to install rust crates using nix or is cargo the way to install them on nixos too?
<benley> there is a buildRustPackage in nixpkgs, but I don't know how to use it
hlolli has quit [(Ping timeout: 264 seconds)]
justanotheruser has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
fnljk has quit [(Ping timeout: 260 seconds)]
<Ralith> where's Nix's default cmakeFlags specified?
<Ralith> nvm, found it
<bennofs> Ralith: the setup-hook of cmake
alebatt has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
<Ralith> yep, all in order, thanks
eacameron has joined #nixos
mudri has joined #nixos
eacameron has quit [(Ping timeout: 264 seconds)]
eacameron has joined #nixos
alebatt has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] seagreen opened pull request #23771: nodePackages.grammkit: init at 0.5.1 (master...grammkit) https://git.io/vyKJQ
eacameron has joined #nixos
<c74d> Should servers meant to run unattended run stable or unstable NixOS?
<barrucadu> How do I list all the things I have installed to my user profile with `nix-env`?
<c74d> barrucadu: `nix-env -q`
<barrucadu> Thanks
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
thc202 has quit [(Ping timeout: 240 seconds)]
kampfschlaefer has quit [(Ping timeout: 240 seconds)]
<clever> c74d: i try to keep them on stable
<c74d> noted, thanks