<clever> ive never messed with auth over nfs, and i avoid uid mappings as well, i just make sure the uid's match between all machines
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
erictapen has joined #nixos
<NickHu> clever: I know, I'm not saying that I want to purge my system of glibc (which I do, but it's infeasible)
Arcaelyx has joined #nixos
<NickHu> I was just wondering since nix supports darwin if there were an easy way to get it to compile everything with musl or something
<rjsalts> NickHu: doesn't Darwin have its own libc?
<NickHu> rjsalts: exactly, so it would seem that nix doesn't inherently depend on glibc stuff
Jackneill has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 240 seconds)]
<clever> NickHu: at the lowest level, all nix does is run a set builder, with the given args, and pass it a $out env variable
<clever> how you create $out and what it does, nix doesnt care
<clever> NickHu: in this example derivation i made, it runs the bash in stdenv.shell against a builder.sh i inlined
<clever> but with a few tweaks, it could run entirely without the stdenv
<clever> you can also just do builder = "${ghc}/bin/ghc"; args = [ "-o" (builtins.placeholder "out" ./input.hs ]; name = "binary"
<clever> and nix will directly execute ghc, and drop an ELF in /nix/store/
takle has joined #nixos
<Infinisil> clever: Oh nice
<Infinisil> the mkDerivation boilerplate is quite big
<NickHu> more what I'm asking is whether this work has already been done and I could just pass a config option to nix
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
silver_hook has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] davidak opened pull request #27998: replace "Mac OS X" and "OS X" with "macOS" (master...macOS) https://git.io/v7o8L
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
thblt has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
Infinisil has quit [(Quit: leaving)]
Infinisil has joined #nixos
takle has joined #nixos
kiloreux has joined #nixos
Infinisil has quit [(Client Quit)]
Infinisil has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
ambro718 has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 248 seconds)]
takle has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
takle has quit [(Ping timeout: 240 seconds)]
lewo has quit [(Ping timeout: 276 seconds)]
lewo has joined #nixos
<clever> Dezgeg: ping?
mudri has quit [(Ping timeout: 255 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Ping timeout: 260 seconds)]
filterfish has joined #nixos
[0x4A6F]1 has joined #nixos
takle has joined #nixos
filterfish has quit [(Remote host closed the connection)]
[0x4A6F] has quit [(Ping timeout: 260 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
takle_ has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
hellrazo1 has joined #nixos
wigust has quit [(Ping timeout: 268 seconds)]
takle_ has quit [(Ping timeout: 248 seconds)]
wigust has joined #nixos
contrapumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
hellrazor has quit [(Ping timeout: 240 seconds)]
joehh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] evujumenuk opened pull request #28001: trivial-builders: use shellcheck instead of 'sh -n' (master...sh_-n_to_shellcheck) https://git.io/v7oB9
NixOS_GitHub has left #nixos []
filterfish has joined #nixos
takle has joined #nixos
catch22 has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
AluisioASG has quit [(Remote host closed the connection)]
AluisioASG has joined #nixos
kiloreux has quit [(Ping timeout: 260 seconds)]
<clever> /nix/store/c57l8jl8g9b3ind5ihd3jy3m5g4n0q37-binutils-2.29/bin/ld: unrecognised emulation mode: armelf_linux_eabi
<clever> Dezgeg: armv7 builds seem broken
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AndersonTorres closed pull request #19509: sayonara player: init at 0.9.3 (master...sayonara) https://git.io/vPVCU
NixOS_GitHub has left #nixos []
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v7oRA
<NixOS_GitHub> nixpkgs/master 1ec7242 Tim Steinbach: linux-copperhead: 4.12.4.a -> 4.12.5.a
NixOS_GitHub has left #nixos []
rpifan has quit [(Read error: Connection reset by peer)]
stasku has joined #nixos
takle has joined #nixos
mizu_no_oto has joined #nixos
Mateon3 has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
Sonarpulse has joined #nixos
Mateon2 has quit [(Ping timeout: 260 seconds)]
Mateon3 is now known as Mateon2
rpifan has joined #nixos
mkoenig has quit [(Quit: Lost terminal)]
mkoenig has joined #nixos
mkoenig_ has joined #nixos
takle has joined #nixos
mkoenig_ has quit [(Client Quit)]
mkoenig has quit [(Client Quit)]
mkoenig has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
Piece_Maker has joined #nixos
Acou_Bass has quit [(Ping timeout: 260 seconds)]
Piece_Maker is now known as Acou_Bass
takle has quit [(Ping timeout: 260 seconds)]
Infinisil has quit [(Quit: leaving)]
jgertm has quit [(Ping timeout: 240 seconds)]
tommd has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
mkoenig has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
phinxy has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
eschnett has joined #nixos
takle has joined #nixos
LinArcX has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley pushed 1 new commit to master: https://git.io/v7ouW
<NixOS_GitHub> nixpkgs/master 989514f Benjamin Staffin: jsonnet: 0.8.9 -> 0.9.4 (#27989)
NixOS_GitHub has left #nixos []
Infinisil has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mkoenig has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<adisbladis> Having some issues with nixops.. Stuck on "waiting for ssh" on ec2
<adisbladis> Don't know where to go from here.. The aws debugging experience is not great
<simpson> adisbladis: On GCE, those sorts of situations usually happen because I've accidentally stopped a machine and forgotten to restart it and nixops also forgets to restart it. So maybe go into the AWS console and make sure that the machine's up and running?
<simpson> And yes, the AWS debugging experience sucks.
<adisbladis> simpson: It was just created by nixops, its in a security group where all traffic is allowed
<adisbladis> I hate that I can't attach a console on aws :/
schoppenhauer has quit [(Ping timeout: 268 seconds)]
slyfox has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
<adisbladis> simpson: Ahhh Amazon in all their wisdom decided that letting through "all" traffic does not mean ssh for some reason
<adisbladis> Explicitly adding port 22 to the security group works
<simpson> adisbladis: AWS has wisdom? I thought that they just had two pizzas and zero outages~
<adisbladis> Huh, two pizzas? :D
<simpson> Amazon/AWS meme. I left an AWS shop a bit ago and my head's still full of them.
<adisbladis> simpson: Huh.. I can easily finish two pizzas myself
<dash> adisbladis: you must be an amazing devops team all by yourself!
<adisbladis> da
<adisbladis> dash: The communication is a bit so-so ;)
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
slyfox has joined #nixos
<unlmtd> has anyone gotten 'way-cooler' WM to work?
<Infinisil> unlmtd: Does xmonad count? It uses monads!
<unlmtd> Infinisil: im using xmonad, im asking about way-cooler
<unlmtd> im sick of all the x11 glitches, trying to run on wayland
<unlmtd> ppl are using wayland on freebsd, so im pretty sure nixos can get there
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ff9479cd54 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Infinisil> unlmtd: I think there's an issue about wayland support
nix-gsc-io`bot has quit [(Client Quit)]
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
sary has quit [(Ping timeout: 246 seconds)]
dev1 has joined #nixos
reinzelmann has joined #nixos
<unlmtd> update: ran ```way-cooler``` from tty and POOF
<unlmtd> but then I couldnt do anything, and couldnt switch tty nor switch back to way-cooler, but I saw the last few lines of the tty running it, and it looked really sane
<unlmtd> so I guess it works
<unlmtd> I just need a way to launch it. lightdm seems to be out
<dev1> what does "..." mean in a .nix file?
<dev1> such as { config, pkgs, ... }
<clever> dev1: that lets it ignore any other arguments it was given
<dev1> whats does ... actually do? can i use it elsewhere?
<clever> it only works in the function arguments like that
<dev1> so as a function parameter ... tells it to ignore all other parameters?
<clever> yep
<dev1> why do we want to ignore "config, pkgs"?
<dev1> since its default nix configuration
<dev1> whats the use case for it?
<clever> it ignores all OTHERS
<clever> config and pkgs are the only ones it will use
<dev1> oh I see...
<dev1> I understand
<clever> nixos may pass it more, but only config and pkgs get used
<dev1> so why do we want to make sure only config and pkgs get used?
<clever> because your module may break in 6 months when anybody adds a new argument to all modules
<clever> and it wont accept unknown argumentsd
<joehh> what is the best way to delete a profile
<joehh> ?
<joehh> or equivalently uninstall all packages from it?
<clever> joehh: nix-env -r
<dev1> thank you clever I understand now
<joehh> great - so nix-env -p myProfile -r -i mypackage will ensure that only mypackage is installed
<joehh> exactly what I need - thanks for that
_rvl has joined #nixos
<joehh> hey clever - what timezone/where in the world are you? Whenever I am on, you seem to be there and active :)
<clever> NB canada, atlantic standard time
<joehh> wow - almost completely out of phase! -I'm in Melbourne, Australia +10 at the moment - thanks for all of your assistance, must all have been at crazy hours for you
<clever> lol
<clever> joehh: i'm more of a nightowl, so i can see how we might be on at the same times
<joehh> :)
rpifan has quit [(Remote host closed the connection)]
rpifan has joined #nixos
alx741 has quit [(Quit: alx741)]
Ivanych has joined #nixos
LinArcX has joined #nixos
<Infinisil> Same for me, stayed up all night again..
<Infinisil> 7am now
alx741 has joined #nixos
<LinArcX> Hi. I install tor but I want to use polipo to convert socks to https. How do that?
takle has joined #nixos
sary has joined #nixos
Ivanych has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
reinzelmann has quit [(Quit: Leaving)]
jgertm has joined #nixos
<LinArcX> clever: thanks
LinArcX has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
LinArcX has joined #nixos
xd1le has joined #nixos
takle has joined #nixos
<LinArcX> Can I debug configuration.nix file?
<clever> LinArcX: debug it how?
<clever> LinArcX: what kind of thing do you want to debug?
<dev1> whats the difference between preConfigure and configurePhase ?
<clever> dev1: preConfigure runs before the default configurePhase
<clever> while configurePhase replaces the entire default
<dev1> what is the default?
<dev1> tnk u
<dev1> much to learn
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
Mercuria1Alchemi has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<sphalerite> Is it sensible at all to use fail2ban to ban IPv4 addresses that are scanning for phpmyadmin and stuff, or is CGNAT deployed widely enough that that's likely to be a problem for legitimate visitors?
takle has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
oida_ has joined #nixos
oida has quit [(Ping timeout: 240 seconds)]
jgertm has quit [(Ping timeout: 240 seconds)]
alx741 has quit [(Quit: alx741)]
<joehh> sphalerite: I think you need to assess your likely visitors
<joehh> Here in oz, my gut feel is that it is pretty widely deployed, especially on our mobile networks
<joehh> but last time I was involved with running fail2ban in that environment, all of our scans were coming
<adisbladis> sphalerite: cgnat is pretty widely deployed on mobile networks worldwide
<joehh> from countries that were irrelevant to the local company
<joehh> I ended up banning them all, and reviewing each day or so. Only once or twice decided to
<joehh> remove a ban manually, not sure if it affected any visitors or not though
takle has joined #nixos
<adisbladis> I find that most of the time even a short-lived ban is pretty effective
<adisbladis> If requests time out they just give up
takle has quit [(Ping timeout: 255 seconds)]
Capprentice has quit [(Ping timeout: 240 seconds)]
LinArcX has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
revtintin has joined #nixos
periklis has joined #nixos
leat has quit [(Ping timeout: 276 seconds)]
takle has joined #nixos
MP2E has joined #nixos
joehh has quit [(Ping timeout: 260 seconds)]
dev1 has quit [(Quit: WeeChat 1.7.1)]
takle has quit [(Read error: No route to host)]
[0x4A6F] has quit [(Remote host closed the connection)]
joehh has joined #nixos
ertes has quit [(Ping timeout: 248 seconds)]
ebzzry has quit [(Quit: WeeChat 1.9)]
oahong has quit [(Ping timeout: 260 seconds)]
Phlogistique has joined #nixos
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
Wizek has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 2 new commits to master: https://git.io/v7oKO
<NixOS_GitHub> nixpkgs/master 5b996f9 Matthew Bauer: emscripten: 1.37.13 -> 1.37.16
<NixOS_GitHub> nixpkgs/master 28ca51c Gabriel Ebner: Merge pull request #27899 from matthewbauer/emscripten-update...
NixOS_GitHub has left #nixos []
hydraz has quit [(Ping timeout: 255 seconds)]
rpifan has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/v7oKP
<NixOS_GitHub> nixpkgs/master f152749 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
hydraz has joined #nixos
hydraz has quit [(Changing host)]
hydraz has joined #nixos
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
sjourdois has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
sjourdois has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 6 new commits to staging: https://git.io/v7o6n
<NixOS_GitHub> nixpkgs/staging 5ba3972 John Ericson: cc-wrapper: Stop preWrapping...
<NixOS_GitHub> nixpkgs/staging 9f1e009 John Ericson: cc-wrapper: Unconditionally use @infixSalt@ accross the board...
<NixOS_GitHub> nixpkgs/staging 42f3550 John Ericson: cc-wrapper: Make hygienic...
NixOS_GitHub has left #nixos []
sjourdois has quit [(Client Quit)]
sjourdois has joined #nixos
zeus__ has quit [(Remote host closed the connection)]
ertes-w has joined #nixos
takle has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
linarcx_ has joined #nixos
LinArcX has joined #nixos
<linarcx_> hi. i want to set zsh as default shell.how do that?
<tilpner> users.users.linarcx.shell = pkgs.zsh;
<tilpner> And probably programs.zsh.enable = true; somewhere
<linarcx_> and what is it: users.defaultUserShell = pkgs.zsh ?
<linarcx_> what is difference between two approaches?
<tilpner> Oh, that will affect all users, instead of just you. I assumed you wanted to change the default shell for just your user
<linarcx_> ok thanks. i will use your approache :)
<avn> linarcx_: users.defaultUserShell = "${pkgs.zsh}/bin/zsh"; ;)
mg has joined #nixos
<linarcx_> thanks.but another question. i want to use prezto instead of oh-my-zsh. how do that? just copy .zpreztorc to home directory or exists an option for this?
<mg> I'm trying to create a script to setup a tmux session a project. The first line of the script is "nix-shell", and it seems nothing after that gets executed. Why is that? Is there any way around it?
MoreTea has joined #nixos
joehh has quit [(Ping timeout: 240 seconds)]
thc202 has joined #nixos
<clever> mg: nix-shell spawns a new shell, and only returns once the user exits from that
<clever> mg: you may want to look into nix-shell --run
* clever heads to bed
<mg> clever: thanks, but it's a bit tedious to run nix-shell --run on every command.. Ideally I'd just like everything in the tmux session spawned later in the script to be run in the context of the nix-shell..
linarcx_ has quit [(Remote host closed the connection)]
<mg> ah, I can just run nix-shell --run ./myscript.sh ofcourse. Thanks clever :)
linarcx_ has joined #nixos
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
moesasji has joined #nixos
dywedir has joined #nixos
takle has quit [(Remote host closed the connection)]
<moesasji> Hi, I'm trying to get a patch ready for submission. Unfortunately stuck on "git rebase master". Anyone able to help?
<MoreTea> moesasji, stuck how exactly?
<moesasji> I get an error when running rebase: could not apply 69d75ce207
<moesasji> This is completely unrelated to any file I touched
<MoreTea> I recommend to learn more about git via 'git-from-the-bottom-up'
<moesasji> Have read those pages in the past (and yesterday when hitting this). Not something that helps me out of this as I don't see why this happens.
<MoreTea> Sorry, can't help you then.
MP2E has quit [(Quit: leaving)]
takle has joined #nixos
<moesasji> OK....thanks for looking at it! Hopefully someone who has seen this will pop by.
_rvl has quit [(Ping timeout: 240 seconds)]
goibhniu has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<LnL> what I usually do when a rebase fails is to do the cherry-pick manually
<LnL> so git reset --hard origin/master and git cherry-pick <commits...>
<linarcx_> friends. i install nixos and i want to install python.there is a lot of pythonpks. how to properly install python?
<spacefrogg> linarcx_: See the nixpkgs manual for instructions. https://nixos.org/nixpkgs/manual
<mg> Is there a way to configure what nix-shell does to $PS1?
<moesasji> LnL: would the cherry-pick happen with the commit that gives trouble and then do git rebase master?
<simpson> linarcx_: Usually you won't want Python installed; you'll want either pythonPackages.virtualenv or a nix-shell invocation like $(nix-shell -p pythonPackages.{treq,twisted})
fre has joined #nixos
<LnL> the reset drops all of the changes you want to rebase, so you need to cherry pick whatever you where working on
<LnL> (the commits that are not part of upstream master)
takle has joined #nixos
<spacefrogg> mg: If you set PS1 inside the derivation, it should not get modified by nix-shell.
<moesasji> My patch is in a separate branch on 17.03. Just trying to get that to rebase on master (and lost how to do that)
Tucky has joined #nixos
<avn> moesasji: cherry-pick can be better approach, branches diverged too much to smooth rebase
<avn> Altough my WIP branch have commit which older than year
<moesasji> So start on base and just cherry-pick the commits that are in my working branch?
<grantwu> moesasji: What was the exact error?
<grantwu> Is "could not apply" literally all it said
<moesasji> Error: could not apply 69d75ce207... release-notes: add new services for 17.03 + misc additions
<LnL> oh you're trying to rebase 17.03 onto master, that's going to be a pain
<grantwu> do you get merge conflicts you can manually resolve?
<avn> moesasji: git rebase --skip for it ;)
<grantwu> nvm, it seems like other people know what to do
takle has quit [(Ping timeout: 276 seconds)]
Tucky has quit [(Remote host closed the connection)]
<LnL> it's probably a lot easier just to cherry-pick your own commits onto master instead of doing a full rebase
<moesasji> LnL: indeed as that is what the manual says to do when preparing patches.
LinArcX has quit [(Remote host closed the connection)]
<symphorien> I usually do git rebase --onto master mybranch~ mybranch
<symphorien> it just copies the relevant commits
Tucky has joined #nixos
takle has joined #nixos
<moesasji> The git rebase --onto master mybranch indeed appears to complete. Thanks symphorien, avn, grantwu, LnL!
<LnL> ah yes I think that does something similar to what I was suggesting but automatically :)
takle has quit [(Ping timeout: 240 seconds)]
<mg> spacefrogg: nice, thanks :)
takle has joined #nixos
flyx has quit [(Quit: ZNC - http://znc.in)]
Turion has joined #nixos
flyx has joined #nixos
flyx has quit [(Client Quit)]
flyx has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
linarcx_ has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kamilchm opened pull request #28003: ponyc: 0.16.1 -> 0.17.0 (master...ponyc) https://git.io/v7oDQ
NixOS_GitHub has left #nixos []
Gravious has quit [(Quit: leaving)]
MoreTea has quit [(Ping timeout: 248 seconds)]
periklis has quit [(Ping timeout: 240 seconds)]
<avn> boo. Qt in master looks finally broken
Infinisil has quit [(Ping timeout: 240 seconds)]
<adisbladis> avn: It is. It's fixed in staging though
jensens has joined #nixos
Ivanych has joined #nixos
_Vi has quit [(Ping timeout: 255 seconds)]
<globin> avn: working on it
<avn> globin: any ideas, what happens?
<globin> testing with a merge from staging which should fix it
<avn> what commit?
<avn> Possible I will have little addition as well ;)
<globin> hmm maybe not
ThatDocsLady has joined #nixos
<avn> globin: cmakeFlags = [ "-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON"]; can helps
<cocreature> how can I figure out what commit in nixpkgs the channel I’m currently on corresponds to?
<goibhniu> cocreature: if you're using NixOS you can find out with `nixos-version`
<cocreature> goibhniu: I’m not :)
sellout- has joined #nixos
<cocreature> ah I think following the symlinks works
<cocreature> that leads me to /nix/store/p845zp2mv9a6q81mczplr3n0nqcvgipz-nixpkgs-17.09pre111388.00512470ec/nixpkgs and 00512470ec should be the commit
<goibhniu> cocreature: right ... ~/.nix-defexpr/channels/<yourchannelname>
<avn> adisbladis: nope, is other problem, I already have this commit
<globin> adisbladis: that is in master already
<sellout-> Is anyone using Scion for Haskell? The version in haskellPackages seems to be pretty old and isn’t compiling for me (on darwin) because my version of base, etc. is too new.
Myrl-saki has quit [(Ping timeout: 240 seconds)]
Infinisil has joined #nixos
faffolter has quit [(Remote host closed the connection)]
<adisbladis> Huh. I didn't know that.. I'm running a working kde setup from master so I musted have done something to fix qt apps..
<avn> globin: I try to add my fix to https://github.com/NixOS/nixpkgs/issues/27174 sametime.
<avn> globin: also I feel you can push fix right to master, because it broken anyway ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] moesasji opened pull request #28004: xfce4-session: fix lock screen not working with light-locker (master...master) https://git.io/v7oQP
NixOS_GitHub has left #nixos []
wigust has quit [(Remote host closed the connection)]
thblt has joined #nixos
MoreTea has joined #nixos
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #28005: adapta-gtk-theme: 3.90.0.125 -> 3.91.1.47 (master...upd.adapta) https://git.io/v7o7v
NixOS_GitHub has left #nixos []
Infinisil has quit [(Ping timeout: 246 seconds)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
ison111 has quit [(Ping timeout: 240 seconds)]
mpcsh has joined #nixos
<globin> Sonarpulse: o.O kidletime is another example, but the build doesn't fail with NIX_DEBUG=1...
Tucky has quit [(Remote host closed the connection)]
adev has joined #nixos
seanparsons has quit [(Read error: Connection reset by peer)]
<qknight> nixos submodules can get arguments magically, like: { config, ... }: which is not the global config but holds the attributes of the submodule as enable, and whaterver one has
<qknight> how can i call a submodule with one additional parameter, a string?
<qknight> when i try that here, it will screw up the submodule arguments and i have to pass in all of them, like the config, which is stupid as i don't know how to do that
seanparsons has joined #nixos
ison111 has joined #nixos
<sphalerite> qknight: can't you just make the additional parameter a config option?
<sphalerite> qknight: alternatively, have the module look like yourExtraParam: {config, pkgs, ...}: {...} and put (import path/to/module.nix extraParamValue) in the imports
spear2 has joined #nixos
mudri has joined #nixos
Tucky has joined #nixos
zraexy has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
gnuhurd has joined #nixos
Ivanych has quit [(Ping timeout: 260 seconds)]
simukis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nonsequitur opened pull request #28006: ruby docs: fix text and example (master...patch-2) https://git.io/v7oAi
NixOS_GitHub has left #nixos []
<qknight> sphalerite: will think about that, thanks!
saltsa has quit [(Ping timeout: 255 seconds)]
saltsa has joined #nixos
spear2 has quit [(Quit: ChatZilla 0.9.93 [Firefox 54.0/20170616104331])]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nonsequitur closed pull request #28006: ruby docs: fix text and example (master...patch-2) https://git.io/v7oAi
NixOS_GitHub has left #nixos []
hotfuzz has quit [(Quit: WeeChat 1.7.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nonsequitur reopened pull request #28006: ruby docs: fix text and example (master...patch-2) https://git.io/v7oAi
NixOS_GitHub has left #nixos []
cpennington has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v7opP
<NixOS_GitHub> nixpkgs/master 0053bf6 Bastian Köcher: QT5.6: Fixes compile error with wrong LD env variable...
<NixOS_GitHub> nixpkgs/master e7651e4 Frederik Rietdijk: Merge pull request #27940 from bkchr/fix_qt56_ld...
NixOS_GitHub has left #nixos []
ison111 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v7opd
<NixOS_GitHub> nixpkgs/staging 1271e5e Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to release-17.03: https://git.io/v7ohU
<NixOS_GitHub> nixpkgs/release-17.03 c40b85d Aneesh Agrawal: bcrypt: add required dependency on `six`...
NixOS_GitHub has left #nixos []
thblt has quit [(Ping timeout: 240 seconds)]
dbe has joined #nixos
joehh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28005: adapta-gtk-theme: 3.90.0.125 -> 3.91.1.47 (master...upd.adapta) https://git.io/v7o7v
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 6 new commits to master: https://git.io/v7oh1
<NixOS_GitHub> nixpkgs/master e3629d0 romildo: mate-icon-theme: 1.18.1 -> 1.18.2
<NixOS_GitHub> nixpkgs/master 1048cef romildo: mate-icon-theme-faenza: 1.18.0 -> 1.18.1
<NixOS_GitHub> nixpkgs/master 2f1ae93 romildo: mate-themes: 3.20.19 -> 3.20.22, 3.22.10 -> 3.22.13
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27931: Fix some KDE applications (master...kde) https://git.io/v7VUV
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v7ojs
<NixOS_GitHub> nixpkgs/master 2203908 Frederik Rietdijk: Merge commit 'b679e14' into HEAD
NixOS_GitHub has left #nixos []
justbeingglad has joined #nixos
justbeingglad has left #nixos []
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
ixxie has joined #nixos
erictapen has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
sellout- has quit [(Ping timeout: 268 seconds)]
hotfuzz has joined #nixos
zarel has joined #nixos
Jackneilll has joined #nixos
zarel has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] alexandergall opened pull request #28007: cloud-utils: fix build recipe (master...fix-cloud-utils) https://git.io/v7Kv3
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] alexandergall opened pull request #28008: nixos/cloud-image: add module (master...add-cloud-image) https://git.io/v7Kvs
NixOS_GitHub has left #nixos []
thblt has joined #nixos
gnuhurd has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
gnuhurd has joined #nixos
filterfish has quit [(Ping timeout: 240 seconds)]
iyzsong has joined #nixos
pie_ has joined #nixos
Jackneilll has quit [(Quit: Leaving)]
Jackneill has joined #nixos
darlan has joined #nixos
darlan has quit [(Client Quit)]
darlan has joined #nixos
sellout- has joined #nixos
lewo has quit [(Quit: ZNC - http://znc.in)]
lewo has joined #nixos
<cocreature> how do I figure out why `nix-build` is trying to build some derivation?
<cocreature> can I get some kind of dependency tree?
xd1le has quit [(Ping timeout: 240 seconds)]
MoreTea has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c40b85d4fd (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
zraexy has quit [(Ping timeout: 246 seconds)]
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
revtintin has quit [(Ping timeout: 240 seconds)]
phreedom has quit [(Remote host closed the connection)]
Wizek has quit [(Quit: Connection closed for inactivity)]
MoreTea has joined #nixos
<MoreTea> cocreature, drv_file=$(nix-instantiate -A yarn2nix); nix-store --tree -q $drv_file
<MoreTea> (not sure if I posted this before; my IRC client disconnected because of a timeout)
_Vi has joined #nixos
<cocreature> MoreTea: perfect, thanks!
<MoreTea> niksnut, would this use-case still be available if we'd skip the .drv phase ;)?
<domenkozar> MoreTea: what use case?
<domenkozar> how can use case be available
<MoreTea> hehe, I meant printing the build-dependencies by instantiating a .nix to a .drv file
<domenkozar> you can't do that without drv, yes
<joehh> How do I create a derivation from just a folder of files?
<joehh> I can use fetchhg or fetchgit, how do I something similar for a directory?
<joehh> ie local directory
<symphorien> src = ./.;
<joehh> is that with mkDerivation?
<symphorien> yes
<MoreTea> only derivations are stored in /nix/store
<joehh> do I need to supply a builder?
erictapen has quit [(Ping timeout: 260 seconds)]
<Ankhers> gchristensen: Have you had a chance to start building the skeleton for the pills?
<spacefrogg> joehh: You do the same you would have done otherwise but supply the source as src = ./.;
<MoreTea> You can either do something like `stdenv.mkDerivation { name = 'xxx'; buildCommand = ''cp -R ${./dir_with_files} $out''; }
<clever> MoreTea: there is also runCommand
<spacefrogg> Ah, just copying all files in a directory? pkgs.runCommand "foo" {} ''mkdir $out; cp -R ${./foobar} $out''; }
Myrl-saki has joined #nixos
<clever> spacefrogg: you dont even need that, just ./foobar is enough to copy that dir
<joehh> MoreTea: I think that is what I am after, but without the cp etc
<spacefrogg> Right.
<clever> though the name will be foobar, rather then foo
<spacefrogg> ;0
nix-gsc-io`bot has joined #nixos
<joehh> right so just src = ./foobar
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f152749c99 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<spacefrogg> joehh: What do you want to do exactly?
dywedir has quit [(Ping timeout: 268 seconds)]
<joehh> I'm wanting to build a profile with a set of packages installed
<joehh> most of those will be standard (or my custom packages), but I also want to provide
<joehh> some configuration files in the profile (in the root directory of the profile)
<joehh> these I will normally provide via hg using fetchhg and nix-prefetch-hg etc
<spacefrogg> Profile in terms of nix profiles?
<joehh> but I'd like to be able to "test" it all before committing and pushing my repo
<joehh> yes, nix-env -r -i myCombinedPackageAndConfigSet
arximboldi has joined #nixos
<clever> joehh: something else, if your only testing, try to stick to nix-build, rather then nix-env
<joehh> yes -
<clever> nix-env keeps track of every version you install, and wont let you GC things
<joehh> nix-env would be for deployment, but I'd inspect and run through the ./result
peti has quit [(Ping timeout: 255 seconds)]
peti has joined #nixos
<joehh> but replace the chunk at line 105 with a local directory
<clever> joehh: if <boolean> then pkgs.fetchgit { ... } else ./localdir
<joehh> ahh - trivial
<joehh> so I can just put a directory into the paths attribute of buildEnv
<clever> yeah
goibhniu1 has joined #nixos
reinhardt has joined #nixos
<clever> derivations turn into directories automatically
<joehh> so simple when you know how :)
aanderse_ has quit [(Remote host closed the connection)]
<clever> for example, pkgs.ncdu just becomes /nix/store/<hash>-ncdu-1.2.3
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/v7Kss
<NixOS_GitHub> nixpkgs/master f379725 nonsequitur: ruby docs: fix text and example (#28006)...
NixOS_GitHub has left #nixos []
aanderse has joined #nixos
<joehh> I'd been wondering about that - when I deploy, I use the nix store path to install it into the profile
<joehh> I'd been thinking there was some sort of dichotomy there
goibhniu has quit [(Ping timeout: 260 seconds)]
<joehh> once again thanks very much clever, spacefrogg, MoreTea, symphorien and everyone else
<joehh> keep being amazed at how well nix is tuned for doing this sort of stuff
goibhniu1 is now known as goibhniu
reinzelmann has quit [(Ping timeout: 240 seconds)]
reinhardt has quit [(Quit: Leaving)]
ixxie has quit [(Quit: Lost terminal)]
erictapen has joined #nixos
Sonarpulse has quit [(Ping timeout: 246 seconds)]
Mercuria1Alchemi has quit [(Ping timeout: 260 seconds)]
<NickHu> Is there anyone around that can look at my haskell accelerate pull request? It's been stalled for 2 weeks now: https://github.com/NixOS/nixpkgs/pull/27617
* domenkozar looking
<NickHu> Thanks, I replied on github
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 2 new commits to master: https://git.io/v7Kcc
<NixOS_GitHub> nixpkgs/master 34beeac Nick Hu: fix haskellPackages.cuda and some tools dependent on cudatoolkit
<NixOS_GitHub> nixpkgs/master 4f80406 Domen Kožar: Merge pull request #27615 from NickHu/cuda...
NixOS_GitHub has left #nixos []
frankpf has joined #nixos
<thblt> Is there a way, in a file imported from configuration.nix, to override a parameter already explicitely set?
<thblt> Context: I try to create a ./class/hidpi.nix which replaces some settings with values appropriate for HiDPI laptops, eg i18n.consoleFont.
<thblt> Or can I define a new option for that maybe?
<symphorien> option = lib.mkForce ....
<NickHu> thbit: Why not just check if that variable is already set when you set it in the imported file?
<MoreTea> thblt, that would be worthy of a PR :)
<MoreTea> I tried to install NixOS on a Mac Pro, with a Retina display, but it's not very usable by default
moesasji has quit [(Ping timeout: 260 seconds)]
<thblt> MoreTea: It works for me except for details, but most of the HiDPI-related settings are in dotfiles
<thblt> NickHu: that would require me to import the files in a given order for the override to work, right?
<thblt> symphorien: thank you, looking at that.
<symphorien> maybe look at lib.mkDefault instead
frankpf has quit [(Ping timeout: 240 seconds)]
silver_hook has quit [(Ping timeout: 276 seconds)]
<NickHu> thblt: Not necessarily, just check it every time you try to set it
<thblt> lib.mkForce did the job, thank you symphorien :)
Sonarpulse has joined #nixos
eacameron has joined #nixos
pie_ has quit [(Ping timeout: 260 seconds)]
iyzsong has quit [(Ping timeout: 255 seconds)]
<thblt> MoreTea: btw, if you use the minimal installer, setfont and a set of large fonts are available.
<NickHu> If someone could also look at my autocomplete-all-the-things pr that would be great too :) https://github.com/NixOS/nixpkgs/pull/27823
kiloreux has joined #nixos
ison111 has joined #nixos
<cocreature> Hey, ghcjs is currently broken in unstable because haddock-api and haddock 2.18 don’t build with GHC 8.0. I know it’s fixed in master but to improve my nix foo I thought I could try to figure out how to overwrite just haddock and haddock-api. I came up with http://lpaste.net/357490 where haddock-api.nix and haddock.nix contain the derivations for the 2.17 releases but when I run "nix-build" it’s still
<cocreature> trying to build haddock-api 2.18. what am I missing here?
adeohluwa has joined #nixos
<adeohluwa> wondering if nix os supports sublime text & yarn package manager
cement has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
<MoreTea> adeohluwa, for yarn, take a look at my yarn2nix project
sellout- has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #28010: facter: 3.6.6 -> 3.7.1 and related deps (master...bump/facter-3.7.1) https://git.io/v7K82
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
<Sonarpulse> globin: hmmm
<Sonarpulse> it's almost like I inverted DONT_SET_RPATH
<Sonarpulse> also, sorry to have been taken aback at your "fix eval" commit
<globin> Sonarpulse: no worries
<adeohluwa> MoreTea: bless, will come disturb u if I encounter any issues
longrin has joined #nixos
u- has joined #nixos
fre has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wmertens closed pull request #27426: nginx: make enabling SSL port-specific (master...nginx) https://git.io/vQFzR
NixOS_GitHub has left #nixos []
joehh has quit [(Ping timeout: 246 seconds)]
Turion has quit [(Ping timeout: 260 seconds)]
contrapumpkin has joined #nixos
sellout- has joined #nixos
miguelnegrao has joined #nixos
nwuensche has joined #nixos
<nwuensche> Hi everybody! I'd like to install NixOS in a virtual machine. However, when I nixos-install, I always get the error message: "curl: (6) Couldn't resolve host 'cache.nixos.org'. What can I do?
erasmas has joined #nixos
<srhb> nwuensche: can you resolve or ping anything in the vm? does it have internet at all?
<nwuensche> Jup, I pinged 8.8.8.
<nwuensche> Jup, I pinged 8.8.8.8
jbaum98 has joined #nixos
<srhb> nwuensche: And how about lookups?
<srhb> ie. host google.com
<srhb> eg*
<clever> nwuensche: and what is in /etc/resolv.conf
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #28011: zabbix-cli: 1.6.1 -> 1.7.0 (master...bump/zabbix-cli-1.7.0) https://git.io/v7KRz
NixOS_GitHub has left #nixos []
leat has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/c40b85d4fd (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
<nwuensche> nameserver 192.168.2.1
<nwuensche> options edns0
Turion has joined #nixos
<srhb> nwuensche: What I meant to ask is: Is it only cache.nixos.org you can't resolve?
miguelnegrao has quit [(Quit: miguelnegrao)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/v7K03
<NixOS_GitHub> nixpkgs/staging 810fb0c John Ericson: cc-wrapper: Don't slurp `NIX_DONT_SET_RPATH` twice...
NixOS_GitHub has left #nixos []
jonte_ has joined #nixos
<nwuensche> Yes. However, I also get: /nix/store/vk...-bin/bin/xz: (stdin) File format not recognized
<nwuensche> error: unexpected end-of-file
frankpf has joined #nixos
<clever> nwuensche: nix will pipe curl directly into xz to uncompress the nar.xz's
<clever> nwuensche: but if curl fails the download, xz gets a 0 byte input
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #28012: ld-wrapper: Fix adding directories to rpath (staging...ld-wrapper) https://git.io/v7KEz
NixOS_GitHub has left #nixos []
<nwuensche> Ok, so what can I do to solve this?
u- has quit [(Quit: Using Circe, the loveliest of all IRC clients)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/v7Kuc
<NixOS_GitHub> nixpkgs/master 795c003 Gabriel Ebner: isabelle: use polyml 5.6...
NixOS_GitHub has left #nixos []
<clever> nwuensche: what does "ping cache.nixos.org" say?
erictapen has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #28013: pick: 1.6.1 -> 1.7.0 (master...bump/pick-1.7.0) https://git.io/v7KuK
NixOS_GitHub has left #nixos []
<nwuensche> 0% package loss
<clever> nwuensche: and what command fails with an error?
sauyon has joined #nixos
Tucky has quit [(Remote host closed the connection)]
<nwuensche> build of '/nix/store/4b...-nixos-system-17.03.1645....drv' failed
sauyon has quit [(Client Quit)]
Myrl-saki has quit [(Ping timeout: 255 seconds)]
cmcdragonkai1 has joined #nixos
sauyon has joined #nixos
cmcdragonkai has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v7KgJ
<NixOS_GitHub> nixpkgs/master 4825e48 Tim Steinbach: linux: 4.9.40 -> 4.9.41
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/v7KgI
<NixOS_GitHub> nixpkgs/release-17.03 92dfc19 Tim Steinbach: linux: 4.9.40 -> 4.9.41...
NixOS_GitHub has left #nixos []
joachifm has quit [(Ping timeout: 240 seconds)]
jonte_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v7Kg6
<NixOS_GitHub> nixpkgs/master ea2a10e Tim Steinbach: linux: 4.4.79 -> 4.4.80
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/v7KgP
<NixOS_GitHub> nixpkgs/release-17.03 4dc413a Tim Steinbach: linux: 4.4.79 -> 4.4.80...
NixOS_GitHub has left #nixos []
vinymeuh has joined #nixos
eschnett has quit [(Quit: eschnett)]
alx741 has joined #nixos
alx741 has quit [(Client Quit)]
Ivanych has joined #nixos
alx741 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v7K2O
<NixOS_GitHub> nixpkgs/master 06af1df Tim Steinbach: linux: 4.13-rc3 -> 4.13-rc4
NixOS_GitHub has left #nixos []
ison111_ has joined #nixos
pie_ has joined #nixos
ison111_ has left #nixos []
<nwuensche> Nobody knows what I can do?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v7K25
<NixOS_GitHub> nixpkgs/master 4edcfa3 Tim Steinbach: gradle: 4.0.2 -> 4.1
NixOS_GitHub has left #nixos []
tmaekawa has joined #nixos
<srhb> nwuensche: It sounds to me like you're having an intermittent networking problem. First, you couldn't resolve cache.nixos.org, but as I understand it, now you can.
<srhb> That's hard to help with.. :/
<nwuensche> I can ping it, but curl still doesn't know what to do...
<srhb> nwuensche: Even if you manually curl something?
<srhb> (Which I just tested)
bfrog has joined #nixos
adev has quit [(Quit: Ex-Chat)]
ison111 has quit [(Ping timeout: 255 seconds)]
<nwuensche> It cannot resolve any host, I tested it.
sellout- has quit [(Quit: Leaving.)]
<nwuensche> Oh wait, it can resolve some
<srhb> I wonder if it's the ipv6 issue again
moesasji has joined #nixos
<srhb> curl -4 the same url?
<nwuensche> It can resolve google.com, but not tinyurl and not cache.nixos
<srhb> Try with -4 please
Ivanych has quit [(Ping timeout: 276 seconds)]
<clever> srhb: ive seen one router that didnt use v4/v6 as a cache key in its dns cache, so it could return a v6 reply to a v4 query!
<srhb> clever: !fun!
<clever> nwuensche: try editing /etc/resolv.conf and set it to use 8.8.8.8 directly
<nwuensche> So should I do: nameserver 8.8.8.8?
<srhb> Yeah
<clever> yeah
endformationage has joined #nixos
ison111 has joined #nixos
<nwuensche> Ok, that works with the new nameserver. But I get a new error
<srhb> nwuensche: Yes?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #27684: linux: BFQ Group Scheduling support (master...bfq) https://git.io/v7Zez
NixOS_GitHub has left #nixos []
<nwuensche> error: nix/store/...grub-2..../sbin/grub-installation: error: will not proceed with blocklists
<clever> nwuensche: do you want to boot with legacy or uefi?
<nwuensche> legacy
<clever> is the partition table gpt or mbr?
<nwuensche> Where can I find this out? fdisk -l doesn't show it
<clever> Disklabel type: dos
<clever> in the fdisk -l output
<nwuensche> Sorry, I overlooked it. It's gpt
<clever> to boot via legacy on gpt, you must create a bios boot partition, 1mb, no fs, never mounted
<clever> Command (m for help): i
<clever> Type-UUID: 21686148-6449-6E6F-744E-656564454649
<clever> Attrs: LegacyBIOSBootable
<clever> nwuensche: this is what fdisk should say about it when you run the i command on it
mkoenig has quit [(Ping timeout: 260 seconds)]
<nwuensche> Sorry for the newbie question, but how can I decide if my system can use UEFI?
<clever> look in the bios config to see if it mentions uefi or efi or secure boot
mkoenig has joined #nixos
<nwuensche> Ok, so I will reboot my PC and find it out. Thank you so much so far!
nwuensche has quit [(Quit: Leaving)]
<nliadm> hm, makeWrapper --prefix doesn't work with LUA_PATH, I'm assuming because it doesn't quote the '?'s in the string
jgertm has joined #nixos
nwuensche has joined #nixos
<nwuensche> Hello. So the BIOS says: "UEFI/Legacy Boot - Both" + "UEFI/L Boot Priority - L first" Do I have to change this to make UEFI work or not?
<clever> nwuensche: simplest thing is to just make the bios boot partition and boot via legacy
tmaekawa has quit [(Quit: tmaekawa)]
<nwuensche> Ok. I have a 500 MiB partition that I mounted into /mnt/boot. Can I unmount that and use this one?
<clever> umount it, delete it, then create 2, a bios boot (1mb) and a replacement /boot (499mb)
<moesasji> I'm trying to get xfce user switching to work; on other linux systems I do this by creating /usr/bin/gdmflexiserver calling light-locker-command -l.
<clever> and then mount the 499mb to /mnt/boot after formatting again
<clever> nwuensche: and set the type right on the 1mb
<clever> nwuensche: then nixos-generate-config --root /mnt and nixos-install
<clever> it will reuse the existing rootfs, as long as you mount it to /mnt/
<moesasji> NixOS doesn't have /usr/bin....any pointers how to create a bash-script that gets called ?
ison111 has quit [(Ping timeout: 240 seconds)]
<clever> moesasji: #!/usr/bin/env bash
<moesasji> that is for a bash script....I need to install a script in /usr/bin or equivalent that gets called. That is the bit I can't figure out.
<clever> moesasji: this creates 3 bash scripts, and then i can just do something like environment.systemPackages = [ (pkgs.callPackage ./util.nix {}) ];
<dtzWill> blargh I probably can't repro but just b/c I need some sanity: if a store path (derivation output produced with nix-build) contains 1)trivial textual references to store other store paths or especially 2)symlinks to said store paths then ... "nix-store -qR /nix/store/my-output" should definitely include things mentioned via 1 and 2... right??
<clever> dtzWill: yes
<moesasji> Thanks! Only puzzle that remains is how to let xfce-session find the script I create that way. This system really takes some getting used to.
<dtzWill> usually just mentioning in a log or something is enough, which is "annoying" for various jobs I have that analyze paths (without doing something like nuke-references)
<clever> dtzWill: but only if you got those paths via a derivation
<dtzWill> clever: thank you
<clever> dtzWill: if you hard-code a storepath as a string, it wont
<dtzWill> clever: lol oh >.<
<clever> dtzWill: every string in nix has some magic context on it, the dependencies of the string
<dtzWill> clever: what if I manage to sneak a store path (let's say I put it in an encrypted zip for sake of discussion) through an intermediate derivation
<clever> dtzWill: the builtins.derivation function creates a string (the output path) that depends on the derivation
<dtzWill> clever: and then extract them all
<clever> dtzWill: and if any string with context is pased to derivation, they become build-time deps
* dtzWill looks and reads clever's suggestion carefully
<clever> and only the build-time deps are looked for in the output
<dtzWill> okay
<dtzWill> you don't say!!
<dtzWill> okay
<clever> also, you should really build with sandboxing on
<dtzWill> well then that's enough to go by, I think I can go from here. Guess I just never managed to produce store paths during a derivation without them being (transitively) build inputs somehow haha
<dtzWill> I definitely do! haha
<clever> that will enforce you to only access things that are properly defined as build inputs
<clever> so if you cheat, the files just wont exist
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wmertens pushed 2 new commits to master: https://git.io/v7KKt
<NixOS_GitHub> nixpkgs/master bcc2858 Kranium Gikos Mendoza: pick: 1.6.1 -> 1.7.0
<NixOS_GitHub> nixpkgs/master 5ac09bc Wout Mertens: Merge pull request #28013 from womfoo/bump/pick-1.7.0...
NixOS_GitHub has left #nixos []
<clever> then you'll know you cheated
<dtzWill> yeah taht's actually the problem, lol
<dtzWill> I managed to obfuscate the store paths (and don't put them in nix-support/something-or-other), and then later derivations that analyze these paths are magically producing paths that the sandbox is like NOPE xD
<dtzWill> so I created intermediate derivation that tries to tell Nix about the paths
<clever> ah
<dtzWill> hmm interesting. I suppose this means I'm doing something the wrong way, thank you very much
<clever> yeah
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wmertens pushed 2 new commits to master: https://git.io/v7KKz
<NixOS_GitHub> nixpkgs/master a852d39 Kranium Gikos Mendoza: zabbix-cli: 1.6.1 -> 1.7.0
<NixOS_GitHub> nixpkgs/master 5df2798 Wout Mertens: Merge pull request #28011 from womfoo/bump/zabbix-cli-1.7.0...
NixOS_GitHub has left #nixos []
<dtzWill> I was stuck b/c I didn't think Nix (to the extent it was able) /allowed/ a store path to reference another path in an untracked way
<dtzWill> and mix in some copying of paths around and I managed to get paths that didn't exist in my store at all, sandbox or no haha
<dtzWill> and was like @.@ what surely not
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wmertens pushed 3 new commits to master: https://git.io/v7KKa
<NixOS_GitHub> nixpkgs/master b416579 Kranium Gikos Mendoza: leatherman: 0.11.2 -> 1.0.0
<NixOS_GitHub> nixpkgs/master b99f162 Kranium Gikos Mendoza: facter: 3.6.6 -> 3.7.1
<NixOS_GitHub> nixpkgs/master ba203e4 Wout Mertens: Merge pull request #28010 from womfoo/bump/facter-3.7.1...
NixOS_GitHub has left #nixos []
<dtzWill> haha
<clever> builtins.unsafeDiscardStringContext is also a fun function
<clever> that strips all context from a string
<clever> so i can make a config file that does "foo=${builtins.unsafeDiscardStringContext bar}", and that config wont depend on bar
<clever> but it will have bar's absolute path
<dtzWill> it's actually impressive I went so long (I rely heavily on references for various things) under the false impression Nix would always know if I managed to reference a path
<dtzWill> ahh okay
<clever> the last time i used that, i squashfs'd an entire nixos up, then jammed that into an initrd
<dtzWill> xD
<clever> but i needed to refer to a path that will exist inside the squashfs, on the kernel cmdline
<clever> and nix wants to haul along the entire uncompressed copy of nixos
<clever> dtzWill: there is also a related problem that cant easily be fixed
<nwuensche> clever: Is the right Label ef02 BIOS boot partion?
<clever> nwuensche: i think so
<clever> nwuensche: double-check what the i command says about it
<clever> after you set that type
<clever> 2017-08-07 13:03:46 < clever> Type-UUID: 21686148-6449-6E6F-744E-656564454649
<clever> 2017-08-07 13:03:48 < clever> Attrs: LegacyBIOSBootable
<clever> dtzWill: <nixos/lib/make-disk-image.nix> creates a full disk image containing a copy of the closure you specified
<clever> dtzWill: that also contains the filenames for everything in the closure, so it depends on the entire closure!
digitus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wmertens closed pull request #28003: ponyc: 0.16.1 -> 0.17.0 (master...ponyc) https://git.io/v7oDQ
NixOS_GitHub has left #nixos []
longrin has quit [(Quit: Leaving.)]
<dtzWill> haha
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wmertens closed pull request #28004: xfce4-session: fix lock screen not working with light-locker (master...master) https://git.io/v7oQP
NixOS_GitHub has left #nixos []
vinymeuh has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<mpcsh> hey, so a few days ago I had a PR accepted, is there a time frame for when it would be included in unstable?
ison111 has joined #nixos
<mpcsh> clever: right, so that says nixos-unstable is 11 days old, but is there any way to tell how often it's been updated in the past?
zeus__ has joined #nixos
<clever> 2017-08-07 10:25:38 -nix-gsc-io`bot:#nixos- Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f152749c99 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> mpcsh: check the irc logs for this bot
ertes-w has quit [(Ping timeout: 255 seconds)]
<nwuensche> I installed it! Thank you all so much!
<srhb> mpcsh: More relevantly, can you tell when it will update in the future? No, it will update when the tests pass.
<srhb> nwuensche: Yay! :)
<clever> srhb: right now, sddm is broken on master
<srhb> Yeah, I noticed.
<srhb> QT stuff?
<clever> yeah
adeohluwa has quit [(Quit: Connection closed for inactivity)]
erictapen has joined #nixos
ambro718 has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
MoreTea has quit [(Ping timeout: 246 seconds)]
ThatDocsLady has quit [(Ping timeout: 255 seconds)]
rauno has joined #nixos
tvon has joined #nixos
<rauno> hey all, is there an alternative to python-parse in nix packages ?
<rauno> coudln't find anything atm
<rauno> can't install with pip inside nix-shell either
zraexy has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
_rvl has joined #nixos
<srhb> rauno: Is it the package called parse on pypi?
<rauno> ye
zarel has joined #nixos
<kragniz> any nixos people at sha2017?
<srhb> rauno: `pypi2nix -V 3.5 -e parse` generates a nix shell that appears to work
<srhb> rauno: (That is, I can do from parse import * and the small example works)
<rauno> oh
<simpson> kragniz: You are not the first to ask, but I cannot remember the nicks of the others.
<rauno> this pypi2nix can work with requirements.txt also ?
<mpcsh> srhb: srhb is there a way to see test progress?
<srhb> rauno: That's the default behaviour
<srhb> mpcsh: Click the link :)
<rauno> nice, i'll check it our right away :)
<srhb> mpcsh: Leftmost column is the most recent run
kiloreux has quit [(Ping timeout: 255 seconds)]
<kragniz> simpson: /me looks through logs
<mpcsh> srhb: wait, which link?
<srhb> mpcsh: On howoldis.herokuapp.com, the rightmost column "Hydra job for tests" - click the one corresponding to nixos-unstable
<srhb> mpcsh: The leftmost column there (the most recent build of the test set) has to be all checkmarks for nixos-unstable to advance to master..
ThatDocsLady has joined #nixos
<mpcsh> srhb: is that top axis git commits?
<mpcsh> srhb: ah nvm, they're hydra build ids
<srhb> mpcsh: In the hydra page? No, they are build numbers.
<srhb> Yeah :)
<srhb> You can click them and get details or reproduce a specific test by clicking the icons next to the specific test.
<srhb> (Most if not all of them right now is: error while loading shared libraries: libQt5Xml.so.5: cannot open shared object file: No such file or directory)
<mpcsh> srhb: ok yeah, this is the page I needed, thank you!
<srhb> Oh, no, there's also a few others
<srhb> mpcsh: Cool! :)
erictapen has quit [(Ping timeout: 260 seconds)]
thblt has quit [(Remote host closed the connection)]
ericsagnes has quit [(Ping timeout: 240 seconds)]
_rvl has quit [(Ping timeout: 240 seconds)]
kiloreux has joined #nixos
detran has joined #nixos
gnuhurd has joined #nixos
<copumpkin> zimbatm: are you looking into the terraform 0.10 stuff? I might soon
frankpf has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 255 seconds)]
ericsagnes has joined #nixos
mbrgm has joined #nixos
mbrgm has quit [(Client Quit)]
<zimbatm> copumpkin: not actively
takle has joined #nixos
<copumpkin> ok :)
<copumpkin> just didn't want to duplicate work if you were on it
nwuensche has quit [(Quit: Leaving)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4dc413acc8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
ambro718 has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
nwuensche has joined #nixos
thblt has joined #nixos
jgertm has quit [(Ping timeout: 255 seconds)]
<nwuensche> So I have another question. I used the nixos .iso without the graphical stuff, but now I want to use i3(wm). Is it possible to install X11 with a package? I couldn't find one
arximboldi has quit [(Quit: arximboldi)]
<srhb> nwuensche: In the installer or on your installed system?
<nwuensche> On my installed system
<srhb> nwuensche: In general you'll want to enable X via configuration.nix
<srhb> nwuensche: And then nixos-rebuild switch
<srhb> services.xserver.enable = true; will enable the xserver, but perhaps you also want a display manager and a de.
<srhb> nwuensche: Look at these options: https://nixos.org/nixos/options.html#xserver
<nwuensche> I had a problem doing this, but now I found a typo in my config... Thanks nevertheless
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<cocreature> I’ve asked this a few hours ago but hadn’t received a response so I’ll try again. I hope that’s ok.
<cocreature> Hey, ghcjs is currently broken in unstable because haddock-api and haddock 2.18 don’t build with GHC 8.0. I know it’s fixed in master but to improve my nix foo I thought I could try to figure out how to overwrite just haddock and haddock-api. I came up with http://lpaste.net/357490 where haddock-api.nix and haddock.nix contain the derivations for the 2.17 releases but when I run "nix-build" it’s still
<cocreature> trying to build haddock-api 2.18. what am I missing here?
jensens has quit [(Ping timeout: 258 seconds)]
_rvl has joined #nixos
vinymeuh has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
<sphalerite> Anyone know of a decent way to rsync between two machines neither of which has a public IP address?
<sphalerite> somehow relaying via a third machine which does is an option, but I do want the connection to be secure
arximboldi has joined #nixos
<grantwu> IPv6 tunnels?
<grantwu> Wait, no that doesn't work
<rauno> another question about nix-shell, wondering why i can't connect to qemu from there ?
<thblt> both rsync in turn to third machine?
ThatDocsLady has quit [(Ping timeout: 255 seconds)]
<zarel> sphalerite: I used tinc + a discovery node (which is part of the VPN) and it managed to direct connect tho machines behind NAT
athan has quit [(Remote host closed the connection)]
<srhb> cocreature: iirc you'll want packages = super.haskell.packages // { ... as well
<srhb> cocreature: And if that's your user config, you might want to try using an overlay
<srhb> Oh, that's a local package config. Nevermind then :)
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
<srhb> cocreature: I'm actually a little unsure what's going on with the inherit there. Why not simply create myHaskell = super.haskell // { etc ...} and then use callPackage from there?
<srhb> Or pass in the overridden derivations explicitly in callPackage
tommd has joined #nixos
simukis has quit [(Quit: simukis)]
<cocreature> srhb: I just copied that from somewhere, I’m new to nix :)
simukis has joined #nixos
<srhb> cocreature: Oh, ok!
<srhb> cocreature: Let me see if I have a small example lying around
<thblt> Apologies in advance, for I'm probably missing something obvious, but. I'm trying to change the default console font to Terminus28, so I'm adding terminus_font to environment.systemPackages and i18n.consoleFont = pkgs.lib.mkForce "Lat2-Terminus28"; nixos-rebuild switch fails because systemd-vconsole-setup.service fails to start.
<thblt> Full code is here: https://pastebin.com/FwdgE8RZ This is /etc/nixos/class/hidpi.nix, which is imported from configuration.nix
<sphalerite> zarel: that looks like a neat option, do you know anything about configuring tinc on nixos? It seems to be pretty simple but I don't understand how to set up the hosts part
<srhb> cocreature: The top comment is funny :-P
<cocreature> :)
<srhb> cocreature: Anyway, when you have a callPackage like that, you can just override the arguments to it
<cocreature> srhb: at least the overrides in packages do take effect. if I just replace ghcjsHEAD by some garbage, it actually fails
<cocreature> but apparently I’m not overriding all references to haddock and haddock-api
_Vi has quit [(Ping timeout: 258 seconds)]
<srhb> cocreature: Oh, really. Let me reread.
takle has joined #nixos
<cocreature> the "compiler" stuff I came up with myself so I suspect that that’s broken :)
athan has joined #nixos
<cocreature> srhb: looking at the dependency tree https://gist.github.com/cocreature/c3551b8c2b042517e237fdd1c5c9589b it seems like it’s a direct dependency of some ghcjs derivation
tokudan has joined #nixos
<srhb> Okay, yeah, I've no idea about overriding compiler like that. *thinks*
ison111 has quit [(Ping timeout: 240 seconds)]
Ivanych has joined #nixos
<thblt> Answering my own question: terminus_font doesn't provide *console* fonts. I was, indeed, missing something obvious.
jbaum98 has quit [(Quit: Connection closed for inactivity)]
erictapen has joined #nixos
<pbogdan> thblt: 'consoleFont = "${pkgs.terminus_font}/share/consolefonts/ter-i32n.psf.gz";' works for me on 17.03 FWIW
jgertm has joined #nixos
<thblt> pbogdan: thanks! I forgot about the $ substitution.
thblt has quit [(Remote host closed the connection)]
<cocreature> srhb: looks like http://lpaste.net/357498 might work. (still compiling the world)
ison111 has joined #nixos
<srhb> cocreature: OK, that's good. I was still trying to produce a minimal (broken) example :-P
<cocreature> <I have no idea what I’m doing.gif>
thblt has joined #nixos
<cocreature> srhb: if you want to try to reproduce using a not-so-minimal example, clone the miso repo and run "nix-build release.nix" https://github.com/haskell-miso/miso/blob/master/release.nix with an up2date unstable channel
<cocreature> although I guess the nix config could count as minimal
<srhb> cocreature: haddock-api.cabal: This package requires at least Cabal version 2.0
<srhb> ?
<cocreature> srhb: exactly
<srhb> cocreature: OK
nwuensche has quit [(Quit: Leaving)]
eacameron has quit [(Quit: Leaving...)]
joachifm has joined #nixos
joachifm has quit [(Client Quit)]
<cocreature> as I mentioned before it’s fixed in master. at this point I’m mostly trying to improve my nix-foo by figuring out how I could overwrite haddock to get this working again
joachifm has joined #nixos
<srhb> cocreature: Yeah :)
<cocreature> maybe I should have chosen something with shorter compile times to make it easier to experiment :P
leat has quit [(Quit: leat)]
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
goibhniu has joined #nixos
leat has joined #nixos
ambro718 has joined #nixos
periklis has joined #nixos
vinymeuh has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
ertes has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.9)]
<srhb> cocreature: I didn't manage to clean it up much, really, but perhaps you can use some ideas..
arximboldi has quit [(Quit: arximboldi)]
<srhb> Oops, I named packages.ghc802 inconsistently, it should have been myghc802
<srhb> cocreature: Anyway, it's not really an improvement as much as it is a style change. q_q
Fare has joined #nixos
<Fare> hi!
<srhb> Fare: Hello.
<cocreature> srhb: thanks so much your help! as I said before I’m new to nix so style changes are very helpful :)
<srhb> cocreature: I hope you glean something from it at least. I learned something as well. :)
<srhb> (bootPkgs)
<Fare> I'm trying to setup a nix build server, and I'm not sure how to configure client and server to both use the same non-channel fork of nixpkgs
<srhb> Fare: nix.nixPath ?
<srhb> It can get a bit finicky since if you use a fetchfromGitHub there, it will only actually affect the nixpkgs used *after* a rebuild
<Fare> srhb: I have no idea. Where would I set that up? Is it a matter of environment variables? How do I tell, e.g. the server (over ssh) to use (or initialize) the correct NIX_PATH (or whatever)
georgiy has joined #nixos
<srhb> But basically nix.nixPath = [ ("nixpkgs=" + (fetchFromGitHub ...).outPath) ];
<srhb> It's not really a clean solution imo, perhaps someone else has a better idea.
<Fare> oh, so first use nixos-rebuild switch to build the server, with the server pointing to the right place?
<Fare> then the server uses the configured nix.nixPath
<srhb> Yes.
<Fare> thanks
<srhb> The ugly thing is that it now takes two rebuilds: one to switch the revision, another to build the system resulting from the altered revision
<srhb> ymv
<srhb> ymmv*
erictapen has quit [(Ping timeout: 240 seconds)]
<Fare> meanwhile, when I install the server itself, it will install from its own channels.
<srhb> Well, purity means that doesn't matter. :-P
<Fare> usability means it's annoying, but oh well, there is worse.
ison111_ has joined #nixos
<srhb> Yes... Manually keeping a checkout in sync between servers might be more annoying though
<srhb> I know, network mount nixpkgs! What could possibly go wrong. :-)
<Fare> :-(
tvon has quit [(Quit: Peace out, y'all!)]
erictapen has joined #nixos
<srhb> Fare: Hang on, doesn't the build server actually get nixpkgs from the client?
<srhb> I mean, for the purpose of being a build server.
Fare has quit [(Ping timeout: 260 seconds)]
MP2E has joined #nixos
Nobabs27 has joined #nixos
tnks has joined #nixos
<tnks> I'm reading the code for makeOverridable, and as expected simultaneously vommitting and getting a headache.
_Vi has joined #nixos
<tnks> I just forget some of the nuances.
<tnks> But I was trying to figure out if there's really a difference between .override and .overrideAttrs.
<tnks> does someone know the answer to that? Otherwise, I'll puzzle over this snippet more.
<LnL> lol, it's not that bad is it?
<ndash_> tnks: yes, .override replaces the args to a function returning a derivation
<ndash_> .overrideAttrs replaces attributes in the result itself
<tnks> ndash_: ah, that makes more sense now.
<tnks> ndash_: thanks.
<LnL> well it replaces the arguments passed to stdenv.mkDerivation I think
<srhb> LnL: "it" ?
<LnL> overrideAttrs
Fare has joined #nixos
<srhb> LnL: Thanks :)
<tnks> ndash_: however, this is what the docs say, "The function overrideAttrs allows overriding the attribute set passed to a stdenv.mkDerivation call"
<tnks> ndash_: that seems to conflict what you just said, which is why I ended up in the source.
<LnL> override is more generic, it allows overriding arguments of a function that returns an attrset of another function
<MP2E> hmm, I pulled the latest nixpkgs master, but it seems the recent staging merge containing binutils 2.29 broke some things. When building a wine wow64 derivation, it fails on linking, it's seemingly unable to find the 32-bit libdl.so.2
<MP2E> just a heads up
erictapen has quit [(Ping timeout: 240 seconds)]
<tnks> LnL: override now has an "isFunction" check and seems to do both.
gnuhurd has quit [(Remote host closed the connection)]
<tnks> I suppose I should look at the history of this function in Git too.
gnuhurd has joined #nixos
tokudan has quit [(Quit: Leaving)]
<cocreature> srhb: after waiting way to long for ghcjs to build, I can confirm that it actually worked \o/ :)
<srhb> cocreature: Hooray! I cannot confirm that mine does. ;-)
<cocreature> srhb: it does work too and it’s even close enough to mine that it doesn’t rebuild everything again :)
<srhb> Oh, magical!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/v76JI
<NixOS_GitHub> nixpkgs/master 2f9724e Cray Elliott: ffmpeg, ffmpeg-full: 3.3.2 -> 3.3.3
NixOS_GitHub has left #nixos []
<tnks> I think I might understand more now. I was thinking of it wrong. That's why I'm revisiting this in the first place... it's easy to forget the details.
ison111_ has left #nixos ["WeeChat 1.7.1"]
<tnks> I lost it... and I can't tell the difference between .override and .overrideAttrs again.
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
Nobabs27 has quit [(Quit: Leaving)]
<LnL> they are kind of similar
Infinisil has joined #nixos
<sphalerite> tnks: override is provided by callPackage and lets you replace the arguments to a package function
<sphalerite> tnks: overrideAttrs is provided by mkDerivation and lets you override what's given to mkDerivation
Fare has quit [(Ping timeout: 260 seconds)]
<tnks> sphalerite: got it.
<tnks> that finally occurred to me.
<tnks> it took a while to realize that "override" would get overridden by trying to make nested functions both overrideable.
dejanr has joined #nixos
<sphalerite> well you can combine override and overrideDerivation
<tnks> I thought that overrideDerivation is discouraged.
dejanr has quit [(Client Quit)]
<tnks> and I thought you can combine override with overrideAttr also.
<sphalerite> err I meant overrideAttrs
<tnks> right.
<srhb> Now I'm confused. Is callPackage a special case of override, but works on attributes instead of source files?
dejanr has joined #nixos
<srhb> er, but override works on attributes instead of source files
DutchWolfie has quit [(Quit: Konversation terminated!)]
<tnks> sphalerite: do you think this call should be .overrideAttrs instead of .override? https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/lib.nix#L9
<tnks> actually, I get a headache thinking about the doubly-nested .override calls.
dejanr has quit [(Client Quit)]
colabeer has joined #nixos
deltasquared has joined #nixos
<LnL> I'm not sure if you can chain overrideAttrs
<sphalerite> srhb: callPackage takes a function (or a path which it imports to get the function). To that function, it passes the attributes in nixpkgs that the function wants. It adds the attribute `override` to the result of evaluating that, and that attribute is a function that takes a set which will replace parts of what's passed into the package function
<sphalerite> srhb: so yes, it sort of is I think
ericsagnes has quit [(Ping timeout: 246 seconds)]
dejanr has joined #nixos
<tnks> also, I'm not convinced the "args //" is needed here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/lib.nix#L8
<sphalerite> LnL: I believe you can. `(bash.overrideAttrs (o: {})).overrideAttrs (o: {})` evaluates just fine for me
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
<tnks> maybe there's just many ways to skin this cat, and I should stop worrying about it.
<LnL> yes that works but if you actually override something you might loose the previous override
ison111 has quit [(Ping timeout: 260 seconds)]
<LnL> (that's why makeOverridable looks so complicated)
<sphalerite> well, yes. That's the nature of a destructive override function
<sphalerite> but if they only add to super or touch different parts, then yes it will work
<LnL> hmm, looks ok
<srhb> sphalerite: Thank you :)
lucasOfBesaid has joined #nixos
ericsagnes has joined #nixos
<LnL> oh yes, it returns the new mkDerivation call
zeus__ has quit [(Read error: Connection reset by peer)]
m0rphism has joined #nixos
zeus__ has joined #nixos
zarel has quit [(Quit: Leaving)]
<lucasOfBesaid> Hi, all! I'm trying to build my package with a cross compiler, and I can't seem to get there. Building uclibc fails at the linking stage when it can't find some symbols. I don't actually need uclibc, but I can't seem to make a derivation that doesn't depend on it.
<sphalerite> lucasOfBesaid: let me guess, ARM, and it's something to do with EABI/OABI?
<sphalerite> lucasOfBesaid: the uclibc in nixpkgs is ancient and nixpkgs's cross-compilation support is still a bit flaky afaik.
<lucasOfBesaid> sphalerite: No. i686, and the error is "undefined reference to `_dl_loaded_modules'"
<sphalerite> oh ok
<sphalerite> You might be able to make a derivation using the native mkDerivation with the foreign gccCrossStageStatic, if you don't need a libc
<sphalerite> But if it's i686 then I think you should be using i686Packages
<colabeer> Hi there. When I start wine with some app. It complains with a libGL error "unbale to load driver: i965_dri.so" I've managed to get rid of it by using a custom LD_LIBRARY_PATH. But this does not seem like good style in nixos. What is the best way to overcome that?
viric has joined #nixos
<viric> hello
<sphalerite> lucasOfBesaid: sorry, not i686Packages. pkgsi686Linux
<lucasOfBesaid> sphalerite: What's i686Packages?
<viric> what was the nix-shell thing to compile with -O0?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/v76ka
<NixOS_GitHub> nixpkgs/master eaf9fae Daiderd Jordan: erlang: remove explicit gcc dependency
<NixOS_GitHub> nixpkgs/master 44c3543 Daiderd Jordan: Merge pull request #27911 from LnL7/erlang-no-gcc...
NixOS_GitHub has left #nixos []
<viric> It's adding -O2.
periklis has quit [(Ping timeout: 246 seconds)]
<sphalerite> colabeer: get back the standard `LD_LIBRARY_PATH`, and customise it by adding to it rather than overwriting it.
<LnL> hardeningDisable = [ "fortify" ];
<LnL> viric: ^
<viric> LnL: ah right. Where?
<LnL> the derivation, or export it
<viric> ok
<sphalerite> colabeer: the specific entry in question would be /run/opengl-driver/lib
m0rphism has quit [(Quit: WeeChat 1.9)]
<viric> LnL: hm it fails to work here...
<sphalerite> lucasOfBesaid: e.g. nix-build '<nixpkgs>' -A pkgsi686Linux.hello will get you a 32-bit GNU Hello
<LnL> viric: you still have -O2 in NIX_CFLAGS_COMPILE if you restart your shell?
<viric> LnL: ah, export it BEFORE nix-shell'
<viric> ?
<viric> LnL: I thought it was read at gcc call time. Now it works. Thank you!
<lucasOfBesaid> sphalerite: pkgsi686Linux looks like a way to get multilib packages for Linux. That's not what I need. I'm trying to work on an OS kernel, and I need a cross-compiler that targets i686-elf
<LnL> viric: might have changed recently, not sure
m0rphism has joined #nixos
<viric> LnL: it's correct: export before call to nix-shell. NIX_DEBUG=1 shows it right
<sphalerite> lucasOfBesaid: pkgsi686Linux.gcc should do that
<clever> lucasOfBesaid: what about just directly using pkgsi686Linux.stdenv.mkDerivation ?
<clever> lucasOfBesaid: then everything will be in 32bit mode
<clever> lucasOfBesaid: you can also do import <nixpkgs> { system = "i686-linux"; }, then it wont even have a 64bit option
<clever> it will just default to 32bit
<colabeer> sphalerite: actually LD_LIBRARY_PATH is set to /run/opengldriver/lib
<avn> btw folks, any reasons, why build under nix can be stalled?
<avn> (and how I can troubleshoot this)
<lucasOfBesaid> It doesn't merely need to be 32-bit. i686-linux is the wrong target. It needs to be i686-elf, which is definitely different. http://wiki.osdev.org/Why_do_I_need_a_Cross_Compiler%3F
<clever> lucasOfBesaid: i686-linux is an internal code for nixos, that just says everything must be 32bit
bkchr has joined #nixos
<sphalerite> lucasOfBesaid: most modern linuxes (including the one in nixos) use ELF. That compiler will generate ELF executables, all you need for OS dev should be to make sure it's not linking against libc dynamically and stuff
<sphalerite> I think.
<viric> LnL: thank you, btw!
cement has quit [(Ping timeout: 260 seconds)]
<lucasOfBesaid> sphalerite: Unless you compile GCC with --target='i686-elf' instead of --target='i686-linux', it will make all kinds of assumptions about the OS it's running on, which in the case of an OS kernel will be wrong.
<LnL> viric: np, I fixed a package with something like that very recently :)
<bkchr> globin: did you see my comment to your commit https://github.com/NixOS/nixpkgs/commit/41492abf4d0cf6f5e8bc0258f8b84f7540da9c07 ?
<lucasOfBesaid> clever: So, the question becomes, is pkgsi686Linux.gcc compiled with --target='i686-elf'?
Filystyn has joined #nixos
<sphalerite> I don't see what that would be, all that would affect actual compilation/assembly (as opposed to linking) that I know of is the calling convention
<sphalerite> but I'm not an expert.
<lucasOfBesaid> sphalerite: That's why I threw that link there. It leads to a page written by experts. Anyway, my question stands. And if pkgsi686Linux.gcc is NOT compiled with --target='i686-elf', what's the most sensible way I can get one that is? I'm happy to assist in improving the state of Nix's cross-compilation machinery if necessary.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b6f19f79aa (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<lucasOfBesaid> Ah. It seems, clever, that pkgsi686Linux.gcc is not an appropriate cross-compiler for my purposes. After nix-shell -p pkgsi686Linux.gcc and gcc -v, I see "Target: i686-pc-linux-gnu". Unfortunate.
ison111 has joined #nixos
<lucasOfBesaid> Is there some way I can leverage the existing GCC derivation? Some combination of arguments I can give it, or some configuration I can provide that would prevent it from needing unnecessary dependencies and give it the right TARGET?
<clever> lucasOfBesaid: yeah, one sec
<clever> lucasOfBesaid: something i wrote a while back to do similar: https://github.com/cleverca22/nix-tests/blob/master/arm-baremetal.nix
<clever> lucasOfBesaid: line 1 sets the target arch that gets passed to gcc
Filystyn has quit [(Read error: Connection reset by peer)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
<clever> you can also nix-build arm-baremetal.nix --argstr arch i686-elf
<clever> so you just need to find a string that makes gcc happy
<lucasOfBesaid> clever: I tried this. I get the error "error: Unknown libc"
<clever> ah, things may have changed in the newest master
<clever> try it against a checkout of 16.09?
<lucasOfBesaid> Oh dear. I've been using channels. And my skills with nix are still kinda nascent. Are there some instructions I can follow somewhere to walk through that?
hellrazo1 is now known as hellrazor
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin closed pull request #27960: libgcrypt: fix clang build (master...clang-libgcrypt) https://git.io/v7wNr
NixOS_GitHub has left #nixos []
<clever> git clone http://github.com/nixos/nixpkgs-channels ; cd nixpkgs-channels; git checkout nixos-16.09
<clever> then in another dir, nix-build arm-baremetal.nix -I nixpkgs=/home/clever/nixpkgs-channels
<sphalerite> clever: why 16.09 and not 17.03?
pie_ has quit [(Read error: Connection reset by peer)]
<clever> going to a fairly old one to avoid stdenv improvements
<clever> which arent compatible with the example
pie_ has joined #nixos
kiloreux has quit [(Ping timeout: 240 seconds)]
<sphalerite> ah right
<lucasOfBesaid> Cool. So far, this is definitely doing something. Let's see how far it gets.
<lucasOfBesaid> Ah. I love having 24 cores. ^_^
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<deltasquared> lucasOfBesaid: I missed context, what CPU is this
<deltasquared> it can't be threadripper yet... right!?
deltasquared has left #nixos ["damnit, blackout time"]
<lucasOfBesaid> model name: Intel(R) Xeon(R) CPU E5-2687W v4 @ 3.00GHz
<lucasOfBesaid> Whoops, missed them.
<lucasOfBesaid> clever: That appears to have worked. Thanks! And it doesn't seem to have pulled any useless dependencies in either. Why does this not work with the current version of Nixpkgs?
<clever> lucasOfBesaid: something to do with the cross-compiler and libc was changed
<clever> lucasOfBesaid: so that cheaty trick of setting libc to null no longer works
colabeer has quit [(Remote host closed the connection)]
dejanr has quit [()]
<lucasOfBesaid> clever: I really appreciate your help. Of course I'd like to be able to write a derivation that will work with current and future versions of Nixpkgs. Is there someone who regularly works on the cross compiler that I should bring this issue up with? Should I file an issue on Github?
goibhniu has quit [(Ping timeout: 255 seconds)]
elurin has joined #nixos
<clever> lucasOfBesaid: id have to re-read the code in all-packages.nix and see how it changed
<clever> lucasOfBesaid: Sonarpulse may know more as well
<Sonarpulse> hmm?
<Sonarpulse> uh oh
<Sonarpulse> more breakage???!?!
<lucasOfBesaid> Sonarpulse: Pleasure to meet you.
colabeer has joined #nixos
<Sonarpulse> lucasOfBesaid: what pain have I caused you :)
<Sonarpulse> (and pleasure, likewise :))
arximboldi has joined #nixos
<lucasOfBesaid> Sonarpulse: Cross-compiling for OS development is currently ... inconvenient. I can't get a cross-compiler without also pulling in a libc.
<Sonarpulse> lucasOfBesaid: oh!
<lucasOfBesaid> and Linux headers
<Sonarpulse> did it work before?
<colabeer> when i want to be dropped in a nixshell with a lib in the ld library path say libpng. How do I do that?
<sphalerite> colabeer: nix-shell -p libpng
<lucasOfBesaid> Sonarpulse: clever helped me confirm that it seems to have, yes. Used to be able to specify "libc = null" in a crossSystem.
<Sonarpulse> lucasOfBesaid: https://github.com/NixOS/nixpkgs/issues/26004 is your friend, long term
<Sonarpulse> ah yeah that would cause problems
<lucasOfBesaid> Sonarpulse: Ah, cool. Good reference, thanks.
<Sonarpulse> it's unfortuantely a wishlist issue
<Sonarpulse> but I very much feal your pain
<Sonarpulse> generations of build systems think the stdlibrary deserves special treatment----that's always a bad idea
<lucasOfBesaid> Sonarpulse: Would it be a lot of work to fix, and would a newb like myself be able to help in any way?
<clever> Sonarpulse: i was using https://github.com/cleverca22/nix-tests/blob/master/arm-baremetal.nix before as an experimental method of getting a libc-less compiler
<clever> i belive that attribute is the gcc normally used to build libc
<colabeer> sphalerite: to which path variable does it add the location of libpng?
<Sonarpulse> clever: how recently
<Sonarpulse> .libc as non-string is likely to cause issues
<clever> Sonarpulse: it works on 16.09, at the least
<Sonarpulse> oh
<Sonarpulse> hahaha
<Sonarpulse> yeah that's being broken for a while then
<clever> i just send lucasOfBesaid to a fairly old one to be sure
<Sonarpulse> truth be told, cross all over is a bit jank right now
<sphalerite> colabeer: nativeBuildInputs is probably the most helpful one
<Sonarpulse> I need to get that landed
<Sonarpulse> then we will be in cross nirvana
<Sonarpulse> (well, baring libc ugliness)
eacameron has joined #nixos
<colabeer> sphalerite: when i run a binary inside nix-shell, how does it know where to search for the libraries when I did nix-shell -p ...
Fare has joined #nixos
<clever> Sonarpulse: i was mainly setting libc to null to make sure any attempt at using libc would fail
<Sonarpulse> clever: ah ok, that's fair
<clever> Sonarpulse: so i would get a purely libc-less gcc
<sphalerite> colabeer: oh wait you want to set `LD_LIBRARY_PATH`?
sellout- has joined #nixos
<colabeer> sphalerite: Iam not sure, how do other nix packages make sure, their provided binaries can access shared libraries?
Turion has quit [(Quit: Leaving.)]
<sphalerite> colabeer: by specifying them as build inputs, then nix checks which paths are referenced and makes sure that if A depends on B, B must be present for A to be present
Ivanych has quit [(Ping timeout: 260 seconds)]
Filystyn has quit [(Remote host closed the connection)]
<lucasOfBesaid> Time for me to head out. Thanks all, for the help.
<avn> colabeer: just by binary search, all what reference to /nix/store/$hash is a dependency
<colabeer> sphalerite: the man nix-shell says, that it adds the lib locations to NIX_LDFLAGS, shall i append NIX_LDFLAGS to LD_LIBRARY_PATH then to make them accesable
<sphalerite> no, that's not quite the right hting
<sphalerite> hang on
lucasOfBesaid has quit [()]
<sphalerite> colabeer: try nix-shell -E 'with import <nixpkgs> {}; runCommand "env" {LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; [libpng]);} ":"'
<sphalerite> it's a bit of a mess, but it should do the trick :)
<sphalerite> add more stuff after libpng (space separated) if you want more than just libpng
<sphalerite> This shouldn't be your go-to solution for getting stuff to run though — it's better to build from source, ideally with a nix expression
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v7634
<NixOS_GitHub> nixpkgs/master f46f98a Tim Steinbach: Revert 0cf0d7186a5259ae59b852c109f31ab09af56cec...
NixOS_GitHub has left #nixos []
<clever> colabeer, sphalerite: this contains a nix expression that when compiled, creates a bash script
<clever> that bash script has a patchelf invocation
<clever> so you can do ./result ./foo.elf
<clever> to (re)patch any given binary
<colabeer> sphalerite: thx exactly what i was looking for :) I wanted to checkout how exaclty nix creates its environment
<clever> the result symlink also acts as a root, to keep the libraries from being deleted out from under you
<sphalerite> colabeer: check out the nix manual for all the gory details https://nixos.org/nix/manual/#ssec-derivation
<colabeer> clever: thx for the hin. I've seen patchelf somehwere before, I think I should check out how it works :)
tnks has left #nixos []
<sphalerite> colabeer: I used pkgs.runCommand there but you could use builtins.derivation instead to get an env with only the `LD_LIBRARY_PATH` added rather than all the stuff stdenv brings with it
vinymeuh has joined #nixos
vinymeuh has quit [(Client Quit)]
<sphalerite> colabeer: which would look like nix-shell -E 'with import <nixpkgs> {}; builtins.derivation {name = "env"; LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; [libpng]); builder = "<this will not run>"; inherit system;}'
<sphalerite> clever: why the gcc buildInput?
<colabeer> hui then I'd have a very clean environment :)
<sphalerite> clever: and wouldn't writeScript be sufficient?
<sphalerite> (not tested)
<clever> sphalerite: gcc is a build input for $NIX_CC, which has the ld.so path
<sphalerite> aaah right
<clever> and writeScript cant read $NIX_CC
<clever> sphalerite: then the bash script depends on gcc, rather then just glibc
thblt has quit [(Ping timeout: 248 seconds)]
<clever> part of its power comes in acting as an automatic root for the rpath nix cant track
<sphalerite> aah right
hiratara has quit [(Ping timeout: 246 seconds)]
<colabeer> thx a lot guys, I have a lot to catch up, but tomorrow :) good night
colabeer has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
hiratara has joined #nixos
bkchr has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #28016: orackejdk: untie from gnome2 (master...patch-7) https://git.io/v76ZO
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #28017: ghcjs / nodejs: Add back older 6.x node version for GHCJS (release-17.03...ghcjs-node-version) https://git.io/v76Zs
NixOS_GitHub has left #nixos []
simukis has quit [(Ping timeout: 240 seconds)]
joehh has joined #nixos
Fare has quit [(Ping timeout: 260 seconds)]
cpennington has quit [(Ping timeout: 240 seconds)]
georgiy has quit [(Ping timeout: 260 seconds)]
zeus__ has quit [(Read error: Connection reset by peer)]
zeus__ has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos []
phreedom has joined #nixos
silver_hook has quit [(Ping timeout: 240 seconds)]
<jophish> Hmm, deepClone doesn't seem to be working for me
<Infinisil> jophish: With fetchFromGitHub you also need to set fetchSubmodules = true; to get the .git directory
<mpcsh> hey there, I have a script for locking my screen and suspending that hangs on nixos. however, if I run it with `bash -x suspend`, it works fine! anyone with better bash knowledge know what could be the cause?
<Infinisil> mpcsh: When you check the contents of this script, does it have a shebang at the beginning?
<jophish> Infinisil: ah, I've been using fetchgit
<Infinisil> vim $(which suspend)
<jophish> I'll try with fetchFromGitHub
<mpcsh> Infinisil: #!/usr/bin/env bash
<Infinisil> jophish: Ah, well no, fetchgit should work, fetchFromGithbu with fetchSubmodules = true just uses fetchgit underneath
<jophish> Ah, I thought that might be the case :)
<Infinisil> jophish: What parameters do you pass to it?
<Infinisil> mpcsh: No idea what's wrong with that, where does `suspend` come from? Your DE?
<Infinisil> mpcsh: Maybe you could try `systemctl suspend`
<Infinisil> jophish: I think something got messed up there :P
<mpcsh> Infinisil: one sec
hiratara has quit [(Quit: ZNC - http://znc.in)]
<jophish> oops, didn't even check!
<mpcsh> Infinisil: the first one is my suspend script, the second one is the lock script it calls
<mpcsh> Infinisil: they're just scripts I wrote for sxhkd bindings
<LnL> looks fine to me
<jophish> For some reason this build depends on the hash of the parent commit
hiratara has joined #nixos
<jophish> not sure how it works with merge commits
<jophish> this function is returning "None"
<Infinisil> mpcsh: No idea what's wrong with this script, maybe you could try bisection to find out where the problem lies
<mpcsh> Infinisil: well there's nothing to bisect
<mpcsh> I wrote these back on arch and haven't changed them in years
<mpcsh> And now after moving to nixos the suspend script just hangs
<LnL> jophish: I think/hope fetchgit won't include all the branches
<mpcsh> Infinisil: ok after inserting some "echo"'s, I've determined that it doesn't make it past the shebang
<Infinisil> mpcsh: You could move the lock script into the suspend one, remove pics, maybe remove the IFS
<mpcsh> Infinisil: not even the `set -euo` executes
<mpcsh> Infinisil: (without bash -x, that is)
<LnL> jophish: that would break the hash if a branch is updated
<Infinisil> mpcsh: Maybe just write a small bash script that just does echo hi
<jophish> LnL: I was hoping it woulld keep the default one though
<mpcsh> Infinisil: it works
<jophish> but that does make a lot of sense now that I think about it
<mpcsh> Infinisil: the lock script works fine
<jophish> I'll just patch dronin not to do this silly thing
<mpcsh> Infinisil: I'm an idiot
Sonarpulse has quit [(Ping timeout: 248 seconds)]
<mpcsh> Infinisil: it's clobbering the suspend bash builtin
<Infinisil> mpcsh: Oh lol
<mpcsh> Infinisil: why wasn't it doing that on arch???
<Infinisil> did you use bash on both systems?
<mpcsh> Infinisil: yeah!!
odites has joined #nixos
<Infinisil> Maybe different versions
<Infinisil> Or different default settings, I don't know if nix modifies these in any way
<Infinisil> s/nix/nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] expipiplus1 opened pull request #28018: dRonin: init at 26-06-2017 (master...dronin) https://git.io/v76lI
NixOS_GitHub has left #nixos []
Fare has joined #nixos
slyfox has quit [(Ping timeout: 240 seconds)]
Fare has quit [(Read error: Connection reset by peer)]
<jophish> night all!
slyfox has joined #nixos
Fare has joined #nixos
odites has quit [(Quit: Konversation terminated!)]
silver_hook has joined #nixos
markus1189 has joined #nixos
<Infinisil> jophish: Night!
Fare has quit [(Ping timeout: 240 seconds)]
markus1199 has quit [(Ping timeout: 240 seconds)]
Fare has joined #nixos
joehh has quit [(Ping timeout: 255 seconds)]
digitus has quit [(Quit: digitus)]
rpifan has joined #nixos
silver_hook has quit [(Ping timeout: 260 seconds)]
sellout- has quit [(Quit: Leaving.)]
Fare has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Infinisil opened pull request #28019: xmonad service: add defaultText to extraPackages to fix rendering in docs (master...fix-default-text-xmonad) https://git.io/v7643
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
bennofs has joined #nixos
johnw_ has joined #nixos
alunduil has joined #nixos
johnw has quit [(Ping timeout: 255 seconds)]
erasmas has quit [(Quit: leaving)]
amen has joined #nixos
phinxy has joined #nixos
kiloreux has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michalrus opened pull request #28020: geekbench: init at 4.1.1 (master...geekbench) https://git.io/v76RK
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/805467bb5a (from 11 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
ison111 has quit [(Quit: WeeChat 1.7.1)]
mkoenig has joined #nixos
ambro718 has quit [(Quit: Konversation terminated!)]
alunduil has quit [(Quit: leaving)]
ambro718 has joined #nixos
georgiy has joined #nixos
markus1199 has joined #nixos