jensens has quit [(Ping timeout: 246 seconds)]
acarrico has quit [(Ping timeout: 240 seconds)]
Forkk has quit [(Remote host closed the connection)]
<Olgierd> neonfuz: iirc mounting with go-mtpfs worked best for me
griff_ has quit [(Quit: griff_)]
pie__ has quit [(Ping timeout: 240 seconds)]
Forkk has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eqyiel opened pull request #29256: Nextcloud client fixes (master...nextcloud-client-fixes) https://git.io/v516O
NixOS_GitHub has left #nixos []
flyx|znc has joined #nixos
flyx has quit [(Excess Flood)]
flyx|znc is now known as flyx
catern has quit [(Ping timeout: 260 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
Bane^ has quit [(Ping timeout: 260 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Ping timeout: 248 seconds)]
jellowj has quit [(Ping timeout: 248 seconds)]
Bane^ has joined #nixos
catern has joined #nixos
Rotaerk has joined #nixos
jellowj has joined #nixos
data has joined #nixos
data is now known as Guest27580
ris has quit [(Ping timeout: 264 seconds)]
Jacoby6000_ has joined #nixos
rotaerk_ has joined #nixos
Radivarig_ has joined #nixos
Radivarig has joined #nixos
Rotaerk has quit [(Quit: Leaving)]
Jacoby6000__ has joined #nixos
Wizek has joined #nixos
Jacoby6000_ has quit [(Ping timeout: 260 seconds)]
Jacoby6000__ has quit [(Ping timeout: 260 seconds)]
thc202 has quit [(Ping timeout: 240 seconds)]
Havvy has quit [(Ping timeout: 240 seconds)]
Havvy has joined #nixos
takle has quit [(Remote host closed the connection)]
sellout- has quit [(Quit: Leaving.)]
justanotheruser has quit [(Ping timeout: 248 seconds)]
amosbird has quit [(Ping timeout: 240 seconds)]
justanotheruser has joined #nixos
acarrico has joined #nixos
nz_ has joined #nixos
amosbird has joined #nixos
nz_ is now known as nz
nz is now known as nz_
nz_ is now known as nz
edef has quit [(Ping timeout: 260 seconds)]
edef has joined #nixos
* fearlessKim[m] sent a long message: fearlessKim[m]_2017-09-12_01:19:27.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/xHLyQqraEeoKPwpLDkNdjTbZ>
Supersonic112 has quit [(Disconnected by services)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/773268eede (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
pxc has joined #nixos
lambdamu_ has joined #nixos
sigmundv__ has quit [(Ping timeout: 240 seconds)]
lambdamu has quit [(Ping timeout: 240 seconds)]
freeman42y has joined #nixos
freeman42x has quit [(Ping timeout: 255 seconds)]
Guest27580 has quit [(Read error: Connection reset by peer)]
freeman42y has quit [(Read error: Connection reset by peer)]
<vaibhavsagar> @Infinisil that usually happens to me when I try to `nix-shell` inside a `nix-shell`
alunduil has joined #nixos
<alunduil> Is there a way to make a configuration assignment conditional based on the presence of the variable being assigned?
Khetzal has quit [(Remote host closed the connection)]
nand0p has quit [(Ping timeout: 240 seconds)]
Khetzal has joined #nixos
r0bby has quit [(Ping timeout: 240 seconds)]
nand0p has joined #nixos
r0bby has joined #nixos
zeus_ has quit [()]
<Infinisil> alunduil: `someOption = mkIf (someAttrSet ? "someAttr") "foo"` assigns foo to someOption if someAttrSet.someAttr exists
<alunduil> Infinisil, alright, what if someOption isn't available to assign to because I'm still on an older NixOS version?
<Infinisil> alunduil: What's the problem exactly? You need to update to get the option
<alunduil> Infinisil, been holding off on upgrading due to some difficulties arising from attached USB drives.
<Infinisil> alunduil: There is no general solution to only upgrading certain parts of the nixos module system, but if you have a nixpkgs checkout you're using for the system, then it might work if you just checkout the module files from the newest version
<alunduil> Infinisil, I was afraid that might be the answer but I can live with that. Thanks!
<Infinisil> :)
<clever> alunduil: you can also download the module, rename its service a bit, then add it to the imports of configuration.nix
<clever> then as long as you only enable one of the versions, it will work
<clever> or find the critical difference, and mkForce those changes in configuration.nix
Radivarig_ has quit [(Ping timeout: 248 seconds)]
Radivarig has quit [(Ping timeout: 248 seconds)]
<alunduil> clever, sounds like too much work. I'm going to just do a local commenting of the new structures.
<alunduil> I appreciate the answer though. It's good to know that's an option.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #29258: Vapoursynth: update and fix for GCC6 (master...vapour-fix) https://git.io/v51yn
NixOS_GitHub has left #nixos []
<eacameron> Anyone else having this issue with nix-shell and haskell? https://github.com/NixOS/nixpkgs/issues/29225
<eacameron> It seems pretty serious.
<clever> eacameron: have you tried a git bisect?
<eacameron> clever: No
<clever> eacameron: what versions of nixpkgs work and dont work?
<eacameron> clever: I show in the issue
<clever> ah, i see
<clever> *bisects*
<eacameron> clever: Lol...I don't actually know how to bisect.
<eacameron> clever: And I'm not sure where that functionality is written.
<Infinisil> man git-bisect
<eacameron> Man...
<MP2E> I believe this is related to haskell having multiple outputs merged
<Infinisil> Hmm, this makes me think, git bisect could really work with only specifying the bad commit, then going 1,2,4,8,... commits back to find a good one, and then bisect normally
<MP2E> however it was quickly reverted in 89f5d52cf44baec14a7f542a605243777b16e7a5
<MP2E> I am running off of a very recent nixpkgs master (less than 24 hours ago since last rebuild) and the nix-shell command in that issue works as intended for me
<eacameron> MP2E: Really.....
<eacameron> MP2E: It shows like 100 dependencies?
<MP2E> yep
<eacameron> MP2E: Is the version you're on already in the cache?
<MP2E> don't think so yet
<MP2E> but yeah this is my output to confirm
<eacameron> MP2E: Surely you didn't rebuild all those just now
<eacameron> MP2E: Yep that's the right output!
<MP2E> yeah all the haskell packages are cached, should have mentioned that
<eacameron> MP2E: Ohhh.
<eacameron> MP2E: I'm upgrading right away!
<eacameron> clever: MP2E: I'll close the issue once I too have confirmed that it works. But that seems pretty likely.
<MP2E> definitely confirm first, but I suspect it will, I had a very similar issue a few days ago which is why I recognized it
<MP2E> my xmonad and everything using package environments related to haskell break
<MP2E> broke*
<clever> might have been me ...
<eacameron> clever!!
<eacameron> :P
<clever> that change massively reduces disk usage for haskell programs
<eacameron> what change?
<clever> the haskell multiple outputs
<eacameron> clever: But it was reverted, no?
<MP2E> yeah, it's definitely a good change, I look forward to seeing it merged again after the environments work
<clever> i hadnt heard of it being reverted
<eacameron> I wonder if nixpkgs-unstable just got in between the commit/revert
<MP2E> it seems so, unfortunately
<clever> that looks like different multiple output changes
<clever> the problem had existed in master for years (ghc being depended on wrongly)
<clever> then 2 people opened PR's to fix it within 12 hours of eachother :P
<eacameron> clever: LOL
<eacameron> Just like busses
<eacameron> and theories of computability
<eacameron> clever: Can you point me to them/one-of-them?
<clever> eacameron: https://github.com/NixOS/nixpkgs/pull/27209 and the one he linked to
<eacameron> clever: Is that not the one that was reverted?
<clever> thats the one that got reverted
<clever> he also linked to mine
<clever> read the second paragraph
<eacameron> clever: Aha
<eacameron> clever: So a chunk of the work is still in there
<clever> yeah, my half should still be present
<eacameron> clever: And it applies even when you don't statically link?
<clever> yeah
<clever> and even static linking has problems
<eacameron> still?
<clever> without my pr, yes
<eacameron> clever: Oh I see.
<eacameron> I always did wonder why my Haskell app closures where so huge
<clever> shake for example, depends on the haskell package called js-jquery, which is just a single string, containing the path to jquery.js
<eacameron> heh...ouch
<clever> previously, jquery.js was in the same output as a .so file depending on ghc
<clever> so refering to that 49kb js file at runtime, hauled in 1gig of ghc
<eacameron> LOL
<clever> my pr puts all data files into $data
<clever> so ghc just goes away if you staticly link
<eacameron> and if you dynamically link?
<clever> but if you dynamicaly link, you depend on that .so at runtime, and the problem remains
<eacameron> so dynamically linking still pulls in GHC
<clever> also, strangely enough, ghc is ~200mb on zfs, with compression
pxc has quit [(Ping timeout: 240 seconds)]
<eacameron> clever: So wait I thought you said dyn linking doesn't need GHC anymore
<clever> i think i only fixed static ghc linking
<clever> the split outputs are only on haskell packages, not ghc itself
<clever> so refering to any library in ghc pulls it all in
<clever> fixing ghc would involve rebuilding ghc 10-20 times
<eacameron> DO IT
schoppenhauer has quit [(Ping timeout: 252 seconds)]
schoppenhauer has joined #nixos
drakonis has joined #nixos
alunduil has quit [(Quit: leaving)]
justanotheruser has quit [(Ping timeout: 255 seconds)]
Jacoby6000__ has joined #nixos
Jacoby6000__ has quit [(Ping timeout: 260 seconds)]
stepcut has quit [(Remote host closed the connection)]
pxc has joined #nixos
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
justanotheruser has joined #nixos
stepcut has joined #nixos
Jacoby6000__ has joined #nixos
nslqqq has quit [(Ping timeout: 260 seconds)]
Jacoby6000__ has quit [(Ping timeout: 240 seconds)]
Nobabs27 has joined #nixos
rotaerk_ is now known as rotaerk
pxc has quit [(Ping timeout: 240 seconds)]
<eacameron> MP2E: clever: Issue closed! https://github.com/NixOS/nixpkgs/issues/29225
<eacameron> Thanks for the pointers!
acarrico has quit [(Ping timeout: 248 seconds)]
nslqqq has joined #nixos
jellowj has quit [(Ping timeout: 248 seconds)]
Nobabs27 has quit [(Quit: Leaving)]
drakonis has quit [(Read error: Connection reset by peer)]
orivej has quit [(Read error: Connection reset by peer)]
orivej has joined #nixos
pxc has joined #nixos
sibi_ has quit [(Quit: Connection closed for inactivity)]
* fearlessKim[m] sent a long message: fearlessKim[m]_2017-09-12_04:37:38.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/GoYlVqCoBvHZtqyvWVJBvPUW>
odi has joined #nixos
<fearlessKim[m]> nevermind, I found the magical command "nix-env --rollback" got me back to a working nix
sellout- has joined #nixos
<pxc> :-D
<pxc> is there an easy way to disable tests for Haskell packages in Nixpkgs?
<pxc> nvm, `doCheck = false;` seems to work just like with automake packages
hamishmack has quit [(Quit: hamishmack)]
<fearlessKim[m]> I often get "No space left on device" when doing a nix-shell (with libraries like pandas/numpy). There is no space on /run/user/1000 but I have plenty on /dev/sda1 . Can I make /run/user bigger from configuration.nix ? or can it use /dev/sda1 ?
<clever> fearlessKim[m]: you can also change TMPDIR to point to /tmp
<clever> fearlessKim[m]: and make sure /tmp also has free space
joko has quit [(Ping timeout: 240 seconds)]
joko has joined #nixos
<fearlessKim[m]> clever, that sounds like a solution. I don't remember creating that /run/user folder, is that a nixos default ?
eacameron has quit [(Remote host closed the connection)]
joko has quit [(Ping timeout: 260 seconds)]
joko has joined #nixos
reinzelmann has joined #nixos
<pxc> ok maybe a stupid question: how do I debug a Haskell package by running the individual phases? When I just use `nix-shell '<nixpkgs>' -A haskellPackages.tldr`, each phase still seems to assume I'm working in an automake project, so it doesn't do anything
marusich has joined #nixos
<vaibhavsagar> pxc: the `nix-shell` should allow you to `cabal configure`, then `cabal build`
eacameron has joined #nixos
<vaibhavsagar> is that not the behaviour you are seeing?
<pxc> vaibhavsagar: thank you! cabal isn't part of the environment, though; looks like I need to actually install it
<pxc> can I mix packages and attributes in a nix-shell call?
<vaibhavsagar> can you provide an example?
<pxc> yeah, something like `nix-shell '<nixpkgs>' -A haskellPackages.tldr -p cabal`
<pxc> (which doesn't work)
eacameron has quit [(Ping timeout: 240 seconds)]
<pxc> looks like our cabal package is cabal-install
<pxc> vaibhavsagar: what I want to do is something like this: https://nixos.wiki/wiki/Create_and_debug_nix_packages
<pxc> does using `cabal configure` in the source directory match the Nix package building behavior as closely?
<vaibhavsagar> pretty closely
<vaibhavsagar> see https://github.com/NixOS/nix/issues/454 for insight on `-p`
<clever> fearlessKim[m]: systemd creates that when you login
MercurialAlchemi has joined #nixos
<pxc> vaibhavsagar: thanks for the link. I'm still not sure how to do what I want but maybe I can figure it out if I translate what I want from -A and -p into 'raw' Nix expressions for use with -E
<vaibhavsagar> I'd recommend installing cabal-install with nix-env and going from there
<vaibhavsagar> if you're adamant about not installing cabal-install you could do a nix-shell -p cabal-install and then do another nix-shell inside the first one\
<pxc> haha I thought about that. I'm doing the 'nix-env' method right now, but I'm on Darwin on the new stable channel, so I'm building a lot of Haskell packages from source right now
<vaibhavsagar> cool! I hope that doesn't take too long
<pxc> I've got cabal now, but `cabal configure` complains about missing GHC. I wonder if `nix-shell` is working properly or if ghc is treated the same way as cabal here for some reason
stepcut has quit [(Remote host closed the connection)]
<vaibhavsagar> hmm, I would expect it to pull in ghc
<vaibhavsagar> how are you entering nix-shell?
<pxc> vaibhavsagar: nix-shell '<nixpkgs>' -A haskellPackages.tldr
<pxc> and `cabal build` complains about unresolvable deps
<vaibhavsagar> try nix-shell '<nixpkgs>' -A haskellPackages.tldr.env
<vaibhavsagar> that seems to pull in GHC for me
<pxc> vaibhavsagar: that worked and also solved the dep issues. Bleh! I forgot about those .env outputs
<pxc> how did we end up with those, if it's supposed to give you the build environment by default anyway?
<vaibhavsagar> if you run cabal2nix --shell, you'll notice that it does different things based on whether or not you're in a nix-shel
<vaibhavsagar> so the env output is the environment needed to build the package, and the non-env is just the built package
<vaibhavsagar> so the non-env output is only useful for nix-build
<pxc> what's the difference between that and '-p' then? the thread you linked to earlier suggested that this same difference was between '-p' and plain old '-E'
<vaibhavsagar> -p constructs a dummy derivation with the specified package in buildInputs
<vaibhavsagar> and then puts you in the dummy derivation's env, where the package will be available
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/v51F9
<NixOS_GitHub> nixpkgs/master fc02a02 Bjørn Forsman: nixos/samba: remove space in "[ global ]" heading...
NixOS_GitHub has left #nixos []
<pxc> vaibhavsagar: so the non-env 'gives you' the built package in some immediate sense, but '-p' says 'pretend this is a dep so uh... put it on my path and stuff'
<vaibhavsagar> yep, exactly
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.09: https://git.io/v51F7
<NixOS_GitHub> nixpkgs/release-17.09 726c294 Bjørn Forsman: nixos/samba: remove space in "[ global ]" heading...
NixOS_GitHub has left #nixos []
griff__ has joined #nixos
<vaibhavsagar> I remember being less confused by this after I looked at the source
<vaibhavsagar> but I'm still not entirely comfortable with it
endformationage has quit [(Quit: WeeChat 1.9)]
griff__ has quit [(Ping timeout: 240 seconds)]
odi has quit [(Ping timeout: 240 seconds)]
jmeredith has quit [(Quit: Connection closed for inactivity)]
JosW has joined #nixos
marusich has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/v51bR
<NixOS_GitHub> nixpkgs/master 077dd9f lassulus: altcoins: remove obsolete boost override
<NixOS_GitHub> nixpkgs/master f87d4ac lassulus: bitcoin-xt: 0.11F -> 0.11G2
<NixOS_GitHub> nixpkgs/master 31f349d Silvan Mosberger: namecoin: legacy 0.3.80 -> core 0.13.0rc1...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to release-17.09: https://git.io/v51bK
<NixOS_GitHub> nixpkgs/release-17.09 f70f4c6 lassulus: altcoins: remove obsolete boost override...
<NixOS_GitHub> nixpkgs/release-17.09 20b9942 lassulus: bitcoin-xt: 0.11F -> 0.11G2...
<NixOS_GitHub> nixpkgs/release-17.09 37340f2 Silvan Mosberger: namecoin: legacy 0.3.80 -> core 0.13.0rc1...
NixOS_GitHub has left #nixos []
proteusguy has quit [(Ping timeout: 246 seconds)]
Ivanych has joined #nixos
pie__ has joined #nixos
<pxc> vaibhavsagar: huh. I can't get tldr to compile when I use `cabal build` from that nix-shell environment, but `stack build` works
<vaibhavsagar> did you do `cabal configure` first?
<pxc> vaibhavsagar: yeah
<vaibhavsagar> hmm
<clever> did you use -A foo.env ?
<pxc> yeah
<clever> ive also found that cabal is sometimes missing, but "runhaskell Setup.hs" works fine
<vaibhavsagar> wah
<vaibhavsagar> *woah
<pxc> and it's this way on both Darwin and NixOS
<fearlessKim[m]> how can I get the path of a package in nix-store whitout reinstalling it ? sthg like "nix-store -q --outputs -A xkeyboard_config" (except -A isn't supported)
<clever> fearlessKim[m]: nix-instantiate -E 'with import <nixpkgs> {}; "${firefox}"'
<vaibhavsagar> clever: that didn't work for me with nix-instantiate, but nix-repl worked fine
<clever> oops, forgot a --eval
<pxc> clever, vaibhavsagar: it appears to be a real compile error, not a command that fails because cabal itself is missing: https://pastebin.com/sZLHgUDQ
proteusguy has joined #nixos
<clever> ah
<fearlessKim[m]> clever: thanks you are a beast; nix-instantiate --eval -E 'with import <nixpkgs> {}; "${xkeyboard_config}"' worked
<clever> sounds like youll need to read the code
orivej has quit [(Ping timeout: 260 seconds)]
<mbrock> I should really study exactly how name resolution in Nix works because I get confused like this a lot
<clever> mbrock: the with statement brought in all of pkgs
<clever> no need to previx it with pkgs.
<mbrock> ahh
<clever> mbrock: and also, i think emacsWithPackages expects a function
<clever> it will call that function, and pass it a list of all emacs packages
<mbrock> right, the pkgs that gets passed into your NixOS configuration is == <nixpkgs>
<clever> error: attempt to call something which is not a function but a set, at undefined position
<clever> and you gave it something that isnt a function
<mbrock> I have this in my configuration.nix though: `(emacsWithPackages (with emacsPackagesNg; [ agda2-mode org ]))`
<clever> and did nixos-rebuild work?
<mbrock> yeah
<clever> where did you put that in configuration.nix?
<mbrock> in the systemPackages list
<mbrock> ah I get the same error installing some other simple package
<clever> mbrock: oh, the problem is that nix-env expects a set of things
<clever> not one package
<mbrock> oh!
<clever> your better off using config.nix, it solves several things
<clever> first, it fixes this issue
<clever> second, 6 months down the road when you want to upgrade emacs, what nix-env incantation did you use??
<clever> make a package override in config.nix, creating emacsWithOrg
<clever> then just nix-env -iA nixos.emacsWithOrg
<mbrock> yeah I'm kind of just trying it because I bumped the version because of a critical security release from yesterday
<vaibhavsagar> pxc: if you're referring to https://github.com/psibi/tldr-hs, I can't build it either because my shell-conduit is too old
<pxc> vaibhavsagar: isn't the one in nixpkgs the newest? 4.6.1? I thought that's what I saw in haskell-modules/haskell-packages.nix
<pxc> I figured it was a shell-conduit issue but couldn't tell much else
<vaibhavsagar> ah, you're using nixpkgs-unstable
<vaibhavsagar> I'm on nixos-17.03
<pxc> yeah I'm on 17.09. I don't generally like to run unstable but I switch releases a little early sometimes
JagaJaga has joined #nixos
tv has joined #nixos
phreedom has joined #nixos
<pxc> vaibhavsagar: ooooooooh, I was beginning to suspect, but I should have just read the docs: https://github.com/psibi/shell-conduit#how-it-works
civodul has joined #nixos
odi has joined #nixos
<vaibhavsagar> ahahaha
<vaibhavsagar> I love things like that that are meant to be convenient but are a nightmare in nix-land
<pxc> the weird thing is that `git` is on my path in the `nix-shell` environment, though. I didn't use `--pure`
<pxc> do they have to be on the PATH when conduit is compiled?
<vaibhavsagar> maybe something like that
<pxc> *when shell-conduit is compiled? because that would be awful
<vaibhavsagar> there is propagatedBuildInputs
<vaibhavsagar> for things like this I think
ktf_ has joined #nixos
<pxc> well, here we want them to propagate backwards, right? since `tldr` needs to use shell-conduit with `git`, it needs to propagate that dep _down_ into its own dep, shell-conduit
<pxc> anyway, tldr is a simple program with a bunch of implementations. I think I'll just give the CPP version a go XD
<mbrock> shell-conduit is just a Haskell library, right? it should just inherit the PATH from its environment, so probably the `tldr` program just needs a typical Nix PATH-setting wrapper
<mbrock> I don't really know what you're talking about though :)
<vaibhavsagar> pxc: shell-conduit's derivation can be overridden in tldr's derivation
reinzelmann has quit [(Ping timeout: 240 seconds)]
<mbrock> oh sorry I see now
<mbrock> wow that's some crazy compile-time PATH lookup magic
hotfuzz_ has joined #nixos
<pxc> lol yeah
<mbrock> seems kind of super ridiculous?!
reinzelmann has joined #nixos
<pxc> there's something kind of cool about it, because it means your program won't compile if it's missing commands it uses, which would normally not be detected
<mbrock> but also kind of a neat hack, and I'm all for making it more convenient to shell out...
hotfuzz has quit [(Ping timeout: 240 seconds)]
<pxc> it would be nice if it was at the compile time of the thing _using_ shell-conduit, though
<pxc> it's probably bad that every program needs its own version of shell-conduit in Nixland
rauno has joined #nixos
<rauno> Hi, in which packages does the make binary exist ?
<mbrock> yeah, like if it would export a template haskell function that you just have to call in your own program code
<pxc> rauno: gnumake, I think
<rauno> awesome, thx!
pie__ has quit [(Ping timeout: 240 seconds)]
<mbrock> I guess it does export `Data.Conduit.Shell.TH.generateBinaries`
Troupal has joined #nixos
<vaibhavsagar> pxc: I could be wrong about having to override shell-conduit, but what difference does it make whether you override tldr or shell-conduit if you're doing it from within tldr's derivation either way?
<vaibhavsagar> it seems like a case of tomato, tomato to me
<pxc> mbrock: I don't actually know Haskell. Does that mean I shouldn't be seeing the errors I'm seeing, or something else?
<pxc> vaibhavsagar: I'm not sure what you're asking, but I guess it means that if I had 8 programs that used shell-conduit I'd have 8 copies of shell-conduit. Otherwise I don't think it matters
<mbrock> pxc: no, but calling that function (at compile-time) in tldr-hs's `Main.hs` would be a way to get the `git` function even if it's not present when compiling `shell-conduit`
<mbrock> eh, but probably it's more sane to just declare the `git` function explicitly there, instead of searching `PATH` :)
<vaibhavsagar> okay, I think I see what you mean
sibi_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v51Ag
<NixOS_GitHub> nixpkgs/master 3f96615 rnhmjoj: vapoursynth: R36 -> R38
<NixOS_GitHub> nixpkgs/master a7eb2e0 rnhmjoj: vapoursynth-mvtools: 17 -> 19
<NixOS_GitHub> nixpkgs/master 4f6f225 Jörg Thalheim: Merge pull request #29258 from rnhmjoj/vapour-fix...
NixOS_GitHub has left #nixos []
<pxc> mbrock: lol I think the author of shell-conduit is also the author of tldr-hs. Makes me wonder why they didn't do that. I'm not sure why you'd want to declare `git` explicitly there
<mbrock> honestly I think the easiest solution would be to just rewrite tldr-hs as a shell script :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to release-17.09: https://git.io/v51A9
<NixOS_GitHub> nixpkgs/release-17.09 902afad rnhmjoj: vapoursynth: R36 -> R38...
<NixOS_GitHub> nixpkgs/release-17.09 6d75305 rnhmjoj: vapoursynth-mvtools: 17 -> 19...
NixOS_GitHub has left #nixos []
* fearlessKim[m] sent a long message: fearlessKim[m]_2017-09-12_06:59:25.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/nVLxpKVEJqhHWpeUkfWAaZmI>
<pxc> mbrock: there is a bash implementation, actually. I just noticed that `tldr-hs` was already in nixpkgs, because all of Hackage is
HTTP_____GK1wmSU has joined #nixos
<mbrock> ah, ok
Ivanych has quit [(Ping timeout: 252 seconds)]
HTTP_____GK1wmSU has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbrock opened pull request #29261: emacs: 25.2 -> 25.3 (master...master) https://git.io/v51xv
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v51xU
<NixOS_GitHub> nixpkgs/master 4c4f73c pvgoran: services.gitolite: Add RequiresMountsFor unit option ......
<NixOS_GitHub> nixpkgs/master ebc1127 Jörg Thalheim: Merge pull request #29247 from pvgoran/gitolite-RequiresMountsFor...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v51xT
<NixOS_GitHub> nixpkgs/release-17.09 898924e pvgoran: services.gitolite: Add RequiresMountsFor unit option ......
NixOS_GitHub has left #nixos []
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/v51xk
<NixOS_GitHub> nixpkgs/release-17.03 df7e518 pvgoran: services.gitolite: Add RequiresMountsFor unit option ......
NixOS_GitHub has left #nixos []
<pxc> mbrock: where should I learn about how to use Template Haskell or the right way to call that function in tldr-hs's Main.hs?
<mbrock> pxc: if I'm not mistaken, you could try to just call it in the top level, like right below the import statements (oh yeah and you'll need to import it first)
<mbrock> it might be that GHC will tell you something like "It looks like you're trying to use Template Haskell" and that means you need to enable TH in the .hs file (with a language pragma line at the top)
<pxc> mbrock: thank you! reading now
HTTP_____GK1wmSU has joined #nixos
HTTP_____GK1wmSU has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v51x5
<NixOS_GitHub> nixpkgs/master 60709ab Artem Kazakov: buildbot: add wsgi dashboards plugin...
<NixOS_GitHub> nixpkgs/master 6844b13 Jörg Thalheim: buildbot-full: also include wsgi-dashboards
NixOS_GitHub has left #nixos []
jensens has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29236: Add buildbot wsgi dashboards plugin (master...master) https://git.io/v5XCo
NixOS_GitHub has left #nixos []
<pxc> mbrock: hey, that worked! the thing still doesn't build in the end, but I think this was a step forward
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v51ps
<NixOS_GitHub> nixpkgs/master a101328 Winnie Quinn: gringo: add darwin platform support
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29227: beam: tooling upgrade (rebar3, hex2nix, relx, etc) (master...beam-tooling-upgrade) https://git.io/v5PQD
NixOS_GitHub has left #nixos []
<pxc> well, thanks everyone for entertaining my questions tonight and helping me learn some things
<pxc> it's well past my bedtime
<pxc> g'night
jensens has quit [(Ping timeout: 264 seconds)]
<fearlessKim[m]> concatStringsSep ["-D" "toto"] returns «primop» which is strange. I found out the prototype anyway, but having the docstring on "nix-repl > ?concatStringsSep " would be so cool
mudri has quit [(Ping timeout: 240 seconds)]
ertes has quit [(Ping timeout: 255 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v51hZ
<NixOS_GitHub> nixpkgs/master e47543f Orivej Desh: gopherclient: init at 2016-10-02
<NixOS_GitHub> nixpkgs/master 63523aa Jörg Thalheim: Merge pull request #29168 from orivej/gopherclient...
NixOS_GitHub has left #nixos []
civodul has quit [(Remote host closed the connection)]
civodul has joined #nixos
bkchr has joined #nixos
ktf_ has quit [(Ping timeout: 240 seconds)]
hamishmack has joined #nixos
jensens has joined #nixos
ktf_ has joined #nixos
oida_ has joined #nixos
<bkchr> Mic92: What do you think of https://github.com/NixOS/nixpkgs/pull/29219? Should we/you still merge that or should I maybe add a pr to delete kde4?
mudri has joined #nixos
oida has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v51h5
<NixOS_GitHub> nixpkgs/master 49c7bed Guillaume Massé: sbt-with-scala-native: does not support sbt 1.X yet (#29148)...
NixOS_GitHub has left #nixos []
aloiscochard has joined #nixos
Jacoby6000__ has joined #nixos
seppellll has joined #nixos
Jacoby6000__ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29075: nodePackages.ionic: init at 3.9.2 (master...master) https://git.io/v5wXn
NixOS_GitHub has left #nixos []
pie_ has joined #nixos
jensens has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sifmelcara opened pull request #29262: spin: 6.4.6 -> 6.4.7 (master...update/spin) https://git.io/v51jo
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29083: physlock: 0.5 -> 11-dev (master...physlock-11-dev) https://git.io/v5r0J
NixOS_GitHub has left #nixos []
pie_ has quit [(Ping timeout: 240 seconds)]
jensens has joined #nixos
nh2 has joined #nixos
ktf_ has quit [(Ping timeout: 252 seconds)]
ktf_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jyp opened pull request #29263: make my maintainer handle match my github username (master...jyp-rename-maintainer) https://git.io/v5Mea
NixOS_GitHub has left #nixos []
mattcode has joined #nixos
ertes-w has joined #nixos
Neo-- has joined #nixos
jensens has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edwtjo pushed 2 new commits to master: https://git.io/v5MvV
<NixOS_GitHub> nixpkgs/master 847ce53 Edward Tjörnhammar: nixos, i2pd: nat option, default true
<NixOS_GitHub> nixpkgs/master 90e78aa Edward Tjörnhammar: i2pd: 2.14.0 -> 2.15.0
NixOS_GitHub has left #nixos []
Bane^ has quit [(Quit: ZNC - http://znc.in)]
__Sander__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #29265: Perl Package: Spreadsheet::Read{,SXC} (master...package-perl-read) https://git.io/v5Mvx
NixOS_GitHub has left #nixos []
odi has quit [(Quit: leaving)]
odi has joined #nixos
zarelit has joined #nixos
takle has joined #nixos
Jacoby6000__ has joined #nixos
thc202 has joined #nixos
pxc has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29262: spin: 6.4.6 -> 6.4.7 (master...update/spin) https://git.io/v51jo
NixOS_GitHub has left #nixos []
Jacoby6000__ has quit [(Ping timeout: 255 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
vanrein has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5MUl
<NixOS_GitHub> nixpkgs/master 7f2f427 Jörg Thalheim: cheat: 2.2.0 -> 2.2.1
NixOS_GitHub has left #nixos []
ison111 has quit [(Ping timeout: 260 seconds)]
phdoerfler has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28964: dns-root-data: 2017-07-26 -> 2017-08-29 (master...patch-2) https://git.io/v5E9E
NixOS_GitHub has left #nixos []
chreekat has joined #nixos
orbekk1 has quit [(Quit: WeeChat 1.9)]
orbekk1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29032: jackett: 0.7.1308 -> 0.8.151 (master...jackett_0.8.151) https://git.io/v5gh7
NixOS_GitHub has left #nixos []
hotfuzz has joined #nixos
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
jensens has joined #nixos
Jacoby6000__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/v5MIY
<NixOS_GitHub> nixpkgs/master 6b9ee30 Bjørn Forsman: nixos/gitolite: don't leak nix store hash into gitolite-admin username/key...
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 248 seconds)]
Jacoby6000__ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timor closed pull request #28958: Slic3r: 1.2.9 -> 1.3.0-dev (master...slic3r-1.3.0-dev) https://git.io/v5ElQ
NixOS_GitHub has left #nixos []
<mbrock> I wonder about the state of the new `nix` command
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.09: https://git.io/v5MI5
<NixOS_GitHub> nixpkgs/release-17.09 b98fda5 Bjørn Forsman: nixos/gitolite: don't leak nix store hash into gitolite-admin username/key...
NixOS_GitHub has left #nixos []
silver_hook has joined #nixos
JagaJaga has quit [(Ping timeout: 240 seconds)]
freeman42x has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg opened pull request #29266: pythonPackages.pyopenssl: 17.0.0 -> 17.2.0 (master...pyopenssl) https://git.io/v5MLp
NixOS_GitHub has left #nixos []
<LnL> what about it?
<chreekat> I'm on nixos, and I plugged in a usb microphone headset that failed to "just work". I can see it deep in the bowels of system settings as an entry in a 'Sound Card' dropdown, but there don't appear to be any 'sound devices' associated with that 'sound card'. Any idea for things to try?
<chreekat> sound works in general (after setting hardware.pulseaudio.enable = true), and this device worked on my previous OS, and it looks fine in journalctl -k
phreedom has quit [(Remote host closed the connection)]
Jacoby6000__ has joined #nixos
JagaJaga has joined #nixos
Jacoby6000__ has quit [(Ping timeout: 240 seconds)]
phreedom has joined #nixos
<CrazedProgrammer> have you tried setting the volume with pavucontrol?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/v5Mqq
<NixOS_GitHub> nixpkgs/staging ab62b7e Tuomas Tynkkynen: Revert "libgcrypt: Add pre-ARMv7 patch"...
NixOS_GitHub has left #nixos []
JagaJaga has quit [(Ping timeout: 248 seconds)]
<chreekat> i'll try
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to release-17.09: https://git.io/v5MqZ
<NixOS_GitHub> nixpkgs/release-17.09 99d9f74 Tuomas Tynkkynen: Revert "libgcrypt: Add pre-ARMv7 patch"...
NixOS_GitHub has left #nixos []
<mbrock> LnL: just curious if people are using it, if it's planned for nix 1.12, if there's a time estimate, etc
<chreekat> CrazedProgrammer: looks like it's basically all the same controls as whatever kde system settings app I was trying originally. There aren't any input or output devices associated with the headset
17SAAI5BX has joined #nixos
<17SAAI5BX> [nixpkgs] Mic92 closed pull request #29007: avr-*: split avr-gcc-libc into separate packages (master...avrclean) https://git.io/v5ztD
17SAAI5BX has left #nixos []
21WAAG0YP has joined #nixos
<21WAAG0YP> [nixpkgs] Mic92 pushed 6 new commits to master: https://git.io/v5Mq2
<21WAAG0YP> nixpkgs/master 6a458c1 Maximilian Güntner: avr-*: split avr-gcc-libc into separate packages...
<21WAAG0YP> nixpkgs/master 0f74f11 Maximilian Güntner: avrdudess: add separate avr-{gcc, binutils} dependencies
<21WAAG0YP> nixpkgs/master 6e54dbb Maximilian Güntner: arduino/ino: remove avrgcclibc as a dependency (see TODO)
21WAAG0YP has left #nixos []
<LnL> it's available in 1.12, it doesn't have all of the functionality yet but I use some of the new features like nix log and nix edit pretty often
pxc has joined #nixos
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 5 new commits to release-17.09: https://git.io/v5Mme
<NixOS_GitHub> nixpkgs/release-17.09 64d008c Maximilian Güntner: avr-*: split avr-gcc-libc into separate packages...
<NixOS_GitHub> nixpkgs/release-17.09 ace472e Maximilian Güntner: avrdudess: add separate avr-{gcc, binutils} dependencies...
<NixOS_GitHub> nixpkgs/release-17.09 4ed547b Maximilian Güntner: arduino/ino: remove avrgcclibc as a dependency (see TODO)...
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor opened pull request #29267: nixos/gitolite: use group 'gitolite' instead of 'nogroup' (master...nixos-gitolite) https://git.io/v5MmG
NixOS_GitHub has left #nixos []
woffs has quit [(Quit: Gateway shutdown)]
<CrazedProgrammer> cheekrat: oh :/ i dont think i can help you much further, sorry. you could try out alsamixer, it fixed a hardware mute on my new pc which i couldnt get to with any pulseaudio tools
woffs has joined #nixos
<CrazedProgrammer> chreekat:
HTTP_____GK1wmSU has joined #nixos
HTTP_____GK1wmSU has left #nixos []
<mbrock> LnL: ah, realized there's the `nixUnstable` package for trying it
pie_ has joined #nixos
<LnL> yeah you can use the 1.12 cli with the stable daemon
anderslundstedt has quit [(Quit: leaving)]
freeman42y has joined #nixos
elurin has quit [(Remote host closed the connection)]
anderslundstedt has joined #nixos
freeman42z has joined #nixos
freeman42x has quit [(Ping timeout: 248 seconds)]
ktf_ has quit [(Ping timeout: 248 seconds)]
freeman42y has quit [(Ping timeout: 248 seconds)]
andrewmcveigh has joined #nixos
JosW has quit [(Quit: Konversation terminated!)]
<lewo> Is there an implementation of nix-hash in perl, or a perl example that uses it?
simukis has joined #nixos
elurin has joined #nixos
Neo-- has quit [(Ping timeout: 246 seconds)]
stepcut has joined #nixos
nslqqq has quit [(Ping timeout: 260 seconds)]
spear2 has joined #nixos
spear2 has left #nixos []
spear2 has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
stepcut has quit [(Ping timeout: 248 seconds)]
<LnL> the 1.11 implementation might be perl, not sure
<niksnut> no
<niksnut> you can call the hashing functions from perl though
<phdoerfler> Infinisil: you rewrote https://github.com/r-raymond/nixos-mailserver into a module, is there any example on how to use it? I'm still very new to nixos.
Jacoby6000__ has joined #nixos
nslqqq has joined #nixos
<lewo> niksnut: ok, but it's a little bit boring to walk on the outputpath!
<lewo> btw, i will first try by calling nix-hash from the perl script to know if it solves my issue or not
spinningarrow has joined #nixos
Jacoby6000__ has quit [(Ping timeout: 252 seconds)]
pie_ has joined #nixos
ktf_ has joined #nixos
ShalokShalom_ has joined #nixos
spinningarrow has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
ShalokShalom has quit [(Ping timeout: 248 seconds)]
proteusguy has quit [(Remote host closed the connection)]
ShalokShalom_ is now known as ShalokShalom
pxc has joined #nixos
freeman42z has quit [(Ping timeout: 255 seconds)]
jensens has quit [(Ping timeout: 240 seconds)]
nh2 has quit [(Ping timeout: 246 seconds)]
ktf_ has quit [(Ping timeout: 252 seconds)]
pxc has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29012: maxx: allow launching individual components (master...maxx) https://git.io/v5zDD
NixOS_GitHub has left #nixos []
griff__ has joined #nixos
nh2 has joined #nixos
freeman42z has joined #nixos
ktf_ has joined #nixos
<vegai> how do I upgrade all packages I installed as a user?
Jacoby6000__ has joined #nixos
ktf_ has quit [(Ping timeout: 255 seconds)]
Jacoby6000__ has quit [(Ping timeout: 255 seconds)]
pietranera has left #nixos []
7GHAAK99O has joined #nixos
3NAABG644 has joined #nixos
<3NAABG644> [nixpkgs] edwtjo pushed 1 new commit to release-17.09: https://git.io/v5Mcg
<3NAABG644> nixpkgs/release-17.09 eb7b9e1 Dmitry Vyal: tensorflow-1.1.0 for python3.6...
3NAABG644 has left #nixos []
<7GHAAK99O> [nixpkgs] edwtjo closed pull request #29209: tensorflow for python3.6 (release-17.09...tf-17.09) https://git.io/v5PTI
7GHAAK99O has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edwtjo pushed 1 new commit to master: https://git.io/v5Mci
<NixOS_GitHub> nixpkgs/master 6abb29f Dmitry Vyal: tensorflow-1.1.0 for python3.6...
NixOS_GitHub has left #nixos []
<chreekat> vegai: there's nix-env --upgrade, though I don't know how to make sure it knows about newer versions of packages (I'm a newbie)
justbeingglad has joined #nixos
justbeingglad has left #nixos []
<davidak> chreekat: vegai do nix-channel --update before to update package definitions
Myrl-saki has joined #nixos
<chreekat> davidak: I thought that might be it, but what if 'nix-channel --list' is empty?
<chreekat> (nix-channel --update seemed to be a no-op)
<davidak> are you on NixOS?
<chreekat> yep
<davidak> i think there should be a channel
<davidak> but you can add one
* chreekat shrugs
chakerbenhamed has joined #nixos
<davidak> here is the commands
<chakerbenhamed> Hey! When I run `nix-shell` for the first time after a reboot it take some time to create the shell (from 1 minute to 3). However the second time I run it take 4 seconds. Is there a reason for such behaviour
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<the-kenny> Does it need to realize any store paths?
erictapen has joined #nixos
<vegai> ah, apparently it's nix-env -u '*'
<vegai> perhaps I'll add this to the wiki
<the-kenny> chakerbenhamed: If not it might be the harddisk cache having to warm up nixpkgs.
<vegai> davidak: would you agree that that's the way to do it?
<chakerbenhamed> the-kenny: It doesn't realize any paths
<the-kenny> are you on an SSD or harddisk?
<chakerbenhamed> Harddisk
<the-kenny> then it's likely the cache, noticed that on my disk machine too. Nixpkgs has quite a few files it needs to read, and harddisks are slow
<davidak> vegai: i think just nix-env -u to upgrade all installed packages for that user
<vegai> davidak: it didn't seem to do anything on my user, but it's probable that all my user's packages were up-to-date already
<chakerbenhamed> I should get an SSD then :p
<vegai> right
<the-kenny> absolutely!
griff__ has quit [(Quit: griff__)]
ktf_ has joined #nixos
<chreekat> davidak: I think it's relevant that running commands as root makes system-level changes. I even have a ~/.nix-defexpr/channels_root directory in my unprivileged account; using 'sudo nix-channel --update' made things happen (but what things, precisely, i do not know). It's all a bit fuzzy...
<chreekat> And yeah nixos-rebuild --upgrade is also probably relevant
<davidak> it should be explained in detail in the manual
<the-kenny> chakerbenhamed: there are likely tools to warm up hdd cache somehow, which you could run on boot, but that's just a workaround. A SSD will speed up your system quite heavily
<chakerbenhamed> the-kenny: Since the issue is from my side I can live with it for now. I will be changing my PC in the next month with one with SSD.
<ikwildrpepper> you can also put your nixpkgs on a filesystem that is mounted from a file
<ikwildrpepper> that will speed up access to, I think niksnuts used to do that before having a SSD
<chreekat> I think nothing happened because the stable channel has had no recent changes :) Last change on August 8...
<davidak> that makes sense
erictapen has quit [(Ping timeout: 252 seconds)]
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 246 seconds)]
MP2E has quit [(Quit: leaving)]
mudri has quit [(Ping timeout: 248 seconds)]
tmaekawa has joined #nixos
oida has joined #nixos
oida_ has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
vdemeester has quit [(Read error: Connection reset by peer)]
vdemeester has joined #nixos
jensens has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1b1fc65505 (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
proteusguy has joined #nixos
pxc has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
ktf_ has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to release-17.09: https://git.io/v5M8p
<NixOS_GitHub> nixpkgs/release-17.09 3418e73 Domen Kožar: pyopenssl: 17.0.0 -> 17.2.0...
NixOS_GitHub has left #nixos []
nwuensche has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/v5M4e
<NixOS_GitHub> nixpkgs/master 8081505 Domen Kožar: pyopenssl: 17.0.0 -> 17.2.0...
NixOS_GitHub has left #nixos []
<nwuensche> Hi! Is there a way to patchelf without the ned to make a package? I have a script that I have to run, but I'd have to patchelf it first
<gchristensen> nwuensche: hmm, 2 things: scripts don't usually need patchelf, and while it isn't difficult to get patchelf, it might just be easier to make a package! :)
<nwuensche> gchristensen: But I don't know the parameters right now that I have to use with the script. And I'd need the output of the script. Can I see this when I use it thorugh a pacakge?
<gchristensen> definitely, the package wouldn't run the script, the patched script would be the result of the package
<gchristensen> but again I'm not clear on the script needing patchelf, can you say more?
zarel has joined #nixos
Jacoby6000__ has joined #nixos
iyzsong has joined #nixos
<gchristensen> also, good morning #nixos :)
<hyper_ch> good afternoon, gchristensen
<nwuensche> gchristensen: That doesn't work so good. The real problem is that I want to use the emulator script provided by Android. But I just can use it with Android-Studio, with the cmd it doesn't work. Do you have any idea how to fix this?
Jacoby6000__ has quit [(Ping timeout: 260 seconds)]
<gchristensen> nwuensche: does the android-studio package in Nixpkgs not do what you need?
Radivarig_ has joined #nixos
Radivarig has joined #nixos
mudri has joined #nixos
Myrl-saki has quit [(Ping timeout: 248 seconds)]
<LnL> gchristensen: o/
<gchristensen> \o LnL
<LnL> you're back!
takle has quit [(Remote host closed the connection)]
<domenkozar> welcome back the ori
takle has joined #nixos
Myrl-saki has joined #nixos
<gchristensen> glad to be back :) about half way through I started dreaming about NIX_PATH 0.0
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 5 new commits to master: https://git.io/v5MB9
<NixOS_GitHub> nixpkgs/master 817c20c Tuomas Tynkkynen: chromaprint: Disable on Darwin...
<NixOS_GitHub> nixpkgs/master e6e8565 Tuomas Tynkkynen: toxic: Disable on Darwin...
<NixOS_GitHub> nixpkgs/master 8d85d27 Tuomas Tynkkynen: pythonPackages.alot: Disable on Darwin...
NixOS_GitHub has left #nixos []
<nwuensche> gchristensen: I have to run an android emulator with a special option which I can only set via the terminal
zarel has quit [(Quit: Leaving)]
mattcode has quit [(Quit: Leaving)]
<gchristensen> primeos / primeos[m] maybe you can help with this Android emulator question by nwuensche?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #29268: pirate-get: 0.2.10 -> 0.2.12 (master...pirate-get) https://git.io/v5MRO
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 5 new commits to release-17.09: https://git.io/v5MRc
<NixOS_GitHub> nixpkgs/release-17.09 37fc2c0 Tuomas Tynkkynen: chromaprint: Disable on Darwin...
<NixOS_GitHub> nixpkgs/release-17.09 1b6e075 Tuomas Tynkkynen: toxic: Disable on Darwin...
<NixOS_GitHub> nixpkgs/release-17.09 7b05f25 Tuomas Tynkkynen: pythonPackages.alot: Disable on Darwin...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Moredread opened pull request #29269: Test opening encrypted filesystem with keyfile (master...test_crypt_with_keyfile) https://git.io/v5MR8
NixOS_GitHub has left #nixos []
<gchristensen> oh nice, Moredread
<gchristensen> sorry nwuensche, this is out of my league on Android, but hopefully primeos can help!
<aanderse> i just realized the hostid command returns the same value of 2 of my machines... is this a problem?
<nwuensche> gchristensen: No problem, thank you!
voidtopology has joined #nixos
<gchristensen> https://github.com/NixOS/nixpkgs/issues/29142#issue-256419257 the way github embeds code samples now is really great
<voidtopology> hello, I would like to know how to properly bootstrap minimal nixos with musl libc and whether this is possible or not? also is there a way to build some of the packages with static linking?
<voidtopology> I plan to do minimal x32 env with s6 and other admin tools and make them static and use other packages with x86_64 and dynamic linking
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5M0U
<NixOS_GitHub> nixpkgs/master 39e327e Jörg Thalheim: nixos/openafs-client: update cellServDB 2009-06-29 -> 2017-03-14
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #29270: btfs: 2.13 -> 2.17 (master...btfs) https://git.io/v5M0T
NixOS_GitHub has left #nixos []
<simpson> voidtopology: I think that you'll have to do work to get Nix and the userland core onto musl.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5M0O
<NixOS_GitHub> nixpkgs/release-17.09 30d6f55 Jörg Thalheim: nixos/openafs-client: update cellServDB 2009-06-29 -> 2017-03-14...
NixOS_GitHub has left #nixos []
kuznero has joined #nixos
<kuznero> Hi
<kuznero> I am trying from `dockerTools.pullImage { imageName = "alpine"; imageTag = "3.3"; sha256 = "..."; }` but it fails with `Handler for POST /v1.30/images/create returned error: Get https://registry-1.docker.io/v2/: proxyconnect tcp: dial tcp 127.0.0.1:3128: getsockopt: connection refused`... Please help!
<voidtopology> what should be done? I've been using gentoo and exherbo beforehand and now i want to switch to the NixOS, and I would love to know how could I be of help in order to port those tools, also is there a selinux profile?
tmaekawa has quit [(Quit: tmaekawa)]
<kuznero> I am trying to build image with `nix-build docker.nix` having everything described in my nix file. But now it fails to pull that dependency image. It was working before with 17.03 (I am on 17.09 channel now).
SOO7 has quit [(Quit: Quit)]
<simpson> voidtopology: If you want to get core stuff onto musl, #nixos-dev is probably a good place. For individual packages, building with musl is probably just a matter of building them with a musl-built gcc.
<simpson> But you probably should play with Nix a bit first to understand what you're getting into.
<simpson> kuznero: Didn't the networking restrictions change from 17.03 to 17.09? Not sure TBH.
zarelit has left #nixos []
<kuznero> simpson: hm, I can pull images by calling `docker pull ...` myself as a user. Why nix-build could not do the same then, even with 17.09...
<simpson> kuznero: Nix builds in a restricted environment that normally doesn't have networking.
<LnL> do you have sandboxing enabled?
<kuznero> Is there anything like --not-pure for nix-build?
<LnL> nope
<kuznero> Hm, since dockerTools.pullImage is still there it should be working somehow :) even behind corporate network firewalls :)
<kuznero> hopefully
SOO7 has joined #nixos
Radivarig__ has joined #nixos
<kuznero> ok, maybe I can try differently... is it possible to use image from locally available images? Such that I can pull it myself before running nix-build?
<LnL> only a fixed output drv has network access if you have sandboxing enabled
<kuznero> LnL: I am not sure what a sandboxing is... Just in case - here is my docker.nix file... https://github.com/kuznero/monitor/blob/master/docker.nix
Radivarig_ has quit [(Ping timeout: 260 seconds)]
Radivarig has quit [(Ping timeout: 260 seconds)]
<gchristensen> kuznero: what do you mean by ""fails to pull that dependency image."" ?
<kuznero> gchristensen: I mean that as part of `nix-build docker.nix` it fails with error: Handler for POST /v1.30/images/create returned error: Get https://registry-1.docker.io/v2/: proxyconnect tcp: dial tcp 127.0.0.1:3128: getsockopt: connection refused
Radivarig has joined #nixos
<voidtopology> simpson: I'm reading the docs now and trying to make a minimal image which I'll kexec. still as far as i can see there is nothing about selinux in the manual, should one cook it from scratch?
<kuznero> I guess that it is when it is trying to `dockerTools.pullImage`
<gchristensen> kuznero: what is at 127.0.0.1:3128 ?
<kuznero> That is my local proxy (CNTLM)
<simpson> voidtopology: I don't think that SELinux is a thing on NixOS, sorry.
<gchristensen> oh I see
<voidtopology> simpson: pull requests are welcome?
<simpson> voidtopology: Yes, but this is probably non-trivial. If you haven't worked with Nix yet, you might not have enough context to see why it's difficult.
<simpson> voidtopology: Also, SELinux is a little incompatible philosophically; it's based around contexts and roles, whereas Nix is a POLA system based around designation of authority. Capability-style, not role-style.
<simpson> So there may be some impedance mismatch.
<gchristensen> wow, ok
<gchristensen> kuznero: the reason it doesn't work is awkward
<voidtopology> simpson: thank you for the answers.
<LnL> kuznero: I think the connection to the qemu vm is trying to go over the proxy or something
<gchristensen> I think the docker daemon inside the qemu vm is correctly trying to connect to the proxy, but on localhost
<kuznero> LnL: gchristensen: it is actually good that it is trying that (otherwise, it would fail).
<gchristensen> and localhost inside the qemu vm isn't kuznero's localhhost
<kuznero> It is correctly using system-wide http(s)_proxy env vars
<kuznero> ah
<kuznero> hm, is that a recent change?
<gchristensen> in fact, I think using a qemu vm makes impureEnvVars = lib.fetchers.proxyImpureEnvVars; (where the image is being pulled) not useful https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/docker/pull.nix
<gchristensen> it is kuznero
<gchristensen> new as of 17.09 (from May)
<kuznero> ah... I just switched to 17.09 :(
pxc has joined #nixos
<LnL> it is, pullImage didn't work before 17.09
<kuznero> gchristensen: LnL: do you think there is a workaround?
<kuznero> LnL: it was working fine on 17.03 :) at least from my view
<LnL> the v1 registry has been deprecated a long time ago, no?
<gchristensen> kuznero: can you open an issue?
<gchristensen> I'm not sure why it is working for you, kuznero, I can share some workaround code for you
<gchristensen> why it was*
<LnL> not propagating the impureEnvVars might fix the issue
<kuznero> gchristensen: please share your workaround! I will open an issue now.
<gchristensen> kuznero: ping me in 5min?
<kuznero> But it wouldn't know about proxy
<kuznero> gchristensen: ok
<kuznero> The thing is that without proper access to proxy it wouldn't reach out to public docker hub at all
pxc has quit [(Ping timeout: 248 seconds)]
hamishmack has quit [(Ping timeout: 252 seconds)]
<gchristensen> kuznero: makes sense, IMO this is a blocking change for 17.09
<kuznero> gchristensen: feeling good to be able to contribute finally even that way :) filling out an issue now. Will you review?
<gchristensen> yes
<kuznero> gchristensen: Just submitted: https://github.com/NixOS/nixpkgs/issues/29271
<lewo> kuznero: I think I submitted a patch for this some days ago...
<kuznero> lewo: sounds great! Can you please share a link and some details about how exactly?
<kuznero> gchristensen: thanks, will try to go through it now.
<lewo> kuznero: no, it's not the same issue
<lewo> kuznero: sorry
<kuznero> lewo: np
<gchristensen> kuznero: can you find the last version of nixpkgs you used where it did work?
jellowj has joined #nixos
<kuznero> gchristensen: hm, that might be difficult. I guess latest on 17.03 worked. As soon as I switched to 17.09 it stopped. But if you can help me find what you need, I am ready to try...
<gchristensen> you're on nixos
<gchristensen> ?
<kuznero> yep
<nwuensche> gchristensen: I fixed my problem from switching from openbox to x11. Thank you nevertheless
nwuensche has quit [(Quit: Leaving)]
<gchristensen> interesting
odi has quit [(Ping timeout: 248 seconds)]
hamishmack has joined #nixos
<kuznero> gchristensen: in the example you send you simply override all docker tools functions with your version, right? Is it possible to have `nixpkgs.config.packageOverrides` inside a standalone derivation such that I can hide it inside my `docker.nix` somehow?
<gchristensen> well no, but you can do similar :)
Ivanych has joined #nixos
<gchristensen> around https://github.com/kuznero/monitor/blob/36ff55e85bd649b5ae0992ebd50636489e11a7c9/docker.nix#L4 do grahamsDockerTools = callPackage ./grahams-docker-tools; then replace dockerTools.pullImage with grahamsDockerTools.pullImage
<kuznero> But that is fairly severe and might deserve to be system-wide modification for now...
<gchristensen> I'd put it in the repo
<kuznero> makes sense
voidtopology has quit [(Read error: Connection reset by peer)]
<aanderse> having some trouble getting a legacy mount zfs pool to mount the nixos way because i have a space in the name...
<aanderse> file system is in the "tank" pool, under data set "tank/Home Videos"
<spear2> is there a package I could install to get a "configured and built kernel tree" on my system, for use in device driver development?
<aanderse> i'm trying to mount it to "/data/Home Videos" using nixos fileSystems
Myrl-saki has quit [(Ping timeout: 248 seconds)]
<gchristensen> aanderse: wow, what a cool bug!
<kuznero> gchristensen: thanks! will try it out now.
<gchristensen> aanderse: can you describe where you first see the trouble?
<aanderse> gchristensen: not a bug... just me being silly i'm guessing
<aanderse> have this config: fileSystems."/data/Home Videos" = { device = "tank/Home Videos"; fsType = "zfs"; };
<gchristensen> _definitely_ a bug, NixOS isn't handling the data correctly
<aanderse> i'm guessing its the space in the name because all the other zfs data sets working
<aanderse> ohh.. i see, a bug that zfs doesn't complain
<aanderse> yeah... fair point
<gchristensen> ZFS doesn't complain so nixos should handle it
<aanderse> yeah so... it must be the space in the name
jellowj has quit [(Quit: WeeChat 1.7.1)]
<aanderse> i was trying a few ways to escape the space with a \
<aanderse> any ideas?
* aanderse logs into github to file bug
Ivanych has quit [(Ping timeout: 260 seconds)]
jellowj has joined #nixos
<gchristensen> aanderse: when you nixos-rebuild with a new fileSystems... configuration, it should rebuild a file called something like `stage-1-init`, can you paste that file's contents somewher?
<kuznero> gchristensen: does that look about right? http://lpaste.net/358380
<aanderse> gchristensen: https://pastebin.com/qnV7KqiK
<aanderse> i don't see a stage-1-init
<aanderse> maybe you want the zfs-import-tank service?
<gchristensen> aanderse: just for now, change fileSystems."/data/Home Videos" = { device = "tank/Home Videos"; fsType = "zfs"; }; to fileSystems."/data/Home Videos" = { device = "tank/My Home Videos"; fsType = "zfs"; };
<gchristensen> kuznero: looks good
<kuznero> gchristensen: and in the folder `my-docker-tools` I should place all the files from https://github.com/tumblr/jetpants/tree/master/testing/packages/docker right?
<gchristensen> yeah
<kuznero> That gives an error: error: value is a function while a set was expected, at /home/kuznero/Projects/DGitHub/monitor/docker.nix:16:17
phreedom has quit [(Remote host closed the connection)]
<aanderse> hmm... when i rebuild i only see this error:
<aanderse> stopping the following units: Videos.mount
<aanderse> Failed to stop Videos.mount: Unit Videos.mount not loaded.
<gchristensen> aanderse: can you paste the log like you did the first time?
<gchristensen> :/
<gchristensen> something is very weird
<aanderse> 1 sec... you'll need the nixos config
<aanderse> i have another zfs dataset called tank/Videos
<aanderse> as well as the tank/Home Videos i mentioned
<gchristensen> kuznero: oops callPackage ./my-docker-tools;
<gchristensen> -> callPackage ./my-docker-tools;
<gchristensen> ..
<gchristensen> kuznero: oops callPackage ./my-docker-tools; -> callPackage ./my-docker-tools {};
phreedom has joined #nixos
<aanderse> gchristensen: the relevant file system mounts https://pastebin.com/wLi8WTB1
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v5Mad
<NixOS_GitHub> nixpkgs/master e2ddc7f Joachim Fasting: libffcall: 1.10 -> 2.0...
NixOS_GitHub has left #nixos []
<kuznero> gchristensen: so having `myDockerTools = callPackage ./my-docker-tools {};` now and then `fromImage = myDockerTools.pullImage`. That gives more interesting: error: anonymous function at /home/kuznero/Projects/DGitHub/monitor/my-docker-tools/pull.nix:8:1 called without required argument ‘ident’, at /home/kuznero/Projects/DGitHub/monitor/docker.nix:16:17
hotfuzz has joined #nixos
<kuznero> Not sure what `ident` is used for in pull.nix
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
<gchristensen> I don't remember :P
eacameron has joined #nixos
Infinisi1 has joined #nixos
<kuznero> gchristensen: that moves way further, but fails when curl pull image... will see if I need to pass on some proxy config to it. Thanks!
Infinisil has quit [(Ping timeout: 240 seconds)]
<gchristensen> oh one more thing
<gchristensen> (at least :) )
WinterFox[m] has quit [(Ping timeout: 255 seconds)]
* aanderse tries to think of a name for "Home Videos" that doesn't have a space in it... -_-
eacameron has quit [(Ping timeout: 264 seconds)]
<kuznero> gchristensen: gives 401 unauthorized now :) just in case, is it possible to downgrade from 17.09 to 17.03?
<gchristensen> sure, as root: nix-channel --rollback
<kuznero> gchristensen: what do you think is a proper solution to this problem?
Ivanych has joined #nixos
<gchristensen> I don't know :(
odi has joined #nixos
hoodoo_ has joined #nixos
<kuznero> gchristensen: and before they started using qemu, was it different somehow?
<Infinisi1> aanderse: I'd just use homevideos
MP2E has joined #nixos
<gchristensen> kuznero: yeah, it didn't break the same way :P but to be frank, I'm not sure how it worked at all for you. I thought it was totally broken in 17.03
<hoodoo_> Hi, did anybody try to deploy to Hetzner _vm_ lately? I'm getting the following error: http://pastebin.it/150/
<lewo> kuznero: maybe this could help you: nix-build -E 'with import /home/lewo/repos/nixpkgs-channels {}; pkgs.runCommand "pull" {} "${pkgs.skopeo}/bin/skopeo copy docker://library/ubuntu docker-archive://$out:ubuntu:latest"'
<gchristensen> yes! I think skopeo is a much better bet for this
<hoodoo_> In Robot log I see a subaccount created, request for rescue mode but no shutdown attempt.
<gchristensen> lewo: I can never find skopeo and can only get to spokeo
<kuznero> lewo: gchristensen: unfortunately I have to run now. Thanks for advices! Will be watching for the fix and will try to rollback to 17.03 and try again.
WinterFox[m] has joined #nixos
kuznero has quit [(Quit: Page closed)]
Ivanych has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5Mr2
<NixOS_GitHub> nixpkgs/master 7786aab Jörg Thalheim: openssh: update gssapi patch
NixOS_GitHub has left #nixos []
vanrein has left #nixos ["http://quassel-irc.org - Chat comfortably. Anywhere."]
aanderse has quit [(Read error: Connection reset by peer)]
VLetrmx has joined #nixos
<VLetrmx> Woah I just noticed that nixpills have been brought into the mainsite
<VLetrmx> that's really cool
<lewo> gchristensen: sorry, I didn't understand
<VLetrmx> I love nix pills!
aanderse has joined #nixos
<aanderse> and thats why i use nixos....
<gchristensen> aanderse: oh?
<aanderse> i renamed the zfs filesystem to tank/homevideos (without a space)
<gchristensen> VLetrmx: awesome! I'm glad!
<aanderse> and then tried to mount it as /data/Home Videos
<gchristensen> VLetrmx: if you have corrections: http://github.com/nixos/nix-pills
<aanderse> and the system basically crashed on me instantly after the rebuild
<gchristensen> omg
<aanderse> dropped me to a shell
<aanderse> shit on me
<VLetrmx> gchristensen, Woah awesome :D
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #29272: kerberos: store state in /var/lib instead of $out/var (staging...kerberos) https://git.io/v5Mr5
NixOS_GitHub has left #nixos []
<aanderse> said "hit enter to drop into root shell and look at journalctl -xe" etc...
<aanderse> but when i hit enter said "nope"
<aanderse> reboot... pick previous boot entry
<aanderse> <3 nixos
hotfuzz_ has joined #nixos
<aanderse> hmm... and apparently i love firefox too now... because it saved my github error report :D
hotfuzz has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
<joepie91> old boot entries have saved me multiple times
<joepie91> :p
<gchristensen> nixos has at least a few good ideas ... :)
ntinos has quit [(Remote host closed the connection)]
rauno has quit [(Ping timeout: 248 seconds)]
<aanderse> more than a few! :D
pxc has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
<aanderse> my issue is resolved by taking the advice someone posted about simply renaming from "Home Videos" to "homevideos" on both the data set name and mount point...
<aanderse> but now it is filed :)
<aanderse> so thanks all for your help
reinzelmann has quit [(Quit: Leaving)]
<gchristensen> glad to hear it, aanderse :)
hydraz has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo opened pull request #29274: paths-from-graph.pl: generate the hash of the store path (master...pr/generate-hash) https://git.io/v5MKH
NixOS_GitHub has left #nixos []
<domenkozar> wish we also renamed nix pills
<domenkozar> we sound like communist propaganda
<gchristensen> lol
pie_ has quit [(Ping timeout: 248 seconds)]
<vaibhavsagar> is nix-pills meant to remain a word-for-word port of the original blog posts?
<vaibhavsagar> because there are grammatical nitpicks I have that I would love to fix
hydraz has joined #nixos
<domenkozar> no
hydraz has quit [(Changing host)]
hydraz has joined #nixos
<hyper_ch> domenkozar: so it's better to rename it that sounds like US propaganda?
<gchristensen> vaibhavsagar: the original copying over was word-for-word just to get it done
<vaibhavsagar> that's fair
<gchristensen> vaibhavsagar: now that it is copied, I'd love to see PRs improving it
<vaibhavsagar> cool, I updated the README with the modified command I needed to build just now
<gchristensen> nice
<vaibhavsagar> good to know that other PRs are welcome
<gchristensen> send lots of PRs :)
freeman42z has quit [(Read error: Connection reset by peer)]
freeman42x has joined #nixos
<disasm> gchristensen: welcome back! Have a good time off?
goibhniu has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
goibhniu has quit [(Client Quit)]
arximboldi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #29276: hugo: 0.26 -> 0.27 (master...pr/hugo-0.27) https://git.io/v5MPm
NixOS_GitHub has left #nixos []
goibhniu has joined #nixos
<domenkozar> hyper_ch: no, I'd aim for something neutral :P
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
<hyper_ch> neutral propaganda?
<domenkozar> like Nix User Guide
<domenkozar> or Nix Developer Guide
<hyper_ch> or Domenkozar's Guide to NixOS?
<hyper_ch> I don't like readthedocs.io
<hyper_ch> why can't I get masterpdfeditor to work :(
nixer has joined #nixos
<makefu> hyper_ch: that was not the point. the nix-cookbook is essentially domenkozar's guide to NixOS
<makefu> ;)
erasmas has joined #nixos
justanotheruser has quit [(Ping timeout: 260 seconds)]
alphor_ is now known as alphor
seppellll has quit [(Remote host closed the connection)]
ison111 has joined #nixos
bennofs has joined #nixos
odi has quit [(Ping timeout: 255 seconds)]
<nixer> Given a derivation path in the nix store is it possible to check whether that derivation comes from nixpkgs? Basically I want to distinguish between derivations that I wrote and ones that are upstream.
bennofs has quit [(Ping timeout: 248 seconds)]
jensens has quit [(Ping timeout: 246 seconds)]
pxc has joined #nixos
<Infinisi1> nixer: Don't think so, where a nix expression originated from is in no way present in a derivation
<Infinisi1> You could however use passthru on your own nix expressions (maybe even your own mkDerivation that does this), to indicate that it's from yourself
<nixer> Infinisi1: Even if I'm willing to hit the hydra API, S3 logs, etc?
<Infinisi1> Hmm, then it might be possible
* Infinisi1 thinks
<domenkozar> you can just use search on hydra
<domenkozar> and it will print out hits if it was built there
<domenkozar> although hydra doesn't build everything
<domenkozar> so you might get false negatives
<nixer> I need to do this programmatically, so I'd prefer to use the API.
<Infinisi1> what you'd really need is to instantiate all derivation ever in nixpkgs and search through that
pxc has quit [(Ping timeout: 252 seconds)]
<Infinisi1> derivations*
<Infinisi1> But I don't think this can be done easily
<nixer> Infinisi1: Yeah that was my original idea, but there are so many broken packages.
<Infinisi1> you'd need to filter them out
<Infinisi1> Why do you need this anyways? Why not just use passthru?
<gchristensen> disasm: excellent! thank you :) glad to be back, though
<nixer> Infinisi1: I think the pass through may work, I want to save some of the derivations that I've built.
nithor has quit [(Quit: WeeChat 1.0.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #29277: kdeFrameworks: 5.37 -> 5.38 (master...kde_frameworks_5_38) https://git.io/v5MQE
NixOS_GitHub has left #nixos []
<Infinisi1> Sorry I don't get that, what do you mean by 'save' some derivations?
Neo-- has joined #nixos
<brodul> go 5
<brodul> sorry
<brodul> typo
dieggsy has joined #nixos
bennofs has joined #nixos
jtojnar has joined #nixos
bkchr has quit [(Ping timeout: 260 seconds)]
<sphalerite> um
<sphalerite> nixcon people: http://nixcon2017.org/participants.html says "Hackathon: 27 Participants (max. 25)"
<sphalerite> Profpatsch: I know you have something to do with the organisation
<sphalerite> I think that's not meant to happen? :)
<disasm> gchristensen: not sure if you saw in the backlog, but nixcon was approved. Tickets are booked, so excited :)
<gchristensen> disasm: WOW! Nice!!
iyzsong has quit [(Ping timeout: 240 seconds)]
mattcode has joined #nixos
<julm> __Sander__: Hi! :) could you have a look at https://github.com/svanderburg/disnix/issues/10 ? Should be easy to fix (I guess) and remove an unpleasant obstacle on the path of Disnix's new users :]
dieggsy has quit [(Remote host closed the connection)]
justme^^ has joined #nixos
dieggsy has joined #nixos
bkchr has joined #nixos
phreedom has quit [(Ping timeout: 264 seconds)]
pie_ has joined #nixos
acarrico has joined #nixos
<VLetrmx> A while back I integrated a git service known as gitano into NixOS. The changes are here, https://github.com/NixOS/nixpkgs/compare/master...richardipsum:gitano But I feel like it would be difficult to get the whole thing accepted in a single PR. Is it better perhaps to submit a PR for each pkg added?
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<gchristensen> VLetrmx: yes please
<VLetrmx> gchristensen, Okay cool I'll do that then (at some point) :)
<Profpatsch> sphalerite: Hackathon has changed location, so maybe it’s okay to have more than 25 people, cc _c_
stepcut has joined #nixos
pie_ has quit [(Ping timeout: 252 seconds)]
freeman42x1 has quit [(Quit: Leaving.)]
bkchr has quit [(Remote host closed the connection)]
pxc has joined #nixos
bkchr has joined #nixos
spear2 has quit [(Quit: ChatZilla 0.9.93 [Firefox 54.0/20170616104331])]
pxc has quit [(Ping timeout: 240 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
jellowj has joined #nixos
bkchr has quit [(Ping timeout: 260 seconds)]
freeman42x has quit [(Ping timeout: 260 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
ntinos has joined #nixos
proteusguy has joined #nixos
pie_ has joined #nixos
Jacoby6000__ has joined #nixos
timon37 has joined #nixos
M1k3y has joined #nixos
stepcut has quit [(Remote host closed the connection)]
<M1k3y> Hello together, question time. Has anyone here tried to setup a IPv6 adress with a prefix LONGER than 64 bit? I'm having some problems on my hoster, who provides me a /80 subnet.
<Infinisi1> Lol, not sure what's up with that person in the mailing list: https://groups.google.com/d/msg/nix-devel/P8QbKVGSUjU/o6Eofvo3AAAJ
<makefu> wasnt there a similar `incident` with systemd in nixos?
<gchristensen> Infinisi1: "please cut out any speculation about the emotional state of another " :)
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
jensens has joined #nixos
pxc has joined #nixos
__Sander__ has quit [(Quit: Konversation terminated!)]
civodul has quit [(Remote host closed the connection)]
sellout- has quit [(Ping timeout: 240 seconds)]
<Infinisi1> makefu: You mean how people constantly want to get away from systemd on nixos but can't?
<makefu> something like this, this discussion also got quite emotional
mpcsh has joined #nixos
<mpcsh> Hey all, I'm trying to write a quick nix expression for github.com/rupa/z - in my installPhase, I have `mkdir $out/bin $out/share/man/man1`, but the build fails with `mkdir: missing operand`. Anyone know what gives?
GetalMear has joined #nixos
<mpcsh> nvm I'm dumb :)
<hyper_ch> I won't argue against that
<Infinisi1> mpcsh: What was it?
<mpcsh> I didn't have an unpackPhase :)
ircuser921 has joined #nixos
jb55 has joined #nixos
justme^^ has quit [(Quit: Konversation terminated!)]
<ircuser921> does nixos support any MAC systems? The binary paths make writing policies difficult. I wonder how its solved for apparmor.
jb55 has quit [(Client Quit)]
oida_ has joined #nixos
aloiscochard has quit [(Quit: Connection closed for inactivity)]
pie_ has quit [(Ping timeout: 255 seconds)]
stepcut has joined #nixos
oida has quit [(Ping timeout: 248 seconds)]
GetalMear has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
stepcut has quit [(Remote host closed the connection)]
<tilpner> ircuser921 - There seems to be an AppArmor module. SELinux is not supported IIRC
jensens has quit [(Ping timeout: 246 seconds)]
nschoe has quit [(Quit: Program. Terminated.)]
Ivanych has joined #nixos
sellout- has joined #nixos
hoodoo_ has quit [(Ping timeout: 252 seconds)]
MinceR has quit [(Ping timeout: 248 seconds)]
<domenkozar> we need nixos weekly going again :(
<disasm> M1k3y: I haven't but what's the problem?
<disasm> domenkozar: yeah, been a while since I got a weekly mailing :)
MinceR has joined #nixos
<M1k3y> disasm: Actually I have no clue what's the problem. I set an IP from my pool with networking.interfaces.enp0s3.ip6 But v6 Networking just doesn't seem to work. I can neither connect or ping from home (native v6, just hanging) nor can I ping out (network unreachable).
<ircuser921> does the default installed kernel support booting itself without a bootloader?
pie_ has joined #nixos
<disasm> M1k3y: is this hetzner by chance?
<M1k3y> disasm: no, php-friends. But I wouldn't be surprised if they have a similar setup.
<disasm> M1k3y: gist out of ip -6 addr show and ip -6 route show
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] winniequinn opened pull request #29280: aspcud: add darwin platform support (master...aspcud-darwin) https://git.io/v5DIe
NixOS_GitHub has left #nixos []
<M1k3y> disasm: I also tried with a /64 and a /80 mask after my hoster suggested this, but it didn't change the outcome
ircuser921 has left #nixos []
<disasm> M1k3y: you seem to be missing a default via
<catern> is there a good quick tutorial somewhere for using Nix for people who are completely unfamiliar with, and uninterested in, Nix?
<catern> i.e. the vast mass of users I am about to give myself
<M1k3y> disasm: I thought so to, but there are no options for a default or alternative gateway.
<disasm> M1k3y: are you statically setting the ipv6 address?
<M1k3y> disasm: yes
<disasm> M1k3y: you need to set defaultGateway6: https://nixos.org/nixos/manual/index.html#sec-ipv6
kuznero has joined #nixos
<kuznero> Hi All!
<Ankhers> What are some techs that people would like to see replace docbook?
<hyper_ch> techs?
<simpson> Ankhers: Annotated ologs. No software for them yet though.
goibhniu has quit [(Ping timeout: 246 seconds)]
<bennofs> what's olog
<M1k3y> disasm: how could I not see this? Thank you for pointing me in the right direction.
<Ankhers> I don't really know what else to call it. I just hear a lot of people hating on docbook.
M1k3y is now known as M1k3y-away
<disasm> Hi kuznero!
oida has joined #nixos
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
oida_ has quit [(Ping timeout: 240 seconds)]
<kuznero> disasm: Hi! Want to join https://github.com/NixOS/nixpkgs/issues/29271 ? dockerTools seems to be broken in 17.09 :(
mudri has quit [(Ping timeout: 260 seconds)]
stepcut has joined #nixos
anderslundstedt has quit [(Remote host closed the connection)]
takle has quit [(Remote host closed the connection)]
bennofs has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
jellowj has quit [(Ping timeout: 248 seconds)]
jellowj has joined #nixos
bennofs has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<pxc> vaibhavsagar, mbrock: hey again! Since I ran into more troubles when I used that TH to try to get git into just tldr, I tried overriding shell-conduit to include git as a buildInput this morning, everything worked as expected :-)
<pxc> no need for propagatedBuildInputs, either; just buildInputs works fine
<pxc> I'll submit a PR in a few minutes
stepcut has quit [(Remote host closed the connection)]
* Infinisi1 checks out olog
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v5Dq7
<NixOS_GitHub> nixpkgs/master 422adc3 Vladimír Čunát: Merge branch 'staging'...
NixOS_GitHub has left #nixos []
<Infinisi1> Oh boy
dieggsy has quit [(Quit: ERC (IRC client for Emacs 26.0.50))]
stepcut has joined #nixos
Infinisi1 has quit [(Quit: leaving)]
Infinisil has joined #nixos
<gchristensen> Infinisil: oh?
<Infinisil> gchristensen: I have only read the abstract, but it sounds interesting
<simpson> It's a good paper.
kuznero has quit [(Ping timeout: 260 seconds)]
<gchristensen> Ankhers: "the docbook problem" is really an ingrained idea that xml in not good
<gchristensen> afaict
stepcut has quit [(Ping timeout: 240 seconds)]
<Ankhers> gchristensen: I figured that was it. It was my issue when I first started writing it as well. I was just wondering what else people are / want to use.
<gchristensen> literally everything else
<Ankhers> lol?
<gchristensen> latex, md, rst, plain text, forth, you ask a 575-member channel what you should write docs in and you get 600 answers back
<gchristensen> s/forth/troff/
<Infinisil> except latex, I agree
<Ankhers> Infinisil: What do you not like about latex?
<Infinisil> Ankhers: Too low level imo, I have been writing notes in markdown and then doing conversion to latex -> pdf
<Ankhers> That's fair.
<Infinisil> And stuff like this is why I don't like current docs: https://github.com/NixOS/nixpkgs/blob/release-17.03/nixos/modules/system/boot/modprobe.nix#L31-L32
<simpson> Infinisil: Try LyX.
<gchristensen> IMO "the docbook debate" isn't really "docbook is hard" but "writing docs is hard" and it is easier to blame the tool than the process
<simpson> gchristensen: I heavily agree.
<hyper_ch> isn't code enough documentation? *smile*
<Ankhers> I need better practice writing docs. I don't do it enough.
<gchristensen> .lart hyper_ch
<Ankhers> I remember what I actually though that.
<Ankhers> s/what/when/
<disasm> I'm in agreement with gchristensen here as well, docbook isn't that hard. Nothing compared to learning latex, lol although I do like latex for some things still :)
ixxie has joined #nixos
<Ankhers> Everything personal that I do is org mode...
<gchristensen> sure let's write docs in org mode
<Infinisil> org-mode++
<gchristensen> docbook-flavored-org-mode
<hyper_ch> what's org mode?
<Ankhers> But I have only ever worked with 2 other people that used emacs. So I can't seriously use it at work.
<gchristensen> it is why I switched to emacs: http://orgmode.org/
<disasm> I would think that probably has a lot of the same drawbacks as markdown, right?
<Infinisil> I only use the very basics of org-mode jsut yet, but I want to get more accustomed to it
<hyper_ch> I've heard things about emacs
<hyper_ch> and I read an xkcd strip about emacs
<Ankhers> Emacs is a great OS.
endformationage has joined #nixos
<alphor> so happy when I found someone had a polished nix-mode.
<Ankhers> hyper_ch: Glad I don't get my mail in emacs :P
<hyper_ch> ‎[19:42] ‎<‎Ankhers‎>‎ Emacs is a great OS. --> it just lacks a good text editor and a decent mail client?
<gchristensen> notmuch.el is pretty good for mail
takle has quit [(Remote host closed the connection)]
<Ankhers> The editing experience in default emacs is ok. I just haven't really gotten around to doing my mail through it.
dieggsy has joined #nixos
takle has joined #nixos
<hyper_ch> but the timeline is great
<hyper_ch> 2017-09-04. Bug reported to the Emacs bug tracker by Charles A. Roelli.
<Infinisil> Ohh, here is a great demo of what you all can do with org mode tables: https://youtu.be/fTJVLJd_gz0?t=2m45s
<hyper_ch> 2017-09-07. POC for remote code execution sent to the maintainers of Emacs and Gnus (Reiner Steib <Reiner.Steib () gmx de>, private mail).
<hyper_ch> 2017-09-09. Patch committed in main development repository.
<hyper_ch> 5 days to fix a patch.... other multi-billion dollar corporations can't fix bugs within 90 days...
mudri has joined #nixos
<catern> oh, I thought you were going to complain that was slow :)
<gchristensen> did you know? NixOS runs the test farm for emacs and other gnu projects: https://hydra.nixos.org/jobset/gnu/emacs-trunk
<catern> the updated Emacs 25.3 doesn't seem to be in Nix yet
<hyper_ch> catern: I think 5 days is a good time
<catern> I guess I'll send the patch to update it
takle has quit [(Ping timeout: 252 seconds)]
stepcut has joined #nixos
<Barnabas[m]> Does anyone have recent versions of unreal engine 4 working on NixOS by any chance?
simendsjo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/v5D3S
<NixOS_GitHub> nixpkgs/master 6d760d9 Josef Kemetmueller: pythonPackages.audiotools: Fix darwin build
<NixOS_GitHub> nixpkgs/master cd286d4 Daiderd Jordan: Merge pull request #29253 from knedlsepp/fix-pythonPackages.audiotools...
NixOS_GitHub has left #nixos []
<Ankhers> Is cabal2nix failing to build for anyone else on MacOS unstable?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5D3x
<NixOS_GitHub> nixpkgs/release-17.09 947f295 Josef Kemetmueller: pythonPackages.audiotools: Fix darwin build...
NixOS_GitHub has left #nixos []
odi has joined #nixos
jellowj has quit [(Ping timeout: 248 seconds)]
WilliButz has quit [(Quit: WeeChat 1.7.1)]
Infinisi1 has joined #nixos
chakerbenhamed has quit [(Ping timeout: 252 seconds)]
Infinisil has quit [(Ping timeout: 248 seconds)]
tmaekawa has joined #nixos
anderslundstedt has joined #nixos
tmaekawa has quit [(Client Quit)]
ixxie has quit [(Ping timeout: 240 seconds)]
arximboldi has quit [(Quit: arximboldi)]
ris has joined #nixos
ison111 has joined #nixos
arximboldi has joined #nixos
phreedom has joined #nixos
kuznero has joined #nixos
cfricke has joined #nixos
<Infinisi1> Damnit irssi, why you gotta make me Infinisi1 when I reconnect
dieggsy has quit [(Quit: ERC (IRC client for Emacs 26.0.50))]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vanschelven opened pull request #29281: trollius 1.0.4 -> 2.1 (master...trollius) https://git.io/v5Dnl
NixOS_GitHub has left #nixos []
<disasm> Infinisi1: I had a script to fix that on irssi... it basically checked if I was disasm, if not, ident, and have nickserv kill the other connection, then change nick to disasm.
ixxie has joined #nixos
LysergicDreams has quit [(Ping timeout: 246 seconds)]
LysergicDreams has joined #nixos
mudri has quit [(Ping timeout: 248 seconds)]
<Infinisi1> Why is such a thing not fixed in irssi though, goddamnit
<disasm> I think that's more of an issue with the IRC protocol than irssi :)
<Infinisi1> Ahh, that would explain it
takle has joined #nixos
<gchristensen> weechat has built-in support
pie_ has quit [(Ping timeout: 240 seconds)]
<Infinisi1> Have been wanted to check out weechat
takle has quit [(Ping timeout: 260 seconds)]
<kuznero> gchristensen: Just completed downgrading from 17.09 to 17.03. And building `nix-build docker.nix` works like a charm and it pulls alpine base image as part of the process behind corporate proxy. Should I add some info into the issue?
<gchristensen> what version of nixpkgs you're using
<gchristensen> nixos-version
<teozkr> ixxie: still haven't got around to setting up the actual blog yet
<teozkr> but..
jellowj has joined #nixos
Radivarig_ has joined #nixos
<kuznero> gchristensen: 17.03.1820.a0e6a891ee (Gorilla) this time around
<gchristensen> how!
<Infinisi1> teozkr: Umm, github?
<gchristensen> kuznero: are you pulling from an internal repo? or from dockerhub?
<teozkr> Infinisi1: fair, I just find git a bit overkill for drafts like this
<Infinisi1> teozkr: That dropbox link is horrible though..
<Infinisi1> Doesn't even show as rendered html for me
<kuznero> I assume it should be pulled from docker hub, but I simply define imageName, imageTag, etc in dockerTools.pullImage and do not specify where it is coming from.
takle has joined #nixos
<teozkr> oh wow
<Infinisi1> And I need to click through "No i don't want to sign up, show it to me anyways"
<teozkr> yeah sorry about that
Neo-- has quit [(Remote host closed the connection)]
<teozkr> it shows up as rendered for me
<teozkr> weird
<teozkr> but unrendered in incognito
<teozkr> hold on
Radivarig has quit [(Ping timeout: 240 seconds)]
Neo-- has joined #nixos
Radivarig__ has quit [(Ping timeout: 248 seconds)]
Radivarig has joined #nixos
<teozkr> hopefully that should be less spammy :P
<Infinisi1> teozkr: Yes, much better :D
<Infinisi1> And there is your blog I guess
<teozkr> haha
<Infinisi1> Whadaya need more
<kuznero> gchristensen: I can try doing it again and sharing logs on pastebin if that will help?
<teozkr> a post index perhaps
<Infinisi1> that would be nice yes, can't org-mode do that too? (I assume you created this using org-mode?)
<ixxie> teozkr: that would go great in the Wiki too, if - you know - you don't feel like the trouble of creating a blog xD
<Infinisi1> Agreeing with ixxie
odi has quit [(Ping timeout: 255 seconds)]
sophiag has joined #nixos
<Infinisi1> But, I don't think you can write wiki with org..
<teozkr> no idea, heh
<teozkr> I'm still an org noob :(
<Infinisi1> Same
<ixxie> can org mood produce markdown?
<teozkr> yes it can
<ixxie> I bet pandoc can convert markdown to wiki
<teozkr> oh that's a good idea actually
<teozkr> yeah
<Infinisi1> The answer to "Can org-mode do XXX" is always yes
<teozkr> actually pandoc can read org-mode natively iirc
anon999 has joined #nixos
<ixxie> cool
<anon999> hello, I'm in a nix-shell with libogg yet make still tells me there is no ogg/ogg.h. any idea what the reason might be?
<teozkr> though tbf pandoc's org parsing has been a bit wonky sometimes for me
<teozkr> I wouldn't mind putting it on the wiki, but I'd say the tone isn't really appropriate for a wiki
<anon999> maybe it's the name of the thing... is it different on nixos? ogg/libogg.h perhaps?
<teozkr> anon999: what does "which gcc" say?
<anon999> /run/current-system/sw/bin/gcc
<Infinisi1> anon999: Hmm, have a look at `nix-build '<nixpkgs>' -A libogg`, then `tree result`
<sophiag> anyone free to help me troubleshoot some issues? ever since i upgraded to 17.03 i've needed to rollback to my last 16.09 build upon reboot and then rebuild once nix has launched.
<Infinisi1> libogg only seems to have a lib dir
jbl007 has joined #nixos
<sophiag> this has been going on for a while and i've put off getting to the bottom of it because i rarely need to reboot, but recently it became more of an issue because of how the dropbox daemon requires you update it to work and all of a sudden (i imagine because they pushed an update) it started taking up 100% of my cpu and not responding to a sigkill.
<sophiag> i uninstalled it at least for now, but the pain of doing all these alternating rollbacks and rebuilds in the process motivated me to fix my system generally.
<Infinisi1> sophiag: Why did you need to rollback? what's not working? what's the errors?
hotfuzz has joined #nixos
<anon999> okay nevermind
<sophiag> gnome launches and then freezes after login (i'd frankly like to abandon gnome and just use xmonad, except i haven't been able to since that would require booting from a recent rebuild...)
<anon999> i didn't put gcc in the nix-shell thing :P sorry for wasting your time
chakerbenhamed has joined #nixos
anon999 has quit [(Quit: Page closed)]
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
<sophiag> Infinisi1: i went through this over and over late sunday night so imagine there's a log i can pull up with the specific errors?
<Infinisi1> No idea about gnome, am using xmonad
<ixxie> teozkr: we have now created 5 main categories for the wiki: discussions (like a wikipedia article), tutorial, guide, reference and cookbook
<ixxie> teozkr: this looks like a guide to me
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v5DlE
<NixOS_GitHub> nixpkgs/master f0956b7 Daiderd Jordan: python-keyring: disable tests on darwin
NixOS_GitHub has left #nixos []
<Infinisi1> The only thing I can think of right now is to start with an empty config and trying to figure out what breaks it when you add stuff
<teozkr> ixxie: alright, so I'll convert to wiki and throw it up under a new guide page?
<sophiag> Infinisi1: even if i disable gnome it won't launch. the problem was switching to 17.03
Ivanych has quit [(Ping timeout: 248 seconds)]
<Infinisi1> sophiag: Did you update by just changing the channel? (which I think is what you're supposed to do)
<sophiag> and i'm not aware of how to rebuild and force a downgrade in the nix version
<sophiag> yup, just changed the channel
<Infinisi1> Can't help much, I'd just try to start with an empty config and try to figure out what breaks it
<ixxie> teozkr: yep! you just add [[Category:Guide]] to the end
<sophiag> what i'm getting at is that i'd have to install the empty config on another partition because currently i cannot boot from a rebuild...
mudri has joined #nixos
Neo-- has quit [(Ping timeout: 252 seconds)]
<teozkr> kk
<ixxie> teozkr: any reason that guide is particularly only for *server* virtualization? Can it apply to virtualizing other machines?
<ixxie> teozkr: we may, of course, adapt the style somewhat to suit the Wiki
<teozkr> yeah ofc
<teozkr> well, to me the main bit is that server virtualization should be declarative imo
<teozkr> "this is how it should always look"
<sophiag> i was hoping someone could tell me how to pull up logs so i can check what happened right before all the crashes
<teozkr> whereas testing/dev VMs are started/stopped on demand
<teozkr> and are usually only on a single node
<sophiag> that would at least be a start, but rebuilding from scratch on this machine isn't an option without setting up a new partition
<teozkr> which nixops' native libvirt/virtualbox integration does fine
<teozkr> sophiag: checked journalctl?
<ixxie> teozkr: well in that case maybe we can call the wiki article "Virtualization in NixOS", in case people want to expand scope to other applications
<ixxie> teozkr: otherwise people might start adding more articles which we would have to merge back
<teozkr> okay
<teozkr> well, it can always be renamed later anyway
<teozkr> sec
<ixxie> yeah true
<sophiag> teozkr: journalctl logs begin in april...about a month before i even upgraded to 17.03...
<teozkr> sophiag: journalctl --boot to see the current boot
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5D87
<NixOS_GitHub> nixpkgs/release-17.09 b16c736 Daiderd Jordan: python-keyring: disable tests on darwin...
NixOS_GitHub has left #nixos []
<teozkr> or --boot=-1 to see the previous one
<sophiag> ah thanks :)
<teozkr> :)
<Infinisi1> Just had a look at the new iPhone, looked pretty dank tbh, sadly I use linux now and won't get it :P
<sophiag> it's almost all kernel processes. once i got to systemd :/
<Infinisi1> looks*
pie_ has joined #nixos
<ixxie> looks great teozkr
<ixxie> (we have a wiki bot over at #nixos-wiki ;)
<teozkr> ahh :P
marusich has joined #nixos
Ivanych has joined #nixos
<phdoerfler> Infinisi1: may I bother you a little bit about https://github.com/r-raymond/nixos-mailserver ?
WinchellsM has joined #nixos
<sophiag> teozkr: can you glean anything from this? https://gist.github.com/Sophia-Gold/65d6c1e74a130724a519c9370574fa0b
<phdoerfler> Infinisi1: I basically just wanna know if you actually ran that thing or if you just rewrote it
civodul has joined #nixos
<WinchellsM> I'm trying to modify a `buildInputs = [pkg1 pkg2 pkg3];` set field
<Infinisi1> phdoerfler: I am running it on the version of my PR currently
ertes-w has quit [(Ping timeout: 248 seconds)]
sary has quit [(Remote host closed the connection)]
<Infinisi1> But actually not using it right now
<WinchellsM> I want to replace pkg3 with an `import ./my-package.nix` function call
<teozkr> sophiag: was this a failing boot?
<WinchellsM> Is that possible?
<phdoerfler> Infinisi1: did you have to manually set a password for the mail users via passwd or was the one in the config sufficient?
<Infinisi1> phdoerfler: I have yet to test it a bit more extensively to make sure it all works
<Infinisi1> phdoerfler: config was sufficient I think
<sophiag> it freezes after gnome login, which is consistent with that error on line 1393. however, i can't rebuild without gnome and boot from it either :p
Marcus___ has joined #nixos
<teozkr> WinchellsM: you should be able to replace it with (callPackage ./my-package.nix {})
eacameron has quit [(Quit: Leaving...)]
<phdoerfler> it creates the user alright but it fails to set the password
ixxie has quit [(Quit: Lost terminal)]
<WinchellsM> @teozkr Thanks
dieggsy has joined #nixos
<teozkr> WinchellsM: np :)
Ivanych has quit [(Ping timeout: 248 seconds)]
<Infinisi1> phdoerfler: Looks correct, what's the error?
<sophiag> teozkr: from the looks of it gnome launches two weird dbus services i had no need for and then freezes because it's unable to kill them
<phdoerfler> Infinisi1: the error is "t NO [AUTHENTICATIONFAILED] Authentication failed." from dovecot when trying to log in. Unless I run a passwd philipp@xn-... first to set the password manually
<sophiag> idk, i'd like to just turn off gnome and use xmonad but when i do it launches into a tty...
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
ilya has joined #nixos
<phdoerfler> Infinisi1: after doing passwd user@domain I can then actually log into IMAP. I think the config should do that already
<Infinisi1> phdoerfler: You're logging into the UNIX user by that username on that machine?
<Infinisi1> I haven't used that
<phdoerfler> no
<phdoerfler> I found the virtual users manifest themselves in passwd, too
<Infinisi1> (I have no idea about mailservers :P)
<phdoerfler> me neither, that's why I am using this module :Ö
<aanderse> oh thank goodness for zfs snapshots + nixos....
<Infinisi1> aanderse: ++
<aanderse> i can be so very stupid and my system + data is still in place
<aanderse> lol
<ilya> Hi there! I am wondering how to get kernel api headers in a development environment. E.g. if I want to call mmap() or such
<Infinisi1> phdoerfler: Currently updating to latest master version
<phdoerfler> aanderse: how happy is ZFS if you use it in RAID-0 mode? or whatever the equivalent ZRAID level is.
<Infinisi1> aanderse: I actually just lost some data because I didn't do any snapshots or backups.. :(
<teozkr> sophiag: but.. neither of those should be required :(
WilliButz has joined #nixos
phinxy has joined #nixos
<Infinisi1> fortunately it wasn't very important data, and I learned my lesson, set up snapshots and backups right after that
<phdoerfler> Infinisi1: I appreciate the help. I was going to file an issue so r-raymond can take a look, though. I just asked you so I could iron out any stupidity I did in my config first :)
<aanderse> phdoerfler: currently running zfs mirror pool (aka raid1) + cache ssd on main box, haven't played with any zfs raidz as my only interest is redundancy
<teozkr> no idea, I use KDE, sorry :/
<ilya> oh, I see the syscall headers are actually present by default
<sophiag> teozkr: when you're stuck having to rollback to a build that used them they sort of are :/
phinxy has left #nixos []
<Baughn> Soo... I'm getting backlight bleed from my monitor, but only on Linux.
<teozkr> I guess
<Baughn> I don't even.
<teozkr> maybe you can enable them separately?
<phdoerfler> aanderse: I see. I want lots of space and I got a dedicated backup drive array, so that's why I'm curious about that
<Infinisi1> aanderse: raidz is redundancy though, right?
<Baughn> Raidz is redundancy. So's mirroring.
<aanderse> Infinisi1: get your backups in place! i run a zfs mirror in main box, have 2 htpcs which sync files every time they're on, backup to 2 friends servers, and external hard drive when i remember to
<Baughn> Infinisi1: If you want to be sure, show us the output of 'zpool status'
<aanderse> Infinisi1: sorry i said "raidz" i meant "raids" as in "different raid types"
<aanderse> i'm not sure on exact terminology of "raidz" and what that means
<sophiag> teozkr: not sure what you mean. i find disabling gnome and doing rebuild switch without a reboot crashes everything
<phdoerfler> *meanz
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to pulseaudio-by-default: https://git.io/v5DRc
<NixOS_GitHub> nixpkgs/pulseaudio-by-default ed695b4 Aristid Breitkreuz: only enable pulseaudio by default if alsa is also enabled
NixOS_GitHub has left #nixos []
<phdoerfler> fixed it for you :p
<Baughn> Raidz1 ~= RAID5, minus the write hole and generally better in every way.
<Baughn> RAIDZ2 ~= RAID6, ditto.
<Baughn> RAIDZ3 has no equivalent, but it's three-disk redundancy of course.
<Infinisi1> See vdevs section of man zpool
<aanderse> i used to run a 4 disk mirror but realized that was stupid... 2 disks in main box, then distribute 2 other disks into other boxes to protect against flood or mobo exploding etc...
<aristid> not sure who asked about raidz, but what i read multiple times is that you should REALLY use stripe-of-mirrors instead unless you know what you're doing
<aristid> because it's apparently much slower and less well tested
<Baughn> RAIDZ is slower, but it's quite well tested.
<Baughn> It all depends on what you need.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #29282: lib, treewide: Add `*Platform.extensions` and use it where possible (master...soext) https://git.io/v5DRD
NixOS_GitHub has left #nixos []
<Infinisi1> phdoerfler: My config (on the server which has the mail server), takes an inappropriately long time to build..
<phdoerfler> Infinisi1: hehe
Mateon1 has quit [(Remote host closed the connection)]
<Infinisi1> I feel like something is wrong, but there's no error, just stuck at "building the system configuration..."
dieggsy has quit [(Ping timeout: 248 seconds)]
Mateon1 has joined #nixos
<teozkr> sophiag: maybe those are governed by separate nixos modules?
<teozkr> that you have to enable separately in configuration.nix
acarrico has quit [(Ping timeout: 240 seconds)]
bpa has joined #nixos
<teozkr> doesn't look like it though
<teozkr> :/
cfricke has quit [(Quit: WeeChat 1.9)]
<Infinisi1> Oh, I know what my problem might be
eacameron has joined #nixos
bpa has quit [(Client Quit)]
<sophiag> teozkr: are journalctl logs indexed from 0 or 1? trying to determine if the one you had me pull up even failed...
<Infinisi1> Indeed, it was namecoind, which I only started running recently
<sophiag> if it was the last boot then of course it didn't fail...i'm using it right now...
<sophiag> i think --boot=2 might be what i'm looking for. it shows me powering it down at the end preceded by a ton of hardware related kernel errors
<teozkr> sophiag: 0 is the current, -1 is the previous, etc
<teozkr> 1 is the first log it knows about
<teozkr> 2 is the second
<teozkr> and so on
<Infinisi1> namecoind is spamming my logs hard..
<sophiag> wait, what? what do you "1 is the first log it knows about?"
<sophiag> as in first since gc?
<sophiag> oh, wait, you had me do *-1*. so that should have been correct...
ison111 has quit [(Ping timeout: 264 seconds)]
<sophiag> it's really confusing because i see ones with a build stamp from the date in June i have to rollback to, but the rest say January something instead of more recently
<teozkr> hmm odd
<sophiag> to be certain, i should be looking for a log based on a build done fairly recently
<teozkr> is your hardware clock set correctly?
<sophiag> i think so? i got that magic date recently :)
ilya has quit [(Quit: Page closed)]
<sophiag> 1.5 billion i mean :p
<teozkr> :p
jensens has joined #nixos
<phdoerfler> Infinisi1: I filed an issue: https://github.com/r-raymond/nixos-mailserver/issues/5
<phdoerfler> Infinisi1: hopefully r-raymond has more insight into this :)
<phdoerfler> Infinisi1: cause I don't see where my mistake is
<sophiag> ugh, this is so weird. i'm either timestamped with my last 16.09 build or my first nixos build ever...
joelpet has quit [(Remote host closed the connection)]
<phdoerfler> oh speaking of which, if I switch to unstable, what should I do with the version number in the nixos config?
<sophiag> it makes it impossible to differentiate between trying recent builds where i disabled gnome
joelpet has joined #nixos
joelpet has quit [(Changing host)]
joelpet has joined #nixos
<phdoerfler> system.stateVersion = "17.03"; <- what should I set this to once I switch to the unstable branch?
<Infinisi1> phdoerfler: don't change it unless you want trouble
<phdoerfler> I'll keep my fingers off it then
joelpet has quit [(Remote host closed the connection)]
<phdoerfler> Infinisi1: did your build decide to un-stall?
<Infinisi1> It managed to finish, how do you test the IMAP login?
<phdoerfler> Infinisi1: openssl s_client -host mail.example.com -port 143 -starttls imap
<sophiag> is it normal to see "nixos polkitd[3171]: Collecting garbage unconditionally..." guessing i'm misinterpreting that since i haven't gced builds yet.
<phdoerfler> Infinisi1: then you enter t login USER PASSWORD
<phdoerfler> Infinisi1: and then dovecot either gets mad at you or lets you pass
<Infinisi1> phdoerfler: Including the "t"?
joelpet has joined #nixos
joelpet has quit [(Changing host)]
joelpet has joined #nixos
<phdoerfler> Infinisi1: you may use any character there instead of the t
<phdoerfler> Infinisi1: IMAP uses what you give it there as a token for you to identify it's next answer belonging to your query
oida_ has joined #nixos
<phdoerfler> Infinisi1: so "X login user password" would work just as well
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<Infinisi1> Authentication failed
kiloreux has joined #nixos
<phdoerfler> Infinisi1: ha! Interesting
<sophiag> does it make sense to disable gdm and leave gnome?
oida has quit [(Ping timeout: 240 seconds)]
<sophiag> it seems like gdm is the problem, but not sure if gnome works otherwise
<phdoerfler> Infinisi1: and when you passwd this very user and try again with the password just given?
<joepie91> sophiag: you can use other display managers with gnome as well
<joepie91> iirc lightdm will work as well for example
<Infinisi1> phdoerfler: user is <user>@<domain>, right?
<sophiag> gdm does also seem to disable my ability to choose which desktop/window managers to use
eacameron has quit [(Remote host closed the connection)]
<phdoerfler> Infinisi1: yes
<sophiag> without it i think nix defaults to its own?
<Mic92> dtzWill: do you have tried clangd already? https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=clangd-svn
<phdoerfler> Infinisi1: "t login user1@example.com blabla"
<dtzWill> i have not! :D
<phdoerfler> Infinisi1: what should then follow is a reply of dovecot announcing what it can do and then saying "t OK Logged in"
<Infinisi1> phdoerfler: Yup it works after passwd
<sophiag> oh, people do report problems with gnome (sleeping for example) if not used with gdm
<dtzWill> we also need to get llvm5 wrapped up, I should be able to look into that next week if it's not done already
<phdoerfler> Infinisi1: brilliant!
stepcut has quit [(Remote host closed the connection)]
<Mic92> dtzWill: regarding clang++?
<phdoerfler> Infinisi1: so either you did the same wrong thing as I did or there's a bug
<Infinisi1> phdoerfler: `getent shadow | grep <domain>` before setting it:
<Mic92> oh, wo don't have it yeat
<dtzWill> Mic92: oh just in the general list of LLVM-related things for nixpkgs :)
<Infinisi1> contact@infinisil.io:$6$1KkG2bzCymm2$xvy9FtswaF9sTHiTCJhc0pOBVTF3mT2/W5Mcuz29GpbZ.Swq53zhy9NNYjqKZEphQVfZOjKnY2631JfRmVH.1/:1::::::
<sophiag> bets i can tell i'm dealning with this issue: https://github.com/NixOS/nixpkgs/issues/24172
<Infinisi1> And after: contact@infinisil.io:$6$SjBQc4No$nedeD1Urfq4BDLVhGu.S9c13053wLWioDoXmwJLW.cAjRKJZ8OzaWp6od6bVyMJNf5O5wH3vD40hixlOZ.Ab./:17421::::::
<sophiag> oh, except it's not because of bumblebee
<dtzWill> should just be the same copy-and-edit-hashes, possible issue re:tests and I posted my kludge workaround for those
<phdoerfler> Infinisi1: hu that is very interesting
<dtzWill> mostly I don't have the spare build power ATM to do it xD
* dtzWill already has his computers' fans spinning in preparation for takeoff
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin opened pull request #29283: Add new top-level package set for headless packages (master...nearly-headless-nix) https://git.io/v5Dgj
NixOS_GitHub has left #nixos []
<Infinisi1> phdoerfler: I'm interested to know what this number 17421 is
<Mic92> dtzWill: I leave this to you :), maybe you find some time eventually, at the moment there a lot of pull requests to merge.
<dtzWill> o7
<phdoerfler> Infinisi1: I got the same number there
<phdoerfler> Infinisi1: also 17421
sellout- has quit [(Ping timeout: 240 seconds)]
<sophiag> hmm ok, so nix defaults to SLiM
<sophiag> i think i need to experiment and see if that fixes it :P
<Infinisi1> phdoerfler: Ohh, have a look at `man shadow`
<Infinisi1> The third field seems to be the last password change
<Infinisi1> which makes sense, so this number doesn't really matter
<Infinisi1> But the hash is different, even though I used the same password
sellout- has joined #nixos
<phdoerfler> Infinisi1: I see, yeah. Makes sense
stanibanani has quit [(Ping timeout: 248 seconds)]
<phdoerfler> Infinisi1: My theory is that it either uses a different salt or a different hash method
<Infinisi1> Looking at `man passwd` now
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v5D2Q
<NixOS_GitHub> nixpkgs/master 4d7c3b2 Daiderd Jordan: kyotocabinet: fix darwin build
NixOS_GitHub has left #nixos []
<sphalerite> sophiag: sddm is probably worth trying too
<sphalerite> It's likely to support GNOME better than slim
<sophiag> thanks, but i just need to diagnose it for now
<Infinisi1> phdoerfler: Although, wouldn't it make sense that the hashes are different due to salting
<sophiag> no one seems to be able to help reading logs so i'm just guessing
<sophiag> going to reboot and hope i can log on again...
<phdoerfler> Infinisi1: mkpasswd uses a different salt every time
<phdoerfler> Infinisi1: so, yes, would make sense. In fact if you invoke mkpasswd -m sha-256 multiple times with the same PW you get different hashes
<phdoerfler> Infinisi1: as I just found out
<Infinisi1> phdoerfler: Oh and hold on, I just disabled the mail stuff (to remove users, etc.), then reenabled it, and now I can login with the password without passwd..
<phdoerfler> Infinisi1: wat
<Infinisi1> getent shadow has the number 1 in the third field
statusfailed has joined #nixos
<Infinisi1> Wait
<phdoerfler> instead of 17241
sary has joined #nixos
freeman42x has joined #nixos
<Infinisi1> Eh no idea, I may have changed the hash there, not sure
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5DaB
<NixOS_GitHub> nixpkgs/release-17.09 5fe5c84 Daiderd Jordan: kyotocabinet: fix darwin build...
NixOS_GitHub has left #nixos []
sophiag has quit [(Ping timeout: 252 seconds)]
freeman42y has joined #nixos
<phdoerfler> Infinisi1: out of curiosity, why use getent and not just cat /etc/shadow?
<phdoerfler> Infinisi1: I feel like there is a greater picture here that I am not seeing
acarrico has joined #nixos
<Infinisi1> phdoerfler: Not sure, it's really the same, but getent is the 'new way' of doing it afaik, it can also do more stuff, and might have some more safety stuff dunno
<phdoerfler> Infinisi1: new and shiny is good enough for me, thanks :)
freeman42x has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abuibrahim opened pull request #29284: odp-dpdk: fix a typo (master...master) https://git.io/v5DaS
NixOS_GitHub has left #nixos []
<gchristensen> getent will look to ldap
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #29184: yabar: minor derivation improvements (master...yabar/install-hooks) https://git.io/v5iQN
NixOS_GitHub has left #nixos []
freeman42y has quit [(Ping timeout: 255 seconds)]
<Infinisi1> Ah, LDAP, yet another thing I have no idea about :P
<gchristensen> save yourself
<gchristensen> don't look
<phdoerfler> Infinisi1: be glad
<phdoerfler> Infinisi1: I had to work with LDAP, you're not missing out on anything
<pingveno> I'm having trouble with /nix/store/91z7ybsgzf1yfly0dwyn66xpidbcraxv-python3-3.6.1/bin/pip pointing to a nonexistent pip3 file. Ideas on how to fix it?
<pingveno> I tried nix-store --repair-path
<Infinisi1> phdoerfler: gchristensen: Alright, have no intention of using it anyways :)
dywedir has joined #nixos
sophiag has joined #nixos
<Infinisi1> This nixos-mailserver module wasn't working for me, just found out that I forgot to add the mail subdomain record :P
jellowj has quit [(Ping timeout: 248 seconds)]
<sophiag> i'm back :p
<sophiag> same problem with the default display manager (i assume SLiM still)
<Infinisi1> even my dns records are in my nixos config, so that's nice, just gotta wait for them to propagate
<sophiag> here's the log with SLiM if anyone cares to look: https://gist.github.com/Sophia-Gold/66d46601d8c99ab0228896dd4be361ac
eacameron has joined #nixos
M1k3y-away has quit [(Quit: Page closed)]
mudri has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #29285: node-exporter service: fix documentation for enabledCollectors (master...node-exporter-docs) https://git.io/v5DwS
NixOS_GitHub has left #nixos []
<phdoerfler> Infinisi1: how do you have your dns records in your config? That sounds great
<phdoerfler> Infinisi1: there seems to be more broken stuff in that module - postfix doesn't work at all. The log is full with config errors
sellout- has quit [(Ping timeout: 240 seconds)]
<phdoerfler> Infinisi1: it keeps saying ostfix/smtpd[5088]: fatal: open dictionary: expecting "type:name" form instead of "smtpd_tls_auth_only" and so on
Mateon1 has quit [(Ping timeout: 252 seconds)]
Mateon2 has joined #nixos
<phdoerfler> oh you're running your own bind
<Infinisi1> Could use some more abstraction though
sellout- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v5DrJ
<NixOS_GitHub> nixpkgs/master 734788b Daiderd Jordan: nginx: disable pie on darwin
NixOS_GitHub has left #nixos []
Mateon2 is now known as Mateon1
<globin> LnL: why?
<LnL> clang-4.0: error: argument unused during compilation: '-pie' [-Werror,-Wunused-command-line-argument]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abuibrahim opened pull request #29286: odp-dpdk: fix a typo (release-17.09...release-17.09) https://git.io/v5DrG
NixOS_GitHub has left #nixos []
<globin> Sonarpulse:
<Sonarpulse> globin: hi
<globin> Sonarpulse: that is probably a cause of the hardening refactor above
<LnL> oh
<globin> https://git.io/v5DrJ (clang-4.0: error: argument unused during compilation: '-pie' [-Werror,-Wunused-command-line-argument])
<yrashk> newbie here :) I was wondering if anybody encountered a case when services.xserver.displayManager.sddm.setupScript doesn't seem to be working? I've tried to put xrandr invocation there, but there was no effect. When I moved this xrandr invocation to my awesome wm's config (rc.lua), it was executed (albeit after I log in in sddm, for obvious reasons)
jellowj has joined #nixos
<LnL> globin: Sonarpulse: I was going to cherry-pick that, should I?
<Sonarpulse> nah
<Sonarpulse> it should be blocked
<Sonarpulse> *not needed
tmaekawa has joined #nixos
<Infinisi1> yrashk: Maybe try something like "echo HERE I AM" and then look for that in the logs, to verify it's executed. What exactly did you put in setupScript?
acarrico has quit [(Ping timeout: 248 seconds)]
<Sonarpulse> LnL: what does you ${stdenv.cc}/nix-support/add-hardening.sh look like?
sophiag has quit [(Ping timeout: 240 seconds)]
<Infinisi1> yrashk: Hmm, looking at the options description and example it should really work. I'd just try to find out if it's being run at all first
<Sonarpulse> LnL: thanks
<yrashk> Infinisi1: yeah that's what I'm trying to figure out now
<Sonarpulse> LnL: hmm just the binutils ones
acarrico has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
acarrico has quit [(Ping timeout: 246 seconds)]
acarrico has joined #nixos
<LnL> Sonarpulse: FYI feel free to revert that if you know what's going on
<Sonarpulse> LnL: well, first I got to fix it :)
mattcode has quit [(Quit: Leaving)]
Troupal has quit [(Ping timeout: 260 seconds)]
Filystyn has quit [(Remote host closed the connection)]
<sphalerite> sophiag: so what exactly is freezing? Everything?
acarrico has quit [(Ping timeout: 252 seconds)]
<sphalerite> Does the kernel still respond e.g. to magic sysrq?
<sphalerite> Oh, sophiag isn't there anymore >.>
simukis has quit [(Ping timeout: 240 seconds)]
Infinisi1 has quit [(Quit: Lost terminal)]
<Moredread> what is the policy/process of handling critical CVEs?
<gchristensen> fix them as quickly as possible :)
<Mic92> Moredread: push them to all branches
<Mic92> 17.03, 17.09, master
<gchristensen> Moredread: any specific questions?
nh2 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] florianjacob opened pull request #29288: piwik: 3.0.4 -> 3.1.0 (master...piwik-3.1.0) https://git.io/v5DX5
NixOS_GitHub has left #nixos []
<Moredread> just read about CVE-2017-1000251 (ranked "important" by redhat)
Infinisil has joined #nixos
<Infinisil> What the hell, nixos-rebuild just put me into emergency mode
marusich has quit [(Ping timeout: 255 seconds)]
<Infinisil> It outputted a whole bunch of symlinking, which was really weird and then boom, emergency mode
<Moredread> but it seems, that nixos has CONFIG_CC_STACKPROTECTOR=y by default, so it seems not exploitable on most systems
<Moredread> sorry for the fud, was a bit panicking XD
marusich has joined #nixos
<gchristensen> nice :)
tmaekawa has quit [(Quit: tmaekawa)]
hamishmack has joined #nixos
nwspk has quit [(Ping timeout: 255 seconds)]
Infinisil has quit [(Quit: leaving)]
Marcus___ has quit [()]
kuznero has quit [(Quit: Page closed)]
marusich has quit [(Quit: Leaving)]
python476 has joined #nixos
mmts has joined #nixos
<nixer> Has anyone seen nix-build complain an attribute not existing in its own path, for instance the error I'm getting is: error: "attribute avahi in selection path avahi" not found when running: "nix-build -I nixpkgs=https://github.com/nixos/nixpkgs/archive/90e78aafadba43f9ec1190d9411720d561f1e09b.tar.gz -K -A avahi"
hiratara has quit [(Ping timeout: 246 seconds)]
<nixer> Appending nixpkgs. to avahi, doesn't fix the issue.
hiratara has joined #nixos
nh2 has joined #nixos
elninja44 has joined #nixos
silver_hook has quit [(Ping timeout: 240 seconds)]
martinklepsch|BN has joined #nixos
martinklepsch|BN has quit [(Quit: YourBNC - (https://yourbnc.co.uk))]
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29276: hugo: 0.26 -> 0.27 (master...pr/hugo-0.27) https://git.io/v5MPm
NixOS_GitHub has left #nixos []
<mmts> I'm new to NixOS and have setup one with 17.03.small; can anyone give me hints on how to transform it to a XEN dom0 server ?
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
sigmundv__ has joined #nixos
LysergicDreams has quit [(Ping timeout: 248 seconds)]
<WinchellsM> Are there any known issues with using nix + stack + c2hs in Haskell?
<Nobabs27[m]> I think I asked this before but:
<Nobabs27[m]> Where is 5.6 called, and how do i switch it to 5.9?
hyperr_ has joined #nixos
LysergicDreams has joined #nixos
NixOS_GitHub has joined #nixos
hyperr_ has quit [(Quit: Lost terminal)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v5DyF
<NixOS_GitHub> nixpkgs/master ea5e030 Tristan Helmich: graylogPlugins: update and add plugins
<NixOS_GitHub> nixpkgs/master 5488e42 Joachim F: Merge pull request #29211 from fadenb/graylog_plugins...
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rvl opened pull request #29291: Fix build of python3Packages.spacy (master...fix-python-spacy) https://git.io/v5DSn
NixOS_GitHub has left #nixos []
takle_ has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
chakerbenhamed has quit [(Ping timeout: 248 seconds)]
hiratara has joined #nixos
stepcut has joined #nixos
jellowj has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #29261: emacs: 25.2 -> 25.3 (master...master) https://git.io/v51xv
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #29284: odp-dpdk: fix a typo (master...master) https://git.io/v5DaS
NixOS_GitHub has left #nixos []
stepcut_ has joined #nixos
jellowj has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #29268: pirate-get: 0.2.10 -> 0.2.12 (master...pirate-get) https://git.io/v5MRO
NixOS_GitHub has left #nixos []
jbl007 has quit [(Quit: Gone!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #29270: btfs: 2.13 -> 2.17 (master...btfs) https://git.io/v5M0T
NixOS_GitHub has left #nixos []
stepcut has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 4 new commits to master: https://git.io/v5D9f
<NixOS_GitHub> nixpkgs/master 05eb7ba Orivej Desh: aseprite: 0.9.5 -> 1.1.7
<NixOS_GitHub> nixpkgs/master f0483d5 Orivej Desh: aseprite unfree: init at 1.2-beta12
<NixOS_GitHub> nixpkgs/master 247fa20 Orivej Desh: aseprite: install desktop icons
NixOS_GitHub has left #nixos []
Jacoby6000__ has quit [(Ping timeout: 240 seconds)]
Infinisil has joined #nixos
mmts has quit [()]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #29280: aspcud: add darwin platform support (master...aspcud-darwin) https://git.io/v5DIe
NixOS_GitHub has left #nixos []
martinklepsch|BN has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to release-17.09: https://git.io/v5D9R
<NixOS_GitHub> nixpkgs/release-17.09 d88ec01 Ruslan Babayev: odp-dpdk: fix a typo...
<NixOS_GitHub> nixpkgs/release-17.09 68778d0 Joachim F: Merge pull request #29286 from abuibrahim/release-17.09...
NixOS_GitHub has left #nixos []
LysergicDreams has quit [(Ping timeout: 240 seconds)]
LysergicDreams has joined #nixos
ertes has joined #nixos
takle_ has quit [(Remote host closed the connection)]
sigmundv__ has quit [(Ping timeout: 260 seconds)]
<Nobabs27[m]> ok new issue: nix-env -e is not uninstalling my package
<Nobabs27[m]> or well, the package I installed
takle has joined #nixos
sigmundv__ has joined #nixos
nh2 has quit [(Ping timeout: 260 seconds)]
Nobabs27 has joined #nixos
mudri has joined #nixos
pie_ has quit [(Ping timeout: 255 seconds)]
<Nobabs27> I have an issue: doing nix-env -e nixos.qt5.full has no effect
<Nobabs27[m]> oh well ok they are actually liked?
Nobabs27 has quit [(Client Quit)]
<ryantm> Try sudo nix-env -e too
<Nobabs27[m]> already was
<ryantm> Don't you need some -A in there if you are going to use a path like that?
stepcut_ has quit [(Remote host closed the connection)]
<Nobabs27[m]> error: unknown flag ‘-A’
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to release-17.09: https://git.io/v5DQg
<NixOS_GitHub> nixpkgs/release-17.09 a195839 Mikael Brockman: emacs: 25.2 -> 25.3...
<NixOS_GitHub> nixpkgs/release-17.09 6adb5cb rnhmjoj: pirate-get: 0.2.10 -> 0.2.12...
<NixOS_GitHub> nixpkgs/release-17.09 3a52fb9 rnhmjoj: btfs: 2.13 -> 2.17...
NixOS_GitHub has left #nixos []
ertes has quit [(Ping timeout: 248 seconds)]
ertesx has joined #nixos
ertesx is now known as ertes
<Nobabs27[m]> its like "sudo nix-env -e nixos.qt5.full" is just doing nothing
nh2 has joined #nixos
jensens has quit [(Ping timeout: 246 seconds)]
nh2 has quit [(Ping timeout: 240 seconds)]
predator117 has joined #nixos
python476 has quit [(Ping timeout: 240 seconds)]
predator217 has quit [(Ping timeout: 240 seconds)]
jtojnar_ has joined #nixos
<Infinisil> nix-env -e can be a bit tricky sometimes
<Nobabs27[m]> Infinisil: so how do I fix it?
<Nobabs27[m]> or just remove anything installed via nix-env
<Infinisil> Nobabs27[m]: Maybe this works: have a look at nix-env -q
jtojnar has quit [(Ping timeout: 264 seconds)]
<Infinisil> and then use that name you get from there
<Infinisil> to uninstall
<Infinisil> nix-env -e <name from nix-env -q>
<Nobabs27[m]> aha! thank you!
<Infinisil> :)
<Nobabs27[m]> ok now next problem:
<Nobabs27[m]> when I nixos rebuild, QT is at version 5.6 when it's supposed to be at 5.9
<Nobabs27[m]> How do I fix this?
<Infinisil> Nobabs27[m]: So you want to explicitly use qt 5.9 for everything?
<Infinisil> Or why is is "supposed" to be at 5.9?
<Nobabs27[m]> when I do nix-env -qaP | grep qt:
<Nobabs27[m]> nixos.qt5.full qt-5.9.
<Nobabs27[m]> Infinisil: ^
<Nobabs27[m]> and if thats the only way sure
<Infinisil> Where do you get that you're currently using version 5.6?
<Nobabs27[m]> qtdiag (if I were to install)
erasmas has quit [(Quit: leaving)]
dywedir has quit [(Remote host closed the connection)]
<Infinisil> So, you have it installed or not? How do you query the version?
nh2 has joined #nixos
* Nobabs27[m] sent a long message: Nobabs27[m]_2017-09-12_23:34:27.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/MbdOPfmOxYuleruQiELhvbMs>
<Nobabs27[m]> that I guess
<Infinisil> Nobabs27[m]: What's your channel?
<Nobabs27[m]> Infinisil: unstable
takle has quit [(Remote host closed the connection)]
<Infinisil> Nobabs27[m]: What does `nix-instantiate '<nixpkgs>' --eval -A qt5.full.name` give you?
* Nobabs27[m] sent a long message: Nobabs27[m]_2017-09-12_23:37:16.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/scOaMUsZXydkGejsuUbwoMBs>
joehh has joined #nixos
<joehh> hi there - is there any reason that lib.closePropagation is in lib/deprecated.nix?
<Infinisil> Nobabs27[m]: What about `nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion`
<joehh> is it really deprecated?
<joehh> if it is, what is the preferred way to get the equivalent functionality?
* Nobabs27[m] sent a long message: Nobabs27[m]_2017-09-12_23:38:50.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/VHxZDOvZbrVXGVTWzjMRCqTA>
arximboldi has quit [(Remote host closed the connection)]
<Infinisil> Nobabs27[m]: You don't seem to be using unstable
<Nobabs27[m]> Infinisil: well then...
<Infinisil> joehh: This function seems to be in deprecated.nix since 2009, so it definitely sounds like it
<Infinisil> joehh: You could git grep (I think?) to find commits where closePropagation has been removed to see what it got replaced with
<joehh> that is what I thought, but it is being used in the relatively new haskell infrastructure for ghcWithPackages
<Nobabs27[m]> Infinisil: do I have to set my channel in the config? or just via command line?
<Infinisil> Nobabs27[m]: What is `sudo nix-channel --list`?
<joehh> good idea - wasn't aware of git grep - will give that a go
<joehh> wanting to put something similar to the haskell infrastructure for julia "juliaWithPackages"...
<Infinisil> Nobabs27[m]: Should be `nixos https://nixos.org/channels/nixos-unstable` if you want to use unstable
<Infinisil> Nobabs27[m]: And to update the channel, use nixos-rebuild's --ugrade option
jellowj has quit [(Ping timeout: 240 seconds)]
<Nobabs27[m]> thats what I thought, must have made a mistake
frodo70- has joined #nixos
<Infinisil> Nobabs27[m]: Where did you set it to use unstable then?
<Nobabs27[m]> via the command line but I'm guessing I misstyped or something - gonna try it again
Wizek has quit [(Quit: Connection closed for inactivity)]
<Infinisil> What command?
jellowj has joined #nixos
<Infinisil> nix-channel?
<Nobabs27[m]> when i was switching channels earlier to unstable yeah
<Infinisil> Maybe you didn't use sudo?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #29292: zfsUnstable: init at 2017-09-12 (encryption support) (master...zfsUnstable) https://git.io/v5DFY
NixOS_GitHub has left #nixos []
nh2 has quit [(Ping timeout: 260 seconds)]
gspia_ has joined #nixos
<Nobabs27[m]> Infinisil: probably
<Infinisil> ZFS encryption \o/
mbrgm_ has joined #nixos
lambdamu has joined #nixos
<Infinisil> Nobabs27[m]: do you have unstable in `nix-channel --list` (without sudo)?
frodo70 has quit [(Ping timeout: 240 seconds)]
statusbot has quit [(Ping timeout: 240 seconds)]
lambdamu_ has quit [(Ping timeout: 240 seconds)]
nikivi has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 240 seconds)]
andrewrk has quit [(Ping timeout: 240 seconds)]
gspia has quit [(Ping timeout: 240 seconds)]
marcinkuzminski has quit [(Ping timeout: 240 seconds)]
noam has quit [(Ping timeout: 240 seconds)]
pikajude has quit [(Ping timeout: 240 seconds)]
noam has joined #nixos
mbrgm_ is now known as mbrgm
andrewrk_ has joined #nixos
pSub_ has quit [(Ping timeout: 240 seconds)]
pSub has joined #nixos
fiddlerwoaroof has quit [(Ping timeout: 240 seconds)]
nikivi has joined #nixos
pikajude has joined #nixos
pikajude has quit [(Changing host)]
pikajude has joined #nixos
<Nobabs27[m]> Infinisil: yep
<Infinisil> You can remove that then with nix-channel --remove nixos (or whatever it's named)
<Nobabs27[m]> Infinisil: rn im upgrade rebuilding
Ralith__ has quit [(Ping timeout: 240 seconds)]
Ralith_ has joined #nixos
<Infinisil> alright
<Nobabs27[m]> Infinisil: why should it be removed?
<Infinisil> The reason you need to use sudo is because channels are per-user, and you nixos-rebuild with root
marcinkuzminski has joined #nixos
<Nobabs27[m]> Infinisil: de-complication im guessing?
<Infinisil> Nobabs27[m]: Unless you specifically need a different channel for nix-env, it's unnecessary, the root's channel is used as the default
jellowj has quit [(Ping timeout: 248 seconds)]
<Nobabs27[m]> kk
fiddlerwoaroof has joined #nixos
ison111 has joined #nixos