erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
jensens has quit [(Ping timeout: 260 seconds)]
adamt has quit [(Ping timeout: 240 seconds)]
thc202 has quit [(Ping timeout: 260 seconds)]
mlieberman has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 4 new commits to master: https://git.io/vFr0h
<NixOS_GitHub> nixpkgs/master a2d3ee7 Orivej Desh: make-disk-image: clean up
<NixOS_GitHub> nixpkgs/master 608de48 Orivej Desh: make-disk-image: add compressed option to compress qcow2 images
<NixOS_GitHub> nixpkgs/master 27f5cc9 Orivej Desh: make-disk-image: embed compression switch into the format name
NixOS_GitHub has left #nixos []
Arcaelyx has joined #nixos
Arcaelyx_ has quit [(Ping timeout: 250 seconds)]
dywedir has quit [(Remote host closed the connection)]
MP2E has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
joehh has quit [(Ping timeout: 248 seconds)]
petersjt014[m] has joined #nixos
matthewbauer has joined #nixos
<petersjt014[m]> hi:
<petersjt014[m]> I'm trying to write a package expression and am having some trouble--anyone have suggestions?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #31577: darwin: fixup bootstrap tools (master...patch-5) https://git.io/vFrEs
NixOS_GitHub has left #nixos []
<petersjt014[m]> I've been trying a bunch of stuff, which is why some things are commented out
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
<petersjt014[m]> wait, this goes in the other channel. my bad
petersjt014[m] has left #nixos ["User left"]
schoppenhauer has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #31578: abcm2ps: 8.13.15 -> 8.13.16 (master...abcm2ps) https://git.io/vFrEE
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/9ea242c617 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<neonfuz> anyone use virtual box on nixos?
<neonfuz> it isn't starting for me
<orivej> yes, it works (I'm on today's master branch)
Arcaelyx has quit [(Read error: Connection reset by peer)]
matthewbauer has quit [(Remote host closed the connection)]
<dmj`> anyone know where jsc is in nixpkgs
Arcaelyx has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #31579: Emacs fixes (master...emacs-fixes) https://git.io/vFrEM
NixOS_GitHub has left #nixos []
matthewbauer has joined #nixos
theseriousadult has joined #nixos
uptime has joined #nixos
matthewbauer has quit [(Ping timeout: 240 seconds)]
<adisbladis> mudri: What is the problem with beatifulsoup?
tgunb has quit [(Ping timeout: 248 seconds)]
erictapen has quit [(Ping timeout: 268 seconds)]
shanemikel has joined #nixos
joehh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #31581: anki: Switch dependency to beautifulsoup-3 (master...anki-bs3) https://git.io/vFruF
NixOS_GitHub has left #nixos []
jb55 has quit [(Ping timeout: 268 seconds)]
theseriousadult has quit [(Ping timeout: 260 seconds)]
mekeor has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto closed pull request #30950: [RDY] libvirt-python: 3.6.0 -> 3.8.0 (master...libvirt) https://git.io/vFLxB
NixOS_GitHub has left #nixos []
hellrazo1 has joined #nixos
romildo has joined #nixos
hellrazor has quit [(Ping timeout: 248 seconds)]
<romildo> On PR https://github.com/NixOS/nixpkgs/pull/26920 someone suggested removing some unimportant files with non ascii unicode chars in its name, because of compatibility with MacOS. It was suggested to add the following in the src attribute set:
<romildo> postFetch = "$unpackCmd $downloadedFile && rm -r ${name}/testdir";
<romildo> But it does not work.
<romildo> It seems that $unpackCmd is undefined. How should this postFetch command can be written in this case?
mlieberman has quit [(Remote host closed the connection)]
Neo-- has quit [(Ping timeout: 248 seconds)]
<clever> romildo: it will already have been unpacked in postFetch, so you shouldnt need to do that
<Dezgeg> maybe in case of fetchFromGitHub it needs to be extraPostFetch
ebzzry has joined #nixos
<ebzzry> joachifm_: ping
pie_ has joined #nixos
pie__ has quit [(Remote host closed the connection)]
<romildo> clever, Dezgeg, it uses fetchFromGithub. In postFetch the downloaded file is known as 'file' it seems not be unpacked yet. With extraPostFetch there is a directory named unpacked which seems to contain the unpacked downloaded file. Should I remove the undesirable files (with unicode chars in their name) there?
<romildo> s/unpacked/unpack/
<Dezgeg> no, from $out
c74d has joined #nixos
c74d has left #nixos []
Dr8128 has quit [(Ping timeout: 240 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
joehh has quit [(Ping timeout: 248 seconds)]
zraexy has joined #nixos
lambdamu has joined #nixos
noam_ has quit [(Read error: Connection reset by peer)]
noam__ has joined #nixos
lambdamu_ has quit [(Ping timeout: 248 seconds)]
<romildo> Dezgeg, thanks.
nh2 has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
python476 has quit [(Remote host closed the connection)]
python476 has joined #nixos
griff_ has joined #nixos
<griff_> @search Phil Tucker
python476 has quit [(Remote host closed the connection)]
python476 has joined #nixos
dhess has joined #nixos
<dhess> Anyone around who's running a Gitlab instance on NixOS?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFr2i
<NixOS_GitHub> nixpkgs/master c42a0fb José Romildo Malaquias: enlightenment: 0.21.10 -> 0.22.0...
<NixOS_GitHub> nixpkgs/master e0483a5 Samuel Leathers: Merge pull request #31532 from romildo/upd.enlightenment...
NixOS_GitHub has left #nixos []
kp__ has quit [(Quit: WeeChat 1.9.1)]
aanderse_ has quit [()]
mbrgm has quit [(Ping timeout: 240 seconds)]
aanderse has joined #nixos
mbrgm has joined #nixos
asuryawanshi has joined #nixos
romildo has quit [(Quit: Leaving)]
<adisbladis> disasm: So you are using nixops to deploy desktop machines? :)
<adisbladis> Are you doing that with a local nixpkgs checkout?
asuryawanshi has quit [(Ping timeout: 240 seconds)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<disasm> adisbladis: so yes, I do have a nixpkgs checkout. I haven't actually pressed the button yet, but yes, my desktop in the office that runs my plex server I'm working on getting the config right. It's kinda scary running nixops deploy the first time. I also order a new microsystem to replace my openwrt router that will be running nixos as well (that I'll deploy with nixops)
<disasm> adisbladis: my trick for making nixops using my nixpkgs checkout is I never run nixops outside of a shell (it's not installed via nix-env or systemPackages)
shanemikel has joined #nixos
<disasm> and my default.nix sets the NIX_PATH env var
<adisbladis> disasm: I'm not entirely sure if a local nixpkgs checkout would play nicely with tooling like nix-shell?
<disasm> adisbladis: right, that's why my default.nix specifies the NIX_PATH var
<adisbladis> disasm: My NIX_PATH is pointing to my local checkout. How do you make sure that the same nixpkgs version is propagated to the other machine?
<adisbladis> My scenario is: Laptop is deploying (has git nixpkgs) to desktop. How do you deploy the same git revision and set up NIX_PATH on the remote?
<disasm> adisbladis: nixops builds everything locally and copies those closures to the remote machine, so the machine running nixops is where it's important to get it right.
<disasm> adisbladis: or do you mean for users on that machine so nix-env uses the right checkout?
<adisbladis> disasm: Yes. Exactly.
<disasm> if the latter, I haven't ran into that problem yet :)
<adisbladis> disasm: Ok =)
AluisioASG has quit [(Remote host closed the connection)]
<adisbladis> I guess that's for me to find out then :)
AluisioASG has joined #nixos
<adisbladis> Actually shouldn't be hard at all when I think about it..
Golden_Skittle has joined #nixos
<adisbladis> My new laptop is arriving later this week and I really want to have my whole personal deployment be nixops :)
mlieberman has joined #nixos
<adisbladis> Already using it at work but there we don't really have that issue since we just use unstable-small.
dieggsy has joined #nixos
<disasm> yeah, I rebuild stuff to frequently on my laptop, but everything else I want to be managed by nixops
drakonis has quit [(Read error: Connection reset by peer)]
<adisbladis> disasm: I could just wrap my nixpkgs up in a derivation and deploy that one. Super simple.
<disasm> adisbladis: my reason for a nixpkgs local checkout is also different than most. rather than trying to pin versions, it's more for backporting cherry-picks from other branches (like unstable, or other nixpkgs forks)
<disasm> adisbladis: yeah, that should work
<disasm> I'm not too afraid of breaking stuff with a rebuild switch --upgrade (I rebase almost daily), mainly because I can always just rollback if something happens.
python476 has quit [(Ping timeout: 248 seconds)]
cmcdragonkai has quit [(Quit: WeeChat 1.9.1)]
griff_ has quit [(Quit: griff_)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #31581: anki: Switch dependency to beautifulsoup-3 (master...anki-bs3) https://git.io/vFruF
NixOS_GitHub has left #nixos []
jb55 has joined #nixos
mark999 has joined #nixos
mahalel_ has left #nixos []
mahalel_ has joined #nixos
mahalel_ has quit [(Client Quit)]
mahalel_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFrVW
<NixOS_GitHub> nixpkgs/master 2d2f5e1 Orivej Desh: pip-tools: disable tests that depend on a specific version of "six"...
NixOS_GitHub has left #nixos []
mahalel_ has quit [(Client Quit)]
mahalel_ has joined #nixos
nh2 has quit [(Ping timeout: 248 seconds)]
<mlieberman> does anyone know if idrisPackages.idris is broken? I can use haskellPackages.idris, which is an older version, but the one under idrisPackages installs but can't find Prelude or Builtins when run
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #31582: anki: Enable tests (master...anki-tests) https://git.io/vFrV1
NixOS_GitHub has left #nixos []
primeos has quit [(Ping timeout: 248 seconds)]
dieggsy has quit [(Remote host closed the connection)]
primeos has joined #nixos
srdqty has joined #nixos
srdqty has quit [(Client Quit)]
srdqty has joined #nixos
<Golden_Skittle> Hi, I just installed nix, when I do "nix-env -i git" or anyother package i get "error: selector 'git' matches no derivations"
<Golden_Skittle> is there a way to fix this
sigmundv__ has quit [(Ping timeout: 240 seconds)]
<adisbladis> Golden_Skittle: You probably want to use "nix-env -iA ..."
<adisbladis> Golden_Skittle: But "nix-env -i git" should also work. Do you get any search results? (nix-env -qaP ...)
srdqty has quit [(Quit: WeeChat 1.9.1)]
matthewbauer has joined #nixos
<Golden_Skittle> adisbladis: not getting any results
theseriousadult has joined #nixos
<adisbladis> Golden_Skittle: What's in your NIX_PATH environment?
<Golden_Skittle> adisbladis: /home/gskittle/.config
<Golden_Skittle> adisbladis: should it be .nix-defexpr?
ditadi has quit [(Ping timeout: 240 seconds)]
<Golden_Skittle> I just tried "export NIX_PATH=/home/gskittle/.nix-defexpr:nixos-config=/etc/nixos/configuration.nix;"
<clever> thats not how defexpr works
<FreakingOut1987> anyone know if I can install nginx to my user profile?
<Golden_Skittle> clever: I just found something similar and copied, on an aside, I got nix-env -i to work if I go root, I think I am missing user priviliges
<clever> Golden_Skittle: what are the contents of ~/.nix-defexpr/ ?
<Golden_Skittle> its empty
<clever> and as root?
<Golden_Skittle> it has a folder channels
<clever> did you delete the old channels_root symlink?
<clever> [clever@amd-nixos:~]$ ls -lh .nix-defexpr/
<clever> lrwxrwxrwx 1 clever users 44 Oct 11 2015 channels_root -> /nix/var/nix/profiles/per-user/root/channels
<clever> Golden_Skittle: it should have a symlink like this
<Golden_Skittle> It says I cannot access it
<clever> what cannot access what?
<Golden_Skittle> "ls: cannot access '//.nix-defexpr/': No such file or directory"
<clever> i didnt give a path starting with //
srdqty1 has joined #nixos
<Golden_Skittle> oops, I accidentally switched to the wrong user from root, now the command worked, it says total 0
mlieberman has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jascase901 opened pull request #31585: Release 17.09 (master...release-17.09) https://git.io/vFrr4
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jascase901 closed pull request #31585: Release 17.09 (master...release-17.09) https://git.io/vFrr4
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jascase901 opened pull request #31586: Godot gcc5 build (master...godot-gcc5-build) https://git.io/vFrra
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jascase901 closed pull request #31586: Godot gcc5 build (master...godot-gcc5-build) https://git.io/vFrra
NixOS_GitHub has left #nixos []
<Golden_Skittle> I definitely broke the link
<Golden_Skittle> It looks like I did accidentally delete ~/.nix-defexpr earlier tonight
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
<Golden_Skittle> If I broke that symlink would it just be easier to reinstall?
<Golden_Skittle> Im still figuring this all out
<matthewbauer> You can probably just symlink it to /nix/var/nix/profiles/per-user/$USER/profile
<Golden_Skittle> is that the source file?
mark999 has quit [(Quit: Konversation terminated!)]
<Golden_Skittle> link this "ln -S /nix/var/nix/profiles/per-user/$USER/profile ~/.nix-defexpr/"
<Golden_Skittle> matthewbauer: Ah that fixed it, i swapped what I said in my last message around and now it works perfectly
universalpackage has quit [(Remote host closed the connection)]
<matthewbauer> ok nice!
asuryawanshi has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [(Client Quit)]
asuryawanshi has quit [(Ping timeout: 248 seconds)]
statusfailed has quit [(Remote host closed the connection)]
justanotheruser has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
matthewbauer has quit [(Ping timeout: 240 seconds)]
<Golden_Skittle> When I install haskell stack and try to use it, it says i am missing make?
<FreakingOut1987> okay.. this is crazy.. I'm trying to debug nginx but theres no log file in /var/log
<FreakingOut1987> nginx -t give me a /nix/store path... Do I have to go to that path everytime for logs...?
<FreakingOut1987> i'm going to be honest this doesn't feel comfortable at all and seems really really backwards
<FreakingOut1987> i'm probably doing something wrong, can someone enlighten me?
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
orivej has quit [(Remote host closed the connection)]
orivej has joined #nixos
<jeaye> I'd like to link a file relative to my configuration.nix into /etc; I'm trying environment.etc."foo".source = ./my-file; but haven't had much success. Is there a better way?
<jeaye> I'd also like to be able to link directories just the same.
Isorkin has joined #nixos
<jeaye> I could do an activation script, but something in Nix would be ideal.
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<Golden_Skittle> jeaye: non nix way: "ln -s source_file myfile"
<jeaye> Golden_Skittle: I know that, but I appreciate it. :) When in Rome, I try to do as the Romans do.
<jeaye> Thus, a declarative approach in Nix is preferable.
<Golden_Skittle> jeaye: haha, gotcha.
zzamboni has joined #nixos
shanemikel has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
universalpackage has joined #nixos
pie_ has joined #nixos
srdqty1 has quit [(Quit: WeeChat 1.9.1)]
srdqty has joined #nixos
FreakingOut1987 has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jascase901 opened pull request #31588: upgrades from 2.1.3 to 2.1.4 (master...godot-2.1.3->2.1.4) https://git.io/vFr6O
NixOS_GitHub has left #nixos []
<Golden_Skittle> I am trying to run the command "stack setup" to setup haskell stack, but I am getting an error that I don't have make installed
nslqqq has joined #nixos
<Golden_Skittle> How do I install make
srdqty has quit [(Ping timeout: 248 seconds)]
matthewbauer has joined #nixos
srdqty has joined #nixos
hariel has quit [(Remote host closed the connection)]
alhariel has quit [(Remote host closed the connection)]
wolfcub has quit [(Remote host closed the connection)]
noam__ has quit [(Read error: Connection reset by peer)]
alhariel has joined #nixos
noam__ has joined #nixos
srdqty has quit [(Ping timeout: 248 seconds)]
srdqty has joined #nixos
asuryawanshi has joined #nixos
noam__ has quit [(Read error: Connection reset by peer)]
noam__ has joined #nixos
dhess has quit [(Remote host closed the connection)]
<clever> Golden_Skittle: run nix-shell
<Golden_Skittle> How do I install make?
<clever> Golden_Skittle: you may also want to look into "stack --nix"
<Golden_Skittle> ok
endformationage has quit [(Quit: WeeChat 1.9.1)]
<Golden_Skittle> it gives ma an error that there is no default.nix in my home user directory
asuryawanshi has quit [(Ping timeout: 268 seconds)]
proteus-guy has quit [(Remote host closed the connection)]
patrl has joined #nixos
<Golden_Skittle> clever: I can't run it from root either, I dont have the required directory
noam__ has quit [(Read error: Connection reset by peer)]
noam__ has joined #nixos
dhess has joined #nixos
<ghostyy> how do i use libvulkan on nixos?
<ghostyy> i cant even find the object file in the store
<ghostyy> even though i am using the proprietary nvidia drivers
<ghostyy> (which come with a vulkan library i believe)
<ghostyy> ah, its in vulkan-loader
srdqty has quit [(Ping timeout: 240 seconds)]
phreedom has joined #nixos
<jeaye> Hm, just getting a blank white screen when logging in as anyone other than root.
jb55 has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
nixos1022 has joined #nixos
Golden_Skittle has quit [(Quit: WeeChat 1.9.1)]
p4cman has joined #nixos
MercurialAlchemi has joined #nixos
<srhb> Anyone feel like voicing their opinion on this, its linked issues or the alternative PR? https://github.com/NixOS/nixpkgs/pull/31526
<srhb> I feel like it should probably be sort of fast tracked considering that most php applications are probably at least subtly broken in stable for quite a while now.
pie_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #31589: Libbsd update Darwin patch (master...libbsd-update) https://git.io/vFrXO
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #31590: quart-wm: fix building (master...quartz-wm) https://git.io/vFrX4
NixOS_GitHub has left #nixos []
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #31591: Libtiger fix on Darwin (master...libtiger-fix) https://git.io/vFrXg
NixOS_GitHub has left #nixos []
matthewbauer has quit [(Remote host closed the connection)]
jb55 has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
pie_ has joined #nixos
ma27 has quit [(Ping timeout: 250 seconds)]
pie_ has quit [(Ping timeout: 248 seconds)]
<jeaye> I've tried xmonad, xterm, and i3, with sddm, slim, and lightdm, as well as both none and xfce. As soon as I log in, there's a pause, then X dies and I'm booted back to the login prompt.
<jeaye> Also tried creating an executable ~/.xsession for my user which runs i3 or xterm. Gave it a shebang, the right user/group and 0555. Running out of ideas and search results.
<nixo[m]> jeaye: do you have auto-login?
<jeaye> No.
<woffs> Hi. How to burn an audio CD? Both bashburn (xorriso option error) and brasero (no permission to burn, although device is writable by me) are broken.
<woffs> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(woffs): "", channels(root): "nixos-17.09.2034.78eed74497, nixos-unstable-18.03pre118381.4068703502", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<woffs> maybe cdrdao is fine, but then I have to create a toc first
ravloony has joined #nixos
tommyangelo has quit [(Ping timeout: 240 seconds)]
<woffs> found wodim in cdrkit
orivej has quit [(Remote host closed the connection)]
orivej has joined #nixos
bennofs1 has joined #nixos
hellrazo1 has quit [(Ping timeout: 248 seconds)]
hellrazo1 has joined #nixos
patrl has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2d2f5e1c4d (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
bennofs1 has quit [(Ping timeout: 240 seconds)]
<woffs> wodim was ok. thanks ;)
rct has quit [(Quit: WeeChat 1.9.1)]
reinzelmann has joined #nixos
ambro718 has joined #nixos
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
<hyper_ch> infinisil: online?
asuryawanshi has joined #nixos
ikk has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner closed pull request #31556: racket: reenable docs by default (master...racket_docs) https://git.io/vFw1f
NixOS_GitHub has left #nixos []
lambdamu has quit [(Ping timeout: 248 seconds)]
leat has quit [(Quit: WeeChat 1.9.1)]
thc202 has joined #nixos
davidak has quit [(Quit: Leaving.)]
jb55 has quit [(Ping timeout: 250 seconds)]
<joko> Good morning, people! Is there any way to keep closures I've used in nix-shell after nix-collect-garbage? Somehow to mark them as still needed
<etu> I think what you need is to install them into your profile then ;)
Itkovian has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
goibhniu has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<joko> etu: The thing is that I don't want them all the time, e.g. I could have a Python 3.5 and a Python 3.6 env there
jb55 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFry5
<NixOS_GitHub> nixpkgs/master 8873660 Robert Schütz: ttwatch: 2017-09-26 -> 2017-10-31
<NixOS_GitHub> nixpkgs/master 0099f69 Jörg Thalheim: Merge pull request #31580 from dotlambda/ttwatch...
NixOS_GitHub has left #nixos []
ertes-w has joined #nixos
<etu> joko: I have aliases in my shell to run nix-shell for certain commands. And I've decided to live with things having to download sometimes :p
jb55 has quit [(Ping timeout: 248 seconds)]
davidak has joined #nixos
FRidh has joined #nixos
asuryawanshi has joined #nixos
ebzzry has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vFr9t
<NixOS_GitHub> nixpkgs/master 9f4a461 tv: update skarnet.org packages...
<NixOS_GitHub> nixpkgs/master e294f2b Michael Raskin: Merge pull request #31575 from 4z3/skarnet...
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 240 seconds)]
leat has joined #nixos
asuryawanshi has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31571: sonarr: 2.0.0.4949 -> 2.0.0.5054 (master...bump/sonarr) https://git.io/vFrZ9
NixOS_GitHub has left #nixos []
bennofs1 has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
b has quit [(Quit: Lost terminal)]
rct has joined #nixos
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
<hyper_ch> in a nix expression, how can I make that it also installed python27.virtualenv as dependency....
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31587: godot will crash if it is built with gcc6 (master...godot-gcc5) https://git.io/vFrKA
NixOS_GitHub has left #nixos []
<makefu> hyper_ch: normally propagatedBuildInputs (input will propagate and be available for the final derivation)
<hyper_ch> I used it as in the buildInputs but that's only for compiling... it just doesn't make python availabel then or the python modules
<Mic92> hyper_ch: you can make a pr
<hyper_ch> Mic92: I tested it, still not working.... zfs receiving of encrypted datasets works only without -R flag so no chance for incremental updates
<hyper_ch> Mic92: https://github.com/zfsonlinux/zfs/issues/6821#issuecomment-342299830 --> tom caputi thought that was already fixed by as you can see by my try last night, it didn't work
python476 has joined #nixos
<etu> joko: Interesting :)
matthewbauer has joined #nixos
<hyper_ch> Mic92: and tbh, I have no idea how to make a pr... the nix info is very confusing... https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md --> "Format the commits in the following way:" -- is that meant as commit message or not sure what is meant by format the commits
zzamboni has quit [(Quit: Leaving.)]
<Mic92> hyper_ch: nixpkgs/pkgs/os-specific/linux/zfs and nixpkgs/pkgs/os-specific/linux/spl needs to be updated
<hyper_ch> Mic92: I know
<hyper_ch> that's what I used last night https://paste.simplylinux.ch/view/raw/e0f3663e
<ij> I'm in a "nix-shell -E '(bundlerEnv …).env'". I'd like to also add docker-compose as an in-shell dependency, but -p and -E are mut. excl. How do I?
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<manveru> finally write a shell.nix? :)
pie_ has joined #nixos
matthewbauer has quit [(Ping timeout: 248 seconds)]
<Mic92> hyper_ch: zfsUnstable: 2017-10-16 -> 2017-11-12
<Mic92> would be the message
roberth has joined #nixos
<Mic92> when you do git commit -m
<hyper_ch> I can do that :) just wasn't sure what was meant with format commit
<ij> manveru, I'm not sure what I should put there.
<manveru> the neovim python needs some environmental protection... my PYTHONPATH really confuses it
<hyper_ch> and then it didn't work anyway for my bug :)
asuryawanshi has joined #nixos
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hedning opened pull request #31593: nix-bash-completions: 0.2 -> 0.3 (master...nix-bash-completions-0.3) https://git.io/vFrQU
NixOS_GitHub has left #nixos []
<ij> manveru, I don't know how the ".env" of bundlerEnv's derivation was created, so I don't know how to create another, better one.
<manveru> ij: one sec
<betaboon> good morning
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #31502: webkitgtk: 2.18.2 -> 2.18.3 (fixes multiple CVE's) (staging...webkitgtk) https://git.io/vFaFl
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Quit: Leaving)]
<manveru> ij: like this, didn't try it, just wrote it off the top of my head
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFrQC
<NixOS_GitHub> nixpkgs/master 0533e56 Joerg Thalheim: CONTRIBUTING.md: be more precise what is meant by formatting commits
NixOS_GitHub has left #nixos []
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<manveru> ij: then you can put like `buildInputs = [ ... ] ++ (stdenv.lib.optional stdenv.isLinux [ docker-compose ]);
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vFrQB
<NixOS_GitHub> nixpkgs/release-17.09 c19136c Jason Hilton: godot: 2.1.3 -> 2.1.4...
NixOS_GitHub has left #nixos []
<manveru> i don't think it builds on macs at least
<ij> Cool! lowPrio moves gems' executables lower down the $PATH?
shanemikel has joined #nixos
<manveru> i think so, it basically says "if we have another executable that conflicts with a gem one, ignore the gem one"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFrQz
<NixOS_GitHub> nixpkgs/master 8b0f2b2 Joerg Thalheim: godot: remove -stable suffix from version
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sjau opened pull request #31594: zfsUnstable: 2017-10-16 -> 2017-11-12 (master...master) https://git.io/vFrQa
NixOS_GitHub has left #nixos []
<hyper_ch> Mic92: submitted pr
<ij> manveru, Awesome, thanks!
ixxie has joined #nixos
<adisbladis> hyper_ch: <3
<hyper_ch> adisbladis: ?
<adisbladis> hyper_ch: ZFS pr :)
Itkovian has joined #nixos
<hyper_ch> zfsUnstable
<adisbladis> I was about to make one yesterday but I fell asleep :)
<hyper_ch> but my issue is still not solved in latest master though :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 2 new commits to master: https://git.io/vFr7f
<NixOS_GitHub> nixpkgs/master 4cf1693 aszlig: opencascade: Fix build against glibc 2.26...
<NixOS_GitHub> nixpkgs/master cc17b42 aszlig: lib/maintainers: Update my email address...
NixOS_GitHub has left #nixos []
<hyper_ch> adisbladis: you use native encrypted zfs?
<adisbladis> Yes
<hyper_ch> does send / receive work for you?
<adisbladis> hyper_ch: I haven't tested it yet
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<adisbladis> Just set up my new fileserver yesterday
<adisbladis> So didn't have the time for it
sigmundv__ has joined #nixos
<hyper_ch> zfs send -wR tank/encrypted_dataset@snapshot | ssh root@remote 'zfs receive remoteTank/BU/encrypted_dataset' --> leads to spl panic for me
<hyper_ch> without the -R flag it work... but then for incremental it stops again working - spl panix
lsix has joined #nixos
adamt has quit [(Ping timeout: 248 seconds)]
phreedom has joined #nixos
<hyper_ch> Mic92: do you know why is the srcversion shows a different "hash" when I run modinfo on it compared to the git commit?
asuryawanshi has quit [(Remote host closed the connection)]
qqq has joined #nixos
asuryawanshi has joined #nixos
jensens has joined #nixos
<hyper_ch> adisbladis: https://github.com/NixOS/nixpkgs/pull/31594 to check the status ;)
orivej has quit [(Ping timeout: 248 seconds)]
datakurre has quit [(Remote host closed the connection)]
datakurre has joined #nixos
<hyper_ch> travis is working hard :)
<adisbladis> hyper_ch: I'm keeping an eye on it =)
<hyper_ch> spl was built successfully and still building zfs from what I can see
<goibhniu> What do people use for backup software on NixOS these days? (apart from zfs)
<hyper_ch> goibhniu: rsync :)
<hyper_ch> and borg seems to gain popularity
<hyper_ch> rsync + hardlinks using --link-dest option
<dhess> goibhniu: tarsnap
<dhess> plus tarsnapper
<hyper_ch> goibhniu: you're not using zfs?
<goibhniu> hyper_ch: borg sounds cool ... do you manually add cronjobs/timers?
<hyper_ch> never used borg
<hyper_ch> but I always liked the Borg
<manveru> damn you neovim...
<vincent_vdk> goibhniu: restic is also nice (not sure if that is packaged though)
<goibhniu> tarsnap sounds interesting, cheers
<hyper_ch> for me, rsync + hardlink has been proven reliable for many years
<hyper_ch> (zfs is just so much nicer though - once I get it to work with encrypted datasets)
<goibhniu> vincent_vdk: yeah, there are only a few modules available, https://github.com/NixOS/nixpkgs/tree/master/nixos/modules/services/backup ... I was using bacula, but it's quite awkward and doesn't seem to be maintained in nixpkgs
<sphalerite> I used to use Borg (and its predecessor attic) until I switched to zfs
<sphalerite> Zfs is so much nicer
<ij> manveru, It seems like binaries introducted by "group :development" aren't working, though are in $PATH. Should they?
<manveru> you can set groups in bundlerEnv
<hyper_ch> sphalerite: btw, wrote a little backup script for zfs...
<manveru> ij: i use `groups = ["default" "development" "test" "production"];` but it depends on what's in your Gemfile
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hedning closed pull request #31593: nix-bash-completions: 0.2 -> 0.3 (master...nix-bash-completions-0.3) https://git.io/vFrQU
NixOS_GitHub has left #nixos []
<goibhniu> sphalerite: and you just wrote the cronjobs/timers yourself, right? ... I was surprised there was no module for it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #31596: linux_mptcp: makes linux_mptcp.override works (master...mptcp_override) https://git.io/vFrFe
NixOS_GitHub has left #nixos []
<sphalerite> goibhniu: nah I didn't have it timed at all. I'd just periodically plug in my external hard drive and run the command manually
bennofs1 has quit [(Ping timeout: 268 seconds)]
<goibhniu> cool, cheers
<sphalerite> But yeah zfs is sooooo much better, faster particularlu
<goibhniu> vincent_vdk: I see restic is packaged too, but there's no module ... perhaps there's no need
<goibhniu> yeah, I'm too lazy to start changing my filesystems and learning about zfs ... it sounds nice though!
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
tommyangelo_ has joined #nixos
<hyper_ch> goibhniu: zfs is awesomst
ravloony has quit [(Remote host closed the connection)]
<hyper_ch> there's not much to learn except, pools, datasets, vdev, mirroring, pool options, dataset options, mountpoints, compression, atime, .....
<goibhniu> exactly :D
<hyper_ch> sphalerite: https://paste.simplylinux.ch/view/raw/964e86acsadsssfdaasasdsdffstill not working properly with encrpyted datasets
<hyper_ch> once encrypted datasets work, I'll try to also make it nicely configuarable through the configuration.nix
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
kier has quit [(Ping timeout: 240 seconds)]
ikk has quit [(Remote host closed the connection)]
bennofs1 has joined #nixos
balsoft has joined #nixos
<sphalerite> hyper_ch: 404
<sphalerite> Still 404
civodul has joined #nixos
<hyper_ch> replugged keyboard :)
<hyper_ch> so few additional things were added
<sphalerite> Lol
bennofs1 has quit [(Read error: Connection reset by peer)]
lsix_ has joined #nixos
<hyper_ch> sphalerite: once encrypted dataset can be received properly... I use that to keep hourly snapshots on local and remote
ravloony has joined #nixos
balsoft has quit [(Ping timeout: 240 seconds)]
tommyangelo_ has quit [(Read error: Connection reset by peer)]
<sphalerite> hyper_ch: it has fancy colours and everything :o
<hyper_ch> sphalerite: that's the most important par
<hyper_ch> just while developping :)
adamt has quit [(Ping timeout: 248 seconds)]
ThatDocsLady has joined #nixos
<sphalerite> Wait there's a thing called bookmark?
* sphalerite looks up
fenedor has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
lsix has quit [(Ping timeout: 248 seconds)]
adamt has joined #nixos
orivej has joined #nixos
dhess has quit [(Remote host closed the connection)]
MP2E has quit [(Remote host closed the connection)]
<hyper_ch> yep
<hyper_ch> incremental snapshots require the point of time from where to start
<hyper_ch> it can be another snapshot
<hyper_ch> or it can be a bookmark
<hyper_ch> so bookmarks allow to create incremental snapshots even if the actualy snapshot at thet point of time is already deleted
fenedor has quit [(Remote host closed the connection)]
kier has joined #nixos
ssmike has joined #nixos
<hyper_ch> e.g. if there's some downtime on the receiving end or internet is donw etc...
<hyper_ch> and you only keep a low amount of snapshots
<hyper_ch> and the last snapshot on both machines is already gone, youc an still use bookmarks that hardly use any space :)
<hyper_ch> at least that's my thinking
<hyper_ch> for my Media dataset, I only keep snapshots for 24h
adamt_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hedning opened pull request #31598: nix-bash-completions: 0.2 -> 0.4 (master...nix-bash-completions-0.4) https://git.io/vFrAz
NixOS_GitHub has left #nixos []
ebzzry has joined #nixos
jensens has quit [(Read error: Connection reset by peer)]
adamt has quit [(Ping timeout: 248 seconds)]
ShalokShalom has joined #nixos
<hyper_ch> oh noes, my PR errored :(
jensens has joined #nixos
ShalokShalom_ has quit [(Ping timeout: 240 seconds)]
<hyper_ch> lol: The job exceeded the maximum time limit for jobs, and has been terminated.
hotfuzz has quit [(Ping timeout: 240 seconds)]
<DIzFer[m]> hyper_ch: after reading most of that, I still don't understand how is a bookmark different from a normal, non-bookmarked snapshot. Is there supposed to be one? As I understand that post, to take advantage of a bookmark you need to have the corresponding snapshot too, therefore negating the supposed space-savings, right?
<hyper_ch> DIzFer[m]: a snapshot also retains the data
<hyper_ch> DIzFer[m]: the bookmark just marks the point in time where a snapshot was created
<hyper_ch> so on the source you can make a snapshot, then bookmark, than remove the snapshot (and free space)
Wizek has joined #nixos
<hyper_ch> and for incremental sending, you could then just use the bookmark as point of origin for the incrementation
<hyper_ch> on the destination, you'll need to have the snapshot
<hyper_ch> e.g. you have as source a SSD bedause it's much faster
<hyper_ch> bt then it's also more expensive to get larger SSDs
ssmike has quit [(Remote host closed the connection)]
<hyper_ch> you want to snapshot and snapshot often and send i
<sphalerite> oooh neat
<hyper_ch> so you'll start removing snapshots sooner again
ssmike has joined #nixos
<hyper_ch> on your desitnation server you have bulks of 8TB drives... so plenty of space, no need to worry about disk usage
Lisanna has joined #nixos
<hyper_ch> sphalerite: I actually did some reading on zfs ;)
hotfuzz has joined #nixos
<sphalerite> hyper_ch: yeah, I read the whole of https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/ but either it didn't cover bookmarks or I forgot about it
<Lisanna> Hey guys, how do I download large files in Nix? (e.g. nix-prefetch-url). Whenever I try, it times me out when it's in the middle of downloading. I don't see anything in the manual that could help me here.
<hyper_ch> sphalerite: back then, bookmarks didn't exist I think
<sphalerite> aaah ok
<hyper_ch> mid 2014 bookmarks did exist... but did they also 2 years earlier...
orivej has quit [(Ping timeout: 248 seconds)]
<infinisil> OH nice, didn't know boomarks did that
<hyper_ch> infinisil: :) how did the test go?
<infinisil> hyper_ch: Very good, I most likely passed :D
<hyper_ch> "most likely"?
<infinisil> well i can't be 100% sure
<joko> Lisanna: download it manually and add it via nix-store --add-fixed sha256 <FILE> ???
<larsvm> infinisil: what do you study?
<hyper_ch> sphalerite: seems bookmarks were added sometime 2013/2014 https://www.illumos.org/issues/4369
<hyper_ch> infinisil: but you're confident that you've passed?
<infinisil> larsvm: computer science, hyper_ch: Indeed
<hyper_ch> infinisil: good :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hedning opened pull request #31600: nix-zsh-completions: 0.3.2 -> 0.3.3 (master...nix-zsh-completions-0.3.3) https://git.io/vFrpv
NixOS_GitHub has left #nixos []
<infinisil> joko: Lisanna: There shouldn't be any difference between nix-prefetch-url and downloading it manually
<larsvm> infinisil: do you have a specialisation/major/whatevermorespecific?
<hyper_ch> larsvm: "computers"
<infinisil> not really, it's a computer science bachelor, having a bit of everything
<larsvm> i mean, in my university, one can specialize on algorithms, databases, web technologies, and probably something else too
<larsvm> *or
<larsvm> infinisil: ah, i see
<infinisil> I was able to chose subjects this and last semester
<ixxie> larsvm: do you specialize?
<infinisil> some of them at least
<larsvm> ixxie: i study in a statistics programme, and i'm specialising in machine learning / data science
<larsvm> and i have maths and computer science as minors
<hyper_ch> larsvm: machine learning -> howto create Skynet?
<larsvm> that's right
<hyper_ch> :)
<larsvm> atm i'm on artificial neural networks lecture :)
<ixxie> larsvm: I'm kinda getting into some ML at work now
<joko> Could anyone tell me how to debug stages in nix-build, aka invoke a shell and enter in stages via command (installPhase etc.)?
<ixxie> larsvm: more like unsupervised stuff atm
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #31601: Fix hplip on release-17.09 by upgrading (release-17.09...release-17.09-fix-hplip) https://git.io/vFrpb
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c19136c4c9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
zzamboni has joined #nixos
<hyper_ch> infinisil: sphalerite: DIzFer[m]: enjoy the zfs bookmarks :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vFrhW
<NixOS_GitHub> nixpkgs/master 24e38f3 Matthew Justin Bauer: r-modules: fix eval...
<NixOS_GitHub> nixpkgs/master 2ebcf7d Peter Simons: Merge pull request #31583 from matthewbauer/patch-6...
NixOS_GitHub has left #nixos []
lsix_ has quit [(Ping timeout: 250 seconds)]
lsix has joined #nixos
<MoreTea> ebzzry copumpkin: I'm having some trouble with minikube, it complains about not being able to find the localkub binary.
<hyper_ch> what's minikube?
<MoreTea> I'm willing to patch this, but have no clue where to start investigating; the latest diff to upgrade to v0.23 looks completely reasonable.
<MoreTea> hyper_ch: it's a Go program that starts a VM via Docker's MachineKit, and starts a single machine Kubernetes cluster on top of this.
<hyper_ch> forget that I asked :)
<MoreTea> It's regulary used at $WORK, and I want to write a blog post that uses it ;)
<hyper_ch> good luck
<hyper_ch> Mic92: btw, I saw your entry regarding create a bridge.. that works fine.. however if I set firewall enable it applies also to the bridge.. nay way around it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wizzup opened pull request #31603: configuration-ghc-7.10.x.nix: Remove missing attributes. (master...fix-missing-haskell-attr) https://git.io/vFrjz
NixOS_GitHub has left #nixos []
<Mic92> hyper_ch: I miss the context here
<flokli> domenkozar: Mic92: how do we proceed with #30452? Renaming things or not?
<hyper_ch> Mic92: https://github.com/NixOS/nixpkgs/issues/16230#issuecomment-272331072 --> I used that to create a bridged network on the new server I setup... because it has a few kvms on it
<hyper_ch> Mic92: the problem was, when I set in networking to enable the firewall, the firewall would act upon all networks
lsix_ has joined #nixos
lsix has quit [(Ping timeout: 252 seconds)]
<Mic92> hyper_ch: you need to allow forwarding
<hyper_ch> https://paste.simplylinux.ch/view/904f1c47#L106 --> once I disabled the firewall, the kvms were accessible as they should be
<Mic92> hyper_ch: sysctl -w net.ipv4.ip_forward=1
<Mic92> same thing for ipv6
adamt__ has joined #nixos
<hyper_ch> I don't run ipv6 yet despite having a /48 subnet or something available
<hyper_ch> will try it
<hyper_ch> as said, that config works fine with kvms this far.... after turning off the firewall
<hyper_ch> never "manually" setup a bridge before and your snippet just worked
<hyper_ch> I wonder if I should add that to the wiki
adamt_ has quit [(Ping timeout: 248 seconds)]
<joko> Any help with debugging a default.nix with nix-shell?
simukis has joined #nixos
<hyper_ch> Mic92: you're german, right?
iyzsong has joined #nixos
<hyper_ch> Mic92: that's the info I got from my isp https://paste.simplylinux.ch/view/raw/3719a5a1 -- as said, never tried to set it up yet...
adamt_ has joined #nixos
adamt_ has quit [(Changing host)]
adamt_ has joined #nixos
<Mic92> hyper_ch: you can use the snippet provided in wiki. Also networkd can do the same
adamt__ has quit [(Ping timeout: 240 seconds)]
<hyper_ch> Mic92: it's not a priority to get ipv6 running... but I'll keep it in mind... first I need to make sure encrypted zfs can be received just fine - also incrementally... then I need to get the signing process owrk again on the data server kvm....
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] manveru opened pull request #31604: neovim: 0.2.0 -> 0.2.1 (master...update-neovim) https://git.io/vFovV
NixOS_GitHub has left #nixos []
<hyper_ch> also my ZFS PR failed to build - took too long
<manveru> if anyone uses neovim and python, would be cool if you could try the neovim 0.2.1 update PR i made: https://github.com/NixOS/nixpkgs/pull/31604
TweyII has joined #nixos
TweyII is now known as Guest52155
orivej has joined #nixos
<Mic92> hyper_ch: consider travis as legacy
<hyper_ch> why so?
<adisbladis> hyper_ch: It doesn't really scale to nixos needs.
<hyper_ch> :)
<adisbladis> hyper_ch: Look at the PRs, almost all of them are failing on travis
ThatDocsLady has quit [(Ping timeout: 248 seconds)]
<hyper_ch> :)
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #31605: travis: disable for pull requests (master...disable-travis) https://git.io/vFofg
NixOS_GitHub has left #nixos []
ThatDocsLady has joined #nixos
ma27 has joined #nixos
ThatDocsLady has quit [(Read error: Connection reset by peer)]
shanemikel has joined #nixos
<gfixler> I think knowing compile time vs runtime dependencies is going to be a tough one for me
kiloreux has joined #nixos
<Dezgeg> well, usually you don't have to know
<kiloreux> I am trying to login to a nixos instance i created using this https://nixos.wiki/wiki/Install_NixOS_on_GCE
<kiloreux> But I am getting password prompt
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vFoJQ
<NixOS_GitHub> nixpkgs/master 1435ace Vladimír Čunát: knot-dns: remove unused dependency...
NixOS_GitHub has left #nixos []
<hyper_ch> so many pull requests :)
<kiloreux> Any idea about the nixos default password ?
<hyper_ch> what about it?
<kiloreux> I created a nixos google instance following this https://nixos.wiki/wiki/Install_NixOS_on_GCE
<kiloreux> It doesn't mention anything about password prompt
<kiloreux> but I am getting one
adamt_ has quit [(Ping timeout: 248 seconds)]
therp has joined #nixos
<hyper_ch> did you copy your ssh key?
<kiloreux> Yes.
<hyper_ch> "Under SSH KEYS, copy the contents of your desktop computer's ~/.ssh/id_rsa.pub file into the box that says "Enter entire key data""
<kiloreux> I did that :D
<hyper_ch> Enter passphrase for key '.../.ssh/id_rsa':
<kiloreux> I never get that prompt
<hyper_ch> ah, that's password for the privkey
<kiloreux> just "Password:"
<hyper_ch> then you did soething wrong
<hyper_ch> if you supplied your public key properly, it should log you in directly
<hyper_ch> I think
<kiloreux> Which is not the case even if I am 100% sure I did. :/
<therp> Does somebody have a good recipe ready to try out a newer kernel, for instance 4.14-rc8? (my machine is suffering from a kernel hang using the AMDGPU driver under 4.13 with Southern Island AMD cards)
<hyper_ch> I still think you did something worng... can you retry?
<therp> recipe = nix expression snippet
<kiloreux> I have been retrying since thursday but I will give it another shot now :D
<hyper_ch> and make sure you do kope the id_rsa.pub key into it
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<hyper_ch> s/kope/copy/
erictapen has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
<kiloreux> could it be the fact that i am using ed25519 keys and not rsa the reason ?
davidak has quit [(Quit: Leaving.)]
ma27 has quit [(Ping timeout: 250 seconds)]
b has joined #nixos
ma27 has joined #nixos
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
FRidh has quit [(Ping timeout: 248 seconds)]
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/vFoTp
<NixOS_GitHub> nixpkgs/master 03cce16 wisut hantanong: remove missing attribute 'lens-family-th_0_4_1_0'...
<NixOS_GitHub> nixpkgs/master 587219b wisut hantanong: remove missing attribute 'cabal-helper_0_6_3_1'...
<NixOS_GitHub> nixpkgs/master b155ff6 Peter Simons: Merge pull request #31603 from wizzup/fix-missing-haskell-attr...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31034: WIP: mutable user eval test (master...mutable-user-test) https://git.io/vFmaR
NixOS_GitHub has left #nixos []
<hyper_ch> why do I get the error unzip not found when I try to run this: https://paste.simplylinux.ch/view/raw/c2f83210 --> /nix/store/izkijl7w7qkjdfr09qk43v1n3bnbdnvm-stdenv/setup: line 99: unzip: command not found
theseriousadult has quit [(Ping timeout: 248 seconds)]
<gchristensen> well you need to put unzip in to your buildInputs
<gchristensen> _or_ you could just use fetchzip?
<hyper_ch> ok, I'll use fetchzip then...
<gfixler> Chapter 12, nix manual: For instance, you can go to http://hydra.nixos.org/jobset/nixpkgs/trunk/channel/latest and click on any link for the individual packages for your platform. The first time you do this, your browser will ask what to do with application/nix-package files.
<gfixler> Do I need to be running a hydra server for that to work?
<gfixler> I get a 404: Nix channels are not supported by this Hydra server.
<joko> Is it possible to have a shared directory for two derivations?
<gchristensen> so (1) IIRC, one-click installs are deprecated (?) (2) that whole chapter is sort of out of date :/
<gchristensen> joko: what do you mean, shared?
<gfixler> gchristensen: :/ running into a bit of that with nix documentation
<gchristensen> yeah :( we struggle with docs :(
<gfixler> would be cool if docs and code could be tied together
<joko> gchristensen: I want to package shorewall and there are efectively two derivations, shorewall-core and plain shorewall. Some of the scripts in both derivations require access to a SHAREDIR
<joko> So that shorewall-core checks for files that shorewall put in that directory and vice-versa
<joko> Is there any NixOS package like that?
<gchristensen> during install time? or during run time? not really possible during build time
<disasm> gfixler: we're working on it... Made some good progress at NixCon: https://github.com/nixos-docs/nixpkgs/issues/1 We'd love contributions if you want to help. We also had someone code a way to get those function docs right from nix-repl
<hyper_ch> suspicious ownership or permission on ‘/nix/store/zk52ya2lk1rv8nww2kqiyj1jk7hi2bk8-source’; rejecting this build output --> I tried to chmod after unpacking but that doesn't seem to fix it
<joko> I'm afraid that it also requires that during build time :(
<joko> Any way to download from two sources and install them both??
<joko> I mean as one derivation
<gchristensen> yeah, mkDerivation can accept a list of srcs
<gfixler> disasm: nice
<gchristensen> disasm: did you see my comment about `build` re ofborg?
<disasm> I did, oops :)
<disasm> hopefully that just noop and didn't break anything
therp has quit [(Ping timeout: 248 seconds)]
<gchristensen> yeah it just throws it away otherwise
<gchristensen> FRidh, copumpkin, domenkozar, fpletz, globin, LnL, Mic92, orivej: https://github.com/grahamc/ofborg/issues/1
<orivej> thanks! github has notified me when you posted the issue
Tucky has joined #nixos
<gchristensen> ah ok :) I thought it dumped them thinking it was spam :)
<hyper_ch> damn, just can't get rid of that error
erictapen has quit [(Ping timeout: 260 seconds)]
nh2 has joined #nixos
FRidh has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 248 seconds)]
<Mic92> hyper_ch: setuid flag set in tarball is usually the root cause
<hyper_ch> it's a zip, so no setuid flag
mbrgm has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
markus1189 has joined #nixos
griff_ has joined #nixos
<gchristensen> also tarballs with setuid inside can't be extracted anymore
<Dezgeg> I think zips have some unix permission extensions
<gchristensen> they'd fail to extract, Nix wouldn't emit that message anymore
<Dezgeg> maybe the zip is having world-writeable files then
<gchristensen> yeah that could be
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31594: zfsUnstable: 2017-10-16 -> 2017-11-12 (master...master) https://git.io/vFrQa
NixOS_GitHub has left #nixos []
<disasm> My apu.2c4 shipped! Can't wait to install nixos on it in a few weeks :)
<hyper_ch> so how to fix that?
<hyper_ch> chmodding doesn't seem to work when applied after extracting
Lisanna has quit [(Quit: Page closed)]
<vaibhavsagar> does anyone know why nixops is using 16.09 as the base image of my virtualbox deployments?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31576: fdupes: 20150902 -> 1.6.1 (master...pkg/fdupes) https://git.io/vFr4N
NixOS_GitHub has left #nixos []
Neo-- has joined #nixos
orivej has quit [(Ping timeout: 250 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFoOf
<NixOS_GitHub> nixpkgs/master b4d2c46 Tor Hedin Brønner: nix-zsh-completions: 0.3.2 -> 0.3.3...
<NixOS_GitHub> nixpkgs/master 1a102a3 Jörg Thalheim: Merge pull request #31600 from hedning/nix-zsh-completions-0.3.3...
NixOS_GitHub has left #nixos []
orivej has joined #nixos
FRidh has joined #nixos
dannyg has joined #nixos
p4cman has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFoOX
<NixOS_GitHub> nixpkgs/master d3cb4de adisbladis: anki: Enable tests (#31582)...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31582: anki: Enable tests (master...anki-tests) https://git.io/vFrV1
NixOS_GitHub has left #nixos []
<ij> I see so many "wrong ELF type" when installing gems.
<gchristensen> I think that is fine from patchelf
<dannyg> I am wondering about caching in a simple nixos derivation that downloads a jenkins war file. When i change version to something else (which changes the url since it has a ${verson}), there is a rebuild, but the new war file is not downloaded, it just uses the one it already had. If I actually change the url, e.g. add a bogus ?a=1 query string, only then the war file is downloaded and hash check is performed. Is this intended behavior? package file:
<hyper_ch> so, how to fix that permissions issue?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFo31
<NixOS_GitHub> nixpkgs/master a2bebdd Orivej Desh: anki: fix package name
NixOS_GitHub has left #nixos []
<gchristensen> hi dannyg, it is intended behavior but a bit complicated. the issue is the output name changed when you added ?a=1, causing it to redownload. however with the version change the URL changed, but the name and expected output didn't change
tobiasBora has quit [(Ping timeout: 240 seconds)]
<gchristensen> nix trusts that the expected output sha is what you want, because, well, it must be :)
<gchristensen> this is a complicated UX issue which has bitten several people :(
<dannyg> but the name also depends on ${version}, or do you mean a different name
<gchristensen> the name of the fetchurl output is inferred by the last path segment of the url
<gchristensen> ie: jenkins.war
<dannyg> aha so it strips whatever was in front of the last /
peacememories has joined #nixos
peacememories has quit [(Client Quit)]
<dannyg> so adding a bogus query string that depends on the version, like ?dontcare=${verson} would make the package rebuild correctly
<gchristensen> well the correct thing is to change the expected sha256 hash
tobiasBora has joined #nixos
kermitas has joined #nixos
lsix_ has quit [(Ping timeout: 248 seconds)]
Tucky has quit [(Quit: WeeChat 1.9.1)]
Tucky has joined #nixos
Tucky has quit [(Client Quit)]
<kermitas> Hi guys. I am the author of thread "NixOS on PINE64" https://groups.google.com/forum/#!topic/nix-devel/eqbIR6xaOBc .
Tucky has joined #nixos
proteus-guy has joined #nixos
<kermitas> Maarten advised me to join here, "It might be easier if you joined #nixos on freenode. You need a C cross compiler in place.".
<Dezgeg> I think Mic92 has got it working
<Dezgeg> in some manner at least
<kermitas> wow :), is he active here, on this chat?
<Dezgeg> yes
<kermitas> so I guess I need to wait until he will write something here :)
<dannyg> gchristensen: aha, got it, of course I was too lazy to look up the correct hash and was just gonna copy it from the error :P
<gchristensen> dannyg: yeah, same, so what I do is change the hash by 1 character
<dannyg> thanks for the explanation
<gchristensen> not a wonderful method, and a future version of nix will make this easier
zzamboni has quit [(Quit: Leaving.)]
<Mic92> kermitas: not really. I started with nix on ubuntu and then got distracted by nixcon. hdmi will not work with the mainline kernel. your best shot will be to compile the kernel provided by pine64 on native hardware.
<kermitas> (btw. if someone would like too take a look how my five pine64s look on the windowsill as a a'la cluster http://scalaakka.blogspot.com/2016/08/finally-all-five-pine64-come.html )
<Dezgeg> maybe there is some improvement in 4.14?
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
<kermitas> Mic92: so it looks harder than just prepare right u-boot :/
<gchristensen> kermitas: that looks great!
<goibhniu> neat setup!
peacememories has joined #nixos
<Dezgeg> Mic92: where did you get u-boot etc. ? from ubuntu?
<hyper_ch> also tried to set now umask before unpacking https://paste.simplylinux.ch/view/raw/09ac1657 -- > suspicious ownership or permission on ‘/nix/store/zk52ya2lk1rv8nww2kqiyj1jk7hi2bk8-source’; rejecting this build output no idea how to fix that
<kermitas> Mic92: and if I will forget about HDMI (and just use it via ssh) - is it only the case of proper u-boot? can you share with me yours?
<Mic92> I have not tried booting nixos on the device
<Dezgeg> well how does it boot ubuntu then? :)
<Dezgeg> maybe it has all the right defaults
<Dezgeg> to boot nixos
<Dezgeg> I mean, they'd actually have to spend effort to break it
zzamboni has joined #nixos
<MoreTea> kermitas: welcome :) (maarten here)
<MoreTea> unfortunately, I don't have any stake in those kind of devices
<MoreTea> and i'm at $WORK, writing blog posts ;)
<kermitas> MoreTea: thx :), nice work
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<disasm> MoreTea: blog posts about nixos? :)
<kermitas> I would be appreciated if someone would help me with u-boot compilation (I am on VitualBox NixOS image) but if it is a hard work then maybe it is not worth even to start this 'hell on earth' ;)
<MoreTea> I did some, but now it's about kubernetes.
<disasm> kermitas: did you look at the building uboot section of https://nixos.wiki/wiki/NixOS_on_ARM
zzamboni has quit [(Ping timeout: 240 seconds)]
<Dezgeg> I think for those arm64 boards u-boot build is more difficult since there's this ATF and stuff: http://git.denx.de/?p=u-boot.git;a=blob;f=board/sunxi/README.sunxi64
lsix_ has joined #nixos
<orivej> I've set up a private Hydra, but its builder can not use my "/etc/nix/machines" because it can not access root ssh keys: "/root/.ssh/id_ed25519 not accessible: Permission denied." and remote jobs fail after 5 retries. How do you deal with this? Copy the keys (to change ownership) and the machines files (to point to the copied keys)?
<Dezgeg> so, it would be really good to find a prebuilt u-boot from somewhere on the net
<kermitas> Dezgeg, that is all about it, my thread on nix-devel https://groups.google.com/forum/#!topic/nix-devel/eqbIR6xaOBc "NixOS on PINE64" :)
<kermitas> * disasm
<joko> orivej: the Hydra user must own them
<disasm> kermitas: ah, I think that's because you built the other arch first
<disasm> it appears u-boot recommends re-cloning the git repo for any different arch
<kermitas> disasm, ok, I will check it now
<Mic92> kermitas: building on native hardware is easier at the moment then using cross compilers and it is also faster then emulated hardware.
qqq has quit [(Ping timeout: 260 seconds)]
therp has joined #nixos
<disasm> kermitas: yeah, if you have a raspberry pi 3, you might want to just create a nixos sd card for it and build there.
<Mic92> kermitas: I can give a tarball later to install nix on other Linux-distros on pine64
<kermitas> disasm, unfortunately I don't have any other ARM based computer now (only those five pine64); how to bring C cross compiler into nixos's terminal (I am a NixOS big fan but complete noob at the moment)
therp has left #nixos []
<kermitas> Mic92: thank you very much, would you like to write down my email address, kermitas@gmail.com
zzamboni has joined #nixos
<Mic92> kermitas: installing nix from git was a bit of a pain, but once you have nix, installing & building nix is easy. I would also recommend to get a second sdcard, for flashing nixos later
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #31610: linux: Automatic modDirVersion / branch (master...kernel_branch) https://git.io/vFocN
NixOS_GitHub has left #nixos []
zzamboni has quit [(Client Quit)]
<kermitas> disasm: I did a fresh clone and try to compile for pine64_plus_defconfig but I see only dozens of warnings, I would say that this can be lack of this c cross compiler but I don't know how to bring it to nixos's command line/terminal
AliasSpider has joined #nixos
zzamboni has joined #nixos
AliasSpider has quit [(Read error: Connection reset by peer)]
<Mic92> disasm: kermitas this is what ubuntu uses at the moment on pine64 (content of boot partition): https://dl.thalheim.io/iAsuUiquRQHRNVIp_YiHug/boot.tgz
pie__ has joined #nixos
pie_ has quit [(Remote host closed the connection)]
zzamboni has quit [(Client Quit)]
<kermitas> Mic92, thx, putting this on nixos's SD card, as a replacement of /boot partition would boot or am I too naive? ;)
<Dezgeg> Mic92: could you also extract like 1st megabyte of the image or so, which contains the u-boot proper
lsix has joined #nixos
lsix_ has quit [(Ping timeout: 268 seconds)]
betaboon has quit [(Quit: WeeChat 1.9.1)]
<Dezgeg> hopefully 'strings' can extract the config details :)
<orivej> joko: this is why I do not understand why services.hydra.buildMachinesFiles defaults "/etc/nix/machines", since hydra will not be able to use those machines because it can't own ssh keys which are already owned by root
<kermitas> Mic92, disasm: if that would help, those are Ubuntu Xenial images for pine64 http://wiki.pine64.org/index.php/Pine_A64_Software_Release#Xenial_Mate
<Mic92> kermitas: I was using that
<kermitas> (but I wasn't so brave to just take their /boot partition and override nixos's one)
zzamboni has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<kermitas> Mic92, disasm: what do you think about using their /boot partition with NixOS, is there a chance that it would boot? (I read somewhere that they are using completely different u-boot...)
<Mic92> kermitas: you also need to adapt the kernel command line
<Mic92> Dezgeg: https://dl.thalheim.io/amSDqddjVJfDtjXPDUOMCQ/uboot.img.gz parted showed me 21 mb of free space before the first partition. I extracted that space with dd
zzamboni has quit [(Ping timeout: 268 seconds)]
<Dezgeg> meh, apparently they didn't enable the extlinux.conf stuff :(
zzamboni has joined #nixos
<Mic92> Dezgeg: how do you get the uboot image from this area?
<disasm> kermitas: I know nothing other than what I google. I have a still packaged raspberry pi 3 in my pile of electronic toys that I intend to install nixos on at some point :)
<Dezgeg> I just ran strings
<Dezgeg> (to look at the u-boot environment variables)
<kermitas> (later I will copy&paste this chat log to mailing list thread so we will not lose your advises)
<Mic92> kermitas: it is also logged here https://botbot.me/freenode/nixos/
zzamboni has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
<Mic92> kermitas: from the kernel log it seems, they have at least mainlined ethernet in 4.13
<kermitas> Mic92: :)
ma27 has quit [(Ping timeout: 246 seconds)]
<DIzFer[m]> according to both phoronix and omgubuntu (which might be pulling from each other, I guess?) pine64 board support is mainlined as of 4.14. I'm not sure exactly what that implies though
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<vaibhavsagar> hey, is there a way to evaluate a service file to its eventual systemd configuration?
<sphalerite> vaibhavsagar: not sure if it's possible without building the whole system. Probably is but I don't know how
<sphalerite> vaibhavsagar: but you can always do nixos-rebuild build and look at etc/systemd in the result
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
JosW has joined #nixos
<sphalerite> I'm getting "substituter xyz does not have a valid signature for path foo" even though I've added xyz to trustedBinaryCaches. Is there something else I need to do?
<sphalerite> Oh whoops, just read the docs for that option
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 3 new commits to release-17.09: https://git.io/vFoBB
<NixOS_GitHub> nixpkgs/release-17.09 6f4660f Thomas Tuegel: hplip: 3.16.11 -> 3.17.9...
<NixOS_GitHub> nixpkgs/release-17.09 23b1bdd Thomas Tuegel: hplip: 3.17.9 -> 3.17.10
<NixOS_GitHub> nixpkgs/release-17.09 8ac6c47 Thomas Tuegel: Merge pull request #31601 from LumiGuide/release-17.09-fix-hplip...
NixOS_GitHub has left #nixos []
zzamboni has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFoBw
<NixOS_GitHub> nixpkgs/master 44917c4 Joerg Thalheim: travis: disable for pull requests...
<NixOS_GitHub> nixpkgs/master a8a2c22 Jörg Thalheim: Merge pull request #31605 from Mic92/disable-travis...
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
pie__ has quit [(Ping timeout: 248 seconds)]
<sphalerite> So... Is there a way to sign everything in a binary cache after generating it?
zzamboni has quit [(Ping timeout: 260 seconds)]
zzamboni has joined #nixos
lebel has quit [(Remote host closed the connection)]
<niksnut> sphalerite: there is "nix sign-paths", but I don't remember if it works with binary caches at the moment
<tv> vaibhavsagar: maybe nix-instantiate --eval -E '(import <nixpkgs/nixos/lib/eval-config.nix> { modules = [/etc/nixos/configuration.nix]; }).config.systemd.units."alsa-store.service".text' ?
trevorriles has joined #nixos
<sphalerite> niksnut: I'll try it, thanks
<sphalerite> niksnut: it doesn't :( any workaround?
<Dezgeg> can't nix-push generate signed caches?
<sphalerite> Dezgeg: the cache is already generated and I need to retrieve paths that don't exist outside it anymore
<sphalerite> The problem isn't generating the cache, it's getting stuff back out of it >.>
<Dezgeg> aha
<Dezgeg> well, if you nix-push to an existing cache it's smart about not redoing work that's already done, IIRC
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vFoEL
<NixOS_GitHub> nixpkgs/master 443b592 Peter Simons: unifont_upper: bump version to match the standard unifont package
NixOS_GitHub has left #nixos []
<aminechikhaoui> sphalerite: you could probably do a workaround with --option signed-binary-caches ''
<aminechikhaoui> but I guess you'd like to actually sign the paths not ignore that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFoEn
<NixOS_GitHub> nixpkgs/master 470a775 Orivej Desh: make-disk-image: fix eval
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
<sphalerite> aminechikhaoui: no, ignoring the signatures is fine in this case
<mbrgm> is `runCommand` with `substitute` the preferred way for creating a derivation from a template file? or is there a wrapper function around this?
asuryawanshi has quit [(Remote host closed the connection)]
<sphalerite> aminechikhaoui: that did the trick, thanks!
<aminechikhaoui> great :)
asuryawanshi has joined #nixos
<niksnut> sphalerite: I'll have a look at implementing it, shouldn't be too hard
lebel has joined #nixos
<aminechikhaoui> niksnut: while you're at it I still have a problem with doing nix-store -r <path> --option binary-caches <binary-cache> --option use-binary-caches '' with a trusted user
<aminechikhaoui> oops use-binary-caches -> signed-binary-caches *
<aminechikhaoui> sp it seems signed-binary-caches is ignored
<aminechikhaoui> and I can only do that as root
<lebel> Quick question, how do I install the french version of Firefox? I mean, I want everything to be in french, menus, etc... ? I see that the firefox-bin has a lot of versions of sha256 for every locale of Firefox.
leat has quit [(Quit: WeeChat 1.9.1)]
<lebel> When I use nix-env -f $NIXPKGS -iA firefox-devedition-bin, I get the default english version of Firefox
zzamboni has quit [(Quit: Leaving.)]
MercurialAlchemi has quit [(Ping timeout: 248 seconds)]
jensens has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jensens has joined #nixos
<vaibhavsagar> thanks tv!
<vaibhavsagar> sphalerite: this is for a blog post on nixops deployment
<vaibhavsagar> and I'm not running NixOS on the deployer so I'd like a way to check config
mkoenig has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
pie_ has joined #nixos
<NickHu> Does anyone know how I can get non-LTS haskell packages? I'm trying to use pandoc 2
<vaibhavsagar> NickHu: there's callHackage
<vaibhavsagar> are you running NixOS?
<vaibhavsagar> because Pandoc 2 will be in nixpkgs-unstable but not in nixos-17.09
p4cman has joined #nixos
<vaibhavsagar> in fact it might not be in nixpkgs-unstable either, depending on how old all-cabal-hashes is
ixxie has joined #nixos
<avn> NickHu: you always can use nixos-unstable.pandoc on stable
simukis_ has joined #nixos
<vaibhavsagar> There's a package called 'all-cabal-hashes`, with all the Hackage packages+versions Nixpkgs knows about. This allows you to use 'callHackage <name> <version {}' to get an arbitrary version of a package.
ixxie has quit [(Client Quit)]
CodeWarrior has quit [(Ping timeout: 240 seconds)]
simukis has quit [(Ping timeout: 248 seconds)]
simukis_ is now known as simukis
Dr8128 has joined #nixos
peacememories has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
mkoenig has joined #nixos
mbrgm has quit [(Ping timeout: 248 seconds)]
cement has joined #nixos
Itkovian has joined #nixos
mbrgm has joined #nixos
<FRidh> any suggestions on how to deal with patches and the use of sourceRoot. I have a patch corresponding to the original src, but I build from a certain directory using sourceRoot. The patch should be applied before changing root. Are there any utilities to adjust a patch? Otherwise I could use an intermediate derivation, but I prefer not to.
<FRidh> Couldn't get the -d option of patch to work in this case either.
<avn> FRidh: change root in postPatchHook?
<avn> (but you need to look for real hook name ;))
lebel has quit [(Remote host closed the connection)]
<vaibhavsagar> avn: where does nixos-unstable come from?
<Dezgeg> usually you can add patchFlags = "-p2" or something
<Dezgeg> to skip directories
<orivej> it is also fine to assign sourceRoot in the postPatch
<avn> vaibhavsagar: channel if u use channels, or just -f http://......./unstable-snapshot.tar.gz (link to revision on github)
<FRidh> Thanks for the suggestions. The -p2 works here. I suppose changing sourceRoot later would be nicer; let's try that as well.
Itkovian has quit [(Ping timeout: 248 seconds)]
effsquared has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<orivej> FRidh: in this case you may use stripLen parameter of the fetchpatch
<effsquared> Hi guys. I am currently writting a bunch of nix expression for some cmake based C++ code. That also involves some Find<PackageName>.cmake script that expect me to pass the location of depedencies as environmental variables.
asuryawanshi has joined #nixos
<effsquared> How do I access these path inside my nix expression to pass them to shellHook?
FRidh has quit [(Remote host closed the connection)]
FRidh has joined #nixos
<effsquared> For example, I would like to automatically call "export QGLVIEWERROOT=/nix/store/85ld6wv50h797g9fcphxj4918fv35fpv-libqglviewer-2.6.3"
jb55 has joined #nixos
<effsquared> Nevermind. Turns out it is just a ${libqglviewer}
jb55 has quit [(Ping timeout: 240 seconds)]
<mbrgm> is there a way to force evaluation of an expression when using `builtins.toXML`?
jb55 has joined #nixos
trevorriles has quit [(Ping timeout: 268 seconds)]
AliasSpider has joined #nixos
jb55 has quit [(Ping timeout: 268 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8ac6c477b9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
magnetophon has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
Tucky has quit [(Quit: WeeChat 1.9.1)]
Itkovian has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to release-17.09: https://git.io/vFoir
<NixOS_GitHub> nixpkgs/release-17.09 288ea92 aszlig: python/natsort: Skip some tests with Python 3.[56]...
NixOS_GitHub has left #nixos []
iyzsong has quit [(Ping timeout: 268 seconds)]
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
orivej has quit [(Quit: No Ping reply in 180 seconds.)]
orivej has joined #nixos
erictapen has quit [(Read error: Connection reset by peer)]
jtojnar has quit [(Remote host closed the connection)]
sigmundv__ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFo1u
<NixOS_GitHub> nixpkgs/master f1f1e78 Orivej Desh: clickhouse: 1.1.54236 -> 1.1.54310
NixOS_GitHub has left #nixos []
jb55 has joined #nixos
erasmas has joined #nixos
effsquared has quit [(Quit: goobye!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFo1Q
<NixOS_GitHub> nixpkgs/master dbd3337 Jens Binkert: pidginsipe: 1.22.1 -> 1.23.0
<NixOS_GitHub> nixpkgs/master 06fd652 Jörg Thalheim: Merge pull request #31553 from jensbin/pidginsipe...
NixOS_GitHub has left #nixos []
<phI||Ip> Does anyone know if there is a switch/service/app available for NixOS to monitor bandwidth?
<phI||Ip> ie count data packets received/sent
<hyper_ch> you mean somethign like iftop ?
lebel has joined #nixos
<phI||Ip> hyper_ch yeah except that is more UI based. I was thinking of something that either writes out reports or writes logs that I can total etc. At end of day I'd like some automated way of knowing how much data a given network port has moved over a given period of time
<hyper_ch> you did add "app" to your question
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vFoMK
<NixOS_GitHub> nixpkgs/master bd8cd3e Michael Raskin: Revert switching hello to fetchipfs, re: #18296
NixOS_GitHub has left #nixos []
<phI||Ip> True - sorry about that
<hyper_ch> ifconfig also gives out recieved/sent packages
<hyper_ch> you could parse that output
kiloreux has quit [(Remote host closed the connection)]
kiloreux has joined #nixos
<hyper_ch> RX packets 74065 bytes 37631912 (35.8 MiB)
<hyper_ch> TX packets 416374 bytes 600987525 (573.1 MiB)
digitus has joined #nixos
kiloreux has quit [(Remote host closed the connection)]
kiloreux has joined #nixos
<phI||Ip> hyper_ch ah good point - I believe that is since last reboot correct?
<hyper_ch> yes
<phI||Ip> Looks like that is /proc/net/dev
<phI||Ip> Cool I can parse that at regular intervals and handle accordingly - thanks!
sigmundv__ has joined #nixos
<hyper_ch> that should be simple to parse with bash
jgertm has joined #nixos
FRidh has quit [(Remote host closed the connection)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
roberth has quit [(Ping timeout: 248 seconds)]
hydraz has quit [(Read error: Connection reset by peer)]
peacememories has joined #nixos
ertes-w has quit [(Ping timeout: 240 seconds)]
<hyper_ch> download, chmod
<hyper_ch> run ./script "interface name"
ma27 has joined #nixos
<phI||Ip> hyper_ch: Much appreciated
<hyper_ch> ok, double quotes needed for the "${tbytes}"
<hyper_ch> just use the parameters you want
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<hyper_ch> while read -r a b c x y z; done .... done <<< $(input from command) is very useful
hydraz has joined #nixos
hydraz has quit [(Changing host)]
hydraz has joined #nixos
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] backuitist opened pull request #31614: Typo in manual#stdenv - propagatedNativeBuildInputs (master...doc-typo) https://git.io/vFoSZ
NixOS_GitHub has left #nixos []
phreedom has joined #nixos
<hyper_ch> phI||Ip: improved version - https://paste.simplylinux.ch/view/ceaa7eec without useless use of cat :)
<phI||Ip> Noted and thanks - let me know if you have a PayPal tip jar
<hyper_ch> I don't believe in PayPal
<hyper_ch> but I'd create a bitcoin wallet if you wanna send me just 1 bitcoin ;)
<gchristensen> wmertens[m]: I'm confused about your bug report, it seems to be Expected Behavior, can you describe why it isn't?
<phI||Ip> ha oh well - I don't believe in it either but its damn convenient for my customers so I don't complain too much
kiloreux has quit [(Remote host closed the connection)]
kiloreux has joined #nixos
<hyper_ch> so I guess you don't want to send a bitcoin ;)
<hyper_ch> I mean its course plummeted today... so it's hardly worth anything now
<hyper_ch> ;)
FRidh has quit [(Quit: Konversation terminated!)]
kiloreux has quit [(Quit: Leaving)]
kiloreux has joined #nixos
<hyper_ch> phI||Ip: why do you need to measure traffic?
thblt has joined #nixos
<phI||Ip> Could do it Nigerian style: You send me 1 bitcoin, I'll subtract tip and send you the leftover :)
tgunb has joined #nixos
<phI||Ip> hyper_ch: infrastructure/hosting servers - want to help customers see their bandwidth usage without relying on datacenter stats
darlan has joined #nixos
darlan has quit [(Client Quit)]
goibhniu has quit [(Ping timeout: 248 seconds)]
jb55 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFoHc
<NixOS_GitHub> nixpkgs/master b14c799 Florian Klink: neomutt: wrapProgram to add lib/neomutt to PATH...
<NixOS_GitHub> nixpkgs/master 876a5b6 Jörg Thalheim: Merge pull request #31613 from flokli/neomutt-wrap-aux...
NixOS_GitHub has left #nixos []
AliasSpider has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFoH7
<NixOS_GitHub> nixpkgs/master b23f94e Joerg Thalheim: neomutt: makeWrapper belongs in nativeBuildInputs
NixOS_GitHub has left #nixos []
dannyg has quit [(Ping timeout: 240 seconds)]
b has quit [(Quit: Lost terminal)]
ambro718 has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vFo7s
<NixOS_GitHub> nixpkgs/release-17.09 6734d9c Florian Klink: neomutt: wrapProgram to add lib/neomutt to PATH...
NixOS_GitHub has left #nixos []
jensens has quit [(Ping timeout: 240 seconds)]
<oleks> Hi, I am trying to use mutt on nixos, and I get an "Error sending message, child exited 127 (Exec error.)." if I don
endformationage has joined #nixos
<oleks> if I don't have postfix installed, and "Error sending message, child exited 75 (Deferred.)." if I do have postfix installed
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/288ea928e8 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<oleks> disclaimer: I am new to mutt
nix-gsc-io`bot has quit [(Client Quit)]
<gleber_> oleks: try `strace mutt` to see what syscalls it does
<gleber_> I have never used mutt but the errors you are referring to are standard syscall errors, so strace should be useful
<oleks> gleber_: well, I also get "sendmail: fatal: open /etc/postfix/main.cf: No such file or directory"
<disasm> oleks: can you send out mail through postfix without mutt? I'm guessing postfix isn't configured correctly.
<gleber_> oleks: have you isntalled postfix via `nix-env` or via nixos's `configuration.nix`?
<disasm> if all you want to send mail with mutt and you have a remote smtp server you can auth through (like your isp, gmail, etc...) I'd recommend using ssmtp instead
<oleks> gleber_: `configuration.nix`
<oleks> disasm: oh, ok, I
<oleks> I'll try and set that up instead
<oleks> disasm: right, that was easy enough, thanks! sorry for posting this on #nixos, a bit emarassing really
<disasm> yeah, if you're not running a mail server receiving mail, I wouldn't recommend setting up a full MTA like sendmail/postfix/exim. It can be really difficult to get setup correctly and securely if your not experienced with how mail servers work.
<gchristensen> and if you are experienced with how they work, I'm sorry.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jerith666 opened pull request #31616: smartd: fix 'cat: command not found' error (master...smartd-cat) https://git.io/vFoda
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b closed pull request #31559: glog: 0.3.4 -> 0.3.5 (master...glog-v0.3.5) https://git.io/vFwFU
NixOS_GitHub has left #nixos []
<disasm> gchristensen: haha :) I still have a couple mail servers running I'm really trying to retire, lol
<gleber_> gchristensen: the PR I've sent yesterday... while testing it I managed to lock myself out of my laptop :D
<disasm> gleber_: what PR is that?
[0x4A6F] has joined #nixos
c0bw3b has joined #nixos
<gleber_> I've set `users.mutableUsers = false;` and provided a `passwordFile`. Unfortunately it looks like the file contained not the password that I expected, so I am unable to `sudo` now. I need to figure out how to reset my password now
<gleber_> I do not think using previous configuration would work, since it won't override that users password
<BlessJah> gchristensen: 17.09 went back in time to 1997
rogue_koder has joined #nixos
<grahamc> Is it getting ready to part like it’s 1999?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b closed pull request #23931: nodePackage.firebase-tools: init at 3.9.1 (master...firebase) https://git.io/vyyPQ
NixOS_GitHub has left #nixos []
<BlessJah> Is there two of you?
<gleber_> BlessJah: that's also the question which popped in my head...
<disasm> gleber_: shouldn't that only have affected the VM in the test?
<BlessJah> It seems that your bot hasn't caught that.
<gleber_> disasm: no, I was trying out effects of `users.mutableUsers` on my live machine
<disasm> oh, lol, yeah
roberth has joined #nixos
<disasm> if you don't have a root or sudo without password user you'll need to boot installer and do a chroot in to fix the pw
hexamod has joined #nixos
<disasm> I did that by accident once :)
<gleber_> disasm: that's my plan, I just need to find the installer usb stick
<BlessJah> wouldn't reboot to previous generation fix that?
JosW has quit [(Quit: Konversation terminated!)]
<gleber_> BlessJah: I doubt that, since in the previous generation that user's password was not managed by nixos
hotfuzz_ has joined #nixos
<woffs> gleber_: I would try to just reboot an older generation with init=/bin/bash or emergency
<disasm> oh, that would work as well
<gchristensen> BlessJah: my bot doesn't catch time travel
<gleber_> woffs: how do I do that? :)
<woffs> type e in grub and edit the linux line
hotfuzz has quit [(Ping timeout: 260 seconds)]
<BlessJah> gchristensen: I thought it'd catch whatever latest nixpkgs version happens to be
<disasm> and /bin/bash doesn't exist in nixos, so would probly need /bin/sh
<gchristensen> BlessJah: it only notices when the channels repository moves
<gleber_> disasm: just got kernel panic because of that :D
<BlessJah> kk
<gchristensen> I'd like to monitor it better, but haven't gotten to it yet
<woffs> gleber_: type "e" in grub and edit the linux line and add "emergency" (according to man systemd), or set init=/bin/sh
<gchristensen> gleber_: mega ouch :(
<woffs> maybe emergency requires the root password :-)
<gchristensen> gleber_: can you revert to a generation where it was managed by nixos?
<gleber_> gchristensen: no, the latest was the only generation with immutable users
<gleber_> woffs: FYI, "emergency" switch does not work as it says that the root account is locked. I'll try init=/bin/sh now
<gchristensen> jeepers
<woffs> gleber_: yeah
<gleber_> I got into a shell where even `ls` command is not present. Fun! :)
<BlessJah> echo *
<gleber_> BlessJah: thanks!
<gchristensen> !m BlessJah
<[0__0]> You're doing good work, BlessJah!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFoNB
<NixOS_GitHub> nixpkgs/master 737080f Orivej Desh: audacity: delete dead patch...
<NixOS_GitHub> nixpkgs/master 53a9404 Orivej Desh: bashdb: 4.4-0.92 -> 4.4-0.94...
NixOS_GitHub has left #nixos []
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
<orivej> what is "!m"?
<gchristensen> its like orivej++ but [0__0] says nice words after
[0x4A6F] has joined #nixos
<BlessJah> gleber_: you could if it's bash you can download busybox
<gleber_> BlessJah: the link is a treasure trove, thanks
<gleber_> BlessJah: I'll play around a bit to learn more
AliasSpider has joined #nixos
<BlessJah> You're welcome.
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
[0x4A6F]1 has joined #nixos
Dr8128 has quit [(Quit: Leaving.)]
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
Dr8128 has joined #nixos
<BlessJah> nah
<BlessJah> I've tried to use that enable trick on -o noexec mount, it failed.
<Dr8128> i just performed an upgrade and it downgraded my kernel verison!
<BlessJah> Dr8128: channel 17.09 went back in time because of release code bug.
<Dr8128> cool
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFoxe
<NixOS_GitHub> nixpkgs/master a48f9ba Orivej Desh: chaps: update source hash to fix build
NixOS_GitHub has left #nixos []
simendsjo has joined #nixos
vcunat has joined #nixos
joncfoo has quit [(Ping timeout: 248 seconds)]
grw has quit [(Ping timeout: 252 seconds)]
ubuntu___ is now known as wilornel
<gleber_> and I'm back :) thanks for help!
<lejonet> Hmm, how would I go about to enable a binary to be put in system path? Want to use the sssd provided sss_ssh_authorizedkeys but sshd whines that /nix/store is groupwritable, and I've found that it is apparenlnty put in system-path/bin and system-path/sbin in the store, so how do I tell nixos to actually put those paths into my conf?
<lejonet> so that I can use /sbin/sss_ssh_authorizedkeys instead, and as /sbin shouldn't be writable by anyone but root, hopefully sshd doesn't complain about it
<sphalerite> lejonet: why is your nix store group-writable??
<lejonet> drwxrwxr-t 1 root nixbld 838K Nov 13 18:32 store
<sphalerite> Huh, it is for me too
<lejonet> I haven't done that... :P
<lejonet> I would've preferred it be drwxr-xr-t and then nixbld:root instead
grw has joined #nixos
<vcunat> group-writable but mounted read-only?
griff_ has quit [(Quit: griff_)]
<lejonet> if its going to be mounted ro, why even bother having it writable then? :P
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
<BlessJah> I wonder how is it possible that the same device is mounted on / /nix/store and docker lib
<sphalerite> BlessJah: bind mounts
<sphalerite> lejonet: nixbld isn't a user :)
<lejonet> sphalerite: nope, its a group :P
<BlessJah> sphalerite: makes sense
<gchristensen> anyone know if tsaeger is on IRC?
<lejonet> Maybe they are hiding from you? :O
<gchristensen> I couldn't blame them
Neo-- has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #31617: clisp_2_44_1, libsigsegv_25: delete (master...clisp) https://git.io/vFopx
NixOS_GitHub has left #nixos []
<woffs> gleber_: :-)
Fare has joined #nixos
<gleber_> gchristensen: BlessJah: woffs: I found the reason I've got locked out. I've used `cat - | openssl ...` and typed the password to generate the password file instead of ` printf supersecretpassword | openssl ...`. `echo` must have included the final newline into
<gchristensen> ooh
<gchristensen> ouch :(
ThatDocsLady has quit [(Ping timeout: 264 seconds)]
<lejonet> hate when that happens
<woffs> gleber_: echo -n ?
<gleber_> woffs: that might have helped
<woffs> or press ^D^D instead of ↵^D
<woffs> and I think cat - is useless use ;)
<lejonet> poor, abused cat
bennofs has joined #nixos
<woffs> meow
acowley_away is now known as acowley
<lejonet> -.- even if I use /run/current-system/sw/sbin/sss_ssh_authorizedkeys it whines about the store permissions, maybe time for another ugly hack that copies that binary to a folder with right perms
dannyg has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6734d9ccd4 (from 75 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
dannyg has quit [(Client Quit)]
<gleber_> lejonet: maybe patch out this check from the sources of that program?
<sphalerite> lejonet: the "clean"(ish) solution would be to patch sss
<woffs> and isn't there mkpasswd available?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b pushed 1 new commit to master: https://git.io/vFohj
<NixOS_GitHub> nixpkgs/master 81295c4 Tom Smeets: fractalart service: init, Generate wallpapers (#23231)...
NixOS_GitHub has left #nixos []
<lejonet> gleber_: well, I think the check is sane, so I wouldn't want to :P
<woffs> even busybox has mkpasswd! :)
<lejonet> sphalerite: well its sshd that whines
griff_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31615: spl: Broken with 4.14 kernels (master...spl-linux-4_14-broken) https://git.io/vFo7m
NixOS_GitHub has left #nixos []
<gleber_> woffs: `nixos.mkpasswd.meta.description = "Overfeatured front-end to crypt, from the Debian whois package";` LOL
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b closed pull request #25657: skylighting 0.1.1.5: disable check phase. (master...fix/skylighting) https://git.io/v9PYQ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #31618: Add basic ZFS tests (master...zfs-tests) https://git.io/vFKev
NixOS_GitHub has left #nixos []
amfl has quit [(Read error: Connection reset by peer)]
<sphalerite> lejonet: err sshd then
amfl has joined #nixos
<lejonet> sphalerite: well, see my answer to gleber_ ^^ seeing as its a binary that ultimately will be used for auth, I like that sshd is being picky about the permissions and such
jensens has joined #nixos
<adisbladis> lejonet: If it was patched to reference a fixed store path that wouldn't be much of an issue.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vFKeB
<NixOS_GitHub> nixpkgs/master 0975c4b Tim Steinbach: vscode: 1.17.2 -> 1.18.0
NixOS_GitHub has left #nixos []
ssmike has quit [(Ping timeout: 240 seconds)]
<lejonet> adisbladis: but there won't be a fixed store path for it, it'll get a new one each new generation
<lejonet> so maybe I'm just not following, but it seems like that wouldn't really solve anything
<adisbladis> lejonet: What is the exact error? What files is it complaining about?
<lejonet> "bad ownership or modes for directory /nix/store"
<lejonet> Because /nix/store is groupwritable
<adisbladis> lejonet: Yes but what is it looking for in the store?
<lejonet> /nix/store/r0dvp83hrqg3h4g3kk8fb80xcriqq1y8-sssd-1.14.2/bin/sss_ssh_authorizedkeys
<gchristensen> Mic92: are you available to revert or address 31615 shortly?
<lejonet> (aka ${pkgs.sssd}/bin/sss_ssh_authorizedkeys)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #31577: darwin: fixup bootstrap tools (master...patch-5) https://git.io/vFrEs
NixOS_GitHub has left #nixos []
<Dezgeg> there is already a module option for sss_ssh_authorizedkeys, isn't it?
<lejonet> Dezgeg: is there? I couldn't find one
<adisbladis> gchristensen: Hmm how did that break anything? :S
<Dezgeg> services.sssd.sshAuthorizedKeysIntegration = true;
<gchristensen> error: value is null while a set was expected, at /home/grahamc/projects/nixpkgs/pkgs/os-specific/linux/spl/default.nix:55:44
<lejonet> Dezgeg: that would work :P don't know why I didn't bother to look in the sssd package
<gchristensen> note this is causing test failures on new PRs coming in
<Mic92> gchristensen: I take a look at it
<lejonet> Dezgeg: oh, I have that enabled O.o
<dash> Hm. should I be able to use "makeRustPlatform" with unstable/nightly channels in mozilla rust overlay?
<adisbladis> gchristensen: How can I reproduce that on my local machine?
<gchristensen> nix-env --file /your/nixpkgs/checkout --query --available
Code has joined #nixos
jgertm has quit [(Ping timeout: 248 seconds)]
<gchristensen> (the full command line of the failing command is in the check description)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFKvt
<NixOS_GitHub> nixpkgs/master 3ff2a78 Orivej Desh: conan: 0.26.1 -> 0.28.1
NixOS_GitHub has left #nixos []
<lejonet> Dezgeg: doesn't seem like that option is working then, because it doesn't even try to lookup ssh keys with sssd
<Dezgeg> well, it works for me
<lejonet> Whats your sssd conf then? I have the ssh sss service enabled
<Mic92> gchristensen: adisbladis fixed in 7f7aa08332e38a879c649d57662ee4b0b07e232f
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<adisbladis> Mic92: Thanks.
<adisbladis> Sorry about that.
<Dezgeg> [sssd] has services = nss, pam, ssh
<gchristensen> w00t thanks Mic92 :)
<gchristensen> note that with travis gone, red X's should mean actual problems
<Dezgeg> and services.sssd.sshAuthorizedKeysIntegration = true;
<adisbladis> This makes me think there should be a recommended nixpkgs commit hook
Turion has joined #nixos
<adisbladis> That does some basic sanity checks
<Mic92> gchristensen: I am not yet used to it
<gchristensen> I know the feeling ;)
<gchristensen> adisbladis: if you rebase your #31618 it'll redo the eval checks
<lejonet> same for me
<lejonet> Dezgeg: [sssd] has services = nss,pam,sudo,ssh and services.sssd.sshAuthorizedKeysIntegration = true; :/
<Turion> Where do requests for new derivations/packages go? Or is it even encouraged to submit them?
<gchristensen> Turion: generally we don't handle requests for packages because we want people who use the software to package them, and then maintain it
<gchristensen> but we'd be happy to help you package and maintain it
<Dezgeg> so does sudo -u nobody /etc/ssh/authorized_keys_command $USER work?
<lejonet> Dezgeg: it does indeed
<Turion> gchristensen, that would be great! I'm trying to package this here: https://signal.org/blog/standalone-signal-desktop/
Fare has quit [(Remote host closed the connection)]
<Dezgeg> I guess it's something with sshd then
<Turion> It exists as .deb, and as source. Which of the two is easier to repackage?
<makefu> toppler: finally!
<makefu> ^ Turion:
<Turion> makefu: Are you interested in using this as well?
<Dezgeg> another lines that I do have for some reason (that I don't remember) are: services.openssh.challengeResponseAuthentication = false; and services.openssh.extraConfig = "UsePrivilegeSeparation no";
<makefu> yes, right now i am using the chrome app instead
<Turion> Right, me to, except that I can't seem to run it
<lejonet> Dezgeg: I have challenge response to false too, but not UsePrivvelegeSeparation no, but it seems like it doesn't even try to query sssd if I do journalctl -u sssd -f
dieggsy has joined #nixos
<cransom> the signal app itself makes me sad. it's electron and for very little usage, happily consumes a gig of memory for a chat client.
<lejonet> maybe should ramp up debug on sssd again to see if the attempt is just masked by that maybe
thblt has quit [(Remote host closed the connection)]
<Turion> cransom, welcome to electron ;) because some people can't be bothered to learn another language than JS
<Dezgeg> yeah, I don't get any sssd messages with the default loglevel when I login
<Turion> I can't find any tutorial or help page that would explain me how to package an electron app in particular...
<lejonet> Dezgeg: lol, even with debug 5 there is nothing in the sssd log
<Dezgeg> maybe up the debug for sshd as well
<BlessJah> woffs: gleber_: echo -n is non-posix (posix actually says implementation-defined), printf is correct way
<gleber_> Turion: `nixpkgs/pkgs/applications/networking/instant-messengers/rambox/default.nix` seems to be an example of similar electron-based app packaged for nixpkgs
<lejonet> Dezgeg: mhm
<makefu> Turion: i will look into building the app
<makefu> normally building from source is the way forward
<Turion> Ok, thanks! I'll try it.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #31591: Libtiger fix on Darwin (master...libtiger-fix) https://git.io/vFrXg
NixOS_GitHub has left #nixos []
<makefu> oh oh, javascript and shit
dhess has joined #nixos
hariel has joined #nixos
<lejonet> wait what, it does indeed query sssd, but it doesn't even attempt at using the info returned? O.o
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #31620: Fix hydra on release-17.09 by upgrading: 2017-09-14 -> 2017-10-26 (release-17.09...fix-hydra-release-17.09) https://git.io/vFKJF
NixOS_GitHub has left #nixos []
joncfoo has joined #nixos
dieggsy has quit [(Remote host closed the connection)]
<Turion> Wait a moment... rambox builds from a .deb, not from source...
alhariel has quit [(Ping timeout: 240 seconds)]
jb55 has joined #nixos
<makefu> Turion: for building yarn based repos there is yarn2nix from profpatsch and moretea, not sure what the preferred way is though (none of the two is in nixpkgs ...)
<Turion> makefu: What is yarn?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFKU6
<NixOS_GitHub> nixpkgs/master fab6760 Orivej Desh: devmem2: provide a better mirror...
NixOS_GitHub has left #nixos []
<makefu> yarn is the new npm if i understand this correctly (a package management system similar to gem or pip) but for nodejs
jgertm has joined #nixos
<Turion> I see, thanks. Gosh, what have I signed up for?
<lejonet> Dezgeg: My local user gets authorizedkeyscommand used, my LDAP-only user does not :(
<Profpatsch> makefu: Turion atm moretea’s version is better supported, mine is still not finished.
<lejonet> and for the local user, it doesn't whine about the unsafe perms, wth is going on lol
<Profpatsch> It’s going to be great, though. Still searching for a nice non-clashing name.
<Turion> Profpatsch, good to know, thanks! Right now I have no idea how to use either.
<Dezgeg> maybe the AuthorizedKeysCommand line ended up under some conditional section in sshd_config?
jgertm has quit [(Ping timeout: 240 seconds)]
<Turion> I mean, it spits out a derivation that depends on local paths, but I want it to depend on source downloaded from a github repo
<lejonet> Dezgeg: nah, I just realized what is happening, tho not really why the local user got to use it and my ldap user not
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFKTN
<NixOS_GitHub> nixpkgs/master 3307183 Orivej Desh: pharo: update PharoV50.sources hash
NixOS_GitHub has left #nixos []
<dhess> Dezgeg: thoughts on https://github.com/NixOS/nixpkgs/pull/31452 ?
<lejonet> Dezgeg: apparently the sssd option creates a shell script at /etc/ssh/ called authorized_keys_command, that wraps the call to the binary in nix-store, thus the check succeds
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 4 new commits to release-17.09: https://git.io/vFKke
<NixOS_GitHub> nixpkgs/release-17.09 a656bcb Matthew Bauer: libtiger: fix on darwin...
<NixOS_GitHub> nixpkgs/release-17.09 6c4da26 Matthew Bauer: libtiger: add myself as maintainer...
<NixOS_GitHub> nixpkgs/release-17.09 77a4b3e Matthew Bauer: libbsd: update darwin patch for 0.8.6...
NixOS_GitHub has left #nixos []
<Dezgeg> yes, that avoids the whine :)
<lejonet> But why it wasn't called for my ldap-only user I have no idea, it was called because I have a Match User directive for the local user, but that match directive doesn't contain anything about authorizedkeyscommand O.o
<Dezgeg> dhess: I haven't taken a look yet
<lejonet> I only have it to enable tcp forwarding and password auth for the local user
MP2E has joined #nixos
<lejonet> Yay, adding an unconditional call to that script made it work, but why the heck it was conditional without me making it conditional I guess I'll not find out xD
Neo-- has joined #nixos
hexamod has joined #nixos
emiLio_esfoobar has quit [(Quit: leaving)]
<Turion> Ok, I have no idea how to build a derivation for signal. Looking at the derivations for atom and rambox just left me more confused than before.
<Turion> Any hints warmly welcome, otherwise I'm just going to drop this
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to release-17.09: https://git.io/vFKI0
<NixOS_GitHub> nixpkgs/release-17.09 d82afbe Orivej Desh: hydra: 2017-09-14 -> 2017-10-26...
<NixOS_GitHub> nixpkgs/release-17.09 5fbc4e5 Orivej Desh: Merge pull request #31620 from LumiGuide/fix-hydra-release-17.09...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #31621: minikube: Use localkube (master...minikube_localkube) https://git.io/vFKLk
NixOS_GitHub has left #nixos []
<disasm> Turion: whatcha got so far?
<Turion> disasm: Basically nothing. I tried to take the rambox derivation and change it, but stopped in the middle when I realised that it doesn't even build from the source
<orivej> Turion: are you aware of existing pull requests for signaldesktop?
<Turion> orivej: No, thanks for the hint!
Itkovian has joined #nixos
<orivej> this one was merged: https://github.com/NixOS/nixpkgs/pull/31335
kukusiki has joined #nixos
<Turion> Ah yes, just found i
jensens has quit [(Ping timeout: 248 seconds)]
<srhb> Any maintainer care to take a look at https://github.com/NixOS/nixpkgs/pull/31526 and its associated issues?
<srhb> I think it's quite critical as many php applications are expected to be at least subtly broken (in stable, no less.)
<srhb> If there's anything left to do, I'd love to know.
<disasm> orivej: wait... if they have source code why are we using a deb for it?
<Turion> Ah, they also just pull the deb
<gchristensen> srhb: oh jesus
<srhb> gchristensen: Yeah, it's quite bad... :p
<orivej> gchristensen: would you like to merge it? I believe it is ready.
<gchristensen> I can't :$
<orivej> then I'll merge it
<gchristensen> please also back-port
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<kukusiki> hi, a new version of Viber came out. I've updated the expression and everything works fine, only when I try to reboot or logout and the Viber window is open, a notification pops up stating that the logout was cancelled by Viber. Does anyone know what this might be related to? I'm running KDE5 with Plasma
p4cman has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31526: php: Fix php pcre by using external lib (master...fix-php-external-pcre) https://git.io/vFVp7
NixOS_GitHub has left #nixos []
phreedom has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb closed pull request #31525: php: Fix php pcre symbol collissions (master...fix-php-pcre-patch) https://git.io/vFVpH
NixOS_GitHub has left #nixos []
<srhb> orivej: Thanks, and for the helpful review too! :)
<kukusiki> kukusiki: To clarify. The logout is cancelled and the app window gets closed, after that logging out works fine. If the window is closed in advance, then the logout also works fine from the first try
dieggsy has joined #nixos
andymandias has joined #nixos
<edofic> can I somehow export the entire closure for a particular nix-shell? I want to transfer the dev environment to an airgapped machine
<edofic> so far i figured out I can get a lot of store paths with `nix-store -vv --run true` but it seems I get a bit too much.
<edofic> `nix-shell -vv --run true`
<manveru> edofic: ah, i think i know that one
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vFKm1
<NixOS_GitHub> nixpkgs/release-17.09 2a4a1d6 Joerg Thalheim: travis: disable for pull requests...
NixOS_GitHub has left #nixos []
<manveru> well, kinda at least
<manveru> nix-instantiate --fallback shell.nix
<manveru> though... no idea how you'd copy that over without some sort of container that you actually evaluate it in first
<Mic92> Is there a script to update github-based projects onto new releases automatically?
<manveru> Mic92: i think there was some effort in that direction?
<gchristensen> no but that sound immediately useful
<manveru> but yeah, even if it's just for github, i'd love it
<Mic92> github has a release api
<Mic92> or atom feed
<manveru> it has tags at least
<Mic92> I thought I have seen something scripts doing this, but I cannot find them
<Dezgeg> I have some ugly hacks to do that, should clean up one day
<edofic> manveru: that gives me a drv that I cannot realise. I can query and build its references but that doesn't seem to be enough :/
<manveru> yeah, i use that for nix-copy-closure
<manveru> so... if you can figure out how nix-copy-closure works, you should be able to do it
<manveru> i have no clue how derivations get realized actually... sorry
<edofic> np, it's still a useful pointer. thanks
Isorkin has joined #nixos
digitalmentat has joined #nixos
<manveru> actually, i have an idea
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to release-17.09: https://git.io/vFKOu
<NixOS_GitHub> nixpkgs/release-17.09 b76e7f8 Orivej Desh: php: Fix php pcre by using external lib...
NixOS_GitHub has left #nixos []
joelpet has joined #nixos
joelpet has quit [(Changing host)]
joelpet has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roconnor opened pull request #31623: bitcoin: 0.5.0.1 -> 0.5.1 (master...bitcoin) https://git.io/vFKO1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roconnor closed pull request #31623: bitcoin: 0.5.0.1 -> 0.5.1 (master...bitcoin) https://git.io/vFKO1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] backuitist opened pull request #31624: I3status rust (master...i3status-rust) https://git.io/vFKOd
NixOS_GitHub has left #nixos []
schoppenhauer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] backuitist closed pull request #31624: I3status rust (master...i3status-rust) https://git.io/vFKOd
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/c19136c4c9 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roconnor opened pull request #31625: bitcoin: 0.15.0.1 -> 0.15.1 (master...bitcoin) https://git.io/vFK3J
NixOS_GitHub has left #nixos []
leat has joined #nixos
<digitalmentat> what is the solution to using mkRenamedOptionModule for an option with a default value that, other than the default value of the option, isn't defined anywhere else?
<sphalerite> Is there a premade way in nixpkgs of determining whether the target system is x86, regardless of whether it's 32 or 64-bit?
<sphalerite> Or should I just do stdenv.isi686 || stdenv.isx86_64?
orivej has quit [(Quit: No Ping reply in 180 seconds.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] backuitist opened pull request #31626: i3status-rust: init at 0.0.1 (master...i3status) https://git.io/vFK3o
NixOS_GitHub has left #nixos []
<sphalerite> Or is there a completely different way that's preferred?
orivej has joined #nixos
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
yegortimoshenko has joined #nixos
[0x4A6F]1 has joined #nixos
<yegortimoshenko> is there some way to make an install target in Makefile that would be usable both for FHS-compliant Linux distributions and NixOS?
<gchristensen> use the standard PREFIX variables and nixos will hanlde it just fine
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
<yegortimoshenko> gchristensen: thanks!
kukusiki has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vFKGo
<NixOS_GitHub> nixpkgs/master e04339d Vladimír Čunát: Merge branch 'staging'
<NixOS_GitHub> nixpkgs/master f80a55c Vladimír Čunát: libbsd, libtiger: fix meta evaluation...
NixOS_GitHub has left #nixos []
jgertm has joined #nixos
<avn> 1ooks like I pick a good time to update my system to master (half hour ago ;))
<vcunat> sphalerite: hostPlatform.isx86
vcunat has quit [(Quit: Leaving.)]
<sphalerite> vcunat: doesn't seem to exist
<sphalerite> oh, he left
erictapen has quit [(Ping timeout: 248 seconds)]
Mateon1 has quit [(Ping timeout: 240 seconds)]
Code has quit [(Ping timeout: 260 seconds)]
<steveeJ> Sonarpulse: would you have a minute to see why my attempt to fix zlib cross compilation yields a x86-64 build? https://github.com/htwg-syslab/nixpkgs/blob/5d6a1a22d3f1e1f3ee249e1f0667284edcb7c40d/pkgs/development/libraries/zlib/default.nix
<gchristensen> yikes
<gchristensen> another eval bug introduced
<Sonarpulse> steveeJ: ok
Mateon1 has joined #nixos
<Sonarpulse> steveeJ: are you using my or bgamari's branches?
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> otherwise the setup hook will be screwed up and CC won't be defined right
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFKZN
<NixOS_GitHub> nixpkgs/master b22f757 Joerg Thalheim: android-udev-rules: 20171107 -> 20171113
NixOS_GitHub has left #nixos []
<Sonarpulse> that's your problem not the zlib package itself I think
kiloreux has quit [(Remote host closed the connection)]
<bgamari> Sonarpulse, I'm looking at refactoring the remaining gcc expressions now
binaryphile has joined #nixos
<Sonarpulse> bgamari: thanks!
<steveeJ> Sonarpulse: neither, just master
leat has quit [(Ping timeout: 258 seconds)]
<Sonarpulse> bgamari: unforunately my stdenv-toposort one is quite screwed up
<Sonarpulse> but maybe I'll be able to move on without it
<bgamari> oh no
<bgamari> Sonarpulse, what do you think I should rebase my branch on top of?
* bgamari doesn't really know what pieces are essential at this point
<Sonarpulse> bgamari: heh I'm prone to mission creep
<Sonarpulse> which does make that harder
<bgamari> alternatively I can just wait until things stabilize a bit
<bgamari> heh, understandable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #31627: common-updater: use nix-prefetch-url to get new hash (master...common-updater) https://git.io/vFKnB
NixOS_GitHub has left #nixos []
<Mic92> Dezgeg: now I only need a second script to print the latest version
orivej has quit [(Ping timeout: 268 seconds)]
<binaryphile> i have an interesting situation: i run a private binary cache, and if I try to install a package using nix-env -ibA <package> when that package isn't available in the cache, it fails of course. If I build the package in the cache afterward, however, nix-env never picks up the change and won't install the package with -ibA thereafter. it's like it stores the cache status to not check again. any idea how to force a
<binaryphile> re-check of the cache server?
<Sonarpulse> bgamari: technically only binutils-wrapper and stdenv-elegant branches are needed
<Sonarpulse> but binutils wrapper was made to use https://github.com/NixOS/nixpkgs/pull/30484
<Sonarpulse> at least
<Sonarpulse> https://github.com/NixOS/nixpkgs/pull/31414 is a mystery to me
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #31628: fbterm: fix build on non-x86 (master...fbterm-arm) https://git.io/vFKnV
NixOS_GitHub has left #nixos []
<bgamari> right, I tried to rebase my branch along with stdenv-elegrant
<Sonarpulse> I thought I reversed everything :D
<bgamari> but things didn't go so well
<Sonarpulse> I rebased your branch on top of binutils-wrapper
dejanr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #31629: jfbview: remove mujs and no-longer-necessary patch (master...jfbview-mujs) https://git.io/vFKno
NixOS_GitHub has left #nixos []
<Sonarpulse> but didn't update stdenv-elegant for that :/
<binaryphile> i'm running nix 1.11.2
<Sonarpulse> but then that binutils wrapper included the other stuff
<ee1943> Is there any recommended method for getting a cross-compiling setup for x86_64 > ARM?
<Sonarpulse> bgamari: https://github.com/NixOS/nixpkgs/pull/30484 at least I said I'd merge tomorrow
<Sonarpulse> absent anyone telling me no
<Sonarpulse> so...that's progress I guess
<bgamari> heh, indeed
agjacome has joined #nixos
[0x4A6F]1 has joined #nixos
<steveeJ> Sonarpulse: how come the ncurses cross compile works on this branch?
<Sonarpulse> steeve master you mean?
<Sonarpulse> master is scewed up
<Sonarpulse> only a few things work
<bgamari> it sounds like it might be best to just put off rebasing and focus on splitting things up a bit for now
<Sonarpulse> dumb luck that they do practically
<Sonarpulse> bgamari: well I sort of do that
<steveeJ> Sonarpulse: it's not too bad actually. I'm getting a crosspkgs environment with just zlib broken AFAICT
<Sonarpulse> I got a thing in my history that makes the rebasing itself easy
<Sonarpulse> but whenever I split things up
<Sonarpulse> I keep on adding the new stuff first
<Sonarpulse> binutils-wrapper, for example, is a lot less ugly when we have separate libbfd and libopcodes derivations
[0x4A6F] has quit [(Ping timeout: 268 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
<Sonarpulse> so I went and added those
<Sonarpulse> in the tomorrow PR
<Sonarpulse> then the extension of _PATH in the setup hook of {bintools,cc}-wrapper
<Sonarpulse> is ugly
<bgamari> oh, sorry
<bgamari> I meant in my own case
<Sonarpulse> so I did the homormophic dep thing in stdenv-topsort
<Sonarpulse> bgamari: well, either way
<Sonarpulse> may you be less prone to mission creep than me :)
<steveeJ> Sonarpulse: would you mind explaining why zlib cross compilation is not effective but yields a native lib? and how you fixed that in your branch?
<bgamari> well, at the moment I'm not entirely sure what to rebase onto
<Sonarpulse> bgamari: certainly, if there is more low impact things like gcc configureFlags
<Sonarpulse> I'd be happy to merge them
<bgamari> I could try rebasing stdenv-elegant again I suppose
matthewbauer has joined #nixos
<Sonarpulse> anything tnot scary looking
<bgamari> presumably I messed up somewhere
<bgamari> which isn't terribly surprising; the attempt was made after two glasses of wine
<Sonarpulse> steveeJ: basically today there is no proper sort of dep for buildPackages.stdenv.cc
<Sonarpulse> bgamari: :D
<steveeJ> Sonarpulse: so it's possible that buildPackages.stdenv.cc points to the native gcc?
<Sonarpulse> bgamari: git rebase (set -lx BRANCH "libbfd"; echo "$BRANCH@{1}"; echo --onto; echo "$BRANCH@{0}") -i
<Sonarpulse> bgamari: that is fish, but quite useful
<Sonarpulse> in bash, something like
griff_ has quit [(Quit: griff_)]
Guest52155 has quit [(Ping timeout: 248 seconds)]
civodul has joined #nixos
<Sonarpulse> git rebase $(BRANCH="libbfd"; echo "$BRANCH@{1}"; echo --onto; echo "$BRANCH@{0}") -i
dieggsy has quit [(Remote host closed the connection)]
<Sonarpulse> bgamari: it is used to rebase one on branch on new version of previous branch (libbfd in this case)
<Sonarpulse> steveeJ: buildPackages.stdenv.cc is *intentionally* native cc
<bgamari> right
<Sonarpulse> some packages need both
<Sonarpulse> steveeJ: depsBuildBuild = [ buildPackages.stdenv.cc ];
* bgamari is a bit of a rebasing fiend as well
<Sonarpulse> which one does on the branch
<Sonarpulse> would define BUILD_CC=foo
<Sonarpulse> instead of CC=foo
<Sonarpulse> so there is no conflict
dejanr has quit [()]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 3 new commits to master: https://git.io/vFKCl
<NixOS_GitHub> nixpkgs/master b20916b Klaas van Schelven: documentation: cross-compilation - partial rewrite
<NixOS_GitHub> nixpkgs/master 467d22c Orivej Desh: documentation: fix typos
<NixOS_GitHub> nixpkgs/master 350a5e3 John Ericson: Merge pull request #29418 from vanschelven/small-documentation-improvements...
NixOS_GitHub has left #nixos []
Neo-- has quit [(Ping timeout: 248 seconds)]
jasom has quit [(Ping timeout: 255 seconds)]
jb55 has quit [(Ping timeout: 250 seconds)]
jasom has joined #nixos
<binaryphile> Sonarpulse, this does the same and is a tad more readable: (branch=libbfd; git rebase "$branch"@{1} --onto "$branch"@{0} -i)
jgertm has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #31630: services.postgres: fix quoting in the description of `superUser` (master...fix-postgres-quoting) https://git.io/vFKCh
NixOS_GitHub has left #nixos []
<steveeJ> Sonarpulse: I'm still confused by ncurses works and zlib doesn't. I'm pretty sure the fix is within the zlib expressions in this case
<steveeJ> Sonarpulse: if you look at https://how-to-build-for-arm.wikispaces.com/zlib, many environment variables have to be set for a cross build. maybe the generic cross wrapper is missing some of these
agjacome has quit [(Ping timeout: 248 seconds)]
acowley is now known as acowley_away
dejanr has joined #nixos
dejanr has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #31631: Test: Revert "libbsd, libtiger: fix meta evaluation" (master...graham-test) https://git.io/vFKWS
NixOS_GitHub has left #nixos []
dejanr has joined #nixos
dejanr has quit [(Client Quit)]
<Dezgeg> zlib in buildroot doesn't set any extra variables afaict
Shados has quit [(Remote host closed the connection)]
Shados has joined #nixos
<Dezgeg> though, does its makefile screw up CC if it's not passed in make flags?
dejanr has joined #nixos
<steveeJ> Dezgeg: I'd expect the CC/LD/AS vars to be redundant with CROSS
dejanr has quit [(Client Quit)]
miko__ has joined #nixos
<Dezgeg> well I checked the zlib configure script and it does nothing with CROSS
dejanr has joined #nixos
<Dezgeg> if you make the build fail and check the makefile, does it have the line 'CC=gcc' ?
lewo` has joined #nixos
kiliankoe_ has joined #nixos
zimbatm_ has joined #nixos
teozkr_ has joined #nixos
georgew_ has joined #nixos
lpsmith- has joined #nixos
sdemos_ has joined #nixos
cstrahan_ has joined #nixos
MightyJoe has joined #nixos
ahmedtd has joined #nixos
pie_ has quit [(Ping timeout: 248 seconds)]
hiratara has quit [(Ping timeout: 240 seconds)]
<miko__> In the man page there is the following example:
<miko__> nix-shell -i runghc -p haskellPackages.ghc
<miko__> (shortened)
<miko__> this should start a instance of runghc, right?
gleber_ has quit [(Ping timeout: 255 seconds)]
zimbatm has quit [(Ping timeout: 255 seconds)]
hoverbear has quit [(Ping timeout: 255 seconds)]
teozkr has quit [(Ping timeout: 255 seconds)]
alphor has quit [(Ping timeout: 255 seconds)]
cstrahan has quit [(Ping timeout: 255 seconds)]
eqyiel[m] has quit [(Ping timeout: 255 seconds)]
M-fishy has quit [(Ping timeout: 255 seconds)]
guest521[m] has quit [(Ping timeout: 255 seconds)]
AllanDaemon[m] has quit [(Ping timeout: 255 seconds)]
AndersonTorres[m has quit [(Ping timeout: 255 seconds)]
AlanPearce[m] has quit [(Ping timeout: 255 seconds)]
Exee7uvo[m] has quit [(Ping timeout: 255 seconds)]
Sovereign_Bleak has quit [(Ping timeout: 255 seconds)]
freeman42x has quit [(Ping timeout: 255 seconds)]
TimePath has quit [(Ping timeout: 255 seconds)]
etcinit[m] has quit [(Ping timeout: 255 seconds)]
seif[m] has quit [(Ping timeout: 255 seconds)]
bennofs[m] has quit [(Ping timeout: 255 seconds)]
bdimcheff has quit [(Ping timeout: 255 seconds)]
bendlas has quit [(Ping timeout: 255 seconds)]
_habnabit has quit [(Ping timeout: 255 seconds)]
dtulig has quit [(Ping timeout: 255 seconds)]
lewo has quit [(Ping timeout: 255 seconds)]
lejonet has quit [(Ping timeout: 255 seconds)]
georgew has quit [(Ping timeout: 255 seconds)]
elvishjerricco has quit [(Ping timeout: 255 seconds)]
sdemos has quit [(Ping timeout: 255 seconds)]
kiliankoe has quit [(Ping timeout: 255 seconds)]
puffnfresh has quit [(Ping timeout: 255 seconds)]
ycy[m] has quit [(Ping timeout: 255 seconds)]
cyraxjoe has quit [(Ping timeout: 255 seconds)]
toppler has quit [(Ping timeout: 255 seconds)]
uwap has quit [(Ping timeout: 255 seconds)]
andrewrk has quit [(Ping timeout: 255 seconds)]
ahmedtd_ has quit [(Ping timeout: 255 seconds)]
lpsmith has quit [(Ping timeout: 255 seconds)]
teozkr_ is now known as teozkr
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bflyblue opened pull request #31632: plex: 1.9.5 -> 1.9.7 (master...plex-1.9.7.4441) https://git.io/vFK46
NixOS_GitHub has left #nixos []
zimbatm_ is now known as zimbatm
cstrahan_ is now known as cstrahan
sdemos_ is now known as sdemos
georgew_ is now known as georgew
kiliankoe_ is now known as kiliankoe
toppler` has joined #nixos
simendsjo has quit [(Ping timeout: 240 seconds)]
uwap has joined #nixos
_habnabit has joined #nixos
alphor has joined #nixos
hiratara has joined #nixos
andrewrk has joined #nixos
lejonet has joined #nixos
dtulig has joined #nixos
goodwill has quit [(Ping timeout: 240 seconds)]
jb55 has joined #nixos
<miko__> Ok, once again:
matthewbauer has quit [(Read error: Connection reset by peer)]
<miko__> To start ghci i tried to run nix-shell -i runghc -p haskellPackages.ghc.
pareidolia has quit [(Ping timeout: 260 seconds)]
<Sonarpulse> binaryphile: true; in fish that would be more rebose with the begin and end rather than substitution subshell
matthewbauer has joined #nixos
<Sonarpulse> hence me going with the other
<miko__> this gives me: http://paste.ubuntu.com/25956678/
<Sonarpulse> but yes that is better in bash
<schoppenhauer> hi. has anyone yet tried to package waterfox for nixos?
dejanr has quit [(Ping timeout: 240 seconds)]
<miko__> I'm on ubuntu lts with a fresh installed nix
python476 has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> steveeJ: ok maybe those *MACH vars might help?
<Sonarpulse> but I recall zlib working before
<binaryphile> Sonarpulse, yeah i love fish
<steveeJ> Dezgeg: I'm trying it out now
<symphorien> miko__: normally -i is for shebangs only iirc
goodwill has joined #nixos
dejanr has joined #nixos
<miko__> ok
<binaryphile> had to go back to bash on a day-to-day in order to learn scripting tho
<miko__> what woulbe be the equivalent for the interative terminal?
<symphorien> nix-shell -p whatever
pareidolia has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31631: Test: Revert "libbsd, libtiger: fix meta evaluation" (master...graham-test) https://git.io/vFKWS
NixOS_GitHub has left #nixos []
<symphorien> or if you don't want the terminal, nix-shell -p whatver --run acommand
<MoreTea> miko__: nix-shell -p ghci --command ghci, or something similar
<steveeJ> Sonarpulse: you mentioned that buildPackages.stdenv.cc is the native compiler. did you mean cross compiler built for native?
<MoreTea> See nix-shell --help
grahamc has quit [(Ping timeout: 246 seconds)]
benkolera has quit [(Ping timeout: 246 seconds)]
smbarte2[m] has quit [(Ping timeout: 246 seconds)]
dylanjust[m] has quit [(Ping timeout: 246 seconds)]
magnap has quit [(Ping timeout: 246 seconds)]
nixo[m] has quit [(Ping timeout: 240 seconds)]
retrry[m] has quit [(Ping timeout: 240 seconds)]
tommyangelo[m] has quit [(Ping timeout: 240 seconds)]
bhipple[m] has quit [(Ping timeout: 240 seconds)]
berot3[m] has quit [(Ping timeout: 240 seconds)]
stites[m] has quit [(Ping timeout: 240 seconds)]
EuAndreh[m] has quit [(Ping timeout: 240 seconds)]
demyan[m] has quit [(Ping timeout: 240 seconds)]
itorres has quit [(Ping timeout: 240 seconds)]
bachp has quit [(Ping timeout: 240 seconds)]
Wysteriary[m] has quit [(Ping timeout: 240 seconds)]
equalunique[m] has quit [(Ping timeout: 240 seconds)]
sphalerite has quit [(Ping timeout: 252 seconds)]
jlle[m] has quit [(Ping timeout: 252 seconds)]
Vincenzo[m] has quit [(Ping timeout: 252 seconds)]
AdamSlack[m] has quit [(Ping timeout: 252 seconds)]
trevorriles[m] has quit [(Ping timeout: 252 seconds)]
edef[m] has quit [(Ping timeout: 240 seconds)]
Manish[m] has quit [(Ping timeout: 240 seconds)]
AsherGottlieb[m] has quit [(Ping timeout: 240 seconds)]
thomad[m] has quit [(Ping timeout: 240 seconds)]
aniketd[m] has quit [(Ping timeout: 240 seconds)]
Phil[m]1 has quit [(Ping timeout: 240 seconds)]
r3mfKm[m] has quit [(Ping timeout: 240 seconds)]
Ralith has quit [(Ping timeout: 252 seconds)]
rycee has quit [(Ping timeout: 240 seconds)]
DIzFer[m] has quit [(Ping timeout: 240 seconds)]
sk23[m] has quit [(Ping timeout: 240 seconds)]
paperdigits[m] has quit [(Ping timeout: 240 seconds)]
spawnthink[m] has quit [(Ping timeout: 240 seconds)]
timclassic has quit [(Ping timeout: 240 seconds)]
musicmatze[m] has quit [(Ping timeout: 240 seconds)]
WinterFox[m] has quit [(Ping timeout: 240 seconds)]
M-berdario has quit [(Ping timeout: 240 seconds)]
Li[m] has quit [(Ping timeout: 240 seconds)]
JameySharp[m] has quit [(Ping timeout: 255 seconds)]
fearlessKim[m] has quit [(Ping timeout: 255 seconds)]
pvn[m] has quit [(Ping timeout: 255 seconds)]
regnat[m] has quit [(Ping timeout: 255 seconds)]
the_m4ur1[m] has quit [(Ping timeout: 255 seconds)]
primeos[m] has quit [(Ping timeout: 255 seconds)]
Barnabas[m] has quit [(Ping timeout: 255 seconds)]
dash has quit [(Ping timeout: 250 seconds)]
xurxo[m] has quit [(Ping timeout: 250 seconds)]
admin[m]1 has quit [(Ping timeout: 250 seconds)]
corngood has quit [(Ping timeout: 250 seconds)]
Leo[m]2 has quit [(Ping timeout: 250 seconds)]
zigschots20[m] has quit [(Ping timeout: 250 seconds)]
Obscurity[m] has quit [(Ping timeout: 250 seconds)]
hedning[m] has quit [(Ping timeout: 250 seconds)]
cifra[m] has quit [(Ping timeout: 250 seconds)]
reactormonk[m] has quit [(Ping timeout: 250 seconds)]
davidar has quit [(Ping timeout: 250 seconds)]
herzmeister[m] has quit [(Ping timeout: 250 seconds)]
fgaz[m] has quit [(Ping timeout: 250 seconds)]
ArdaXi[m] has quit [(Ping timeout: 246 seconds)]
kainospur[m] has quit [(Ping timeout: 246 seconds)]
chominist[m] has quit [(Ping timeout: 246 seconds)]
viaken[m] has quit [(Ping timeout: 246 seconds)]
abbafei[m] has quit [(Ping timeout: 246 seconds)]
hexkey[m] has quit [(Ping timeout: 246 seconds)]
Drakonis[m] has quit [(Ping timeout: 246 seconds)]
ConorCurry[m] has quit [(Ping timeout: 246 seconds)]
mankyKitty[m] has quit [(Ping timeout: 246 seconds)]
florianjacob has quit [(Ping timeout: 264 seconds)]
Singularity[m] has quit [(Ping timeout: 264 seconds)]
gudea[m] has quit [(Ping timeout: 264 seconds)]
ninegua[m] has quit [(Ping timeout: 264 seconds)]
icetan has quit [(Ping timeout: 264 seconds)]
Khorne[m] has quit [(Ping timeout: 264 seconds)]
wizzup[m] has quit [(Ping timeout: 264 seconds)]
rnhmjoj[m] has quit [(Ping timeout: 264 seconds)]
mith[m] has quit [(Ping timeout: 264 seconds)]
jack[m]1 has quit [(Ping timeout: 264 seconds)]
trikl[m] has quit [(Ping timeout: 264 seconds)]
taohansen has quit [(Ping timeout: 264 seconds)]
hl has quit [(Ping timeout: 264 seconds)]
mrdaak[m] has quit [(Ping timeout: 240 seconds)]
Dezgeg[m] has quit [(Ping timeout: 240 seconds)]
adisbladis[m] has quit [(Ping timeout: 240 seconds)]
wmertens[m] has quit [(Ping timeout: 240 seconds)]
dpc has quit [(Ping timeout: 240 seconds)]
hendrik[m] has quit [(Ping timeout: 240 seconds)]
malteof[m] has quit [(Ping timeout: 240 seconds)]
MawKKe[m] has quit [(Ping timeout: 240 seconds)]
sirius[m] has quit [(Ping timeout: 240 seconds)]
sziszi[m] has quit [(Ping timeout: 240 seconds)]
danielrf has quit [(Ping timeout: 240 seconds)]
mtncoder[m] has quit [(Ping timeout: 240 seconds)]
a123123123[m] has quit [(Ping timeout: 240 seconds)]
Johnny44[m] has quit [(Ping timeout: 240 seconds)]
dkellner[m] has quit [(Ping timeout: 240 seconds)]
WilliamHamilton has quit [(Ping timeout: 240 seconds)]
Oo[m] has quit [(Ping timeout: 240 seconds)]
ison[m] has quit [(Ping timeout: 248 seconds)]
moredread[m] has quit [(Ping timeout: 248 seconds)]
onito[m] has quit [(Ping timeout: 240 seconds)]
dtz has quit [(Ping timeout: 240 seconds)]
indefini has quit [(Ping timeout: 240 seconds)]
codyopel has quit [(Ping timeout: 240 seconds)]
sudoreboot[m] has quit [(Ping timeout: 240 seconds)]
offlinehacker[m] has quit [(Ping timeout: 240 seconds)]
akavel[m] has quit [(Ping timeout: 248 seconds)]
Deleh[m] has quit [(Ping timeout: 248 seconds)]
StuK[m] has quit [(Ping timeout: 248 seconds)]
jsv[m] has quit [(Ping timeout: 248 seconds)]
revoltmedia[m] has quit [(Ping timeout: 248 seconds)]
lecorpsnoir[m] has quit [(Ping timeout: 248 seconds)]
voobscout[m] has quit [(Ping timeout: 248 seconds)]
wak-work has quit [(Ping timeout: 248 seconds)]
scott1 has quit [(Ping timeout: 248 seconds)]
baconicsynergy[m has quit [(Ping timeout: 248 seconds)]
necronian has quit [(Ping timeout: 255 seconds)]
M-liberdiko has quit [(Ping timeout: 255 seconds)]
tokudan[m] has quit [(Ping timeout: 255 seconds)]
FRidh[m] has quit [(Ping timeout: 255 seconds)]
NickHu has quit [(Ping timeout: 255 seconds)]
apocolocyntos[m] has quit [(Ping timeout: 255 seconds)]
nocent has quit [(Ping timeout: 255 seconds)]
myklam[m] has quit [(Ping timeout: 255 seconds)]
Kallegro[m] has quit [(Ping timeout: 255 seconds)]
nh2[m] has quit [(Ping timeout: 255 seconds)]
unlmtd has quit [(Ping timeout: 255 seconds)]
krawiec[m] has quit [(Ping timeout: 252 seconds)]
kitten[m] has quit [(Ping timeout: 252 seconds)]
mhsjlw[m] has quit [(Ping timeout: 252 seconds)]
yochai[m] has quit [(Ping timeout: 252 seconds)]
AmineChikhaoui[m has quit [(Ping timeout: 252 seconds)]
aminech[m] has quit [(Ping timeout: 252 seconds)]
Geeky[m] has quit [(Ping timeout: 252 seconds)]
matrixkrav has quit [(Ping timeout: 252 seconds)]
dibblego[m] has quit [(Ping timeout: 252 seconds)]
jluttine[m] has quit [(Ping timeout: 252 seconds)]
copumpkin has quit [(Ping timeout: 252 seconds)]
cornu[m] has quit [(Ping timeout: 252 seconds)]
noctuid has quit [(Ping timeout: 246 seconds)]
dalaing has quit [(Ping timeout: 246 seconds)]
aspiwack[m] has quit [(Ping timeout: 246 seconds)]
moredhel1 has quit [(Ping timeout: 258 seconds)]
pierrebeaucamp[m has quit [(Ping timeout: 250 seconds)]
Elephant454[m] has quit [(Ping timeout: 250 seconds)]
efx[m] has quit [(Ping timeout: 250 seconds)]
qrilka[m] has quit [(Ping timeout: 250 seconds)]
ipj[m] has quit [(Ping timeout: 250 seconds)]
spacekitteh[m] has quit [(Ping timeout: 250 seconds)]
jyp[m] has quit [(Ping timeout: 250 seconds)]
olejorgenb[m] has quit [(Ping timeout: 250 seconds)]
<gchristensen> ok bye ...
teh[m] has quit [(Ping timeout: 264 seconds)]
Pneumaticat has quit [(Ping timeout: 264 seconds)]
zoya-kosova[m] has quit [(Ping timeout: 264 seconds)]
thematter[m] has quit [(Ping timeout: 264 seconds)]
peterhoeg has quit [(Ping timeout: 264 seconds)]
tobim[m] has quit [(Ping timeout: 264 seconds)]
mpuppe[m] has quit [(Ping timeout: 264 seconds)]
kevincox has quit [(Ping timeout: 264 seconds)]
octalsrc[m] has quit [(Ping timeout: 264 seconds)]
Phyra[m] has quit [(Ping timeout: 264 seconds)]
peel[m] has quit [(Ping timeout: 264 seconds)]
randomenduser[m] has quit [(Ping timeout: 264 seconds)]
pstn has quit [(Ping timeout: 264 seconds)]
Yaniel has quit [(Ping timeout: 264 seconds)]
sargon[m] has quit [(Ping timeout: 248 seconds)]
EB[m] has quit [(Ping timeout: 248 seconds)]
Nobabs27[m] has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31630: services.postgres: fix quoting in the description of `superUser` (master...fix-postgres-quoting) https://git.io/vFKCh
NixOS_GitHub has left #nixos []
simukis has quit [(Ping timeout: 240 seconds)]
<bgamari> Sonarpulse, do you understand why the gcc expression defines both crossAttrs.configureFlags and a crossConfigureFlags attribute?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-17.09: https://git.io/vFKB7
<NixOS_GitHub> nixpkgs/release-17.09 165dc67 Maximilian Bosch: services.postgres: fix quoting in the description of `superUser`...
NixOS_GitHub has left #nixos []
<Sonarpulse> bgamari: the former is for build != host == target
<Sonarpulse> the latter is for build == host != target
<Sonarpulse> :D
<bgamari> naturally
<bgamari> ;)
layus has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Ping timeout: 240 seconds)]
jb55 has quit [(Ping timeout: 240 seconds)]
yegortimoshenko has quit [(Remote host closed the connection)]
digitalmentat has quit [(Quit: Leaving)]
yegortimoshenko has joined #nixos
<steveeJ> Sonarpulse: how do I get the strings for the *MACH variables? hostPlatform and buildPlatform both can't be coerced to strings
<Sonarpulse> steveeJ: buildPlatform.config hostPlatform.config
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
layus has joined #nixos
Itkovian has joined #nixos
ipj[m] has joined #nixos
sphalerite has joined #nixos
<sphalerite> miko__: what's the -i runghc bit supposed to do?
<Dezgeg> the page is wrong, TARGETMACH and BUILDMACH don't have any hits in the zlib sources
matthewbauer has joined #nixos
<miko__> run the binary inside the enviroment?
jb55 has joined #nixos
<steveeJ> Dezgeg: oh well, thanks for checking that :-D
<sphalerite> miko__: try replacing it with --run ghci
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31629: jfbview: remove mujs and no-longer-necessary patch (master...jfbview-mujs) https://git.io/vFKno
NixOS_GitHub has left #nixos []
<Dezgeg> (and buildroot doesn't set either of those)
<sphalerite> Anyone know how I can find out what codec I need in the kernel for my ARM system's audio to work?
bennofs has quit [(Ping timeout: 246 seconds)]
ma27 has quit [(Ping timeout: 246 seconds)]
elvishjerricco has joined #nixos
<sphalerite> The audio device shows up in alsamixer and stuff but I don't get any sound and my best guess as to why is a missing codec
<sphalerite> miko__: what binary?
<bgamari> sphalerite, look in your vendor's BSP
<bgamari> see what they use
pie_ has joined #nixos
<sphalerite> miko__: oh I see it's for using it as a shebang
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] InfernalKnight opened pull request #31633: viber: 6.5.5.1481 -> 7.0.0.1035 (master...viber) https://git.io/vFK0z
NixOS_GitHub has left #nixos []
<sphalerite> miko__: but you just want to run ghci right? Use `nix-shell -p ghc --run ghci` instead
<steveeJ> Sonarpulse: I'm afraid you have a paint in saying it's broken. stdenv.cc.prefix seems to be empty
<bgamari> Sonarpulse, Is there any reason why we shouldn't just merge the gcc expressions?
<Sonarpulse> bgamari: nope!
<bgamari> they appear to be literally identical
<bgamari> at least the configure flags
<Sonarpulse> bgamari: I suppose two commits
<Sonarpulse> such that the second commit did not change hashes combining them
<Sonarpulse> would be cool
<Sonarpulse> ....but I'm the only person that will care about such "history proofs" :D
<Sonarpulse> your branch builds build != host == target gcc?
<Sonarpulse> right?
<bgamari> not yet
<bgamari> I haven't figured out how to get it to build
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
[0x4A6F] has joined #nixos
<sphalerite> bgamari: no idea where to find that. The machine in question is the rockchip rk3288-based ASUS C201 Chromebook, is rockchip where I'd look for that?
<bgamari> Sonarpulse, by the way, is there some way to get nix to dump what information went into the hash?
<steveeJ> Sonarpulse: I'm willing to test any repo/branch you throw at me at this point :-D
<bgamari> Sonarpulse, so you can identify precisely where things differ
<bgamari> sphalerite, hmm, that is actually a tricky one
<bgamari> my experience is working with devboards
<bgamari> where the vendor will often provide a board support package
<bgamari> in the case of consumer hardware I have no idea
<bgamari> it may be tricky
<Dezgeg> BSPs usually suck x)
<bgamari> yes, also true
ma27 has joined #nixos
ebzzry has quit [(Ping timeout: 248 seconds)]
nixos1022 has quit [(Ping timeout: 240 seconds)]
[0x4A6F] has quit [(Ping timeout: 264 seconds)]
[0x4A6F] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] casey closed pull request #30915: Python: remove $out/bin/__pycache__ in fixup phase (master...remove-pycache) https://git.io/vFIQT
NixOS_GitHub has left #nixos []
<steveeJ> Dezgeg: I'm quite sure that we just miss to set CROSS_PREFIX
<sphalerite> It's not been hugely painful to get running, since the mainline kernel supports it and stuff
Turion has quit [(Quit: Leaving.)]
<bgamari> sphalerite, you could open it up
hiratara has quit [(Quit: ZNC - http://znc.in)]
<sphalerite> Heh, just reading a datasheet. There's so much purpose-specific stuff in there...
hiratara has joined #nixos
<Dezgeg> buildroot does manage to build it without CROSS_PREFIX either
matthewbauer has quit [(Ping timeout: 240 seconds)]
<steveeJ> Dezgeg: how does it indicate zlib to cross compile?
[0x4A6F] has quit [(Remote host closed the connection)]
miko__ has quit [(Ping timeout: 264 seconds)]
<Dezgeg> my guess would be that TARGET_MAKE_ENV has CC=foo which overrides the bad version in the generated Makefile
shanemikel has joined #nixos
<steveeJ> Dezgeg: would you mind to verify that zlib doesn't cross compile on master? maybe my allegation is wrong after all
unlmtd has joined #nixos
nixo[m] has joined #nixos
cornu[m] has joined #nixos
ArdaXi[m] has joined #nixos
hexkey[m] has joined #nixos
Phyra[m] has joined #nixos
kitten[m] has joined #nixos
jyp[m] has joined #nixos
bdimcheff has joined #nixos
abbafei[m] has joined #nixos
AlanPearce[m] has joined #nixos
indefini has joined #nixos
efx[m] has joined #nixos
berot3[m] has joined #nixos
WilliamHamilton has joined #nixos
spacekitteh[m] has joined #nixos
sirius[m] has joined #nixos
aspiwack[m] has joined #nixos
moredhel1 has joined #nixos
primeos[m] has joined #nixos
mankyKitty[m] has joined #nixos
grahamc has joined #nixos
peterhoeg has joined #nixos
NickHu has joined #nixos
hendrik[m] has joined #nixos
davidar has joined #nixos
bachp has joined #nixos
timclassic has joined #nixos
Nobabs27[m] has joined #nixos
TimePath has joined #nixos
mith[m] has joined #nixos
ConorCurry[m] has joined #nixos
zoya-kosova[m] has joined #nixos
fgaz[m] has joined #nixos
wak-work has joined #nixos
AndersonTorres[m has joined #nixos
kevincox has joined #nixos
Kallegro[m] has joined #nixos
M-liberdiko has joined #nixos
baconicsynergy[m has joined #nixos
the_m4ur1[m] has joined #nixos
sudoreboot[m] has joined #nixos
moredread[m] has joined #nixos
peel[m] has joined #nixos
rycee has joined #nixos
nh2[m] has joined #nixos
octalsrc[m] has joined #nixos
matrixkrav has joined #nixos
olejorgenb[m] has joined #nixos
ison[m] has joined #nixos
teh[m] has joined #nixos
apocolocyntos[m] has joined #nixos
itorres has joined #nixos
Geeky[m] has joined #nixos
Li[m] has joined #nixos
trikl[m] has joined #nixos
copumpkin has joined #nixos
Elephant454[m] has joined #nixos
Johnny44[m] has joined #nixos
FRidh[m] has joined #nixos
myklam[m] has joined #nixos
reactormonk[m] has joined #nixos
herzmeister[m] has joined #nixos
florianjacob has joined #nixos
MawKKe[m] has joined #nixos
magnap has joined #nixos
thematter[m] has joined #nixos
sargon[m] has joined #nixos
a123123123[m] has joined #nixos
viaken[m] has joined #nixos
dpc has joined #nixos
offlinehacker[m] has joined #nixos
Wysteriary[m] has joined #nixos
spawnthink[m] has joined #nixos
hl has joined #nixos
edef[m] has joined #nixos
necronian has joined #nixos
danielrf has joined #nixos
tokudan[m] has joined #nixos
lecorpsnoir[m] has joined #nixos
benkolera has joined #nixos
nocent has joined #nixos
freeman42x has joined #nixos
dtz has joined #nixos
pstn has joined #nixos
Obscurity[m] has joined #nixos
fearlessKim[m] has joined #nixos
WinterFox[m] has joined #nixos
bhipple[m] has joined #nixos
revoltmedia[m] has joined #nixos
wmertens[m] has joined #nixos
aminech[m] has joined #nixos
codyopel has joined #nixos
qrilka[m] has joined #nixos
bennofs[m] has joined #nixos
AmineChikhaoui[m has joined #nixos
pvn[m] has joined #nixos
Sovereign_Bleak has joined #nixos
dkellner[m] has joined #nixos
yochai[m] has joined #nixos
krawiec[m] has joined #nixos
puffnfresh has joined #nixos
jsv[m] has joined #nixos
Phil[m]1 has joined #nixos
onito[m] has joined #nixos
paperdigits[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
aniketd[m] has joined #nixos
equalunique[m] has joined #nixos
sk23[m] has joined #nixos
Yaniel has joined #nixos
Pneumaticat has joined #nixos
Oo[m] has joined #nixos
mpuppe[m] has joined #nixos
regnat[m] has joined #nixos
Dezgeg[m] has joined #nixos
adisbladis[m] has joined #nixos
dash has joined #nixos
voobscout[m] has joined #nixos
stites[m] has joined #nixos
bendlas has joined #nixos
Drakonis[m] has joined #nixos
Singularity[m] has joined #nixos
taohansen has joined #nixos
trevorriles[m] has joined #nixos
jluttine[m] has joined #nixos
musicmatze[m] has joined #nixos
mtncoder[m] has joined #nixos
malteof[m] has joined #nixos
mrdaak[m] has joined #nixos
AdamSlack[m] has joined #nixos
chominist[m] has joined #nixos
seif[m] has joined #nixos
zigschots20[m] has joined #nixos
scott1 has joined #nixos
Ralith has joined #nixos
DIzFer[m] has joined #nixos
Vincenzo[m] has joined #nixos
noctuid has joined #nixos
Barnabas[m] has joined #nixos
M-berdario has joined #nixos
kainospur[m] has joined #nixos
ycy[m] has joined #nixos
dibblego[m] has joined #nixos
tommyangelo[m] has joined #nixos
hedning[m] has joined #nixos
Leo[m]2 has joined #nixos
cifra[m] has joined #nixos
thomad[m] has joined #nixos
demyan[m] has joined #nixos
jack[m] has joined #nixos
r3mfKm[m] has joined #nixos
EuAndreh[m] has joined #nixos
dylanjust[m] has joined #nixos
dalaing has joined #nixos
rnhmjoj[m] has joined #nixos
wizzup[m] has joined #nixos
StuK[m] has joined #nixos
randomenduser[m] has joined #nixos
Deleh[m] has joined #nixos
EB[m] has joined #nixos
icetan has joined #nixos
M-fishy has joined #nixos
Khorne[m] has joined #nixos
xurxo[m] has joined #nixos
corngood has joined #nixos
tobim[m] has joined #nixos
etcinit[m] has joined #nixos
guest521[m] has joined #nixos
gudea[m] has joined #nixos
eqyiel[m] has joined #nixos
ninegua[m] has joined #nixos
AllanDaemon[m] has joined #nixos
mhsjlw[m] has joined #nixos
AsherGottlieb[m] has joined #nixos
sziszi[m] has joined #nixos
jlle[m] has joined #nixos
akavel[m] has joined #nixos
JameySharp[m] has joined #nixos
retrry[m] has joined #nixos
Manish[m] has joined #nixos
smbarte2[m] has joined #nixos
admin[m]1 has joined #nixos
shanemikel has quit [(Ping timeout: 248 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<aanderse> anyone here ever use steam in home streaming on a nixos server and client? when i do this sort of streaming my gamepad doesn't work, but the game pad works running steam games locally on either the client or server
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b closed pull request #26297: musescore (darwin): 2.0.3 -> 2.1 (master...update/pkgs/applications/audio/musescore) https://git.io/vH0Bl
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b pushed 2 new commits to master: https://git.io/vFKg0
<NixOS_GitHub> nixpkgs/master 0dfe582 infernalknight: viber: 6.5.5.1481 -> 7.0.0.1035
<NixOS_GitHub> nixpkgs/master a3f5010 Renaud: Merge pull request #31633 from InfernalKnight/viber...
NixOS_GitHub has left #nixos []
jb55 has quit [(Ping timeout: 248 seconds)]
<steveeJ> Dezgeg: the buildroot zlib package has so many variables that aren't obvious, there could be anything in there for configure, even CROSS_PREFIX
c0bw3b has left #nixos []
ambro718 has quit [(Ping timeout: 248 seconds)]
theseriousadult has joined #nixos
<Dezgeg> I git grepped the repo
matthewbauer has joined #nixos
<steveeJ> Dezgeg: OK, that's good to know. I'm quite clueless at this point what could be missing
throwaway_name has joined #nixos
<steveeJ> the annoying thing is that when I change zlib it has to rebuild lots of stuff for my cross environment
pie_ has quit [(Ping timeout: 240 seconds)]
<Dezgeg> on master I get: Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).
<Dezgeg> where the cause is apparently gcc: command not found and/or cc: command not found
gleber_ has joined #nixos
matthewbauer has quit [(Ping timeout: 248 seconds)]
theseriousadult has quit [(Ping timeout: 260 seconds)]
ma27 has quit [(Ping timeout: 250 seconds)]
<Dezgeg> and indeed, $CC is not set (at least in postPatch)
ssmike1 has joined #nixos
<Dezgeg> by adding buildPackages.stdenv.cc
<Dezgeg> you add the x86 compiler to PATH, I believe, so it doesn't actually cross-build
<sphalerite> Is there a way, in nixos config, to override the ExecStart of a systemd service not defined by nixos?
ssmike has quit [(Ping timeout: 248 seconds)]
ssmike1 is now known as ssmike
<steveeJ> Dezgeg: that would explain my issue :-D thanks for looking into this
<steveeJ> Dezgeg: what is the correct path to the cross compiler?
<sphalerite> That is, have a file generated that contains ExecStart= and ExecStart=foo bar?
<Dezgeg> I don't know how's it currently, it's on my long TODO list to look into cross stuff again
<steveeJ> sphalerite: you could write a drop in file, this is not nixos specific though
roberth has quit [(Ping timeout: 240 seconds)]
phreedom has quit [(Ping timeout: 248 seconds)]
<Dezgeg> I would try cross stuff on this huge branch: https://github.com/NixOS/nixpkgs/pull/30882
<steveeJ> sphalerite: you define and write the file using nix though. for the contents of the file see: https://www.freedesktop.org/software/systemd/man/systemd.unit.html and look all the way down for an example
<sphalerite> steveeJ: yes that's my plan but the question is how to get it into the nixos config
ssmike1 has joined #nixos
<sphalerite> steveeJ: nix already generates drop-in files, but the question is how to get the empty ExecStart
<steveeJ> sphalerite: oh, well nevermind :-D
<sphalerite> s/nix/nixos/
ssmike has quit [(Ping timeout: 240 seconds)]
ssmike1 is now known as ssmike
erictapen has joined #nixos
matthewbauer has joined #nixos
hydraz is now known as sigint
<steveeJ> Dezgeg: it seems like a huge change considering that zlib seems to be my only issue at this point
<bgamari> steveeJ, correction: zlib is your only issue so far ;)
<steveeJ> bgamari: haha, fair point. although the environment I need is quite small. it's just supposed to set up a cross compiler which has basic libraries for cross-compiling the linux kernel, dropbear and busybox
<Dezgeg> which one of those needs zlib?
<steveeJ> Dezgeg: dropbear
cement has quit [(Ping timeout: 248 seconds)]
<steveeJ> (by default)
<Dezgeg> ah
hellrazo1 has quit [(Ping timeout: 248 seconds)]
matthewbauer has quit [(Ping timeout: 248 seconds)]
<steveeJ> Dezgeg: any idea how to just set CC to the cross compiler in the zlib expressions?
<Dezgeg> git grep gives me CC=${stdenv.cc.prefix}gcc in busybox
sigint is now known as hydraz
hellrazo1 has joined #nixos
<Sonarpulse> bgamari: haskellPackages.pretty-show
<bgamari> eh?'
<steveeJ> Dezgeg: how about adding stdenv.cc to buildInputs?
<Sonarpulse> will make diffing drvs worthwhile
<bgamari> ahh
<Sonarpulse> steveeJ: just set CC and friend by hand
<Sonarpulse> the setup hook won't work right currently
<Sonarpulse> g2g
<steveeJ> Sonarpulse: is there a way to set it for all phases?
<Dezgeg> you can set it in the derivation attribute
<Dezgeg> i.e. pass an argument named "CC" to mkDerivation
<steveeJ> Dezgeg: got it, thanks, I'll try that
jb55 has joined #nixos
<dhess> wow, it would be so huge if cross compiling worked generally
Sonarpulse has quit [(Ping timeout: 240 seconds)]
astsmtl has quit [(Ping timeout: 248 seconds)]
dejanr has quit [()]
<steveeJ> dhess: AFAICT there's a lot of work going on e.g. https://github.com/NixOS/nixpkgs/pull/30882
<Mic92> grahamc: manveru close enough https://github.com/NixOS/nixpkgs/pull/31627
MP2E has quit [(Remote host closed the connection)]
throwaway_name has quit [(Ping timeout: 240 seconds)]
<dhess> steveeJ: Yeah I just started going down that rabbit hole
sigmundv__ has quit [(Ping timeout: 248 seconds)]
justanotheruser has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #31634: bchunk: 1.2.0 -> 1.2.2 (master...bchunk/1.2.2) https://git.io/vFKo4
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hoverbear has joined #nixos
throwaway_name has joined #nixos
<steveeJ> Dezgeg: how did you figure out CC wasn't set? I also made the build fail by adding "exit 1" to the postInstall phase but couldn't investigate the build files
joehh has joined #nixos
<Dezgeg> nix-build -K
<joehh> hi there, what package contains nixos-rebuild?
<Dezgeg> and I did 'echo $CC' pin postPatch ;-)
<joehh> wanting to use it in a systemd service script and need to be able to add it to the path
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
MP2E has joined #nixos
<Orbstheorem> Hi, I'm trying to use my bluetooth mouse: I paired, trusted and connected it; I can see in dmesg that it was added as an hid input device, but when I run xinput, I can't see it. NixOS 17.09
<joehh> The script is to do automatic rollback as described at nixcon: https://youtu.be/J4DgATIjx9E?list=PLgknCdxP89ReQzhfKwMYjLdwWsc7us8ns&t=1274
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vFKKl
<NixOS_GitHub> nixpkgs/master 228cfe9 Shaun Sharples: plex: 1.9.5 -> 1.9.7
<NixOS_GitHub> nixpkgs/master a81bd24 Graham Christensen: Merge pull request #31632 from bflyblue/plex-1.9.7.4441...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc created revert-31632-plex-1.9.7.4441 (+1 new commit): https://git.io/vFKK0
<NixOS_GitHub> nixpkgs/revert-31632-plex-1.9.7.4441 ce7bc5c Graham Christensen: Revert "plex: 1.9.5 -> 1.9.7"
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31635: Revert "plex: 1.9.5 -> 1.9.7" (master...revert-31632-plex-1.9.7.4441) https://git.io/vFKKu
NixOS_GitHub has left #nixos []
<steveeJ> Dezgeg: I see! the latter is definitely fast :)