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