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?
<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
<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...
<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
<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
<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?
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
<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
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>
[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
<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...
<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 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
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
<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
<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/
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?
<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)
<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
<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.
<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.
<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
<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)
<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
<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 :/