Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Dezgeg> rpi 1, 2 or 3?
<josePhoenix> gchristensen: thank youuuuuuu
<Ralith> why can I not override nvidia_x11 ;_;
<josePhoenix> Now I can watch my stories again :)
<josePhoenix> NixOS is so elegant
ericsagnes has joined #nixos
<simpson> Dezgeg: I've got one of each, actually.
<Ralith> ugh I give up, I'll just edit nixpkgs directly :/
<gchristensen> josePhoenix: :D you're welcome! glad to hear it :)
<simpson> Dezgeg: Alright. I'll start with my older Pi and write some docs.
ryanartecona has quit [(Quit: ryanartecona)]
filterfish has quit [(Ping timeout: 240 seconds)]
<davidak> why does this work: nix-env -iA linuxPackages_testing_bcachefs -f ~/nixpkgs/
<davidak> but this not: kernelPackages = pkgs.linuxPackages_testing_bcachefs;
<davidak> error: attribute ‘linuxPackages_testing_bcachefs’ missing
<davidak> am i again confused with attribute and package name?
filterfish has joined #nixos
<davidak> i think i have it. it should be nixos-rebuild switch -I ~ not -I ~/nixpkgs/
danharaj has joined #nixos
<davidak> so much wasted time :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] davidak opened pull request #25603: [WIP] linux-testing-bcachefs: init at 161a6ba (master...bcachefs) https://git.io/v9rqM
NixOS_GitHub has left #nixos []
justan0theruser has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
justanotheruser has quit [(Ping timeout: 258 seconds)]
zeus_ has quit [(Ping timeout: 246 seconds)]
filterfish has quit [(Read error: No route to host)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
ryanartecona has joined #nixos
<hodapp> blargh, I wish I could find an example of how to patch up things in m4
<hodapp> I am still stuck at, "Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /nix/store/v515qy0wmsmc4p4k3v5f5kq4y3icnm27-glib-2.52.1/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file."
<hodapp> while those files are in gettext, not glib, but adding AC_CONFIG_MACRO_DIR([${gettext}/share/aclocal]) to aclocal.m4 does nothing
<gchristensen> hodapp: did you add pkgconfig?
<hodapp> yes. this problem occurs when I try to run "glib-gettextize --copy --force" after autoreconfPhase, as its autogen.sh has that as a final step
<hodapp> wait a minute... it's telling me that's an error, but it's still generating the po/Makefile.in.in that was previously halting configurePhase
<clever> ive found that m4 spits out errors when pkg-config is missing, yet still makes a semi-usable configuration script
ryantrinkle has quit [(Ping timeout: 260 seconds)]
lambdamu_ has joined #nixos
<hodapp> pkg-config is already present; I added it when something else complained
<hodapp> the actual failing error now is something with png, probably because this code is from 2005
<clever> yeah, just thinking m4 can have other weird bugs
<hodapp> ah, okay
lambdamu has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
<hodapp> bah. now it needs older imagemagick.
Wizek has quit [(Ping timeout: 260 seconds)]
<Unode> is there any command that I can run that triggers a full rebuild (from source) of all packages in nix's store?
<gchristensen> hmm probably not Unode, but you could easily change nixpkgs in a way which will rebuild almost everything.
<Unode> I had some strange store corruption and now some packages are behaving erratically but nix-store --verify-contents doesn't find anything in particular
<gchristensen> Unode: why, though?
LnL has quit [(Quit: exit 1)]
derjohn_mob has quit [(Ping timeout: 255 seconds)]
mkoenig has joined #nixos
<Unode> gchristensen: this is a store running from an NFS share. I ran a garbage collect and I think it collected more stuff than it should. I then tried running nix-store --repair and one glibc has issues. It was rebuilt but it aborted because it couldn't remove the 'glibc-old' folder. There was a hidden .nfs file in there. Probably due to some glibc library still being open/in-use.
<gchristensen> O.O
<clever> Unode: i had some very nasty surprises when i tried to run a 32bit os on a 64bit nfs server
<gchristensen> you need clever ::P
<Unode> now after all this, any command that makes use of the /etc/passwd file reports only the user ids.
<clever> turns out, the inodes are 64bits wide, and the 32bit userland only partialy supports it
<clever> so nearly everything failed to compile
<Unode> i.e. it complains username not found.
<sophiag> i'm trying to set up an OCaml environment in my regular configuration.nix like i did with Haskell. i've copied some boilerplate i found on github, but am not quite sure how to modify a bunch of configs they have before you get to the actual packages. they start on line 43 here if anyone is willing to take a look: https://gist.github.com/Sophia-Gold/a303da391864bf23ab4cf44f45c9fd5e
<simukis> how do disable stripping of libraries?
<clever> simukis: dontStrip = true;
<Unode> clever: I'm running on 64bits so most was working fine. I shouldn't have garbage collected though :/
<judson> Finally reading the def of mkDerivation. Reassured by let... in let... in let... :D
<simukis> clever ty
<Unode> i.e. I now have a broken package which I suspect is glibc but not sure and don't really know what to do to fix it.
<clever> Unode: updating or downgrading the channel should force it to get a new glibc
<Unode> hum...
<Unode> lets see
<clever> changing it to a different release will definitely change it
<hodapp> uhhh, any C archaelogists know what the heck at_string, at_address, and at_bitmap_type are?
<Unode> hehe .. git pull: "unable to access github.com: Couldn't resolve host 'github.com'"
<Unode> so yeah, stuff really broke :/
<Unode> is address resolution part of glibc?
<clever> Unode: oh, what is in /etc/nsswitch.conf ?
<Unode> clever: not nixos, that would have some centos settings
takle has quit [(Remote host closed the connection)]
schoppenhauer has quit [(Ping timeout: 240 seconds)]
<Unode> clever: something in particular that I should look for on that file?
<clever> Unode: is the problem on a nixos machine, or a centos with /nix on nfs?
LnL has joined #nixos
<Unode> the latter
takle has joined #nixos
<Unode> and not /nix but /share/nix
<clever> nsswitch.conf configures how to convert uid->name and also domain->ip
<clever> ah, if its /share/nix, then it will have to recompile everything always
<clever> no help from the cache
<Unode> yeah, which is why I was trying to force a full recompile
<Unode> but I guess it would only recompile it all if the channel changes that far right?
<clever> find the glibc package in nixpkgs, and add foo="bar"; to the derivation
<clever> and it should mass-rebuild
darlan has joined #nixos
<Unode> ok I can try that
schoppenhauer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edanaher opened pull request #25604: nginx: enableSSL description: clarify that HTTP is disabled; #25533 (master...add-nginx-ssl-doc) https://git.io/v9rYD
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 240 seconds)]
derjohn_mob has joined #nixos
<earldouglas> Is there a way to do syntax highlighting of Nix code in Pandoc?
<clever> earldouglas: maybe something with pygmentize and hnix
pie_ has quit [(Remote host closed the connection)]
<simukis> clever: dontStrip=true doesn’t seem to do anything
<clever> simukis: can you gist your nix expression?
<simukis> clever: https://paste.rs/nRn
<simukis> despite of dontStrip in pretty much every derivation in there it still tries to strip the libraries
<clever> which libraries is it stripping?
<simukis> mips-linux-gnu-strip: Unable to recognise the format of the input file `/nix/store/893biyr28phd3qyxk30capjmr5jbisa8-rust-std-nightly-2017-05-06-x86_64-unknown-linux-gnu-mips-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustdoc-eb8c996b34e6cf96.so' (also pretty much everything else around there)
<simukis> those seem to be provided by the rust-std derivation
<clever> cant see any cause
<simukis> does dontStrip apply recursively?
<clever> no
s33se_ has joined #nixos
<simukis> clever: stdenv is my configuration file, right?
<clever> stdenv is the main stdenv from nixpkgs
<simukis> so putting something like `stdenv.mkDerivation = ...` in `~/.config/nixpkgs/config.nix` would override the mkDerivation?
takle has joined #nixos
s33se has quit [(Ping timeout: 246 seconds)]
<simukis> oh wait
<clever> simukis: that would also overwrite the entire stdenv and break everything
filterfish has quit [(Read error: Connection reset by peer)]
<clever> because its doing stdenv = { mkDerivation = ...; }; and now everything else is missing from the stdenv
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<simukis> so assuming I wanted to use an adapter like… yeah this… how would I use it?
filterfish has joined #nixos
<simukis> clever: thanks
takle has quit [(Ping timeout: 260 seconds)]
deepwater has joined #nixos
<sophiag> ok, trying this again. does anyone have time to look over my failed attempt at copying someone's OCaml config around line 43 here? https://gist.github.com/Sophia-Gold/a303da391864bf23ab4cf44f45c9fd5e
georges-duperon has joined #nixos
<simukis> clever: so even with https://paste.rs/nrm it tries to strip stuff
nckx has quit [(Quit: restarting my GuixSD server)]
<simukis> interestingly, nix-shell seems to entirely ignore switching between values true and false
<simukis> (i.e. it does not rebuild or anything)
nckx has joined #nixos
<clever> then the change isnt impacting a depdency of the shell
takle has joined #nixos
<simukis> right. except I do not understand why this happens, because everything in there should be using the mkDerivation I provided
<clever> simukis: ah, i see why
<clever> you overwrite the stdenv attribute on the pkgs attrset
<clever> but you did that after everything inside referenced stdenv
<clever> so its not impacting the deps inside it, only the things that refer to it later on (the few things you callPackage)
ryanartecona has quit [(Quit: ryanartecona)]
<clever> and maybe not even those, callPackage has a ref to the original pkgs
<clever> you want to use packageOverrides
takle has quit [(Ping timeout: 245 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
hexagoxel has quit [(Ping timeout: 245 seconds)]
<simukis> clever: okay, it is rebuilding
systemfault has joined #nixos
filterfish has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
<hodapp> this is a little weird... I just built autotrace with libpng12, but the resultant executable somehow is linked against libpng16.so.16
<hodapp> and it complains at runtime
<simukis> any way to remove only particular derivations?
<simukis> from the nix store, I mean
<clever> simukis: nix-store --delete
<simukis> welp it STILL tries to strip
<simukis> I give up
<simukis> something is seriously wonky here
<hyper_ch> hi clever
<clever> hyper_ch: evening
matthewbauer has joined #nixos
filterfish has joined #nixos
<hyper_ch> clever: maybe you can help... I'm having an issue with python it was marked as fixed like 3 days ago... but I still get the same issue
eacameron has joined #nixos
<clever> hyper_ch: are you using master or a channel?
<hyper_ch> clever: unstable...
<clever> hyper_ch: nixos-unstable hasnt updated for 4 days
<hyper_ch> says updated 6 hours ago
<clever> thats nixpkgs-unstable, for use on other distros
<hodapp> GRAAAAH this code segfaulted someplace with a dozen macros, all of which are for pointer arithmetic
<hyper_ch> ah ok, thx
* hodapp throws chair
<matthewbauer> :) for once nixpkgs-unstable isn't broken and nixos-unstable is
rcschm has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
<rcschm> hi, any suggestion as how to have customer start up script pointing to custom conf for a tool i install with nix?
<matthewbauer> rcschm: has your customer installed nix?
takle has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
matthewbauer has joined #nixos
darlan has quit [(Ping timeout: 260 seconds)]
georges-duperon has quit [(Ping timeout: 264 seconds)]
ryantrinkle has joined #nixos
takle has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
<rcschm> matthewbauer i am installing software using nix.
<rcschm> i just like to point the tool to read custom conf instead of the default which is in home directory.
<rcschm> trying to point it to the one i created in nix instead.
<rcschm> nix store i mean.
<rcschm> ;'
<clever> rcschm: it will obey $NIXPKGS_CONFIG if that is set
<rcschm> going to the link now.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ben-z opened pull request #25605: yarn: 0.23.2 -> 0.23.4 (master...update-yarn-to-0-23-4) https://git.io/v9rZ6
NixOS_GitHub has left #nixos []
<rcschm> clever: i didn't mean nix.conf.
<clever> the above is for replacing ~/.nixpkgs/config.nix
<rcschm> i am install tmux. and i like to point tmux to a conf file that i will store in nix store.
<clever> oh
<rcschm> right now when i install tmux, it will read the conf from ~ directory.
<clever> does tmux have a commandline argument that can change the config path?
<rcschm> so i need to create an executable file that will be called instead of the one that nix-tmux's.
<rcschm> no.
<rcschm> i have to override.
<matthewbauer> You can create a wrapper for tmux that just runs "tmux -f <config>"
<rcschm> and i just don't know how to do just that.
<rcschm> yes.
<rcschm> how do i do that?
<clever> 2017-05-08 00:50:33 < clever> does tmux have a commandline argument that can change the config path?
<clever> 2017-05-08 00:50:38 < rcschm> no.
<clever> it sounds like it doesnt have a -f flag, so such a wrapper wont work
<rcschm> tmux is installed by nix-tmux
<rcschm> i will need to created wrapper like you mentioned.
<rcschm> how do i do that?
<rcschm> i think i can override the postInstall.
<rcschm> but i couldn't find any example i can follow to create the wrapper script.
<clever> tmux = tmux.overrideDerivation ({old: { postInstall = "...."; });
<rcschm> yes, i saw that.
<rcschm> what would be in the ...?
<matthewbauer> Yeah that should work
<clever> wrapProgram $out/bin/tmux --append "-f <config" i think
<rcschm> postInstall = "$out/bin/tmux --append "-f <config>"?
<matthewbauer> no wrapProgram is the shell function that will replace $out/bin/tmux for you
<clever> postInstall = ''wrapProgram $out/bin/tmux --add-flags "-f <config>"'';
<clever> i think
<rcschm> oh ok. yeah that is what i have no clue on.
<matthewbauer> wrapProgram really does need to be documented by the way
<rcschm> let me try it tomorrow morning and see. thks for your help.
<matthewbauer> I guess it has some stuff in the src but it seems like it should go in nixpkgs manual
<rcschm> thks matthewbauer.
ryanartecona has joined #nixos
alx741 has quit [(Quit: alx741)]
takle has joined #nixos
rcschm has quit [()]
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
danharaj has quit [(Ping timeout: 258 seconds)]
indi_ has joined #nixos
mw has joined #nixos
indi_ has quit [()]
treaki_ has joined #nixos
treaki has quit [(Ping timeout: 240 seconds)]
marsel has joined #nixos
FRidh has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
reinzelmann has joined #nixos
MercurialAlchemi has joined #nixos
cpennington has quit [(Ping timeout: 258 seconds)]
marsel has quit [(Ping timeout: 260 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
takle has joined #nixos
jgertm has joined #nixos
fre has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
fre has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
jacob has joined #nixos
jacob is now known as Guest44371
proteus-guy has joined #nixos
ryanartecona has joined #nixos
grisher has quit [(Ping timeout: 240 seconds)]
<jluttine> i'm writing a python package into nixpkgs. however, i get error "error: invalid command 'bdist_wheel'" when reviewing with nox-review. any ideas what could be wrong? "nix-shell --pure -p pythonPackages.packagename" works
filterfish_ has joined #nixos
Profpats1 has joined #nixos
tv1 has joined #nixos
zeus_ has joined #nixos
justan0theruser has joined #nixos
grenade has joined #nixos
markus1209 has quit [(Ping timeout: 240 seconds)]
markus1189 has joined #nixos
jacob__ has joined #nixos
jack[m]1 has joined #nixos
offlinehacker[m] has joined #nixos
hendrik[m] has joined #nixos
spawnthink[m] has joined #nixos
davidar has joined #nixos
simukis has quit [(Quit: simukis)]
simukis has joined #nixos
inflames has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/v9r4R
<NixOS_GitHub> nixpkgs/master 7ca2ad8 mimadrid: filezilla: 3.25.1 -> 3.25.2
<NixOS_GitHub> nixpkgs/master 333540e Pascal Wittmann: Merge pull request #25591 from mimadrid/update/filezilla-3.25.2...
NixOS_GitHub has left #nixos []
justbeingglad has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
simukis has quit [(Ping timeout: 240 seconds)]
justbeingglad has left #nixos []
jensens has joined #nixos
ertes-w has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
angerman has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
FRidh has joined #nixos
inflames has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner closed 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 []
cornu[m] has left #nixos ["User left"]
thc202 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz reopened 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] 8573 opened pull request #25608: staccato: init at 0.1.6 (master...8573/pkg/add/rust/staccato/1) https://git.io/v9rRV
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed 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 []
derjohn_mob has quit [(Ping timeout: 240 seconds)]
marusich has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/v9rRA
<NixOS_GitHub> nixpkgs/master cce8aab Franz Pletz: mattermost service: PrivateTmp broken with local postgresql
<NixOS_GitHub> nixpkgs/master 77f500f Franz Pletz: mattermost: 3.6.2 -> 3.8.2
<NixOS_GitHub> nixpkgs/master 2b0a2e6 Franz Pletz: matterircd: 0.11.2 -> 0.11.3
NixOS_GitHub has left #nixos []
ertes has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jluttine opened pull request #25609: pythonPackages.nbstripout: init at 0.3.0 (master...add-nbstripout) https://git.io/v9r0C
NixOS_GitHub has left #nixos []
MP2E has quit [(Quit: sleep)]
seanparsons has joined #nixos
tommyangelo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #25586: ponyc: 0.13.1 -> 0.14.0 (master...ponyc) https://git.io/v9wjk
NixOS_GitHub has left #nixos []
<tommyangelo> Hi, is it possible to move to encrypted root after install, or do I need to reinstall?
goibhniu has joined #nixos
ilyaigpetrov has joined #nixos
derjohn_mob has joined #nixos
spacefrogg_ is now known as spacefrogg
<clever> tommyangelo: there is http://johannes-bauer.com/linux/luksipc/ but ive never used it, and getting it to boot afterwards with nixos in the mix may be tricky
<clever> in theory, you could run luksipc from the install cd, mount the luks'd root, then fix the configuration.nix and re-run nixos-install (which is just a script to nixos-rebuild under a chroot)
<ertes-w> a lot of the definitions in 'builtins' can also be found in '(import <nixpkgs> {}).lib'… is there any difference? which ones should i prefer?
<ertes-w> e.g. 'builtins.hasAttr' or 'lib.hasAttr'?
<clever> ertes-w: some stuff is initialy added in lib, written purely in nix
<clever> but then its later found to be a performance bottleneck, so it gets moved to a builtin
<ertes-w> so i should use the builtin
<clever> the one in lib is turned into an if statement
<clever> that calls the builtin for you
<clever> so the lib variant works on older copies of nix as well
<ertes-w> alright, thanks
<clever> this for example
blahdodo has quit [(Remote host closed the connection)]
<clever> and in the hasAttr case, line 12 just directly copies the function reference
<clever> so there is no performance difference
blahdodo has joined #nixos
DutchWolfie has joined #nixos
oida_ has joined #nixos
oida has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cmacrae opened pull request #25610: kbfs service: init (master...kbfsService) https://git.io/v9ruz
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v9ruS
<NixOS_GitHub> nixpkgs/master 6d598fc Bo Bakker: hpx: init at 1.0.0
NixOS_GitHub has left #nixos []
systemfault has quit [(Quit: Bye!)]
matthewbauer has joined #nixos
<tommyangelo> clever: that sounds about as complicated as backing up the homedir and configuration.nix and reinstalling from scratch
<clever> tommyangelo: and i feel backing up home is much safer
jgertm has quit [(Ping timeout: 255 seconds)]
<tommyangelo> clever: Me too. And I would back up home in either case
inflames has quit [(Ping timeout: 240 seconds)]
__Sander__ has joined #nixos
takle has joined #nixos
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/v9rzd
<NixOS_GitHub> nixpkgs/master 192f8e7 Jörg Thalheim: broadcom-bt-firmware: revert to unfree...
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 []
takle has joined #nixos
Itkovian has joined #nixos
jgertm has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Lassulus opened pull request #25611: WIP: nixos/iso-image: add option for copytoram (master...copytoram-option) https://git.io/v9rgW
NixOS_GitHub has left #nixos []
amir_ is now known as amir
matthewbauer has quit [(Ping timeout: 240 seconds)]
Infinisil has joined #nixos
leat has quit [(Read error: Connection reset by peer)]
Itkovian has joined #nixos
Infinisil has quit [(Client Quit)]
Infinisil has joined #nixos
<Infinisil> htop
<Infinisil> Whoops, wrong window
MichaelRaskin has quit [(Quit: MichaelRaskin)]
jgertm has quit [(Ping timeout: 246 seconds)]
pie_ has joined #nixos
<pie_> i cant find the keyboard layout selector on my lock screen
<pie_> afaict it doesnt even exist
<pie_> plasma 5 something something...
<pie_> might be using the wrong screen resolution
pie_ has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #25612: pngquant: restored 'patchShebangs' because build failed on Hydra (master...pngquant-2.9.1-fix) https://git.io/v9rwL
NixOS_GitHub has left #nixos []
taeradan has quit [(Ping timeout: 240 seconds)]
Infinisil has quit [(Quit: leaving)]
taeradan has joined #nixos
leat has joined #nixos
FrozenCow has joined #nixos
ravloony has joined #nixos
eacameron has joined #nixos
reinhardt has joined #nixos
ravloony has quit [(Remote host closed the connection)]
tommyangelo has quit [(Ping timeout: 260 seconds)]
ravloony has joined #nixos
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 268 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
reinzelmann has quit [(Ping timeout: 255 seconds)]
goibhniu1 is now known as goibhniu
tv1 is now known as tv
tv has quit [(Changing host)]
tv has joined #nixos
samae has quit [(Ping timeout: 240 seconds)]
jophish has joined #nixos
aloiscochard has joined #nixos
Wizek has joined #nixos
bennofs has joined #nixos
taktoa has joined #nixos
<domenkozar> I don't remember anymore, what's the machanism to plug in custom nixos modules?
<domenkozar> iirc there was an env variable for it
<domenkozar> NIXOS_EXTRA_MODULE_PATH
ravloony has quit [(Ping timeout: 264 seconds)]
mudri has joined #nixos
taktoa has quit [(Remote host closed the connection)]
<clever> domenkozar: yep, but you can also use imports
<domenkozar> clever: yeah I'm just getting annoyed by that. Ideally everything would be imported
<domenkozar> by default
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/v9rMP
<NixOS_GitHub> nix/master 0a97eb6 Eelco Dolstra: Remove superfluous #ifdef
NixOS_GitHub has left #nixos []
Wizek__ has joined #nixos
<clever> some things like the profiles currently lack enable/disable options: https://github.com/NixOS/nixpkgs/tree/master/nixos/modules/profiles
kyod has joined #nixos
civodul has joined #nixos
Raimondii has joined #nixos
ravloony has joined #nixos
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
revtintin has joined #nixos
samae has joined #nixos
montag451___ has joined #nixos
charlesofarrell_ has quit [()]
charlesofarrell_ has joined #nixos
slyfox has quit [(Ping timeout: 240 seconds)]
slyfox has joined #nixos
jgertm has joined #nixos
bigs has quit [()]
bigs has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
treaki_ is now known as treaki
<gchristensen> can I determine how many of (or which) store paths in my generation came from the cache?
<gchristensen> niksnut: want to merge this early afternoon? :)
FRidh has quit [(Read error: Connection reset by peer)]
MichaelRaskin has joined #nixos
FRidh has joined #nixos
<clever> gchristensen: that reminds me, there is an idea ive been wanting to make a PR for
<clever> gchristensen: modifying nix to keep the signatures in the db.sqlite after downloading from the binary cache
ertes has quit [(Ping timeout: 264 seconds)]
ravloony has quit [(Ping timeout: 260 seconds)]
marsel has joined #nixos
marsel has quit [(Client Quit)]
ravloony has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://git.io/v9rxQ
<NixOS_GitHub> nixpkgs/master 3ef0402 Judah Jacobson: Remove unused `local` command.
<NixOS_GitHub> nixpkgs/master 81ffcfd Eelco Dolstra: Merge pull request #25602 from TaktInc/sierra-haskell...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #25602: Remove unused `local` command. (master...sierra-haskell) https://git.io/v9rLb
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #25605: yarn: 0.23.2 -> 0.23.4 (master...update-yarn-to-0-23-4) https://git.io/v9rZ6
NixOS_GitHub has left #nixos []
<gchristensen> niksnut: are you waiting on something before you merge the wiki PRs, or just busy?
<clever> gchristensen: what do you think of keeping the signatures after downloading from the cache?
hiberno has quit [(Quit: WeeChat 1.6)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed 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 []
_rht has joined #nixos
<gchristensen> what would it be used for?
<niksnut> gchristensen: yes, working on something else atm
<clever> gchristensen: a few things, first, nix-serve/nix-copy-closure would be able to reuse the original cache.nixos.org-1 signatures
<niksnut> gchristensen: "nix verify -r --no-contents /run/current-system" will complain about any unsigned paths
<clever> gchristensen: second, you could verify that paths in /nix/store where signed by cache.nixos.org, without having to re-download things, and exclude 95% of the storepaths that you may want to audit
<gchristensen> cool, thank you niksnut
avn_nb has joined #nixos
<niksnut> actually, that wasn't quite true
<niksnut> it will also not complain about locally built paths
iyzsong has joined #nixos
<gchristensen> ah :) it is ok
<niksnut> nix verify -r --no-contents -n 1 /run/current-system
<niksnut> requires at least one signature for every path
<gchristensen> I was going to put the chances of a binary cache failure given 99.9% success rate
<gchristensen> oohhh interesting
Willi_Butz_ has quit [(Quit: WeeChat 1.7.1)]
avn has quit [(Ping timeout: 240 seconds)]
<jophish> clever: sounds like a good idea!
<unlmtd[m]> id like to find out what is pulling a particular package. emacs gets pulled and I have no idea why
revtintin has quit [(Ping timeout: 258 seconds)]
bennofs has joined #nixos
leat has quit [(Quit: leat)]
Willi_Butz has joined #nixos
<gchristensen> unlmtd[m]: nix-store with --query and --referrers, check the man page :)
<clever> jophish: another extension to the idea i had, is for nix-daemon to sign things at build time, rather then when nix-serve is trying to serve them
<clever> jophish: then a process like nix-serve wont have read access to the secret key
avn_nb has quit [(Ping timeout: 268 seconds)]
ravloony has quit [(Ping timeout: 260 seconds)]
ravloony has joined #nixos
nckx has quit [(Quit: restarting my GuixSD server)]
darlan has joined #nixos
nckx has joined #nixos
leat has joined #nixos
cpennington has joined #nixos
filterfish_ has quit [(Ping timeout: 255 seconds)]
hiberno has joined #nixos
Itkovian_ has joined #nixos
Itkovian has quit [(Ping timeout: 240 seconds)]
Itkovian_ has quit [(Client Quit)]
Itkovian has joined #nixos
alibabzo has quit [(Remote host closed the connection)]
<domenkozar> woot zimbatm you worked at mediacore
<domenkozar> I created one of the first open source integrations for it :)
<zimbatm> No way :)
<domenkozar> jees, it's been 7 years
<domenkozar> my dear friend Zan Markan works at Pusher :D
<domenkozar> the world is so small
fre has joined #nixos
mudri has quit [(Ping timeout: 272 seconds)]
UrsidaeJohn has joined #nixos
Profpats1 is now known as Profpatsch
UrsidaeJohn has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<zimbatm> Waaaat :)
<zimbatm> Did he just move to London?
UrsidaeJohn has joined #nixos
<domenkozar> I think he moved a year ago
<domenkozar> or two
angerman has quit [()]
angerman has joined #nixos
<domenkozar> who know enough about nixos module system to fix https://github.com/NixOS/nixops/issues/659
<domenkozar> I remember pierron refactored this a few years ago
<domenkozar> but I really never had the time to read through
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edanaher closed pull request #25604: nginx: enableSSL description: clarify that HTTP is disabled; #25533 (master...add-nginx-ssl-doc) https://git.io/v9rYD
NixOS_GitHub has left #nixos []
<domenkozar> clever maybe? :)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> domenkozar: hmmm, i think we would need to look at how nixos options are generated
<clever> let me see where that went
bennofs has quit [(Ping timeout: 272 seconds)]
<clever> dont think thats the area i'm thinking of
<clever> oh, i dont remember there being that one
<clever> heh, 12 days ago it was added!
<clever> yep
<domenkozar> it was just misplaced :D
bb4kk3r has joined #nixos
<clever> nix-repl> options._module.args.internal
<clever> true
<domenkozar> ah!
<domenkozar> that's the clue, nixos manual does filter on internal
<bb4kk3r> A package I submitted fails to build for aarch64. How do I restrict the architecture to x86-64?
<clever> domenkozar: i also noticed a minor problem here, https://github.com/NixOS/nixops/blob/master/doc/manual/default.nix#L5
<clever> domenkozar: the config argument for nixpkgs isnt being set, so this will load ~/.nixpkgs/config.nix and behave differently for every developer
<clever> bb4kk3r: meta.platforms
<bb4kk3r> thanks
<domenkozar> there it is
<domenkozar> clever: so you suggest to provide an empty config?
<clever> bb4kk3r: lib.platforms has a bunch of templates you can use
nh2 has joined #nixos
<domenkozar> thank clever ><3
<domenkozar> thanks clever <3
<clever> domenkozar: depends, setting config={}; will make it a lot more stable and reproducable, but also cause overrides to not work for people that dont notice it
<domenkozar> I knew about internal, getting old and stuff.
<clever> i have run into problems before where i was trying to debug a package in nixpkgs, and nothing i changed had any effect
<domenkozar> clever: well it generates options, there shouldn't be any overrides.
<clever> there was a callPackage override in my config.nix, that entirely replaced it
<clever> from before the PR had been accepted
<clever> yeah, then just config={}; and it should lock it down
<domenkozar> clever: how did you get options in nix-repl?
<domenkozar> evaluated a nixos config?
<domenkozar> I remember there were some shortcuts :)
<clever> i just ran nix-repl '<nixpkgs/nixos>'
bennofs has joined #nixos
bennofs has quit [(Client Quit)]
<clever> domenkozar: and this is what i made after digging around in the nixos options a few months back: https://www.youtube.com/watch?v=rIdPKzYTN-w
bennofs has joined #nixos
<domenkozar> nice :)
<domenkozar> filtering on !internal doesn't help
<domenkozar> sigh :)
<clever> with that ui, you can lookup any nixos option in a tree, and edit the resulting configuration.nix
<clever> but i needed a way to parse configuration.nix if i wanted to edit the config again later
<domenkozar> that's hard due to imports, no?
<domenkozar> or do you assume there's only one file
<clever> and also the potential for full expressions in the file
<clever> if the user later adds (import nixos-unstable {}).foo to systemPackages
<clever> its not exactly going to parse as a simple attribute
Itkovian has joined #nixos
<bitonic> Are the contents of a file referenced to by a path ever automatically included in the derivation? And if yes, when? CC nh2
<clever> bitonic: how is the file being referenced? example?
<bb4kk3r> If I change "meta.platforms" from "stdenv.lib.platforms.linux" to "[ "x86_64-linux" ]", hydra won't try to build it for any other architecture, right?
<nh2> clever: we're confused about that sometimes `./myfile` seems to evaluate to `/path/to/myfile`, and sometimes to `/nix/store/abc123...-myfile/myfile`
ronny has left #nixos ["WeeChat 1.1.1"]
<clever> bb4kk3r: both hydra and nix-build will refuse to build it for any other platform
<bb4kk3r> Great. I'll submit a PR.
<clever> bb4kk3r, nh2: ah, if you do it inside a string, it will import the path to /nix/store, based on the hash of the contents
<clever> but there are some methods that will coerce it to the original path
<clever> so it depends on what you apply to the string
<bb4kk3r> Oh, no. that was just for clarification
<clever> i usualy "${./foo}" to force it to be a string and in the store
<bb4kk3r> it's just platforms = [ "x86_64-linux" ];
<nh2> clever: so it is the ${} that turns ./paths it into store paths?
<clever> nh2: when inside a string i believe
<clever> that casts it to a string
jgertm has quit [(Ping timeout: 272 seconds)]
<clever> and i can see where the confusion comes from
<clever> toString ./notes.txt == "/home/clever/apps/nixos-installer/installer-gui/notes.txt"
<nh2> clever: we would like to understand exactly when it happens; for example, when using `toString` it does not happen, and we couldn't find anything in the manual that describes this topic
<clever> "${./notes.txt}" == "/nix/store/55j24v9qwdarikv7kd3lc0pvxdr9r2y8-notes.txt"
<clever> so toString does something very difference from just treating it as a string
<domenkozar> ah got it :)
<clever> i dont know if toString being different is a bug or not
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bobakker opened pull request #25614: Restrict HPX architecture to x86_64 (master...master) https://git.io/v9oLE
NixOS_GitHub has left #nixos []
<domenkozar> the difference is in the type
<domenkozar> if it's a path, then it's imported into nix store a derivation
<domenkozar> if it's a string -> path, then it's relative without importing it since that makes no sense
<domenkozar> err, path -> string.
<clever> domenkozar: but if you run toString on a real path, it turns into an absolute path, not in the store
<clever> toString ./notes.txt == "/home/clever/apps/nixos-installer/installer-gui/notes.txt"
<domenkozar> the main confusion comes since some function use toString internally :D
<domenkozar> clever: that's what I'm saying, if Nix gets a path it turns it into derivation
<clever> so toString does something different from just inserting it into the middle of a string
<domenkozar> but you can make it a string beforehand
<clever> but only if its being treated like a string
<domenkozar> *insert quotes about dynamic typing*
<nh2> yes, I think that is the confusing part: I find it extremely surprising that `${}` does `toString`, *except* on _some_ types, where it does something special
<domenkozar> I wrote a bit about this, but haven't pushed yet to nix-cookbook.readthedocs.io
<nh2> in other words, dynamic type dispatch, like domenkozar said
<clever> it is noted in the source code
<domenkozar> yes, ${} calls toString
<domenkozar> and many other functions as well
cfricke has joined #nixos
sibi has quit [(Quit: Connection closed for inactivity)]
<clever> oh!, the last argument is copyToStore
<clever> so the builtin toString calls it with false there
<gchristensen> except on integers I think?
<clever> but ${} must call it with true
<clever> yeah, the default is true
<clever> so the substring stuff on line 1653 right below, will copy to the store
<Unode> clever: thanks for the help yesterday. Ended up fixing it by removing the path from the store and then using --repair-path . This works but somehow nix-store --verify-contents still complains that the path is corrupted. Probably some .nfs file pops up there or changes some timestamp.
nckx has quit [(Quit: restarting my GuixSD server)]
<domenkozar> so the answer is: it depends if the toString is called and it depends in what context toString is called
<clever> Unode: nix will ignore timestamps when hashing, but .nfs files could probably mess with things
mudri has joined #nixos
<nh2> `toString` copies files around -- "purely functional"
<domenkozar> purely functional with paths allocation by reference
<clever> nh2: "${./foo}" copying files around, is to lock them in at a given value
<clever> so if the contents of the file changes mid-way thru a build, it keeps using the old version
<clever> and next time you start a build, it copies it again, and gets a different storepath, which causes all the things depending on it to change paths
nckx has joined #nixos
<domenkozar> nh2: it's still pure since evaluation doesn't do this :P
<clever> so it is pure, after the copy is done, and depends on the hash(file contents), rather then what value it happens to have when the build reads it
<domenkozar> realizing the .drv does the copying, I'd guess
<clever> domenkozar: i'm pretty sure nix-instantiate does the copy
<clever> domenkozar: it loads the entire path into ram, serializing it into a NAR bytestring, then hashes it, and unpacks it to /nix/store
<clever> domenkozar: and uses that hash as a string to embed into the .drv
<clever> which is also why it warns about things over 256mb in size
<domenkozar> right, otherwise deploying to a remote machine wouldn't work
<clever> and why i get horid performance when i do input = ./5gig-file.pdf;
<domenkozar> clever: did you see a patch for that?
<clever> i saw an open PR for it
<domenkozar> I'm buying endless amount of beers to wherever gets that merged in
<domenkozar> for one limited night :-P
<clever> never touched the stuff :P
<clever> nh2: have you seen how context works on strings in nix?
<nh2> clever: no, happy to learn!
<clever> nh2: every string in nix, has a list of .drv paths behind it, what that string depends on
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #25612: pngquant: restored 'patchShebangs' because build failed on Hydra (master...pngquant-2.9.1-fix) https://git.io/v9rwL
NixOS_GitHub has left #nixos []
<clever> or output paths i think
<clever> nh2: so the string "/nix/store/rkvwvi007k7w8lp4cc0n10yhlz5xjfmk-hello-2.10" has some invisible state, that says it depends on the hello derivation
<clever> nh2: and if that string winds up as the input to stdenv.mkDerivation, the newly made derivation will "magically" depend on hello being built
<clever> and this works even if you mess with the string via builtins.substring
<nh2> clever: ah, that is a good insight. I always wondered how that worked.
<nh2> clever: also from the code you linked, it seems that `toString` calls `prim_toString`, but `${}` does not? Do you know what code eventually calls `coerceToString` when `${}` is involved?
<clever> line 1653 will extract the context from the input string
<clever> and line 1657 then makes a new string, with that context
<clever> so fragments of the string still have the context, and pass on the dependancy
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/v9oqc
<NixOS_GitHub> nixpkgs/master 7f6abdd Eelco Dolstra: shadow: Fix using default shell in useradd...
NixOS_GitHub has left #nixos []
<clever> nix-repl> builtins.unsafeDiscardStringContext hello
<clever> "/nix/store/rkvwvi007k7w8lp4cc0n10yhlz5xjfmk-hello-2.10"
<clever> nh2: but!, this string has no context
<clever> and that lets you cheat in some fun ways
ryantrinkle has quit [(Ping timeout: 260 seconds)]
<clever> domenkozar: ah, both visible and !internal did it?
<domenkozar> well that's what nixos uses
<domenkozar> and that's what should be used for option generation
<domenkozar> clever: the trick was, there are two files for option generation
<clever> ah
<clever> and you where editing the wrong one?
<domenkozar> manual/default.nix and manual/resource.nix
<domenkozar> yeah needed to edit both..
<clever> ah
<samae> how do you guys use “nixos-rebuild build-vm” on a remote server? I have a SDL error when I start the vm
<gchristensen> samae: is your remote server a VM, or bare metal?
<clever> if you set virtualisation.graphics = false; in configuration.nix, it will use a serial console on the tty, rather then a gui console
Mateon3 has joined #nixos
<samae> bare metal
<samae> oh, nice
<samae> ok, I didn't see that
<samae> thx
<clever> nh2: with that line in not-os, line 114 copies the entire rootfs to $out
Mateon3 is now known as Mateon1
<clever> nh2: but line 115, the kernelParams includes a reference to the final rootfs, unpacked
<clever> nh2: via line 94
<clever> so if nix was left alone, it would ship 2 copies of the os every time you nix-copy-closure
<clever> uncompressed, and compressed
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<nh2> clever: interesting
<clever> but by applying unsafeDiscardStringContext, i can reference something without depending on it
Itkovian has joined #nixos
<clever> and then things will break if i dont somehow supply that later on
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bennofs reopened pull request #21906: fetchBower: fold arg in all-packages into the nix file (master...fold) https://git.io/vMwDJ
NixOS_GitHub has left #nixos []
leat has quit [(Ping timeout: 260 seconds)]
<clever> also, if you dont build with sandboxing, you can read things you dont technicaly depend on, and create fun to find bugs
<clever> turning the sandboxing on prevents that, and makes such bugs fail much sooner
<nh2> I've made the links from above stable in case somebody has the same question in the future and searches IRC logs:
hotfuzz_ is now known as hotfuzz
<clever> ah, i often try to fight github whenever it does that, makes the links much longer
<clever> but i can see the value when you want to open the link up a year later
<nh2> clever: a compromise is to shorten the SHA to less chars, github can still handle that
fre has quit [(Quit: WeeChat 1.7)]
<clever> heh, i once asked somebody for the nixos-version output, and he cut the hash off 1 character away from it being unique
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v9oYn
<NixOS_GitHub> nixpkgs/master 4e2c67f Tim Steinbach: linux: 4.4.66 -> 4.4.67
<NixOS_GitHub> nixpkgs/master 8c74ff6 Tim Steinbach: linux: 4.9.26 -> 4.9.27
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-17.03: https://git.io/v9oYl
<NixOS_GitHub> nixpkgs/release-17.03 9a96125 Tim Steinbach: linux: 4.4.66 -> 4.4.67...
<NixOS_GitHub> nixpkgs/release-17.03 d5612c5 Tim Steinbach: linux: 4.9.26 -> 4.9.27...
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<samae> clever: I cannot find where the “virtualisation.graphics” configuration key is stored…
<clever> samae: it has to go into configuration.nix, and sadly, its only valid when using build-vm
<samae> uh
<clever> so the config becomes invalid when you try to use test/switch/boot/build
<samae> I see
Itkovian has joined #nixos
<clever> so you need to comment it out after your done testing in build-vm
<samae> ok
<samae> That's the problem I had
<unlmtd[m]> gchristensen: thanks
leat has joined #nixos
cfricke has quit [(Ping timeout: 258 seconds)]
datakurre has quit [(Ping timeout: 260 seconds)]
Dezgeg has quit [(Ping timeout: 264 seconds)]
johnsonav has joined #nixos
peti has quit [(Ping timeout: 255 seconds)]
Infinisil has joined #nixos
peti has joined #nixos
reinhardt has quit [(Quit: Leaving)]
Jackneilll has joined #nixos
<the-kenny> Anyone ever tried to install Windows 10 from a running Linux to an external SSD for provisioning a PC?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/v9osn
<NixOS_GitHub> nix/master ebfceeb Eelco Dolstra: build-remote: Check remote build status
<NixOS_GitHub> nix/master 00b2862 Eelco Dolstra: Linux sandbox: Fix compatibility with older kernels
NixOS_GitHub has left #nixos []
<nahamu> the-kenny: I've done it for non-Windows operating systems using QEMU.
<nahamu> Fire up a VM passing the external drive through to the VM and install an OS.
<nahamu> Windows might be cranky about drivers, but it could work.
<the-kenny> I'll try it, thanks :)
DerGuteMoritz has joined #nixos
<nahamu> at the simplest you're doing something along the lines of "qemu-kvm -m 2048 -smp 2 -hda /dev/sdN -cdrom /path/to/install/cd.iso" You can do much better than that, but that's the basic idea.
jgertm has joined #nixos
darlan has quit [(Remote host closed the connection)]
mizu_no_oto has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/v9oGX
<NixOS_GitHub> nix/master 7689181 Eelco Dolstra: Minor cleanup
NixOS_GitHub has left #nixos []
darlan has joined #nixos
ryantrinkle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/v9onL
<NixOS_GitHub> nixpkgs/master 31c2d20 Eelco Dolstra: debian: 8.7 -> 8.8
NixOS_GitHub has left #nixos []
<the-kenny> nahamu: seems to work :) cool
<nahamu> the-kenny: no problem. Hopefully it will be willing to boot once you switch to booting on real hardware too. Good luck!
<the-kenny> if not I'll just install it by hand. This is just to save some time later when I put together the parts
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to release-17.03: https://git.io/v9on4
<NixOS_GitHub> nixpkgs/release-17.03 ce201f4 Eelco Dolstra: debian: 8.7 -> 8.8...
<NixOS_GitHub> nixpkgs/release-17.03 8bc45d3 Eelco Dolstra: man-pages: 4.09 -> 4.11...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/v9onz
<NixOS_GitHub> nixpkgs/master 821e522 mimadrid: shotwell: 0.26.0 -> 0.26.1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdaiter opened pull request #25615: openmvg: clarify Git version (master...openmvg_finess) https://git.io/v9onN
NixOS_GitHub has left #nixos []
msd has joined #nixos
<msd> LnL: could I get a quick check on this PR please? https://github.com/NixOS/nixpkgs/pull/25615 thanks!
<msd> ^^Or anyone, really ;)
MercurialAlchemi has quit [(Ping timeout: 255 seconds)]
msd has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch reopened pull request #25567: modules/hardware/all-firmware: add enableAllUnfreeFirmware (master...enableAllUnfreeFirmware) https://git.io/v9wOC
NixOS_GitHub has left #nixos []
<LnL> I can take a look in a couple of hours
jgertm has quit [(Ping timeout: 245 seconds)]
<SovereignBleak> If I want to symlink to a package in the Nix store, what's the formatting of that?
<SovereignBleak> The path is /nix/store/36sbp55slp582h0mkw1w7pgm75wbga7l-emacs-pdf-tools-0.70/share/emacs/site-lisp/elpa/pdf-tools-0.70/epdfinfo
<SovereignBleak> I've seen examples of using curly braces but I'm not sure how to format this specifically.
georges-duperon has joined #nixos
<sphalerite> SovereignBleak: use ln
<sphalerite> (-s)
<SovereignBleak> sphalerite: Yes but directly to that long path I've given? There's a cleaner way, no?
erasmas has joined #nixos
<nahamu> SovereignBleak: are you talking about inside a nix expression or just at the command line?
takle has quit [(Remote host closed the connection)]
<SovereignBleak> nahamu: Maybe I should explain what I'm trying to do. There's a known issue with pdf-tools inside emacs unable to find epdfinfo. https://www.reddit.com/r/NixOS/comments/4egu5o/help_with_emacs_pdftools/
<SovereignBleak> I want to declare where it is in my configuration.nix
bennofs has quit [(Ping timeout: 240 seconds)]
<SovereignBleak> But the solution offered in the reddit thread is non-functional for me since my /run/current-system/sw/share/emacs/site-lisp/ hierarchy stops before /elpa.
<SovereignBleak> I *think* I'm just not grokking something really simple here.
takle has joined #nixos
danharaj has joined #nixos
datakurre has joined #nixos
jgertm has joined #nixos
<nahamu> can you pastebin a lightly sanitized version of your configuration.nix?
datakurre has quit [(Client Quit)]
<nahamu> I think you want something along the lines of "${emacs}/share/emacs/site-lisp/elpa/pdf-tools-0.70/epdfinfo" but I'm not certain.
Infinisil has quit [(Quit: leaving)]
pchiusano has quit [()]
pchiusano has joined #nixos
<nahamu> This is code I wrote that cleans up some bash scripts to have full paths to certain coreutils binaries.
<nahamu> I'm not totally sure it translates to stuff in configuration.nix though.
<nahamu> (It's been a while since I've had a chance to play with NixOS.
<sphalerite> SovereignBleak: the "proper" solution for that is to build the emacs config using nix and have it put the full path in
<sphalerite> (IMHO)
<sphalerite> Makes it less stateful
<SovereignBleak> nahamu: I don't think there's anything in my config with secrets you can't see. One moment.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 3 new commits to release-17.03: https://git.io/v9oWx
<NixOS_GitHub> nixpkgs/release-17.03 e0c9263 Renaud: libseccomp: 2.3.1 -> 2.3.2 + fixed scmp_sys_resolver...
<NixOS_GitHub> nixpkgs/release-17.03 612cbd7 Eelco Dolstra: libseccomp: Fix RPATH...
<NixOS_GitHub> nixpkgs/release-17.03 9dedc95 Eelco Dolstra: shadow: Fix using default shell in useradd...
NixOS_GitHub has left #nixos []
<nahamu> sphalerite is probably right, though.
<SovereignBleak> SovBleak configuration.nix https://www.irccloud.com/pastebin/ae2inQzU/
<gchristensen> SovereignBleak: this is how I do emacs: https://github.com/NixOS/nixpkgs/issues/24243
<nh2> bitonic: ^
<clever> nice
<SovereignBleak> gchristensen: and nh2: Thanks guys, this looks helpful.
estewei has joined #nixos
datakurre has joined #nixos
ryanartecona has joined #nixos
bennofs has joined #nixos
jeremejevs has quit [()]
jeremejevs has joined #nixos
ixxie has joined #nixos
Bodil has quit [()]
Bodil has joined #nixos
simukis has joined #nixos
Dezgeg has joined #nixos
ryantrinkle has quit [(Ping timeout: 258 seconds)]
iyzsong has quit [(Quit: good night.)]
alx741 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/v9oR6
<NixOS_GitHub> nixpkgs/master 234cdc0 Eelco Dolstra: nixUnstable: 1.12pre5344_eba840c8 -> 1.12pre5350_7689181e
NixOS_GitHub has left #nixos []
yrashk has quit [()]
yrashk has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/v9oEL
<NixOS_GitHub> nixpkgs/master e270086 Eelco Dolstra: shadow: Fix hash
NixOS_GitHub has left #nixos []
ryanartecona has quit [(Quit: ryanartecona)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 3 new commits to release-17.03: https://git.io/v9oEG
<NixOS_GitHub> nixpkgs/release-17.03 2436649 Eelco Dolstra: nixUnstable: 1.12pre5308_2f21d522 -> 1.12pre5344_eba840c8...
<NixOS_GitHub> nixpkgs/release-17.03 836d866 Eelco Dolstra: nixUnstable: 1.12pre5344_eba840c8 -> 1.12pre5350_7689181e...
<NixOS_GitHub> nixpkgs/release-17.03 99f3536 Eelco Dolstra: shadow: Fix hash...
NixOS_GitHub has left #nixos []
ryanartecona has joined #nixos
svij1 has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Ping timeout: 240 seconds)]
ryantrinkle has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mizu_no_oto has joined #nixos
RayNbow`TU has quit [(Ping timeout: 240 seconds)]
aneeshusa has joined #nixos
RayNbow`TU has joined #nixos
svij1 has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
acertain has quit [(Remote host closed the connection)]
regnat[m] has quit [(Ping timeout: 252 seconds)]
M-Rym has quit [(Ping timeout: 252 seconds)]
reactormonk[m] has quit [(Ping timeout: 252 seconds)]
mythmon- has quit [(Ping timeout: 252 seconds)]
indefini has quit [(Ping timeout: 252 seconds)]
herzmeister[m] has quit [(Ping timeout: 252 seconds)]
posco has quit [(Ping timeout: 252 seconds)]
zimbatm has quit [(Ping timeout: 252 seconds)]
Magnap has quit [(Ping timeout: 252 seconds)]
eacameron has quit [(Ping timeout: 268 seconds)]
posco has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
justelex has joined #nixos
orivej has quit [(Ping timeout: 255 seconds)]
regnat[m] has joined #nixos
M-Rym has joined #nixos
georges-duperon has quit [(Ping timeout: 240 seconds)]
indefini has joined #nixos
roconnor_ has joined #nixos
orivej has joined #nixos
mythmon- has joined #nixos
reactormonk[m] has joined #nixos
zimbatm has joined #nixos
Magnap has joined #nixos
herzmeister[m] has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
FRidh has quit [(Quit: Konversation terminated!)]
ertes-w has quit [(Ping timeout: 240 seconds)]
ixxie has joined #nixos
georges-duperon has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
garbas has quit [(Ping timeout: 260 seconds)]
edofic has quit [()]
edofic has joined #nixos
eacameron has joined #nixos
FrozenCow has quit [(Remote host closed the connection)]
ixxie has quit [(Ping timeout: 245 seconds)]
moonarch has left #nixos ["Kicked by @appservice-irc:matrix.org"]
M-Rym has left #nixos ["Kicked by @appservice-irc:matrix.org"]
MrAxilus[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
andrew[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
shanemikel[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
jascot[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
Yaniel has quit [(Read error: Connection reset by peer)]
davidar has quit [(Read error: Connection reset by peer)]
ArdaXi[m] has quit [(Remote host closed the connection)]
primeos[m] has quit [(Remote host closed the connection)]
sirius[m] has quit [(Read error: Connection reset by peer)]
bendlas has quit [(Remote host closed the connection)]
teh[m] has quit [(Remote host closed the connection)]
unlmtd[m] has quit [(Write error: Connection reset by peer)]
M-liberdiko has quit [(Remote host closed the connection)]
musicmatze[m] has quit [(Remote host closed the connection)]
copumpkin has quit [(Remote host closed the connection)]
Dezgeg[m] has quit [(Read error: Connection reset by peer)]
taktoa[m] has quit [(Read error: Connection reset by peer)]
Khorne[m] has quit [(Read error: Connection reset by peer)]
sargon[m] has quit [(Read error: Connection reset by peer)]
bachp has quit [(Remote host closed the connection)]
timclassic has quit [(Remote host closed the connection)]
hendrik[m] has quit [(Read error: Connection reset by peer)]
aspiwack[m] has quit [(Read error: Connection reset by peer)]
xj9[m] has quit [(Read error: Connection reset by peer)]
wak-work[m] has quit [(Write error: Connection reset by peer)]
dtz has quit [(Remote host closed the connection)]
jyp[m] has quit [(Read error: Connection reset by peer)]
edef[m] has quit [(Remote host closed the connection)]
sziszi[m] has quit [(Remote host closed the connection)]
scott2 has quit [(Remote host closed the connection)]
saintaquinas[m] has quit [(Read error: Connection reset by peer)]
hl has quit [(Remote host closed the connection)]
raignarok has quit [(Remote host closed the connection)]
Kallegro[m] has quit [(Remote host closed the connection)]
regnat[m] has quit [(Read error: Connection reset by peer)]
icetan has quit [(Read error: Connection reset by peer)]
offlinehacker[m] has quit [(Read error: Connection reset by peer)]
sudoreboot[m] has quit [(Write error: Connection reset by peer)]
Oo[m] has quit [(Remote host closed the connection)]
Criena[m] has quit [(Remote host closed the connection)]
NickHu has quit [(Read error: Connection reset by peer)]
danielrf has quit [(Read error: Connection reset by peer)]
Ralith has quit [(Read error: Connection reset by peer)]
spacekitteh[m] has quit [(Read error: Connection reset by peer)]
jesper has quit [(Read error: Connection reset by peer)]
philipp[m] has quit [(Remote host closed the connection)]
eqyiel[m] has quit [(Remote host closed the connection)]
peterhoeg has quit [(Read error: Connection reset by peer)]
jack[m]1 has quit [(Remote host closed the connection)]
Exee7uvo[m] has quit [(Read error: Connection reset by peer)]
herzmeister[m] has quit [(Read error: Connection reset by peer)]
indefini has quit [(Read error: Connection reset by peer)]
Magnap has quit [(Read error: Connection reset by peer)]
mythmon- has quit [(Write error: Connection reset by peer)]
alain[m]1 has quit [(Remote host closed the connection)]
mdash has quit [(Read error: Connection reset by peer)]
corngood has quit [(Read error: Connection reset by peer)]
jlle[m] has quit [(Remote host closed the connection)]
M1000teslas[m] has quit [(Remote host closed the connection)]
qrilka[m] has quit [(Remote host closed the connection)]
spawnthink[m] has quit [(Write error: Connection reset by peer)]
lfont[m] has quit [(Write error: Connection reset by peer)]
cornu[m]1 has quit [(Write error: Connection reset by peer)]
zimbatm has quit [(Ping timeout: 252 seconds)]
reactormonk[m] has quit [(Ping timeout: 252 seconds)]
posco has quit [(Ping timeout: 252 seconds)]
posco has joined #nixos
Infinisil has joined #nixos
<Infinisil> Hey has anybody here written a simple systemd service to execute a script every hour or so?
<gchristensen> a simple timer would do the trick
ryantrinkle has quit [(Ping timeout: 240 seconds)]
<Infinisil> I'm trying something like systemd.services.test = { startAt = "minutely"; serviceConfig.ExecStart = "script here"; }
cornu[m] has joined #nixos
<gchristensen> yep, you want a timer
<Infinisil> But like shouldn't startAt also work?
<gchristensen> not sure
<gchristensen> Infinisil: https://search.nix.gsc.io/?q=systemd.timer for docs links & examples on timers
<gchristensen> though
<Infinisil> Oh thanks, didn't know about that site
<srhb> Infinisil: Perhaps a silly question, but wouldn't you at least need enable = true; as well?
<clever> Infinisil: this will run "shutdown -r +5" every hour on the hour
* clever heads out
grisher has joined #nixos
<Infinisil> Thanks for the examples
aneeshusa has quit [(Quit: WeeChat 1.7.1)]
georges-duperon has quit [(Ping timeout: 255 seconds)]
<Infinisil> Okay but how can I have some pkgs binary available in the systemd script?
<Infinisil> I feel like I'm asking too many questions, but going through the documentation just takes so long for systemd..
estewei has quit [(Quit: Quit)]
ryantrinkle has joined #nixos
mizu_no_oto has joined #nixos
georges-duperon has joined #nixos
xj9[m] has joined #nixos
sudoreboot[m] has joined #nixos
indefini has joined #nixos
teh[m] has joined #nixos
wak-work[m] has joined #nixos
jesper has joined #nixos
aspiwack[m] has joined #nixos
Yaniel has joined #nixos
jack[m]1 has joined #nixos
primeos[m] has joined #nixos
herzmeister[m] has joined #nixos
alain[m] has joined #nixos
edef[m] has joined #nixos
hendrik[m] has joined #nixos
sargon[m] has joined #nixos
bachp has joined #nixos
spacekitteh[m] has joined #nixos
Exee7uvo[m] has joined #nixos
M-liberdiko has joined #nixos
jyp[m] has joined #nixos
philipp[m] has joined #nixos
bendlas has joined #nixos
offlinehacker[m] has joined #nixos
ArdaXi[m] has joined #nixos
unlmtd[m] has joined #nixos
mdash has joined #nixos
Khorne[m] has joined #nixos
copumpkin has joined #nixos
davidar has joined #nixos
timclassic has joined #nixos
Kallegro[m] has joined #nixos
hl has joined #nixos
reactormonk[m] has joined #nixos
NickHu has joined #nixos
dtz has joined #nixos
raignarok has joined #nixos
spawnthink[m] has joined #nixos
mythmon- has joined #nixos
sziszi[m] has joined #nixos
zimbatm has joined #nixos
musicmatze[m] has joined #nixos
saintaquinas[m] has joined #nixos
scott2 has joined #nixos
sirius[m] has joined #nixos
Magnap has joined #nixos
Ralith has joined #nixos
M1000teslas[m] has joined #nixos
eqyiel[m] has joined #nixos
Oo[m] has joined #nixos
taktoa[m] has joined #nixos
jlle[m] has joined #nixos
<Infinisil> Nevermind, I got it, need to use path = [ pkgs.xxx ] in the service, then ${pkgs.xxx}/bin/yyy in the script
Dezgeg[m] has joined #nixos
danielrf has joined #nixos
corngood has joined #nixos
regnat[m] has joined #nixos
qrilka[m] has joined #nixos
icetan has joined #nixos
lfont[m] has joined #nixos
peterhoeg has joined #nixos
Criena[m] has joined #nixos
<gchristensen> Infinisil: Infinisil you need to use one or the other, you don't need to do both
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #25616: activator: remove package from package-set (master...package/activator/remove) https://git.io/v9o1L
NixOS_GitHub has left #nixos []
<Infinisil> What do you mean by one or the other?
<gchristensen> using `path = [ pkgs.xxx ]` means you can just call `yyy` and you don't need to do ${pkgs.xxx}/bin/yyy
<gchristensen> if you don't do `path = ...` you need to just do ${pkgs.xxx}/bin/yyy
<Infinisil> I don't think it worked when I just used path, but this would make sense, maybe i can test it again later
<Infinisil> gonna have to head home now, ttyl
derjohn_mob has quit [(Ping timeout: 268 seconds)]
Infinisil has quit [(Read error: Connection reset by peer)]
<niksnut> startAt also works btw, you don't need a timer
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
digitus has joined #nixos
aneeshusa has joined #nixos
<UrsidaeJohn> I am trying to install a python package which requires setuptools version 35. how the hell do I do this? I've written a .nix file for my package, and I started writing one for setuptools, but it's got a nasty collection of dependencies. Is there some way to see the file that was used to make setuptools 30 (which I can see using `nix-env -q`)?
goibhniu has quit [(Ping timeout: 240 seconds)]
marsel has joined #nixos
aloiscochard has quit [(Quit: Connection closed for inactivity)]
ryanartecona has quit [(Quit: ryanartecona)]
<srhb> UrsidaeJohn: Clone nixpkgs, grep "name = \"setuptools" or something like that :)
<gchristensen> or https://search.nix.gsc.io/?q=name %3D "setuptools
<UrsidaeJohn> so, nixpkgs isn't cloned somewhere already when nix is installed?
__Sander__ has quit [(Quit: Konversation terminated!)]
<gchristensen> UrsidaeJohn: you'll probably find it around /nix/var/nix/profiles/per-user/root/channels/nixpkgs
henrycrutcher has joined #nixos
<UrsidaeJohn> setuptools is a core python package, do those get updated ever in nixpkgs?
<henrycrutcher> hello! I'm trying to build a python package (using nix-shell as the environment), and when I upgraded to unstable, buildPythonPackage stopped working
<srhb> UrsidaeJohn: But there is a bit of x-y problem here. You might not need the derivation at all, perhaps you can just override the current one's version.
<srhb> henrycrutcher: :
<srhb> "stopped working"?
svij1 has joined #nixos
<henrycrutcher> simplified example below:
<gchristensen> henrycrutcher: 1please use a pastebin :)
<henrycrutcher> ok, will do
endformationage has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Lassulus opened pull request #25617: nixos/security/acme: fix acme folder permissions WIP (master...acme-fix) https://git.io/v9oSj
NixOS_GitHub has left #nixos []
<UrsidaeJohn> srhb: I only see one version when I run `nix-env -q`, does that indicate that there is only one version tracked by nixpkgs, and I do need to write a derivation? Or is there some way that I can request a specific version?
<srhb> UrsidaeJohn: In this case, there is only one, but no, it does not indicate that. It could simply not be evaluated top level.
<srhb> UrsidaeJohn: You can request another version, or write your own derivation, or possibly make an overridden pythonPackages set with that version of setuptools.
mudri has quit [(Ping timeout: 260 seconds)]
<henrycrutcher> <gchristensen> https://pastebin.com/WWLxKKGy Thanks!!
aneeshusa has quit [(Ping timeout: 240 seconds)]
zeus_ has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<gchristensen> henrycrutcher: I'd try pinning to a particular version of python: python35Packages.buildPythonPackage
aneeshusa has joined #nixos
<henrycrutcher> Thanks!!! That was it. Also, any idea how to create a python27Packages that has enableDebugging set to true
<gchristensen> nope :)
<henrycrutcher> it seemed like override python27Packages { enableDebugging = true; } didn't propogate
<henrycrutcher> oh well, thanks! You totally made my day!
<henrycrutcher> as I was stuck on the earlier issue, as I'm a noob :-)
<gchristensen> if only everybody's day could be made so simply :D
garbas has joined #nixos
kykim has joined #nixos
henrycrutcher has quit [(Ping timeout: 260 seconds)]
<Isorkin> Hi. php-fpm config - https://pastebin.com/wLzBmS3u > ls -la root root /var/run/phpfpm/webserver.sock How to fix permissions?
<Isorkin> thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/v9oQy
<NixOS_GitHub> nix/master 03ae5e6 Eelco Dolstra: Add "nix edit" command...
NixOS_GitHub has left #nixos []
adulteratedjedi has quit [()]
adulteratedjedi has joined #nixos
smola_ has quit [()]
smola_ has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
jeremejevs has quit [(Quit: Connection closed for inactivity)]
ryantrinkle has quit [(Ping timeout: 272 seconds)]
toppler has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
scode has quit [()]
sellout- has quit [(Read error: Connection reset by peer)]
scode has joined #nixos
sellout- has joined #nixos
sellout- has quit [(Read error: Connection reset by peer)]
sellout- has joined #nixos
ryantrinkle has joined #nixos
<LnL> ^ nice!
nckx has quit [(Ping timeout: 240 seconds)]
nckx has joined #nixos
<clever> neat
<gchristensen> niksnut: if you want to change my PR, I'm OK with that -- I can't change it until 5pm my time :)
tsmeets has joined #nixos
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
Infinisil has joined #nixos
mizu_no_oto has joined #nixos
* Infinisil is back
jensens has quit [(Ping timeout: 240 seconds)]
sdemos has quit [()]
sdemos has joined #nixos
simukis has quit [(Read error: Connection reset by peer)]
simukis has joined #nixos
ryantrinkle has quit [(Ping timeout: 272 seconds)]
<Infinisil> It's working :D, now I have a setup where I have /global directory which is always kept in sync over different machines, which I will use for my system configuration
kampfschlaefer has joined #nixos
tokudan has joined #nixos
acertain has joined #nixos
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] k0ral opened pull request #25618: glances: 2.8.2 -> 2.9.1 (master...nixos-unstable) https://git.io/v9oj9
NixOS_GitHub has left #nixos []
avn has joined #nixos
ryantrinkle has joined #nixos
<schoppenhauer> why is there a package for swiften, but no package for swift?
svij2 has joined #nixos
<schoppenhauer> I mean for the library, but not the client?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
svij1 has quit [(Ping timeout: 255 seconds)]
revtintin has joined #nixos
<nh2> is it a common pattern to do `substituteInPlace path/to/Makefile --replace '$(DESTDIR)' $out`? What does this achieve?
<nh2> it confuses me especially since `makeFlags = "DESTDIR=$(out)";` just above
Itkovian has joined #nixos
takle has quit [(Remote host closed the connection)]
kalebo has joined #nixos
<nh2> gchristensen: I wonder why it was done then. The PR that merged it is https://github.com/NixOS/nixpkgs/pull/3070/files#diff-661d55996a2d73c87417349386e1a6ddR27; there was no comment neither in the code that added it, nor from the person who reviewed/merged it
<nh2> the `makeFlags = "DESTDIR=$(out)";` was added later in https://github.com/NixOS/nixpkgs/commit/d07154b3bc8876ef531a2922f7504e96e1510325#diff-661d55996a2d73c87417349386e1a6ddR31 -- maybe the original replacement was made obsolete by this?
dfranke has quit [(Remote host closed the connection)]
jgertm has joined #nixos
svij2 has quit [(Ping timeout: 246 seconds)]
mizu_no_oto has joined #nixos
georges-duperon has quit [(Ping timeout: 255 seconds)]
digitus has quit [(Remote host closed the connection)]
digitus has joined #nixos
<nh2> how does one correctly package C applications that come with Python applications? Glusterfs has a Python script which imports `gluster.cliutils`, a Python lib that comes with gluster. The problem is that the script doesn't have PYTHONPATH set so that it can import the lib. The script got its `#!/usr/bin/env python` replaced by nix, but it points directly to a python interpreter binary in /nix/store, not to a wrapper that sets
svij2 has joined #nixos
contrapumpkin has quit [(Remote host closed the connection)]
<nh2> do I need to run `wrapProgram` manually on all python scripts glusterfs brings with it? Or is there an approach that does so automatically?
takle has joined #nixos
nckx has quit [(Ping timeout: 260 seconds)]
davidak has quit [(Quit: Leaving.)]
rizary has quit [()]
rizary has joined #nixos
<dmj`> cstrahan: ping
jgertm has quit [(Ping timeout: 260 seconds)]
mudri has quit [(Ping timeout: 260 seconds)]
nckx has joined #nixos
<cstrahan> dmj`: hey
mudri has joined #nixos
marc_____ has joined #nixos
Tipping_- has joined #nixos
pdobrogost has quit [()]
pdobrogost has joined #nixos
eacameron has quit [(Quit: Leaving...)]
FRidh has joined #nixos
<marc_____> http://dpaste.com/1Y2B5B2 -> xorg nvidia geforce 940MX -> X doesn't show up. But no errors. I had to change BusID.
Jackneilll has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #20970: mkdocs: init at 0.16.0. (master...feature/mkdocs) https://git.io/v1Eye
NixOS_GitHub has left #nixos []
bennofs has joined #nixos
georges-duperon has joined #nixos
<dmj`> cstrahan: might have pinged too soon. Saw ghcjs was marked as broken on something that /might/ be fixed with a jailbreak.
<dmj`> nix-build '<nixpkgs>' -A haskell.packages.ghcjsHEAD.tasty-ant-xml
detran has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mudri has quit [(Ping timeout: 240 seconds)]
<dmj`> is fine, but ghcjsHEAD doesn’t support ghcjsi, so am thinking of a fix for ghcjs
<dmj`> doesn’t seem to be cached anymore so have to rebuild first to fix :)
<dmj`> guess no one uses the ghcjs derivation...
georges-duperon has quit [(Ping timeout: 264 seconds)]
<shlevy> niksnut: I have a .drv with preferLocalBuild set to 1 but nix is still fetching a substitute... Any idea why?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] deedrah opened pull request #25621: Gdm on nvidia (master...gdm-on-nvidia) https://git.io/v9KYR
NixOS_GitHub has left #nixos []
revtintin has quit [(Ping timeout: 240 seconds)]
spacefrogg has quit [(Quit: Gone.)]
tokudan has quit [(Quit: Leaving)]
<hodapp> are there particular dependencies required in order to have CUDA libraries accessible? trying to track down this C# error
<hodapp> cudatoolkit?
<hodapp> uggggh, 1066 MB download :|
benzrf has joined #nixos
georges-duperon has joined #nixos
<benzrf> hey
<hodapp> hey
<benzrf> what do i do when a hackage package i want to use depends on a version of something that's not listed as an alternate?
<benzrf> and why dont we have version backlogs already???
marc_____ has quit [(Quit: Lost terminal)]
aneeshusa has quit [(Quit: WeeChat 1.7.1)]
<nh2> hodapp: I depend on simply `cudatoolkit`
_rht has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jensbin opened pull request #25622: osmo: 0.2.14 -> 0.4.0 (master...osmoupdate) https://git.io/v9Ks7
NixOS_GitHub has left #nixos []
<pem__> Hi! I'm confused about overlays. I can use the rust overlay with nix-env -iA, but I don't understand how to call it from a .nix file to start a shell
<pem__> Any hint?
derjohn_mob has joined #nixos
<Filystyn> guys is tehre some easy way to build somethign if dependencies are not met?
<Filystyn> i need teamviewer but only for tomorow fro few hours
<clever> Filystyn: teamviewer only works if you run a daemon as root, so you cant just run it under a nix-shell
<clever> the service has to be enabled
jmiven has quit [(Quit: WeeChat 1.7.1)]
jmiven has joined #nixos
mudri has joined #nixos
<Filystyn> i know but there was a bug with it that caused to crap on configurefile with teamviewer enabl;ed
<joko> Hey, any idea what that Hydra error means: "requesting more tokens (2646014992) than exist (2059864064)"?
mudri has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dmjio opened pull request #25624: Mark ghcjs as fixed (master...ghcjs-fix) https://git.io/v9KWU
NixOS_GitHub has left #nixos []
<dmj`> cstrahan: as suspected, it’s already fixed, just not marked as such
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<hodapp> bah, cudatoolkit is not helping, but I'm pretty sure this is almost solely a C# issue
<nh2> FRidh: should that be `set` or `--set` to makeWrapper?
<FRidh> nh2: --set
<nh2> FRidh: for some reason, that makes me end up with just `export PYTHONPATH=":"`; `--prefix` doesn't have this problem
<nh2> FRidh: I'm using
<nh2> wrapProgram $out/bin/gluster-eventsapi --set PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${python2Packages.requests}):$(toPythonPath ${python2Packages.prettytable}):$PYTHONPATH"
<nh2> am I invoking it incorrectly?
jeremejevs has joined #nixos
<nh2> maybe that ` : `?
<FRidh> nh2: the colon should indeed be removed in the case of --set
<nh2> I guess that's what `separator="${params[$((n + 2))]}";` does for --prefix
<nh2> sometimes I have to shiver in presence of the amount of shell scripting in nixpkgs
<FRidh> then you're not the only one
<nh2> FRidh: I can run `gluster-eventsapi` now without import error. But there's still the problem that it says ".gluster-eventsapi-wrapped: error: too few arguments" instead of "gluster-eventsapi: error: too few arguments" -- the "wrapped" makes it into argv[0]. I think this is related to the `exec -a` you mentioned, and which I can see in the wrapper script. But I didn't understand from your reply: Is there a fix for that?
Itkovian has joined #nixos
<FRidh> nh2: Unfortunately not. wrapPythonPrograms patches the script to set `sys.argv[0]` so that does solve some issues
sellout- has quit [(Quit: Leaving.)]
<FRidh> Got to go now. Good luck with it
FRidh has quit [(Quit: Konversation terminated!)]
<hodapp> how does one coax a stdenv to use a specific GCC version?
<hodapp> oh. wait. my problem is CMake being stupid, not Nix ignoring me. nevermind.
Filystyn has quit [(Ping timeout: 240 seconds)]
DutchWolfie has quit [(Quit: Konversation terminated!)]
tsmeets has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] RonnyPfannschmidt opened pull request #25625: remove myself from maintainers/enpass (master...remove-me) https://git.io/v9K0v
NixOS_GitHub has left #nixos []
ronny has joined #nixos
mudri has joined #nixos
<benzrf> i pulled the full package listings down from Hackage and theres about 7 times as many versions as there are latest versions
<benzrf> i wouldnt mind sacrificing ~50MB of disk space to have a fully version-aware version of hackage-packages.nix!
<benzrf> has anybody tried to do something like that?
<benzrf> im sick of having to override stuff because something depends on an old version
Infinisil has quit [(Quit: leaving)]
sellout- has joined #nixos
aneeshusa has joined #nixos
<dmj`> benzrf: like callHackage?
freusque has joined #nixos
civodul has quit [(Read error: Connection reset by peer)]
mudri has quit [(Ping timeout: 260 seconds)]
Mateon1 has quit [(Remote host closed the connection)]
Mateon1 has joined #nixos
<benzrf> dmj`: WAIT WHAT IS THAT
<dmj`> benzrf: it’s a thing
<benzrf> 1 second
<dmj`> callHackage = name: version: self.callPackage (self.hackage2nix name version);
mizu_no_oto has joined #nixos
<dmj`> pkgs/development/haskell-modules/default.nix
<benzrf> wait, so how do you use that?
<benzrf> dmj`: well, hold on - that doesnt do transitive dependencies, does it? or... does it
nh2 has quit [(Ping timeout: 272 seconds)]
justbeingglad has joined #nixos
bb4kk3r has quit [(Quit: Page closed)]
justbeingglad has left #nixos []
dejanr has joined #nixos
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #25625: remove myself from maintainers/enpass (master...remove-me) https://git.io/v9K0v
NixOS_GitHub has left #nixos []
jacob__ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25597: cadvisor: fix supported platforms (master...pr/cadvisor-linux) https://git.io/v9rUc
NixOS_GitHub has left #nixos []
<dmj`> benzrf: unsure
dejanr has quit [(Ping timeout: 240 seconds)]
bb4kk3r has joined #nixos
bb4kk3r has left #nixos []
marsel has quit [(Ping timeout: 264 seconds)]
aneeshusa has quit [(Quit: WeeChat 1.7.1)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
spinus has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<spinus> is overrideDerivation a proper way to override buildInputs in overlay?
<spinus> actually not override but add builtInput
dustmote has joined #nixos
dustmote has quit [(Remote host closed the connection)]
Raimondii has joined #nixos
hiratara has quit [(Ping timeout: 255 seconds)]
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
hiratara has joined #nixos
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
SovereignBleak has quit [()]
SovereignBleak has joined #nixos
kykim has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
danharaj has quit [(Ping timeout: 240 seconds)]
jml has quit [()]
jml has joined #nixos
bennofs has quit [(Ping timeout: 245 seconds)]
aneeshusa has joined #nixos
montag451___ has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
JagaJaga has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #25628: Automated Emacs package updates (master...emacs-updates) https://git.io/v9Kyt
NixOS_GitHub has left #nixos []
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] avnik opened pull request #25629: Wine update (master...wine-update) https://git.io/v9KSF
NixOS_GitHub has left #nixos []
derjohn_mob has quit [(Ping timeout: 272 seconds)]
erasmas has quit [(Quit: leaving)]
Mateon3 has joined #nixos
kampfschlaefer has quit [(Ping timeout: 272 seconds)]
Mateon1 has quit [(Ping timeout: 268 seconds)]
Mateon3 is now known as Mateon1
mudri has quit [(Ping timeout: 272 seconds)]
derjohn_mob has joined #nixos
<gchristensen> trying to load https://waffle.io/NixOS/nixpkgs/metrics/throughput is a bit funny :P
acertain has quit [(Remote host closed the connection)]
Tipping_- is now known as Tipping_Fedora
Tipping_Fedora has quit [(Changing host)]
Tipping_Fedora has joined #nixos
freusque has quit [(Ping timeout: 245 seconds)]
nh2 has quit [(Ping timeout: 272 seconds)]
ryanartecona has joined #nixos
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
digitus has quit [(Quit: digitus)]
JagaJaga has quit [(Ping timeout: 240 seconds)]
JagaJaga has joined #nixos
nh2 has joined #nixos
ertes has joined #nixos
thc202 has quit [(Ping timeout: 258 seconds)]
samtoday has joined #nixos
cpennington has quit [(Ping timeout: 260 seconds)]
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 4 new commits to master: https://git.io/v9KFM
<NixOS_GitHub> nixpkgs/master 42c58cd Joachim Fasting: linux_hardened: compile with stackprotector-strong...
<NixOS_GitHub> nixpkgs/master a7ecdff Joachim Fasting: linux_hardened: move to 4.11...
<NixOS_GitHub> nixpkgs/master 1816e2b Joachim Fasting: linux_hardened: BUG on struct validation failure
NixOS_GitHub has left #nixos []
nckx has quit [(Quit: restarting my GuixSD server)]
nckx has joined #nixos
markus1209 has joined #nixos
nckx has quit [(Client Quit)]
markus1219 has joined #nixos
JagaJaga has quit [(Ping timeout: 240 seconds)]
nckx has joined #nixos
markus1199 has quit [(Ping timeout: 240 seconds)]
markus1189 has quit [(Ping timeout: 240 seconds)]
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
aneeshusa has quit [(Ping timeout: 246 seconds)]
nckx has quit [(Quit: restarting my GuixSD server)]