<fuzzy-id> i have `boot.kernelModules = [ "wl" ];` and `boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];`
<fuzzy-id> on loading the module `b43` i get "Direct firmware load for b43/ucode5.fw failed with error -2"
stepho has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<fuzzy-id> and "Direct firmware load for b43-open/ucode5.fw failed with error -2"
<fuzzy-id> has someone achived to get this device running?
jb55 has joined #nixos
pxc has joined #nixos
Wizek__ has joined #nixos
Wizek has joined #nixos
zgotsch has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
hotfuzz has joined #nixos
hotfuzz_ has quit [(Ping timeout: 260 seconds)]
oida has quit [(Ping timeout: 240 seconds)]
oida has joined #nixos
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michalrus opened pull request #25571: intero-nix-shim: fix runtime dependencies (master...intero-nix-shim) https://git.io/v9wcg
NixOS_GitHub has left #nixos []
slack1256 has quit [(Quit: Leaving)]
<michalrus> Shame on me.
E1HC has joined #nixos
hiratara has joined #nixos
<E1HC> Hello guys . I have a question about nixOS full zfs partition with boot
<E1HC> I'm not sure if the current grub2 version aviable in nixOS has the code for full /root + boot zfs partition
<E1HC> the wiki is really old
oida has quit [(Ping timeout: 260 seconds)]
<calvertvl> E1HC: I'm running grub2 with boot on zfs, as whole-disk
<E1HC> calvertvl: thanks for your answer. did you use GPT ?
<calvertvl> don't remember, I think I just assigned the /dev/disk/by-id/xxx to zfs directly
<calvertvl> (not the partition level)
oida has joined #nixos
<E1HC> Oh so you have only one huge partition in /etc/nixos/hardware-configuration.nix
<calvertvl> no, I have filesystems created under the pool, mounted separately (legacy mountpoints), but the pool itself was created at device level
<calvertvl> (and all of those devices are provided in boot.loader.grub.devices)
<E1HC> I see. I will dig more about it. thanks for the answer.
zraexy has quit [(Quit: Leaving.)]
pxc has quit [(Ping timeout: 260 seconds)]
oida has quit [(Ping timeout: 260 seconds)]
E1HC has left #nixos ["aufWiedersehen!"]
hiratara has quit [(Quit: ZNC - http://znc.in)]
oida has joined #nixos
hiratara has joined #nixos
zeus_ has joined #nixos
pxc has joined #nixos
oida has quit [(Ping timeout: 240 seconds)]
zeus_ has quit [(Remote host closed the connection)]
oida has joined #nixos
fuzzy-id has quit [(Ping timeout: 240 seconds)]
bhipple has joined #nixos
lambdamu has joined #nixos
Kingsquee has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
lambdamu_ has quit [(Ping timeout: 240 seconds)]
oida has quit [(Ping timeout: 240 seconds)]
oida has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
mbrgm has quit [(Ping timeout: 240 seconds)]
systemfault has quit [(Quit: Bye!)]
mbrgm has joined #nixos
derjohn_mob has quit [(Ping timeout: 245 seconds)]
Kingsquee has joined #nixos
hiratara has joined #nixos
Kingsquee has quit [(Ping timeout: 240 seconds)]
Kingsquee has joined #nixos
derjohn_mob has joined #nixos
<davidak> i'm packaging something and get fatal error: /usr/include/dirent.h: No such file or directory
<davidak> is some dependency missing?
<clever> fuzzy-id needed networking.enableB43Firmware
ryanartecona has joined #nixos
zgotsch has quit [(Remote host closed the connection)]
<clever> gchristensen: pong
takle has quit [(Remote host closed the connection)]
<bhipple> I'm in the process of reading through the excellent Nix-Pills series, and I'm up to the part in #12 where we build graphviz. The default graphviz out of the box is not building, and seems to be dying with some kind of error on malloc.c mstats. Anyone seen thsi before?
mkoenig has quit [(Read error: Connection reset by peer)]
ryanartecona has quit [(Quit: ryanartecona)]
mkoenig has joined #nixos
justelex has quit [(Ping timeout: 260 seconds)]
<bhipple> The actual graphviz.nix seems to have some substitution happening to replace -lstdc++ with -lc++
ryanartecona has joined #nixos
<bhipple> maybe I need that now?
s33se has joined #nixos
s33se_ has quit [(Ping timeout: 240 seconds)]
zeus_ has joined #nixos
zeus_ has quit [(Ping timeout: 260 seconds)]
systemfault has joined #nixos
acarrico has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] thoughtpolice closed pull request #25570: solvespace: 2.0 -> 2.3 (master...solvespace-2.3) https://git.io/v9wG2
NixOS_GitHub has left #nixos []
matthewbauer has joined #nixos
zeus_ has joined #nixos
jsgrant_om has quit [(Read error: Connection reset by peer)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
<nh2> how do I make a build call `autoreconf -i` at the beginning?
hexagoxel has joined #nixos
<nh2> but how do I make a mkDerivation use that?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9w82
<NixOS_GitHub> nixpkgs/master 0eac38c Peter Hoeg: libtoxcore: 0.1.7 -> 0.1.8
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9w8a
<NixOS_GitHub> nixpkgs/master 7e9ca80 Peter Hoeg: neomutt: 2017-03-06 -> 2017-04-28
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9w8V
<NixOS_GitHub> nixpkgs/master 21e95c0 Peter Hoeg: libreoffice: perform release build...
NixOS_GitHub has left #nixos []
inflames has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9w8w
<NixOS_GitHub> nixpkgs/master 994299b Peter Hoeg: xapian: 1.4.0 -> 1.4.4
NixOS_GitHub has left #nixos []
inflames has joined #nixos
<nh2> aha, buildInputs = [pkgs.autoreconfHook] does it
takle has joined #nixos
zgotsch has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
boxofrox has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
calvertvl has quit [(Quit: leaving)]
hydraz has quit [(Read error: Connection reset by peer)]
hydraz has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
takle has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
georges-duperon has quit [(Ping timeout: 240 seconds)]
boxofrox has joined #nixos
georges-duperon has joined #nixos
schoppenhauer has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
nh2 has quit [(Ping timeout: 255 seconds)]
cpennington has quit [(Ping timeout: 240 seconds)]
zgotsch has quit [(Quit: Konversation terminated!)]
matthewbauer has quit [(Ping timeout: 264 seconds)]
mellowmaroon has joined #nixos
georges-duperon has quit [(Ping timeout: 264 seconds)]
mellowmaroon has quit [(Client Quit)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
takle has joined #nixos
Shados has quit [(Ping timeout: 245 seconds)]
Shados has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
ericsagnes has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
ericsagnes has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
matthewbauer has joined #nixos
takle has joined #nixos
matthewbauer has quit [(Quit: ERC (IRC client for Emacs 25.1.2))]
matthewbauer has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] davidak opened pull request #25573: libscrypt: init at 1.21 (master...libscrypt) https://git.io/v9wR5
NixOS_GitHub has left #nixos []
Wizek has quit [(Ping timeout: 240 seconds)]
Wizek__ has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 260 seconds)]
alx741 has quit [(Quit: alx741)]
simukis has quit [(Remote host closed the connection)]
simukis has joined #nixos
<davidak> ready to merge :)
takle has joined #nixos
noexcept_ has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
endformationage has quit [(Quit: WeeChat 1.7)]
takle has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
CMCDragonkai has joined #nixos
diegonolan has joined #nixos
<CMCDragonkai> What are the advantages and disadvantages of using networkd over not using it `useNetworkd`?
<diegonolan> How do i solve infinite recursion issue when a packages dependencies depends on said package for testing? Specificall hspec depending on stringbuilder for haskell?
takle has quit [(Ping timeout: 240 seconds)]
<diegonolan> I've found this but I can't seem to replicate what their solution was
justelex has joined #nixos
takle has joined #nixos
simukis has quit [(Quit: simukis)]
takle has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
xadi has quit [(Ping timeout: 245 seconds)]
xadi has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #25574: firefox, firefox-bin: 53.0 -> 53.0.2, firefox-esr: 52.1.0esr -> 52.1.1esr [High security fix] (master...firefox-bin-53.0.2) https://git.io/v9wEo
NixOS_GitHub has left #nixos []
ertes has quit [(Quit: Bye!)]
ertes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v9wE6
<NixOS_GitHub> nixpkgs/master 49c4f2b davidak: libscrypt: init at 1.21
<NixOS_GitHub> nixpkgs/master 1850d7a Frederik Rietdijk: Merge pull request #25573 from davidak/libscrypt...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/v9wED
<NixOS_GitHub> nixpkgs/master e682520 Gabriel Ebner: electron: 1.6.2 -> 1.6.6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v9wE5
<NixOS_GitHub> nixpkgs/master cc75ccb Jörg Thalheim: broadcom-bt-firmware: change license to redistributal...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25567: modules/hardware/all-firmware: add enableAllUnfreeFirmware (master...enableAllUnfreeFirmware) https://git.io/v9wOC
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v9wuv
<NixOS_GitHub> nixpkgs/master 63993e7 Frederik Rietdijk: pythonPackages: remove old zc_buildout
<NixOS_GitHub> nixpkgs/master ccfbe04 Frederik Rietdijk: pythonPackages: remove broken zc_recipe_egg
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] Mic92 opened pull request #1376: nix-profile.sh: remove sbin from PATH (master...patch-1) https://git.io/v9wuJ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v9wuk
<NixOS_GitHub> nixpkgs/master afad430 Frederik Rietdijk: pythonPackages.pathspec: 0.3.4 -> 0.5.2...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v9wuW
<NixOS_GitHub> nixpkgs/master e750961 Frederik Rietdijk: pythonPackages.llfuse-0-41: move into attic...
NixOS_GitHub has left #nixos []
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v9wug
<NixOS_GitHub> nixpkgs/master 1401b13 Maximilian Bosch: lambda-mod-zsh-theme: 2015-12-15 -> 2017-04-05...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25492: lambda-mod-zsh-theme: eceee68cf46bba9f7f42887c2128b48e8861e31b -> c6445c79cbc73b85cc18871c216fb28ddc8b3d96 (master...update/lambda-mod-zsh-theme) https://git.io/v9uzV
NixOS_GitHub has left #nixos []
oida has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v9wuV
<NixOS_GitHub> nixpkgs/master aad7c7c Jörg Thalheim: lambda-mod-zsh-theme: add unstable infix
NixOS_GitHub has left #nixos []
oida has joined #nixos
pxc has quit [(Ping timeout: 246 seconds)]
cybrian has quit [(Quit: cya)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v9wuH
<NixOS_GitHub> nixpkgs/master 529d0e7 Frederik Rietdijk: pythonPackages.pathspec: fixup, fixes eval
NixOS_GitHub has left #nixos []
cybrian has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 245 seconds)]
oida has quit [(Ping timeout: 240 seconds)]
oida has joined #nixos
hotfuzz_ has joined #nixos
takle has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
Filystyn has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v9wzG
<NixOS_GitHub> nixpkgs/master 42cad8b gnidorah: winusb: init at 2017-01-30...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25536: winusb: init at 2017-01-30 (master...winusb) https://git.io/v9aOZ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v9wzu
<NixOS_GitHub> nixpkgs/master 7491bc9 Frederik Rietdijk: pythonPackages: remove old unmaintained gsutil and dependencies...
NixOS_GitHub has left #nixos []
CMCDragonkai1 has joined #nixos
CMCDragonkai has quit [(Ping timeout: 260 seconds)]
sophiag has joined #nixos
jeremejevs has joined #nixos
<sophiag> the package for emacs-merlin is listed as broken. is this something i can fix myself and open a PR or does it have to with emacs-merlin itself? i'm not sure how nix works with emacs packages, but always just assumed it pulled them from melpa
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v9wgW
<NixOS_GitHub> nixpkgs/master e184e02 Frederik Rietdijk: virt-manager: do not depend on glanceclient...
<NixOS_GitHub> nixpkgs/master 95534bc Frederik Rietdijk: virtinst: do not depend on glanceclient...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #25481: virtmanager: disable openstack support by default (master...virtmanager) https://git.io/v900d
NixOS_GitHub has left #nixos []
7ITAA2W6A has joined #nixos
<7ITAA2W6A> [nixpkgs] 7c6f434c pushed 3 new commits to master: https://git.io/v9wgR
<7ITAA2W6A> nixpkgs/master bbf114c Mathäus Sander: quakespasm: init at 0.92.1
<7ITAA2W6A> nixpkgs/master 15b98cb Mathäus Sander: quakespasm: init at 0.92.1
<7ITAA2W6A> nixpkgs/master f79a5fc Michael Raskin: Merge pull request #25160 from m3tti/quakespasm...
7ITAA2W6A has left #nixos []
7GHAAYKZR has joined #nixos
<7GHAAYKZR> [nixpkgs] 7c6f434c closed pull request #25160: Quakespasm: init at 0.92.1 (master...quakespasm) https://git.io/v9kW5
7GHAAYKZR has left #nixos []
<jeremejevs> Hi, I have an issue with a broken python package (os-testr) which has been fixed in master, but hasn't propagated to unstable yet. I have the master checked out locally, and I'm trying to override os-testr like so: https://github.com/NixOS/nixpkgs/issues/25470#issuecomment-299666227 But Nix is still using the old version. Can somebody give a hand with this,
<jeremejevs> please?
<sophiag> have you made a default.nix in the directory you checked it out in and opened a nix-shell?
<MichaelRaskin> jeremejevs: I would go bruteforce way
eqyiel has quit [(Ping timeout: 258 seconds)]
<MichaelRaskin> systemPackages = [ … (import /latest-nixpkgs-master {}).pythonPackages.virtmanager];
<MichaelRaskin> Or do you need it in a service?
kampfschlaefer has joined #nixos
<jeremejevs> MichaelRaskin: No, just need it as a program. And thanks, that worked! Literally 12 minutes ago it would break though :D Since it depended on another broken package, glanceclient, until FRidh made it optional.
<jeremejevs> But for future reference, why doesn't my method work?
<MichaelRaskin> Deep overrides are tricky, and pythonPackages are _their own_ fixpoint, so you need to separately override in a way that changes the fixpoint evaluation, not just replaces post-hoc
<MichaelRaskin> I.e. pythonPackages need their own smaller packageOverrids mechanism
<jeremejevs> (can't believe I haven't found that previously, scanned the internet for hours)
<MichaelRaskin> Looks like that.
FRidh has joined #nixos
<MichaelRaskin> Well, maybe you checked two out of three manuals and missed the last one
<FRidh> jeremejevs: MichaelRaskin: you can override the packageOverrides parameter of the interpreter.
<FRidh> the package set is an attribute of the interpreter, and `pythonPackages` is an alias of `python.pkgs`.
FRidh has quit [(Client Quit)]
Jackneilll has joined #nixos
<jeremejevs> FRidh: Can you show an example, please?
FRidh has joined #nixos
FRidh has quit [(Client Quit)]
takle has joined #nixos
MP2E has quit [(Quit: leaving)]
takle has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v9w2K
<NixOS_GitHub> nixpkgs/master 63b294e Jörg Thalheim: tigervnc: 1.8.0pre20170211 -> 1.8.0pre20170419
NixOS_GitHub has left #nixos []
montag451_ has joined #nixos
<sophiag> MichaelRaskin: can you answer what it means when nix tells me an emacs package is marked as broken? i.e. if they come straight from melpa or whether that's something i can fix with nix?
mudri has quit [(Ping timeout: 264 seconds)]
<jeremejevs> MichaelRaskin: Does this look good to you? https://gist.github.com/jeremejevs/fe2c2584d19ee4795f628ef19f37b6d4 The first file. Is there maybe some way to get the already-scoped callPackage out of python-modules.nix let section? Or is my way the shortest?
CMCDragonkai2 has joined #nixos
takle has joined #nixos
CMCDragonkai1 has quit [(Ping timeout: 240 seconds)]
<LnL> jeremejevs: you should use the callPackage from the python packages, then you don't have to specify all those arguments
jgertm has joined #nixos
<jeremejevs> LnL: But it doesn't exist in pythonPackages, it's only defined in the "let" section of python-modules.nix. I've tried "superPy.callPackage", and there was no such thing.
<LnL> oh :/ that's inconvenient
<jeremejevs> No biggie :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/v9wat
<NixOS_GitHub> nixpkgs/master c52b426 Lancelot SIX: nano: 2.8.1 -> 2.8.2...
<NixOS_GitHub> nixpkgs/master 9c18144 Pascal Wittmann: Merge pull request #25541 from lsix/update_nano...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 4 new commits to master: https://git.io/v9waG
<NixOS_GitHub> nixpkgs/master de8073c taku0: firefox-bin: 53.0 -> 53.0.2
<NixOS_GitHub> nixpkgs/master 4689fda taku0: firefox: 53.0 -> 53.0.2
<NixOS_GitHub> nixpkgs/master 6b71754 taku0: firefox-esr: 52.1.0esr -> 52.1.1esr
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #25574: firefox, firefox-bin: 53.0 -> 53.0.2, firefox-esr: 52.1.0esr -> 52.1.1esr [High security fix] (master...firefox-bin-53.0.2) https://git.io/v9wEo
NixOS_GitHub has left #nixos []
<jeremejevs> I'm now attempting to override virtmanager itself, and the following isn't working for some reason: https://gist.github.com/jeremejevs/9fd03edf21f515c8df97bfd99cce3cae With virtmanager in "environment.systemPackages", it still tries to build it with "glanceclient" python dependency enabled, even though it's not in the master anymore.
dejanr has joined #nixos
roconnor_ has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/v9wa4
<NixOS_GitHub> nixpkgs/release-17.03 f2156dd taku0: firefox-bin: 53.0 -> 53.0.2...
NixOS_GitHub has left #nixos []
marsel has joined #nixos
justelex has quit [(Ping timeout: 260 seconds)]
filterfish has quit [(Ping timeout: 258 seconds)]
thc202 has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jeremejevs opened pull request #25575: virt-manager: add requests as dependency (master...master) https://git.io/v9wa1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v9waQ
<NixOS_GitHub> nixpkgs/master 6b0d802 Jörg Thalheim: zfs: zed service is now called zfs-zed...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/v9wa7
<NixOS_GitHub> nixpkgs/release-17.03 8fd2f72 Jörg Thalheim: zfs: zed service is now called zfs-zed...
NixOS_GitHub has left #nixos []
FRidh has joined #nixos
dejanr has quit [(Ping timeout: 240 seconds)]
<FRidh> jeremejevs: to get a working virtmanager you need several fixes. Its far easier to just cherry-pick those commits, or just rebuild against current master
<jeremejevs> FRidh: That's what I'm trying to do, rebuild against current master. But overriding virtmanager in packageOverrides doesn't seem to have any effect, when I nixos-rebuild it still tries to build glanceclient, even though it's not in deps.
<FRidh> jeremejevs: virtmanager from master at 95534bc4eeb394bc89ddde704d5de201f99f46fd doesn't have any dependency on glanceclient
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/v9wVJ
<NixOS_GitHub> nixpkgs/release-17.03 7a6587f Vladimír Čunát: firefox: 53.0 -> 53.0.2...
NixOS_GitHub has left #nixos []
<FRidh> jeremejevs: the commit before did, through virtinst
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #25575: virt-manager: add requests as dependency (master...master) https://git.io/v9wa1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v9wVt
<NixOS_GitHub> nixpkgs/master 670afd0 Olegs Jeremejevs: virt-manager: add requests as dependency
<NixOS_GitHub> nixpkgs/master 02dbf1d Frederik Rietdijk: Merge pull request #25575 from jeremejevs/master...
NixOS_GitHub has left #nixos []
<jeremejevs> FRidh: That's the thing, adding "(import /sync/misc/nixpkgs {}).virtmanager" instead of "virtmanager" to "environment.systemPackages" works fine, while overriding virtmanager in "nixpkgs.config.packageOverrides" (like so: https://gist.github.com/jeremejevs/9fd03edf21f515c8df97bfd99cce3cae) doesn't.
<MichaelRaskin> sophiag: no idea, I use Vim
<clever> jeremejevs: the example in irc uses the dependencies from the target nixpkgs, while the override doesnt
<FRidh> jeremejevs: in the second case your expression still uses the old expression for virtinst, as well as all the other dependencies that you did not explicitly pass in
<jeremejevs> clever: Ahh, now I get it, it depends on virtinst from nixos-unstable, which still has glanceclient.
<sophiag> MichaelRaskin: has. thanks
<FRidh> and thus you have the incorrect virtinst, pythonPackages.os-testr, etc.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-17.03: https://git.io/v9wVr
<NixOS_GitHub> nixpkgs/release-17.03 41da81a Joachim Fasting: Revert "google-chrome: 57.0.2987.133 -> 58.0.3029.96"...
NixOS_GitHub has left #nixos []
<sophiag> clever: are you an Emacs user? i'm wondering what it means when nix has a package marked as broken. whether it's a melpa thing out of my control or if i can fix it myself with nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v9wV6
<NixOS_GitHub> nixpkgs/master c1aa7b2 Joachim Fasting: Revert "google-chrome: 57.0.2987.133 -> 58.0.3029.96"...
NixOS_GitHub has left #nixos []
<clever> sophiag: vim user here
<clever> sophiag: usualy a package is marked as broken so you know it fails before the build even starts
Raimondii has joined #nixos
<clever> sophiag: you can set an ignore broken flag, and then see the true failure
systemfault has quit [(Quit: Bye!)]
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
marsel has quit [(Ping timeout: 260 seconds)]
<sophiag> clever: my uncertainty is over whether the actual emacs package is broken or whether emacs packages are packaged for nix...in which case i could fix it
<clever> sophiag: it may say in the git commit for the package
<clever> but other then that, you just need to try and see what fails
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] montag451 opened pull request #25576: asn1c: 0.9.27 -> 0.9.28 (master...asn1c) https://git.io/v9wVA
NixOS_GitHub has left #nixos []
<sophiag> ah ok. i couldn't find any open issues either related to nix in the emacs package repo or related to merlin in the nix pkgs repo
<sophiag> i'll just see what's broken with it. i assume a non trivial number of nix users use ocaml
<katyucha> $
takle has quit [(Remote host closed the connection)]
freusque has joined #nixos
<MichaelRaskin> sophiag: actually, it may be overridable in Nix even if this is a flag set upstream
diegonolan has quit [(Quit: Page closed)]
spinningarrow has left #nixos ["WeeChat 1.4"]
<sophiag> MichaelRaskin: i think it's beacuse i didn't have another ocaml library it needed
<sophiag> i'm trying copying someone's ocaml config (it's not a primary language of mine) here: https://gist.github.com/henrytill/7c1831b31d7780e64a2d53120aee13a1
<sophiag> but i'm doing something wrong. i put the let statement and stdenv.mkDerivation in nix.pkgs in my configuration.nix
takle has joined #nixos
<sphalerite> how unstable is zfsUnstable? I'd like to use a newer kernel for graphics driver reasons, but zfs stable is only supported for 4.9...
filterfish has quit [(Ping timeout: 264 seconds)]
<LnL> it's an rc release
filterfish has joined #nixos
ilyaigpetrov has joined #nixos
Wizek has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] obadz pushed 1 new commit to master: https://git.io/v9wwD
<NixOS_GitHub> nixpkgs/master ca0a4e2 obadz: pythonPackages.libsoundtouch: init at 0.3.0
NixOS_GitHub has left #nixos []
Wizek__ has joined #nixos
CMCDragonkai3 has joined #nixos
CMCDragonkai2 has quit [(Ping timeout: 240 seconds)]
darlan has joined #nixos
darlan has quit [(Client Quit)]
Itkovian has joined #nixos
<gchristensen> clever: I don't remember :)
<gchristensen> sphalerite: several people in #zfsonlinux always run git HEAD
<sphalerite> wow, ok, I guess an rc is fairly safe then :D
<gchristensen> I'd make sure to have off-disk backups
<obadz> gchristensen: is there file level encryption on zfsonlinux?
<MichaelRaskin> Shouldn't off-pool be enough?
<MichaelRaskin> Of course, no-common-components backup is useful from the simple hardware failure point of view
<gchristensen> MichaelRaskin: should be, I suppose I was assuming sphalerite followed the advice to devote entire disks to ZFS
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] PierreR opened pull request #25577: haskellPackages.postgrest-ws: dontCheck (master...master) https://git.io/v9wrL
NixOS_GitHub has left #nixos []
<obadz> clever: bleeding edge
<obadz> I hope it'll handle sparse files better than ecryptfs
<MichaelRaskin> Well, it's a tradeoff
<MichaelRaskin> Sometimes disclosure of the actual file size is a risk, too
<MichaelRaskin> And cp could create holes without asking
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/v9wrm
<NixOS_GitHub> nixpkgs/master 024ddb3 Armijn Hemel: tomcat85: 8.5.11 -> 8.5.14
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-17.03: https://git.io/v9wrY
<NixOS_GitHub> nixpkgs/release-17.03 0b7406e Armijn Hemel: tomcat85: 8.5.11 -> 8.5.14...
NixOS_GitHub has left #nixos []
<obadz> you're ok always disclosing file size, but not for sparse files?
jgertm has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #25379: tomcat85: 8.5.11 -> 8.5.14 (master...tomcat) https://git.io/v9lI8
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v9wrW
<NixOS_GitHub> nixpkgs/master ef4442e Frederik Rietdijk: Python: replace requests2 with requests tree-wide...
NixOS_GitHub has left #nixos []
<obadz> FRidh: missed one :)
<clever> obadz: 4.5K -rwxrwxr-- 1 clever users 6.5K Apr 20 11:27 top_block.py
<clever> obadz: ls -lhs will show the on-disk size, and the size of the contents
<obadz> clever: yes, am fine with that.
<FRidh> obadz: oh, right
<clever> obadz: this file is using 4.5kb on-disk due to zfs encryption, but contains 6.5kb of data
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #25365: mediawiki: 1.27.1 -> 1.27.3 (master...mediawiki) https://git.io/v9WPY
NixOS_GitHub has left #nixos []
5EXAAYZXC has joined #nixos
<5EXAAYZXC> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/v9wrR
<5EXAAYZXC> nixpkgs/master cdebfa8 Armijn Hemel: mediawiki: 1.27.1 -> 1.27.3
<5EXAAYZXC> nixpkgs/master 4d44810 Graham Christensen: Merge pull request #25365 from armijnhemel/mediawiki...
5EXAAYZXC has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-17.03: https://git.io/v9wrE
<NixOS_GitHub> nixpkgs/release-17.03 5bc322d Armijn Hemel: mediawiki: 1.27.1 -> 1.27.3...
NixOS_GitHub has left #nixos []
<obadz> clever: if one is not fine leaking file sizes, one should use full disk encryption where the structure of the filesystem itself is encrypted
<clever> 4.0K -rw-r--r-- 1 clever clever 3.3K Feb 12 2016 btrfs
<clever> /dev/sda1 on / type xfs (rw,noatime,attr2,inode64,noquota)
<clever> but for other filesystems, the difference usualy goes the other way
<clever> yeah
<clever> so encryption after compression is fine, your already leaking size anyways
<obadz> meanwhile, sparse files should be sparse…
marsel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v9wra
<NixOS_GitHub> nixpkgs/master 0219783 Frederik Rietdijk: Python: replace requests2 with requests tree-wide - follow up...
NixOS_GitHub has left #nixos []
<LnL> gchristensen: wow, that's pretty brave
<obadz> FRidh: thx :)
<gchristensen> LnL: git head?
<LnL> yes, for your filesystem
<gchristensen> I agree
<gchristensen> I like how CoreOS pushes people to run a mixed cluster of mostly stable / some beta / some alpha. helps them find bugs and regressions, and helps operators stay ahead of changes coming down.
<gchristensen> maybe it is the same idea :)
<LnL> alltho I guess it depends, I accidently removed my hom
<LnL> homedir once and literally didn't loose anything
aanderse has quit [(Remote host closed the connection)]
bartwr has joined #nixos
bartwr has quit [(Client Quit)]
aanderse has joined #nixos
Gravious has joined #nixos
bartwr has joined #nixos
taktoa has quit [(Remote host closed the connection)]
CMCDragonkai3 has quit [(Ping timeout: 260 seconds)]
bartwr has quit [(Ping timeout: 245 seconds)]
Gravious has quit [(Ping timeout: 260 seconds)]
a_ryan has quit [(Ping timeout: 240 seconds)]
Gravious has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25561: linux: support using gcc plugins (master...linux-gcc-plugins) https://git.io/v9wfY
NixOS_GitHub has left #nixos []
treaki has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/v9woa
<NixOS_GitHub> nixpkgs/release-17.03 ae9d534 Vladimír Čunát: firefox-esr: 52.1.0esr -> 52.1.1esr...
NixOS_GitHub has left #nixos []
marsel has quit [(Ping timeout: 240 seconds)]
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
lsyoyom has quit [(Ping timeout: 246 seconds)]
georges-duperon has joined #nixos
<sphalerite> Does using nix-store --gc make sense on zfs with lz4?
<sphalerite> gchristensen: no, I'm not dedicating my entire disk to zfs because this is for my laptop
<sphalerite> which only has the one SSD
<ToxicFrog> sphalerite: ...why wouldn't it?
CMCDragonkai3 has joined #nixos
<sphalerite> I don't know, because I don't properly understand zfs yet, and I seem to recall something about not using nix-store --optimise
<sphalerite> whoops, I meant optimise now gc
<sphalerite> not*
<clever> sphalerite: --optimize and dedup do the same basic thing, but dedup costs a lot of ram, while --optimize is almost free
<ToxicFrog> Aah
<ToxicFrog> I would expect to get some benefit from --optimise unless you have ZFS deduplication turned on
<clever> yeah
<sphalerite> right
<joko> Hey, I have just updated my Hydra on 17.03 and queue-runner shows lots of blob data, is this expected? Also, the UI shows jobs scheduled to be built instead of actual packages being built :/
<ToxicFrog> And ZFS deduplication, as clever points out, requires lots of RAM
<clever> --optimize will hash the entire file, and hardlink it to /nix/store/.links/<hash>
<clever> and if 2 files have the same hash, they will share the inode and data
<clever> while zfs dedup, hashes every block as its being written, and looks it up in a hash table, to see if it has to write, or increment a refcnt
<clever> and the hash table has to stay in ram
<sphalerite> right
<sphalerite> Does zfs offer file-level dedup at all?
<clever> only block level dedup as far as i know
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v9wKT
<NixOS_GitHub> nixpkgs/master 74b5542 montag451: asn1c: 0.9.27 -> 0.9.28
<NixOS_GitHub> nixpkgs/master 5e0ec33 Joachim F: Merge pull request #25576 from montag451/asn1c...
NixOS_GitHub has left #nixos []
<sphalerite> uuuh, I somehow got a writable file in my store..? skipping suspicious writable file ‘/nix/store/76rgpkm1jqgqwz4bjnk8y37z29q82zgy-python3-3.5.3/lib/python3.5/__pycache__/_sysconfigdata.cpython-35.pyc’
lsyoyom has joined #nixos
<clever> nix will leave the $out of failed builds behind for you to investiate
<clever> and i think --optimize might try to optimize invalid directories that "dont exist"
<clever> which just now gives me an idea for an exploit
<clever> write a file to $out that is a dup of something security related, and -w it, then sleep until optimize has hardlinked it up
<clever> but because the build isnt done, you can +w it, and modify
<sphalerite> does optimise mess with stuff that's currently being built?
jgertm has joined #nixos
<clever> that is the key question
justelex has joined #nixos
<clever> sphalerite: something else you can do, nix-collect-garbage --max-freed 1
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> this will delete 1 byte worth of garbage, and all invalid files
<sphalerite> ah, neat
<clever> the above python may go away
<sphalerite> nope, it didn't
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #25578: services.xserver.xautolock: add module (master...module/xautolock) https://git.io/v9wK4
NixOS_GitHub has left #nixos []
<clever> strange then
<gchristensen> sphalerite: what does a singledisk laptop make a difference for?
<clever> maybe something got ran as root at the wrong time, and it was able to mess with the store contents
<clever> gchristensen: nix-store --verify --check-contents says what?
<sphalerite> yeah it's not a failed build... there's some stuff depending on it
<sphalerite> gchristensen: can't dedicate the whole disk to zfs because it needs a boot partition
<clever> sphalerite: the binary cache copy of that path lacks a _sysconfigdata.cpython-35.pyc file
<sphalerite> path ‘/nix/store/76rgpkm1jqgqwz4bjnk8y37z29q82zgy-python3-3.5.3’ was modified! expected hash ‘a5d9f1bb8b3380bc292c7c230933e60dc4a4a109cbb4b80b78e05c5ae93645bc’, got ‘581918f27ecd5baa632c4d780d4baa9dbacaa991fb55866a0afcaec23ada745e’
<clever> it has a version without _
jgertm has quit [(Ping timeout: 240 seconds)]
<clever> adding --repair to the previous command should re-fetch it from the cache
grusbus has joined #nixos
Itkovian has joined #nixos
<gchristensen> sphalerite: ahh but for almost 100% of the read / write traffic is dedicated to zfs
<sphalerite> ah right
<sphalerite> clever: yep that fixed it. How could that happen though? On NixOS?
<clever> the store is normaly bind mounted read-only, so not even root can write to it
eacameron has joined #nixos
<clever> but the chroot from the installer lacks that, and during early boot it may be missing
<clever> and if python was being naughty at one of those times, it could try to re-optimize pyc files
Itkovian has quit [(Client Quit)]
<clever> sphalerite: stage2 remounts it read-only here, but if some naughty python was ran before that point, it could mess things up
<sphalerite> huh ok
<sphalerite> the installer seems most likely to me
jgertm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 2 new commits to master: https://git.io/v9w6q
<NixOS_GitHub> nixpkgs/master 6aefa13 Michal Rus: intero-nix-shim: fix runtime dependencies
<NixOS_GitHub> nixpkgs/master 63841d1 Shea Levy: Merge branch 'intero-nix-shim' of git://github.com/michalrus/nixpkgs
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #25571: intero-nix-shim: fix runtime dependencies (master...intero-nix-shim) https://git.io/v9wcg
NixOS_GitHub has left #nixos []
ryanartecona has joined #nixos
CMCDragonkai3 has quit [(Ping timeout: 268 seconds)]
ryanartecona has quit [(Ping timeout: 240 seconds)]
* clever heads to bed
<sphalerite> Is there a good reason to have exec=on for a home filesystem on NixOS?
<MichaelRaskin> Nothing NixOS-special
eacameron has quit [(Remote host closed the connection)]
nh2 has joined #nixos
<nh2> how can I put a python package like `consul` to be available in the shell of my nixos server (deployed with nixops)? If I do `pkgs.python36Packages.consul`, it doesn't seem to be available to my `python`. With nix-shell -p it works
Itkovian has joined #nixos
<ToxicFrog> nh2: you need python36.withPackages in your systemPackages
<ToxicFrog> nh2: here's an example from mine for py27 libraries: (python27.withPackages (pkgs: [pkgs.mutagen pkgs.websocket_client]))
cpennington has joined #nixos
Itkovian has quit [(Client Quit)]
noexcept_ has joined #nixos
mudri has joined #nixos
nh2 has quit [(Quit: Leaving.)]
amir has quit [(Ping timeout: 240 seconds)]
amir has joined #nixos
Itkovian has joined #nixos
aanderse has quit [(Remote host closed the connection)]
ryantrinkle has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Client Quit)]
Itkovian has joined #nixos
aanderse has joined #nixos
Itkovian has quit [(Client Quit)]
iyzsong has joined #nixos
pie_ has joined #nixos
<sphalerite> MichaelRaskin: well yes it is IMO because on NixOS you can install your own software through a package manager, while on other distros unprivileged users typically have to run software that isn't installed system-wide from their home directories in an ad-hoc fashion
Itkovian has joined #nixos
phorse` has quit [(Ping timeout: 268 seconds)]
<pie_> uh, is the correct way to upgrade from 16.03 to 17.03 to replace the channels root has?
<gchristensen> pie_: yeah
<pie_> and then update and upgrade_
<MichaelRaskin> Well, even on NixOS you are likely to have local scripts
<pie_> ok i got a warning about some kde4 option not existing
<sphalerite> But you can install them through nix!
<gchristensen> pie_: probably safest to do a `nixos-rebuild boot`
<pie_> and now its an error
<pie_> oh ok
<pie_> error: The option `services.xserver.desktopManager.kde4' defined in `/etc/nixos/configuration.nix' does not exist.
<gchristensen> sphalerite: you've never made a script to make calling `nix-build` simpler?
<MichaelRaskin> sphalerite, but in practice you won't
<gchristensen> pie_: ah yes, kde4 doesn't exist anymore
<MichaelRaskin> I mean, on a usual distro you can explicitly call the dynamic linker
<pie_> gchristensen, yeah i vaguely remember something like that, is there a config update tool? (probably not)
<sphalerite> Oh yeah
<sphalerite> So I guess the only effect is a reduction in convenience
<gchristensen> pie_: I wish :( you probably want services.xserver.displayManager.sddm.enable = true; and services.xserver.desktopManager.plasma5.enable = true; instead of kdm annd kde
<gchristensen> sphalerite: or a script using #!nix-shel
<pie_> gchristensen, thanks
<gchristensen> pie_: you're welcome, let me know how it goes
Filystyn has quit [(Quit: hue)]
<MichaelRaskin> To be honest, Nix _requires_ a+rwxt exec directory to exist
<pie_> gchristensen, hopefully not up in flames :P
<gchristensen> sphalerite: even the most paranoid systems I've worked in have allowed executables in ~
<pie_> gchristensen, i feel like theres a lot of commonly occuring questions in here which a bot would help with
<gchristensen> pie_: it shouldn't :P
<pie_> gchristensen, <3 nix \o/
<pie_> brb (not rebooting)
pie_ has quit [(Quit: Leaving)]
eacameron has joined #nixos
pie_ has joined #nixos
justanotheruser has quit [(Ping timeout: 240 seconds)]
bennofs has joined #nixos
<gchristensen> pie_: out of curiosity, why have you stayed on 16.03 so long?
eacameron has quit [(Remote host closed the connection)]
<pie_> havent used this machine in a while, figured its time to update :P
<gchristensen> gotcha
georges-duperon has quit [(Ping timeout: 264 seconds)]
georges-duperon has joined #nixos
Gravious has quit [(Remote host closed the connection)]
cpennington has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
georges-duperon has quit [(Ping timeout: 264 seconds)]
<hodapp> oh gawd. this build uses a bunch of m4 and autotools. this will be....... fun.
<makefu> hodapp: as long as it is default autotools you can use nativeBuildInputs = [ autoreconfHook ];
<gchristensen> <3 autoreconfHook
ryanartecona has joined #nixos
<hodapp> makefu: I'll try this
<hodapp> not sure if it's default autotools or not
<hodapp> "./configure: line 17428: syntax error near unexpected token `3.32.1,HAVE_LIBPSTOEDIT_321=yes'" whaaa...
marsel has joined #nixos
ryanartecona has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 264 seconds)]
justelex has quit [(Ping timeout: 240 seconds)]
jacob has joined #nixos
jacob is now known as Guest46995
georges-duperon has joined #nixos
<hodapp> okay, just realized I needed autoreconfPhase, but it's still hollering about "configure.in:291: error: possibly undefined macro: AM_PATH_PSTOEDIT"
Filystyn has joined #nixos
<hodapp> jeebus cripes, how did this ever build on anything
<gchristensen> hodapp: does that mean you're missing the dependencie pstoedit?
<hodapp> maybe, trying that now
* gchristensen is a super noob at autoconf
<hodapp> yeah, me too.
<hodapp> "configure.in:431: error: required file 'autotrace-config.in' not found"
* hodapp shrugs
<hodapp> oh, I need to build this OTHER tool to do that :|
<makefu> hodapp: sometimes you also need pkgconfig
<makefu> nativeBuildInputs = [ pkgconfig autoreconfHook ];
<hodapp> I don't think that's the deal, I think I just have to grab this tarball (autofig?) and build it too
sibi has quit [(Quit: Connection closed for inactivity)]
roconnor_ has joined #nixos
<makefu> geez
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vdemeester opened pull request #25579: docker-edge: 17.04 to 17.05 (master...docker-edge-update-17.05) https://git.io/v9wDF
NixOS_GitHub has left #nixos []
roconnor_ has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
bennofs has joined #nixos
<pie_> gchristensen, whats the proper way to do an upgrade for a user?
<pie_> *for user packages
georges-duperon has quit [(Ping timeout: 264 seconds)]
<hodapp> I have to run this tool 'autofig' prior to autoreconfPhase being run, but when I'm in a nix-shell trying to test this out by running unpackPhase (and I've put it in, for instance, postUnpack), I keep getting errors about the FS being read-only
marsel has quit [(Ping timeout: 260 seconds)]
<hodapp> but I can just run it manually in the shell, and it works fine
<hodapp> what is makig ${src} read-only?
iyzsong has quit [(Ping timeout: 246 seconds)]
<MichaelRaskin> pie_: a truly proper way is to use something with nix-build which very closely corresponds to your actual needs and do whatever is natural for that construction, I guess
iyzsong has joined #nixos
sibi has joined #nixos
<hodapp> preConfigure has the same issue :|
<pie_> well nix-env --upgrade worked
<pie_> nevermind
Mateon3 has joined #nixos
<pie_> got killed due to out of memeory
<pie_> halp
<hodapp> should ${src} be writable during unpackPhase and such? I haven't touched dontMakeSourcesWritable
iyzsong has quit [(Quit: bye.)]
<pie_> well, gave it another shot it seems to be getting farther
<pie_> oh well firefox also died so thats udnerstandable...
Mateon1 has quit [(Ping timeout: 255 seconds)]
Mateon3 is now known as Mateon1
<pie_> why does nix need so much ramß
<MichaelRaskin> I wonder if --upgrade actually evaluates _all_ derivations to find the names of the fresh versions in case attribute names have changed
freusque has quit [(Ping timeout: 255 seconds)]
fre has joined #nixos
<hodapp> so postUnpack starts out with PWD=/tmp/nix-build-autotrace-2005-09-19.drv-0, and I need to do in autotrace-b3ac8818d86943102cb4f13734e0b527c42dc45a-src, but how do I actually get that name?
<hodapp> oh, $sourceRoot, not ${sourceRoot}... I guess
Gravious has joined #nixos
<_c_> happy to announce that NixCon 2017 will take place in Munich on October 28-31: http://nixcon2017.org/
<hodapp> "config.status: error: cannot find input file: `po/Makefile.in.in'"
<hodapp> what... does that even mean
ryantrinkle has joined #nixos
Gravious has quit [(Remote host closed the connection)]
Gravious has joined #nixos
<hodapp> oh, I have to somehow trick glib-gettextize into working
<hodapp> this is really making me wonder how anything with autotools *ever* builds
alx741 has joined #nixos
* pie_ ponders whether nix just decided to install everything from un
<pie_> stable or something
danharaj has joined #nixos
<MichaelRaskin> Not _install_
<MichaelRaskin> But check for installability, yes
kochev has joined #nixos
<pie_> *compile
<pie_> opencv is being compiled instead of installed from binaries
<pie_> i may or may not have installed opencv from unstable
Gravious has quit [(Ping timeout: 240 seconds)]
* pie_ sighs
<pie_> 82%
<pie_> can i make nix run on two threads_
<MichaelRaskin> You can
<MichaelRaskin> But not always
<MichaelRaskin> With OpenCV you can
<MichaelRaskin> (maybe it's too late now)
georges-duperon has joined #nixos
acarrico has joined #nixos
* pie_ installs winetricks
<pie_> wintricks pulls in half the universe
<pie_> why is winetricks requiring systemd
<MichaelRaskin> And 32-bit one, just to make sure you don't have it yet
<pie_> ah well now its pulling in wine
<pie_> guess i have the wrong version of wine or something
<pie_> yay it finished
takle has quit [(Remote host closed the connection)]
<hodapp> anyone have enough m4-fu to know how to work with http://lpaste.net/5895652966714572800? all of those m4 files listed are provided by gettext, but I don't really know how to do what it's suggesting (with autoreconf or otherwise)
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined #nixos
<pie_> err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will fail
<pie_> when trying to do something with wine :( help
<pie_> something something possibly need to install 32 bit libgnutls?
<pie_> how do i install a 32bit lib
epta has joined #nixos
ryanartecona has joined #nixos
<epta> it seems to be that tmpfs limit for user is 200Mb. 'tmpfs 201M 40K 201M 1% /run/user/1000'
<epta> is there a way to extend it?
<MichaelRaskin> I think it is a mount option
<MichaelRaskin> pie_: pkgsi686Linux.gnutls? Not sure it will help, though
<pie_> i dont think so either but ill give it a shot
<pie_> thanks
Arguggi has joined #nixos
nh2 has joined #nixos
<pie_> yeah didnt help
ryanartecona has quit [(Ping timeout: 264 seconds)]
alx741_ has joined #nixos
<Arguggi> Hello, iptables isn't working ( iptables v1.6.1: can't initialize iptables table `filter': Table does not exist (do you need to insmod?) ), haven't touched nixos in months and forgot everything :( , I'm on a scaleway vps after following this: https://gist.github.com/ldesgoui/598648a1af42a451c23657b548b250db
<MarcWeber> garbas: What about .whl files (such as tensorflow) on pypi2nix? Does it make sense to support them?
<FRidh> MarcWeber: you can add yourself an expression that uses a .whl in the overrides file.
alx741 has quit [(Ping timeout: 240 seconds)]
<MarcWeber> Error: Most likely `tensorflow==0.10.0rc0` package does not have source (zip/tar.bz) distribution.
<MarcWeber> Is what I'm getting when running pypi2nix. Will it understand that overrides in that phase?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #25577: haskellPackages.postgrest-ws: dontCheck (master...master) https://git.io/v9wrL
NixOS_GitHub has left #nixos []
grusbus is now known as a_ryan
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v9w7s
<NixOS_GitHub> nixpkgs/master 56799cf Tim Steinbach: coursier: 1.0.0-RC1 -> 1.0.0-RC2
<NixOS_GitHub> nixpkgs/master c882b96 Tim Steinbach: Merge pull request #25560 from NeQuissimus/coursier_1_0_0_rc2...
NixOS_GitHub has left #nixos []
<MarcWeber> https://pypi.python.org/pypi/tensorflow/1.1.0 .whl files are there, but no source.
<MarcWeber> Why should I take care if it could be done automatically?
<hyper_ch> FRidh: *ping*
<nh2> ToxicFrog: thanks, that seems to do it
<bennofs> MarcWeber: i wonder if the whl's even work on nix. wouldn't they likely need some patchelfing?
<FRidh> MarcWeber: open a PR where you make the following optional https://github.com/garbas/pypi2nix/blob/master/src/pypi2nix/pip.nix#L49
<hyper_ch> FRidh: not really sure how that is supposed to work: git fetch channels && git checkout channels/nixos-unstable && nix-build -A python.pkgs.warlock
<hyper_ch> I would first need a git repository in order to use that
<epta> MichaelRaskin: should it be set in 'extraUsers'?
<MichaelRaskin> No idea where
<MarcWeber> bennofs: running patchelf would not be a big problem. There are multiple versions online and if I don't match exactly I feel lucky - I don't want to.
<MichaelRaskin> config.boot.runSize maybe
<MarcWeber> But before spedning much time I maybe somebody already has tried. Maybe there is a reason why its not supported.
takle has joined #nixos
<mpickering> how much will nixcon be?
nh2 has quit [(Quit: Leaving.)]
takle has quit [(Ping timeout: 240 seconds)]
<_c_> talks and hackathon will be free, workshops are not decided yet
takle has joined #nixos
nh2 has joined #nixos
<ertes> i'm currently replacing all the unicode quotes, and i noticed that the quotes aren't consistent
<ertes> now i'm only going to replace quotes in user-facing code, i.e. output strings… i'm leaving code comments alone
nh2 has quit [(Read error: Connection reset by peer)]
<ertes> but i thought i could fix the inconsistency in comments as well… any opinions?
<ertes> like turn `backtick' quotes into unicode, or turn everything into 'ASCII'
Jackneilll has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] davidak opened pull request #25580: bcachefs-tools: init at f9395ee (master...bcachefs-tools) https://git.io/v9w5q
NixOS_GitHub has left #nixos []
mkoenig has joined #nixos
<garbas> MarcWeber: i know i wanted to support wheel files once in pypi2nix, but i choose not to. i don't remember the reason right now but give me few minutes and i recall the problem that stopped me
<garbas> MarcWeber: ah yeah ofcourse. while we couuld support "generic" wheels ("-py2.py3-none-any") thngs would get complicated when those binaries look for system dependencies
jgertm has quit [(Ping timeout: 246 seconds)]
<garbas> MarcWeber: enforcing to build from source distributions also forces us to detect this system dependencies at nix expression generation time (when you run pypi2nix)
pxc has joined #nixos
nh2 has joined #nixos
ryanartecona has joined #nixos
pxc has quit [(Client Quit)]
<MarcWeber> garbas: For ruby compile time I use such: https://github.com/MarcWeber/nixpkgs-ruby-overlay/blob/master/patches.nix
<MarcWeber> So I note that a ruby package called 'mysql' requires C dependency 'mysql' once.
<MarcWeber> its not perfect, but would allow to share "dependencies" evntually for both binary and source distributions.
<MarcWeber> I try to match 'name-verison' then 'name' only which was good enough for my presonal attempts.
<MarcWeber> finding binary deps is the same problem for both cases I guess.
<MarcWeber> https://github.com/david-gpu/srez I want to run it once, not take hours to work on the source.
<FRidh> bennofs: that might be needed at some point but so far none reported issues with binary wheels though I think the only package using them so far is tensorflow
<asymmetric> hi guys, i got a mail from hydra saying a build is broken
<asymmetric> i have no idea what to do though
<garbas> MarcWeber: I know it is possble to list this overrides somewhere (we already started this here -> https://github.com/garbas/nixpkgs-python/blob/master/overrides.nix) but then why not just build from source distribution if such unpredictable magic is needed
darlan has joined #nixos
systemfault has joined #nixos
<MarcWeber> garbas: The true fix is going a cross-system/platform route to allow package mantainers to describe that all so that you can install from package description from github.
<garbas> MarcWeber: if "the true fix" ever happens let me know :)
<FRidh> MarcWeber: as soon as pep 517/518 is accepted, and we get Pipfile for applications, then the next step would be dependencies declaratively for libraries
<garbas> that means in 5-7 years :P
<FRidh> yep :P
nh2 has quit [(Ping timeout: 240 seconds)]
<garbas> the same was true when tarek was working on his setup.cfg stuff :)
<FRidh> if we would just have a stack.yaml with a resolver for python, now that would save a lot of work
<FRidh> Well for most packages that would be sufficient. Same as many could use flit nowadays instead of setuptools.
kochev has quit [(Ping timeout: 240 seconds)]
epta has quit [(Quit: WeeChat 1.4)]
<JayVii> heya, can anyone hint me in the right direction real quick? Steam isn't Launching for me (see pastebin), it used to work just fine a few weeks ago. Running NixOS 17.03 https://0bin.net/paste/oPALwPxNvss+BKd3#KSKk7cRkY9RpxZcyu9d65i-sfOWiZJ1a8G3IURMZcGt
<JayVii> it seems to fail in Line 4 (MIT-MAGIC-COOKIE-1)
luigy has left #nixos []
Tipping_Fedora has quit [(Read error: Connection reset by peer)]
Tipping_Fedora has joined #nixos
agjacome has joined #nixos
nh2 has joined #nixos
m3 has joined #nixos
m3 is now known as epta
<nh2> OK, I have a single python script and I want to make it available so I can just run it from the command line. How do wrap it so that nix somehow sets the interpreter / installed package environments for it? Do I need to use `buildPythonApplication`? How do I pass the script to mkDerivation without the unpackPhase trying to unpack it? I've spent 2 hours now and I just can't figure out how to make a simple hello world style script work.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 0arthur opened pull request #25581: pythonPackages.setuptools_scm: 1.15.0 -> 1.15.5 (master...setuptools_scm) https://git.io/v9wFi
NixOS_GitHub has left #nixos []
leat has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v9wFA
<NixOS_GitHub> nixpkgs/master 3be53fc montag451: gnome-disks: add D-Bus service
<NixOS_GitHub> nixpkgs/master a1dc3fd Joachim F: Merge pull request #25562 from montag451/gnome-disks-dbus...
NixOS_GitHub has left #nixos []
bennofs has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] esoeylemez opened pull request #1377: Replace Unicode quotes in user-facing strings by ASCII (master...ertes-quotes) https://git.io/v9wFp
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v9wFx
<NixOS_GitHub> nixpkgs/master 27a5771 Kranium Gikos Mendoza: sqlitebrowser: switch to qt 5.6
<NixOS_GitHub> nixpkgs/master aa8b0bf Joachim F: Merge pull request #25546 from womfoo/sqlite-use-qt56...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25416: openal-soft: move cmake to nativeBuildInputs (master...openal-soft-cross) https://git.io/v98ie
NixOS_GitHub has left #nixos []
<LnL> if you add python as a buildInput, patchShebangs will automatically rewrite the interpreter reference for you
cpennington has joined #nixos
<LnL> you can also use a nix-shell shebang if you just want to use it directly
<nh2> LnL: I have added `propagatedBuildInputs = with pkgs.python36Packages; [ consul six requests2 ];`, does that do what you say?
endformationage has joined #nixos
<nh2> LnL: I want to use it from the shell of the server deployed with nixops, and from systemd startup scripts
<LnL> ah in that case you probably want a real drv
<LnL> and patchShebangs only works for the interpreter dependencies need a PYTHONPATH
bennofs has joined #nixos
<nh2> LnL: the only thing that I managed to make work so far is this: https://gist.github.com/nh2/8f1656d53d2aceeddbf67904a051c5d1#file-working-but-ugly-nix
<nh2> but it seems ugly because it doesn't use any buildInputs, I'm not using `src` and so on
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25321: reaver: database on readwrite medium (master...reaver-rw-database) https://git.io/v9CCn
NixOS_GitHub has left #nixos []
cpennington has quit [(Ping timeout: 268 seconds)]
<Filystyn> you
<Filystyn> yo**
<Filystyn> I want to add printer
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v9wbE
<NixOS_GitHub> nixpkgs/master 76b5d53 Volth: pngquant: 2.6.0 -> 2.9.1
<NixOS_GitHub> nixpkgs/master 2b922a8 Joachim F: Merge pull request #25532 from volth/pngquant-2.9.1...
NixOS_GitHub has left #nixos []
<nh2> also it doesn't seem to get put into the PATH on my server
<Filystyn> do I need to download lpp ( not sure i remember the correct name) the thing for cups printers
marsel has joined #nixos
<FRidh> nh2: use stdenv.mkDerivation and buildInputs = [ (pythonEnv.withPackages(ps: with ps; [ consul six requests2 ])) ]
<FRidh> and copy it to $out
<FRidh> it -> the script
<FRidh> patchShebangs will then use the python from this env
<FRidh> oh, pythonEnv should have just been python or python36 in your case
mudri has quit [(Ping timeout: 240 seconds)]
reinzelmann has joined #nixos
<nh2> FRidh: what's the correct way to tigve that mkDerivation my single-file python script?
leat has joined #nixos
<LnL> that works with dependencies? I expected you'd need to create a wrapper
<nh2> for the other problem, how do I get a thing symlinked into `current-system`?
<nh2> I put my https://gist.github.com/nh2/8f1656d53d2aceeddbf67904a051c5d1#file-working-but-ugly-nix into `environment.systemPackages` but it doesn't seem to have an effect for my python script
<FRidh> better though to copy to $out/bin/myscript I think
<nh2> FRidh: don't I do that? I copy to $out/bin
<nh2> or do you mean to drop the `.py`?
<nh2> FRidh: for your example, I get "unpacking sources", "variable $src or $srcs should point to the source"
<FRidh> nh2 unpackPhase = true;
<Filystyn> how to check is my printer driver in pkgs?
<Filystyn> i need this : Postscript-Ricoh
<Filystyn> but dunno how to check maybe it complains becaus i write big letters lol
<Filystyn> How can i manualy add this?
<Filystyn> i can download it by my self but how to add it?
<nh2> FRidh: you mean unpackPhase = "true"?
<asymmetric> can someone explain me how to create a .nix file in a directory that specifies all the libs/tools i need for a project
<asymmetric> i.e. the rough equivalent of a ruby Gemflie
<asymmetric> i looked at this https://nixos.org/nixpkgs/manual/#how-can-i-install-a-working-python-environment but it's python specific
justelex has joined #nixos
<asymmetric> i need to specify postgresql and mapnik
<Filystyn> how to install printer driver if it's not in pkgs
<Filystyn> i got it how to fetch it
nh2 has quit [(Quit: Leaving.)]
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] asymmetric opened pull request #25582: mapnik: 3.0.12 -> 3.0.13 (master...mapnik) https://git.io/v9wNd
NixOS_GitHub has left #nixos []
<Filystyn> whhere is usr/share on nix?
<Filystyn> damn I am on wrong hours ;-) well maybe tomorow
<MichaelRaskin> There is no /usr/share in Nix…
<MichaelRaskin> Packages install into $out/share; for packages in sytemPackages this gets collected into /run/current-system/sw/share
cornu[m]1 has joined #nixos
<Filystyn> so hwo to tell nix to put soemthing to place that normaly would be usr/share/program/here
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #25583: Python: update script for packages (master...updatescript) https://git.io/v9wAC
NixOS_GitHub has left #nixos []
<MichaelRaskin> This should be done by a package
<MichaelRaskin> A package just puts the files into "$out"/share/
<Filystyn> there is no package
<Filystyn> i need to do it manualy
<Filystyn> there is no Postscript-Ricoh package for cups
<Filystyn> so i need to add it manualy
<MichaelRaskin> Basically, the only way includes creating a package
<Filystyn> So I must create a package by my self using nix expression language or how you call it right?
<MichaelRaskin> Yes
<Filystyn> Ok. Thx at least i have a point of start ;-)
<Filystyn> Is there any tutorial on it?
nh2 has joined #nixos
<MichaelRaskin> Well, NixPkgs (not NixOS) manual includes an explanation how to write packages
<MichaelRaskin> By the way, if the printer is Postscript one, Generic Postscript may be close enough for all practical purposes
<MarcWeber> http://nixos.org/nixpkgs/manual/ 9.11.1.1.2 @ nh2
<Filystyn> there is no postscript
<MarcWeber> Oh, forgott to scroll down.
<MichaelRaskin> Postscript-Ricoh is not postscript?
danbst has joined #nixos
<Filystyn> i mean nor services.printing.drivers = [ pkgs.postscript ]; or services.printing.drivers = [ pkgs.Postscript-Ricoh ]; works
<Filystyn> anyway I will investigate the link
montag451__ has joined #nixos
<MichaelRaskin> You don't need to add anything for Generic Postscript support
<MichaelRaskin> That come swith CUPS
<Filystyn> ihm than I am affraid it does not detect my printer
<MichaelRaskin> I usually need to at least initiate the process of addition via CUPS Web UI
<MichaelRaskin> http://127.0.0.1:631/
montag451_ has quit [(Ping timeout: 240 seconds)]
<Filystyn> I am there but It normaly saw my printer on adding
<sphalerite> So I'm having graphics issues on the laptop that I bought partly because of the graphics issues on the old one, yay!
<Filystyn> and now It does not detect I can't add my
<sphalerite> Is there a way to have a module included in the system configuration but prevent it from being loaded automatically?
ryanartecona has quit [(Quit: ryanartecona)]
kochev has joined #nixos
<danbst> hi. Do you people manage own nixpkgs Git repos with custom patches applied above? If yes, do you still use nix-channel and how/why?
<srhb> danbst: Yes and no.
<srhb> THough to be honest I only keep those commits around for as long as it takes to get them integrated in nixpkgs proper, and if they're not going to, I keep them in some overlay instead of in my nixpkgs fork.
<nh2> MarcWeber: I am a bit confused, is that section you mention to aid with the problem of getting my script into the PATH of the nixops-deployed server, or was it a response to one of my earlier questions? It seems to be about nix-shell mainly
<danbst> srnb: do you export those commits as PRs?
<danbst> sorry, srhb
<nh2> danbst: I use a full nixpkgs clone for full reproducibility for building packages with nix-build and and for deploying with nixops. Like srhb, I put in there only changes that I want to upstream with PRs, and other changes that I don't want to upstream go into overrides in my own nix files
<MarcWeber> nh2: It allows to make the script ask nix to prepare an env which can run your script.
alx741_ has quit [(Quit: alx741_)]
<MarcWeber> Of course you can also just add python packages as buildInputs -> then take PYTHONPATH from build env into your $out/bin/... script env and be done.
<MarcWeber> Maybe there are even better ways.
alx741 has joined #nixos
<danbst> there exist a technique to treat nixpkgs as derivation and apply PRs as patches on top (and then import from that derivation). Does anybody except me manage nixpkgs in such way? Main benefit, it makes explicit at Nix level what patches are applied, and more reproducible (I guess)
<srhb> danbst: Export? No...
<nh2> danbst: I'm not sure what you mean by more reproducible here; isn't having nixpkgs as checkout in your code as reproducible as it gets?
<MichaelRaskin> Well, explicit patching makes it harder to get into a mess of manual merges
<danbst> nh2: I mean, you can show people a gist of nixpkgs with some PRs applied as .nix file, not as Git repo
kochev has quit [(Remote host closed the connection)]
<danbst> MichaelRaskin: agree, still don't want to learn Git :D
<sphalerite> Is there a convenient way to show what changed between two system configurations? Not in terms of nix expressions (like using version control on the expressions would do) but in terms of the resulting files?
<MichaelRaskin> We-ell
<MichaelRaskin> You could try doing nix-store --query --graph on both outcomes
<dmj`> sphalerite: clever has a way to do this
<MichaelRaskin> Then diff that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v9wxS
<NixOS_GitHub> nixpkgs/master 0f918b9 Lorenzo Manacorda: mapnik: 3.0.12 -> 3.0.13
<NixOS_GitHub> nixpkgs/master d316088 Frederik Rietdijk: Merge pull request #25582 from asymmetric/mapnik...
NixOS_GitHub has left #nixos []
<nh2> danbst: ah, I see. So far I haven't felt a big need for that, I was quite happy with plain git commits
ryanartecona has joined #nixos
Intensity has quit [(Changing host)]
Intensity has joined #nixos
<sphalerite> MichaelRaskin: the result of that is a mess, not very helpful unfortunately. Thanks for the suggestion though!
<sphalerite> danbst: I'll give that a shot
ryanartecona has quit [(Client Quit)]
<MichaelRaskin> sphalerite: well, you can sort beforehand, and look only at "node" lines
<MichaelRaskin> Maybe -qR, sorting and diffing is good enough for your use case
oida has quit [(Ping timeout: 260 seconds)]
<aristid> what has hydra been stuck on again for the past few days?
acarrico has quit [(Ping timeout: 260 seconds)]
<aristid> oh, failing tests!
<sphalerite> MichaelRaskin: yes, -qR seems to be better
<MichaelRaskin> --graph is better then you start tracking down the original reason for a change
mkoenig has quit [(Remote host closed the connection)]
oida has joined #nixos
acarrico has joined #nixos
Itkovian has joined #nixos
oida has quit [(Ping timeout: 246 seconds)]
oida has joined #nixos
Itkovian has quit [(Client Quit)]
<Filystyn> ok guys
<Filystyn> I made it work
<Filystyn> that printer
<Filystyn> tho had to pass cups the ppd file manualy
marsel has quit [(Ping timeout: 255 seconds)]
<nh2> I'm still unclear on how nixos decides what to link into /run/current-system/sw/bin. I stripped off the `.py` but the issue remains that it's not in there
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v9whE
<NixOS_GitHub> nixpkgs/staging d4dde07 Frederik Rietdijk: Python release: do not build all Python packages...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v9whg
<NixOS_GitHub> nixpkgs/staging 7a61788 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
zraexy has joined #nixos
<sphalerite> MichaelRaskin: I know the exact change I made, what I want to know is exactly what the effect of that change was
<sphalerite> Actually, maybe reading the expressions would be helpful as well...
<danbst> sphalerite: there exists also a diffoscope utility. Just tested, it really shows the changes, but most of them are not intereseting (hash changes)
<danbst> diffoscope /nix/var/nix/profiles/system /nix/var/nix/profiles/system-49-link
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kamilchm opened pull request #25586: ponyc: 0.13.1 -> 0.14.0 (master...ponyc) https://git.io/v9wjk
NixOS_GitHub has left #nixos []
oida has quit [(Ping timeout: 268 seconds)]
<nh2> oh well so lame, my thing was not symlinked because my disk was full
oida has joined #nixos
justanotheruser has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
engblom has quit [(Read error: Connection reset by peer)]
engblom has joined #nixos
mudri has joined #nixos
Itkovian has joined #nixos
Gravious has joined #nixos
Wizek__ has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
danbst has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v9reK
<NixOS_GitHub> nixpkgs/master 2f3cfe6 Frederik Rietdijk: pythonPackages.pygments: move expression to own file
NixOS_GitHub has left #nixos []
bennofs has quit [(Ping timeout: 258 seconds)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
FRidh has quit [(Quit: Konversation terminated!)]
DerGuteMoritz has quit [(Ping timeout: 260 seconds)]
georges-duperon has quit [(Ping timeout: 258 seconds)]
Guest46995 has quit [(Quit: Lost terminal)]
roconnor_ has joined #nixos
systemfault has quit [(Quit: Bye!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #25587: parallel: 20170122 -> 20170422 (master...update/parallel-20170422) https://git.io/v9rv6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #25588: weka: 3.8.0 -> 3.8.1 (master...update/weka-3.8.1) https://git.io/v9rvA
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #25589: shotwell: 0.26.0 -> 0.26.1 (master...update/shotwell-0.26.1) https://git.io/v9rfv
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #25352: ycmd: copy libclang on darwin (master...darwin-ycmd) https://git.io/v9WBw
NixOS_GitHub has left #nixos []
georges-duperon has joined #nixos
ertesx has joined #nixos
Tipping_Fedora has quit [(Ping timeout: 240 seconds)]
ertes has quit [(Ping timeout: 260 seconds)]
ertesx is now known as ertes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #25590: cytoscape: 3.4.0 -> 3.5.1 (master...update/cytoscape-3.5.1) https://git.io/v9rfu
NixOS_GitHub has left #nixos []
acarrico has quit [(Read error: Connection reset by peer)]
Filystyn has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #25591: filezilla: 3.25.1 -> 3.25.2 (master...update/filezilla-3.25.2) https://git.io/v9rfD
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #25592: whois: 5.2.14 -> 5.2.15 (master...update/whois-5.2.15) https://git.io/v9rfS
NixOS_GitHub has left #nixos []
jabesed has joined #nixos
eacameron has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #25593: languagetool: 3.5 -> 3.7 (master...update/languagetool-3.7) https://git.io/v9rJJ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #25594: Update/htslib 1.4 (master...update/htslib-1.4) https://git.io/v9rJU
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid closed pull request #25589: shotwell: 0.26.0 -> 0.26.1 (master...update/shotwell-0.26.1) https://git.io/v9rfv
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid closed pull request #25591: filezilla: 3.25.1 -> 3.25.2 (master...update/filezilla-3.25.2) https://git.io/v9rfD
NixOS_GitHub has left #nixos []
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid reopened pull request #25587: parallel: 20170122 -> 20170422 (master...update/parallel-20170422) https://git.io/v9rv6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid reopened pull request #25588: weka: 3.8.0 -> 3.8.1 (master...update/weka-3.8.1) https://git.io/v9rvA
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid reopened pull request #25590: cytoscape: 3.4.0 -> 3.5.1 (master...update/cytoscape-3.5.1) https://git.io/v9rfu
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid reopened pull request #25593: languagetool: 3.5 -> 3.7 (master...update/languagetool-3.7) https://git.io/v9rJJ
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid reopened pull request #25589: shotwell: 0.26.0 -> 0.26.1 (master...update/shotwell-0.26.1) https://git.io/v9rfv
NixOS_GitHub has left #nixos []
eacameron has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #25596: tig: 2.2.1 -> 2.2.2 (master...pr/tig-2.2.2) https://git.io/v9rJ8
NixOS_GitHub has left #nixos []
obadz has quit [(Quit: WeeChat 1.7.1)]
amir_ has joined #nixos
amir has quit [(Ping timeout: 240 seconds)]
obadz has joined #nixos
<ericnoan> how do i run sh scripts from a nix-env? i get /bin/bash: bad interpreter: No such file or directory
<obadz> ericnoan: 'from a nix-env' ?
<ericnoan> actually a nix-shell
<obadz> nix-shell --command ./my-script.sh?
<sphalerite> ericnoan: fix the script's shebang
<obadz> the shebang should be #!/usr/bin/env bash
<sphalerite> ^
<obadz> (on any distro at this point)
<sphalerite> or run it with bash explicitly, nix-shell --run 'bash script.sh'
<ericnoan> ah ok thx
justelex has quit [(Quit: Konversation terminated!)]
fre has quit [(Ping timeout: 260 seconds)]
jabesed has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/v9rUL
<NixOS_GitHub> nixpkgs/master fa33bbc mimadrid: parallel: 20170122 -> 20170422
<NixOS_GitHub> nixpkgs/master e7322f1 Pascal Wittmann: Merge pull request #25587 from mimadrid/update/parallel-20170422...
NixOS_GitHub has left #nixos []
nh2 has quit [(Ping timeout: 260 seconds)]
Raimondii has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #25597: cadvisor: fix supported platforms (master...pr/cadvisor-linux) https://git.io/v9rUc
NixOS_GitHub has left #nixos []
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
hiratara has quit [(Ping timeout: 255 seconds)]
hiratara has joined #nixos
thc202 has quit [(Ping timeout: 268 seconds)]
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #25598: go: 1.7.4 -> 1.7.5 (master...pr/go-1.7.5) https://git.io/v9rUN
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
luigy has joined #nixos
agjacome has quit [(Quit: leaving)]
eacameron has quit [(Ping timeout: 260 seconds)]
montag451___ has joined #nixos
Mateon3 has joined #nixos
aanderse_ has joined #nixos
nadley_ has joined #nixos
tg` has joined #nixos
<sphalerite> I just spent about 3 minutes on the nixcon2017 website moving my mouse over the nix logo and back. It's wonderful
<gchristensen> link?
<nh2> gchristensen: http://nixcon2017.org/
<gchristensen> a well constructed domain
<gchristensen> ugh
puffnfresh_ has joined #nixos
spacefrogg_ has joined #nixos
HappyEnte_ has joined #nixos
mw_ has joined #nixos
eacameron has joined #nixos
tg` is now known as tg
Mateon3 is now known as Mateon1
mw_ is now known as mw
puffnfresh_ is now known as puffnfresh
<steveeJ> does anyone use qtile and cann tell me if they also have SHLVL=2 in the top-level terminal?
<Ralith> anyone have an example of specifying a custom nvidia driver version handy?
eacameron has quit [(Ping timeout: 260 seconds)]
montag451___ has quit [(Ping timeout: 240 seconds)]
danharaj has joined #nixos
<Gravious> wooo nixcon
icetan has joined #nixos
mdash has joined #nixos
spacekitteh[m] has joined #nixos
sudoreboot[m] has joined #nixos
dmj` has joined #nixos
darlan has joined #nixos
darlan has quit [(Client Quit)]
darlan has joined #nixos
darlan has quit [(Client Quit)]
Gravious has quit [(Quit: leaving)]
eacameron has joined #nixos
zeus_ has joined #nixos
danharaj has quit [(Ping timeout: 260 seconds)]
<Ralith> do I need to do some special magic to override a video driver?
<Unode> Ralith: xserver.videoDrivers = ["nvidiaLegacy340"]; is what I have
<Ralith> Unode: I need a specific version, not one of the existing helpers
jb55 has quit [(Read error: Connection reset by peer)]
<Ralith> hence "override"
<Unode> Ralith: then I don't know. Sorry.
eacameron has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
<judson> Ralith, have you looked at how the helpers are defined?
<judson> (is it more that a fetchurl?)
<Ralith> yes, they refer to the package
<Ralith> I'm trying and failing to override it
<judson> I mean, how are the packages defined?
<Ralith> currently stuck at "error: attribute ‘extend’ missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/kernel.nix:26:31"
<Ralith> encountered while evaluating boot.kernelPackages
<Ralith> there's a helper function that takes a version and some hashes, I'm calling that
<Ralith> see os-specific/linux/nvidia-x11/default.nix
<Ralith> my current attempt: http://sprunge.us/JADB
<Ralith> (hashes are nonsense, I haven't gotten far enough for it to check them)
Wizek has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
<judson> And you can always fix them based on the errors
<Ralith> right, just have to get that far
darlan has joined #nixos
<judson> Not sure, but I don't think you want the callPackage there.
<judson> In all-packages, nvidia_x11 is set to nvidiaPackages.stable directly
<judson> So my guess is that you want to pull that layer off and use the import directly.
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] johnramsden opened pull request #25600: nylas-mail: 2.0.31 (master...nylas-mail) https://git.io/v9rIi
NixOS_GitHub has left #nixos []
eacameron has quit [(Ping timeout: 240 seconds)]
<nh2> I've posted the answer to my question from before on StackOverflow: http://stackoverflow.com/questions/43837691/how-to-package-a-single-python-script-with-nix/43837692#43837692
cpennington has joined #nixos
acarrico has joined #nixos
<Ralith> judson: look at the definition of nvidiaPackages
<Ralith> stable is constructed by such a callPackage
<judson> I see that now.
Wizek has joined #nixos
eacameron has joined #nixos
kampfschlaefer has quit [(Ping timeout: 260 seconds)]
<makefu> nh2: this looks really nice, i think it would be a great entry for https://github.com/nixos-users/wiki/wiki
eacameron has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bobakker opened pull request #25601: hpx: init at 1.0.0 (master...master) https://git.io/v9rLD
NixOS_GitHub has left #nixos []
<judson> How does one get pp-aterm these days?
<josePhoenix> Hmm. It appears that the Plex package for 17.03 is not new enough
<josePhoenix> Is there a way to upgrade one package to unstable without moving the whole system?
<gchristensen> sure, josePhoenix
<gchristensen> how do you enable plex in your configuration?
<josePhoenix> I have 'services.plex.enable = true;'
<josePhoenix> and plex in systemPackages
<gchristensen> out of curiosity, why is it in systemPackages?
<josePhoenix> Hmm, because I didn't know any better? :) Should it be somewhere else?
<josePhoenix> I'm using this machine as a Plex Media Server but not using it for media playback directly
<gchristensen> do you run plex commands manually?
<josePhoenix> no
<gchristensen> ok, cool
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] judah opened pull request #25602: Remove unused `local` command. (master...sierra-haskell) https://git.io/v9rLb
NixOS_GitHub has left #nixos []
ericsagnes has quit [(Ping timeout: 240 seconds)]
<makefu> nh2: in the meantime i tooke the liberty to include it: https://github.com/nixos-users/wiki/wiki/General-recommendations , the wiki is editable with your github login so feel free to update the entry :)
<gchristensen> josePhoenix: you should be able to do: services.plex.package = (import (builtins.fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz) {}).plex; <- this will always fetch the plex from the latest nixos-unstable release
<gchristensen> josePhoenix: I'd recommend removing plex from systemPackages though
<josePhoenix> Okay, thanks. Will it still be installed if the service is enabled?
markus1199 has joined #nixos
markus1209 has joined #nixos
<josePhoenix> I'm not sure why it's in systemPackages except that I put it there at some point along the path of getting the thing working :)
<gchristensen> it won't be in systempackages / your PATH but it will bee installed & woroking
<makefu> josePhoenix: this is the philosophy of nix, all dependencies required to build a service will be installed. it will not be in your path though, you will also most likely not need it
<makefu> the service will contain the complete path to the executables
markus1189 has quit [(Ping timeout: 240 seconds)]
markus1219 has quit [(Ping timeout: 240 seconds)]
<josePhoenix> thanks
<josePhoenix> New hurdle: it will not evaluate the unstable expression because of the unfree license... but I have nixpkgs.config.allowUnfree = true; in configuration.nix (set previously when installing plex)
<Ralith> okay, by unioning the original linuxPackages with my override I got NixOS to build again, but it's still ignoring my override :/
MP2E has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 6 new commits to openssl-1.1: https://git.io/v9rt8
<NixOS_GitHub> nixpkgs/openssl-1.1 9be6c46 Robin Gloster: umurmur: 0.2.16a -> 0.2.17...
<NixOS_GitHub> nixpkgs/openssl-1.1 5d569b9 Robin Gloster: bip: add upstream patch to build with openssl 1.1
<NixOS_GitHub> nixpkgs/openssl-1.1 622551e Robin Gloster: clamav: add upstream patch to build with openssl 1.1
NixOS_GitHub has left #nixos []
roconnor_ has quit [(Ping timeout: 240 seconds)]
<gchristensen> josePhoenix: maybe change the {} in the import to be { config = {allowUnfree = truee;};}
<Ralith> how do I open a nix-repl wrt. the configuration in /etc/nixos/configuration.nix?
georges-duperon has quit [(Ping timeout: 264 seconds)]
nh2 has quit [(Quit: Leaving.)]
eacameron has quit [(Remote host closed the connection)]
<simpson> Okay, I have time and motivation. There's no Raspberry Pi docs. Tell me how to RPi and I'll write docs?