worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<makefu> afics: can you pastebin what you did until now?
<o1lo01ol1o> clever: well, the hash of `nix-hash --base32 --type sha256` differs from the filehash listed in the narinfo. I'm not sure why; wget reports the file was successfully downladed. I'll try again.
<clever> o1lo01ol1o: you may need a --flat also
<afics> makefu: yes
edef has joined #nixos
<clever> o1lo01ol1o: nix-hash is recursive by default, so its packaging your .nar.xz up inside another nar, and then hashing
<o1lo01ol1o> clever: the --flat did it; the hash is correct. I'm not sure why nix copy reports the narinfo as being corrupt
<clever> o1lo01ol1o: try file:/// rather then file:// ?
UndefinedIsNotAF has quit [Ping timeout: 252 seconds]
<o1lo01ol1o> clever: lol, that worked. Why?
<clever> o1lo01ol1o: file://foo says to open "foo", a thing in the current working dir
<clever> o1lo01ol1o: file:///foo says to open "/foo" an absolute path
UndefinedIsNotAF has joined #nixos
<o1lo01ol1o> clever: oi
<o1lo01ol1o> clever++
<{^_^}> clever's karma got increased to 294
<ben> Why isn't it just file:/foo anyway
<afics> makefu: where ./pkgs/keepalived is just an exact copy of the folder from the nixpkgs repo at this point
<clever> ben: protocols always have a :// after it, https:// http:// file://
justanotheruser has quit [Ping timeout: 268 seconds]
<ben> what about mailto: and data: ?
<clever> ben: rules are always broken, lol
<ben> fair :P
kleisli_ has quit [Ping timeout: 240 seconds]
<pie_[bnc]> bah jack why wont you work
<pie_[bnc]> clever: was your karma always this low
<pie_[bnc]> clever: oh...on that note...bluetooth audio works now that we fixed the dll loadig
mbrgm_ has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2d9454702e5 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
erictapen has quit [Ping timeout: 260 seconds]
<pie_[bnc]> clever: or...at least partially, doesnt seem to be set up to forward the mic...
<clever> pie_[bnc]: 2018-05-04 11:16:33< {^_^}> clever's karma got increased to 1
<clever> 2018-06-14 10:48:00< {^_^}> clever's karma got increased to 1
<clever> it did get reset at one point, but only lost 5
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<pie_[bnc]> clever: because i remember saying something about "when your karma gets to 1337"
<DigitalKiwi> check your 1337 at the door
<clever> 2019-02-22 21:52:00< {^_^}> clever's karma got increased to 100
<clever> 2019-09-10 17:52:47< {^_^}> clever's karma got increased to 200
<clever> pie_[bnc]: looks like there hasnt been any major loss
<pie_[bnc]> guess its just me
<{^_^}> [nixpkgs] @wucke13 opened pull request #76910 → [WIP] getdp: 3.0.4 -> 3.3.0 → https://git.io/Jepnk
<makefu> afics: it seems to build for me just fine. i tried your snippet in nixos-shell ( https://github.com/Mic92/nixos-shell )
edef has quit [Ping timeout: 260 seconds]
eoli3n_ has quit [Quit: WeeChat 2.7]
justanotheruser has joined #nixos
<afics> makefu: hm, gonna try that, maybe it's related to nixops
ayerhart has quit [Ping timeout: 265 seconds]
zeta_0 has joined #nixos
<makefu> i am pretty sure it is an import or a call in another section of your config
<pie_[bnc]> clever: grr im probably making some dumb mistake again
<zeta_0> direnv allow . is throwing and error, is this default.nix missing something? https://hastebin.com/kosoqebobe.bash https://hastebin.com/quyuhapotu.sql
<pie_[bnc]> and now my existing setup is broken too and i have some weird extra devices :P
<pie_[bnc]> qjackctl log https://bpaste.net/CY6A
<zeta_0> i followed the instructions on the wiki so i don't know why this is not working? https://nixos.wiki/wiki/Development_environment_with_nix-shell
justanotheruser has quit [Ping timeout: 260 seconds]
ayerhart has joined #nixos
<zeta_0> clever: direnv is causing me to much problems, i think will just copy and past the bash code into a shellHook like you said
<zeta_0> clever: are there good directions on how to use the shellHook function in default.nix?
<clever> zeta_0: its an attribute on a derivation, not a function
<clever> zeta_0: just add it to a derivation, along with src and buildInputs
<afics> makefu: can really be something else in my config be the issue, if it deploys okay after commenting the nixpkgs.overlay stuff from my paste?
<makefu> maybe you are changing packages required for keepalived ? i verbatim copy-pasted your files
<zeta_0> clever: oh, so is there some example code, because i am not sure how to do this? i want to place this code from configuration.nix into a shellHook: https://hastebin.com/ofahozebut.bash
<clever> zeta_0: https://nixos.org/nixpkgs/manual/ ctrl+f for shellHook
<zeta_0> clever: thanks and i need to find someone who understands direnv really well, because it is a little bit to complicated for me
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
kleisli_ has joined #nixos
lovesegfault has joined #nixos
inferencerules has joined #nixos
philr has joined #nixos
<zeta_0> clever: will this default.nix work, i am not sure if i did this right or not? https://hastebin.com/lacurayobi.bash
<{^_^}> [nixpkgs] @wucke13 opened pull request #76911 → raft-canonical: 0.9.6 -> 0.9.15 → https://git.io/JepnH
<clever> zeta_0: have you tested it yet?
justanotheruser has joined #nixos
<clever> zeta_0: it looks like it should do something
<pie_[bnc]> clever: changing the hardware device and using pasuspender seems to have worked https://askubuntu.com/questions/224151/jack-server-could-not-be-started-when-using-qjackctl/232163
<pie_[bnc]> clever: what a mess lol
<makefu> afics:
<makefu> wupps :)
Rusty1 has quit [Remote host closed the connection]
bogdb has joined #nixos
<clever> zeta_0: then you want .overrideAttrs (old: { shellHook = ''....''; })
edef has joined #nixos
<bogdb> hi, i'm trying to setup a nix-shell for c++, and i'm using the fmt package as a dependency. fmt's cmake support files define a single target fmt::fmt which includes both lib and include paths (aka 'out' and 'dev'). but the lib and dev packages are distinct in the store therefore cmake fails since it doesn't find the include path. any ideas how to fix this without hacking my cmake file?
LarryTheCow has joined #nixos
<clever> > fmt.outputs
<{^_^}> [ "out" "dev" ]
<clever> bogdb: its a normal split output package
<clever> bogdb: do you have pkgconfig and cmake in your inputs?
<LarryTheCow> Hi, everyone. I've got a quick question: how can I override a package's derivation? I'm trying to change its version.
<{^_^}> LarryTheCow: 6 weeks, 4 days ago <infinisil> Having looked at the code, I really don't think it's gonna help, but it's not a bad idea to limit the number of entries anyways
<bogdb> clever, i have cmake only
<clever> bogdb: try adding pkgconfig
<bogdb> the cmake target defined by the package expects lib and include in the same path, but the paths are split
<clever> bogdb: you could also try (fmt.overrideAttrs(old: { outputs = [ "out" ]; }))
<zeta_0> clever: is this what you mean? https://hastebin.com/temakehacu.bash
o1lo01ol1o has quit [Remote host closed the connection]
<bogdb> i've added pkgconfig in my buildInputs, but it doesn't make any difference
<clever> bogdb: you could also try (fmt.overrideAttrs(old: { outputs = [ "out" ]; }))
<pie_[bnc]> clever: sooo...JACK takes control of the PCM device which means now I everything else doesnt work?
<clever> pie_[bnc]: you will need to decide which daemon controls the cards, and tell the other one to keep its hands off
<zeta_0> [zeta@nixos:nix-haskell-recipes]$ nix-shell
<zeta_0> error: syntax error, unexpected '.', at /home/zeta/example_projects/simple_examples/nix-haskell-recipes/default.nix:18:5
<zeta_0> clever: ^
<pie_[bnc]> clever: im fine with pulseaudio controlling it as long as I can route stuff
<clever> zeta_0: that goes after line 36, and you must wrap 6-37 with ( and )
<pie_[bnc]> clever: but I havent been able to figure out how to get jack to play with it
<pie_[bnc]> clever: oh wait...hm. I guess I want jack to be in control because otherwise i have to do lots of loopback screwery with pulse?
<pie_[bnc]> which is defeating the whole point
<clever> pie_[bnc]: probably
<afics> makefu: uh, I am using unstable, if that matters
<bogdb> clever, your second suggestion worked. thanks\
mehlon has quit [Remote host closed the connection]
<noonien> hmm, if it is normal to have split output packages for "out" and "dev", is there a reason for `fmt` not to work? or is it normal, but not for cmake libraries?
mexisme has joined #nixos
<noonien> perhaps this has something to do with the fast that this is run in nix-shell?
<clever> noonien: id say its a bug with the thing your compiling, that its not using pkgconfig to figure out where the libs and headers are
<clever> noonien: or a bug with fmt not providing a .pc file
<noonien> it does, in the .dev output
<clever> then your project is likely ignoring the pkgconfig file
<clever> also, nix itself adds fmt to -I and -L for you
<noonien> i see, so this is not specifically a cmake thing
<clever> so your cmake thing doesnt need to do anything at all, it would just work
<bogdb> on nix it would just work but not on other platforms
<noonien> i think, in this case, pkg-config would be the solution, so it would work on other platforms also
<{^_^}> [nixpkgs] @cdepillabout merged pull request #76819 → Fix postgresql typed → https://git.io/JexuP
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jepcm
<zeta_0> clever: ok i placed it after line 36 but i am not sure exactly which parts that i need to wrap with parenthesis? https://hastebin.com/apawazeboh.bash
knupfer has joined #nixos
<clever> zeta_0: everything after the `in` up to the `.overrideAttrs`
<clever> zeta_0: `in (....).overrideAttrs ...`
<LarryTheCow> nvm, I fixed it.
thomashoneyman has quit [Ping timeout: 258 seconds]
inkbottle has quit [Quit: Konversation terminated!]
ng0 has quit [Quit: leaving]
<zeta_0> clever: ok i wrapped it with (), so do need to put a semicolon after the () ?'
<zeta_0> clever: ^
ayerhart has quit [Ping timeout: 260 seconds]
<clever> zeta_0: did the example i just gave include a ; after the ) ?
<steell> i'm looking to create a custom live-cd ISO from a local checkout of nixpkgs master. most of the instructions i see (https://nixos.wiki/wiki/Creating_a_NixOS_live_CD) assumes we're using the system nixpkgs. how can i instead use my local checkout?
<clever> steell: replace <nixpkgs> with the path to a nixpkgs
<gchristensen> or in this case, nix-build /path/to/nixpkgs/nixos
<pie_[bnc]> wait...just started poking at vcv-rack i wonder if i can just use that without even using jack
<steell> clever, gchristensen: will try that, thanks!
<zeta_0> clever: no, but it is throwing another error? https://hastebin.com/cehelaqeju.rb
LarryTheCow has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<pie_[bnc]> hm so apps are supposed to show up on the jack graph? but mumble isnt...
<pie_[bnc]> and neither are any of the other things
<pie_[bnc]> like firefox and whatever
<clever> zeta_0: you dont have a `with pkgs` anywhere, so you must use pkgs.nix-prefetch-git
<clever> (or add a with pkgs;)
beurs has quit [Quit: Leaving]
<zeta_0> clever: oh, its not a haskell package, that's why, my bad
<pie_[bnc]> all i wanted to do was record some singing, sheesh xD
Rusty1 has joined #nixos
<zeta_0> clever: it worked but the path did not shorten, that was the whole point of placing the bash code in there?
<zeta_0> [nix-shell:~/example_projects/simple_examples/nix-haskell-recipes]$
<clever> zeta_0: add an `echo foo` to the shellHook, does it echo foo?
ixxie has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @cdepillabout opened pull request #76912 → haskell: add comment to default-package-overrides in configuration-hackage2nix.yaml → https://git.io/JepcW
ayerhart has joined #nixos
<zeta_0> clever: its throwing errors
<{^_^}> [nixpkgs] @risicle opened pull request #76913 → pythonPackages.capstone: 3.0.5.post1 -> 4.0.1, redesign as wrapper package around main capstone package → https://git.io/JepcB
<clever> zeta_0: thats not even inside the string
<clever> zeta_0: its not even quoted
alex`` has quit [Quit: WeeChat 2.7]
alexherbo2 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e8c7d31c327 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
syzygyzer has joined #nixos
<zeta_0> clever: ok i removed the bash code: https://hastebin.com/yejinetuqa.bash
<syzygyzer> i switched from the standard kernel to latest kernel in 19.09 and now when i start up, systemd hangs on some udev service. systemd-analyze blame tells me its systemd-udev-settle.service. i tried making it with systemctl mask systemd-udev-settle but i get "Failed to mask unit.... already exists and is a symlink to ..."
<syzygyzer> what is the proper way to mask in nixos? i am a relatively new user
iyzsong has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
<clever> zeta_0: thats not a valid string
<clever> > "double"
<{^_^}> "double"
<clever> > ''double-single''
<{^_^}> "double-single"
<clever> > 'invalid'
<{^_^}> error: syntax error, unexpected $undefined, at (string):272:1
<zeta_0> clever: could you pastbin the echo part, my brain is fried, i will give you some more karma
<clever> zeta_0: use '' to quote it, not '
<{^_^}> [nixpkgs] @danielfullmer opened pull request #76914 → x264: fix cross compilation → https://git.io/Jepc1
yl has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @danielfullmer opened pull request #76915 → ffmpeg: fix cross compilation → https://git.io/JepcD
wildtrees has quit [Quit: Leaving]
<clever> zeta_0: or just keep the entire string, and add the echo within the existing string
m0rphism has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jepcx
<{^_^}> [nixpkgs] @danielfullmer opened pull request #76916 → zerotierone: fix cross compilation → https://git.io/Jepcp
<clever> zeta_0: that should work
<mla> how can i create a conditional import based on architecture, i tried something like: imports = [ "base.nix" ] ++ (if pkgs.stdenv.hostPlatform == "aarch64-linux" then "./aarchspecific" else [])]; but for some reason nixos-rebuild switch tells me that causes an infinite loop?
bogdb has quit [Quit: Leaving]
m1cr0man has quit [Ping timeout: 240 seconds]
<clever> mla: imports cant depend on pkgs
<clever> mla: it would be much better to do `config = mkIf (condition) { ... };` within aarch64.nix
<afics> makefu: I just tested with a new nixos 19.09 vm with just hardware.nix and my paste and it does not work. I don't know what you are doing different to me
<zeta_0> clever: ok it returned foo
<mla> clever: hmm it seems like config = mkIf doesnt work either - does this look right to you, this is my aarchspecifc,nix http://ix.io/26la
<pie_[bnc]> clever: good god i got the thing working somehow
<pie_[bnc]> i should write a guide for this
<pie_[bnc]> clever: we need litarate nixos ;P
<zeta_0> clever: i want to shorten the bash path, do i need programs.bash.promptInit in there?
<mla> i import that like imports = [./aarchspecific.nix]; and it says its causing infinite recursion
<clever> zeta_0: no
<{^_^}> [nixpkgs] @ryanpeach opened pull request #76917 → Feature/gpup → https://git.io/JepCt
<clever> mla: mkIf is part of lib, you want lib.mkIf
<mla> aha its working now, thanks
<mla> bizarre error for bad namespace
<NoblesseOblige24> That is my PR #76917
<{^_^}> https://github.com/NixOS/nixpkgs/pull/76917 (by ryanpeach, 2 minutes ago, open): Feature/gpup
<NoblesseOblige24> It's my first custom nix script
<NoblesseOblige24> I'd really like some help with it :)
<zeta_0> clever: then why doesn't the bash shell path get shortened with that bash code placed in there?
<clever> mla: you can add custom args to line 1, using config._module.args
<clever> mla: so to know if a custom arg of mkIf exists, it must know the value of config, which depends on mkIf!
<clever> zeta_0: add more echo's, to the if statements within the code you had to begin with
<clever> zeta_0: is it actually setting the new PS1?
bvdw has quit [Read error: Connection reset by peer]
ditadi has quit [Remote host closed the connection]
<zeta_0> clever: i am trying to shorten the nix-shell bash path like this:
<zeta_0> [zeta@nixos:nix-haskell-recipes]$ pwd
bvdw has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2d9454702e5 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
chloekek has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to master « openssh_gssapi: fix build »: https://git.io/JepCc
<{^_^}> [nixpkgs] @piq9117 opened pull request #76918 → dbvisualizer: 9.5.7 -> 10.0.25 → https://git.io/JepCC
syzygyzer has quit [Remote host closed the connection]
<zeta_0> clever: could you test out this default.nix file in a nix-shell, i am not sure why the bash code does change anything? https://hastebin.com/unaxuveveg.bash
<clever> zeta_0: add a `set -x` at the start of the string, and a `set +x` at the end, then pastebin the output of nix-shell
<zeta_0> [zeta@nixos:nix-haskell-recipes]$ nix-shell
<zeta_0> +++ '[' dumb '!=' dumb -o -n '' ']'
<zeta_0> [nix-shell:~/example_projects/simple_examples/nix-haskell-recipes]$
<zeta_0> +++ set +x
<zeta_0> clever: ^
<clever> zeta_0: $TERM was set to dumb, so the if statement turned everything off
<{^_^}> [nixpkgs] @squalus opened pull request #76919 → keepassxc: fix darwin build → https://git.io/JepCu
<lovesegfault> Why do we still bother with i686?
ayerhart has quit [Quit: ayerhart]
<gchristensen> we don't build much for it, just enough to make sure it keeps working for a few users
<lovesegfault> gchristensen: I see, I can only imagine a handful of pkgs that are still useful in i686, mostly around games
<makefu> afics: let me upload my files
ayerhart has joined #nixos
<zeta_0> clever: well then i have no idea how to fix it, this is getting just as difficult as direnv
<pie_[bnc]> ok looks like nixpkgs disables jack by default
<clever> zeta_0: remove that if statement
<gchristensen> lovesegfault: it is more about hardware support
<pie_[bnc]> clever: this shows up in several places i think, whats the nixpkgs scheme for setting this? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/mumble/default.nix#L5
mcbride has joined #nixos
<lovesegfault> gchristensen: Oh? Who still uses i686 hw?
<pie_[bnc]> clever: well, not actually sure its disabled yet
<makefu> afics: https://paste.krebsco.de/QiQJJmau#keepalive , put these in the nixos-shell checkout and run: NIX_PATH=nixpkgs=/path-to/nixpkgs $(nix-build --no-out-link default.nix)/bin/nixos-shell ./vm.nix
mexisme has quit [Ping timeout: 248 seconds]
<mcbride> hi, Im new to nix and Im trying to use it on macOS..Ive installed a few packages without issue but Im having issues installing MacVim. I ran "nix-env -vvvvv -iA nixpkgs.macvim" and I get the following error output https://gist.github.com/chrismcbride/f30f6decc10678f9269fcf3577f3a2ee ...not quite sure what the next step would be in debugging this
<zeta_0> clever: which if statement, there is multiple $TERM's?
<clever> zeta_0: nuke em all!
<gchristensen> lovesegfault: probably not a lot :)
<zeta_0> [zeta@nixos:nix-haskell-recipes]$ nix-shell
<zeta_0> bash: eval: line 98: syntax error near unexpected token `then'
<zeta_0> [nix-shell:~/example_projects/simple_examples/nix-haskell-recipes]$
<zeta_0> bash: eval: line 98: ` [ "$TERM" != "dumb" -o -n "$INSIDE_EMACS" ]; then'
<zeta_0> clever: ^
<zeta_0> the frustration
<zeta_0> clever: should i just give up it feels like i am not getting anywhere with this?
<clever> zeta_0: you didnt delete the entire if statement
<clever> zeta_0: maybe try again when you have had more sleep?
<zeta_0> clever: i'll try for 15 more minutes then give up for the day
MmeQuignon has quit [Ping timeout: 265 seconds]
<zeta_0> clever: so delete all the if's and fi's? the else's as well?
<clever> zeta_0: and the condition between the if and then
<clever> zeta_0: and the then
<clever> zeta_0: and decide which half of the if statement you want to keep
<DigitalKiwi> there was a user here the other day with i686 hardware
ebzzry has quit [Ping timeout: 258 seconds]
UndefinedIsNotAF has quit [Ping timeout: 252 seconds]
<zeta_0> clever: i think all i need is a PS1 which one do i need to keep for bash terminal?
UndefinedIsNotAF has joined #nixos
<zeta_0> clever: i think the 2nd PS1 right?
<clever> zeta_0: try each PS1 in a shell, see what each does
lsyoyom has quit [Ping timeout: 265 seconds]
<zeta_0> clever: what is xterm? i don't think i use that
<pie_[bnc]> clever: easiest way to apply a patch from a url?
<clever> zeta_0: xterm is a terminal emulator, that uses X
<clever> pie_[bnc]: within the stdenv, pkgs.fetchpatch into patches
<pie_[bnc]> clever: can i do that without hashes
<pie_[bnc]> clever: its the usual patch from github thing
<clever> pie_[bnc]: builtins.fetchurl
<pie_[bnc]> clever: a'ight
h0m1 has quit [Ping timeout: 260 seconds]
johnw has quit [Remote host closed the connection]
h0m1 has joined #nixos
<zeta_0> clever: how do you lower the length of the shell path in nix-shell? this should be easy to setup, i don't know why it i am struggling to do this
mcbride has quit [Ping timeout: 260 seconds]
<clever> zeta_0: i just dont bother
<zeta_0> clever: do you know someone who understands direnv really good, i think that could help me but it is a little complicated?
<clever> nope
<clever> but the direnv irc channel may know more
<zeta_0> clever: which section do you think would help with what i am trying to do(shorten bash's path)? https://github.com/direnv/direnv/wiki/Nix
lsyoyom has joined #nixos
silver has quit [Read error: Connection reset by peer]
<clever> zeta_0: all direnv does, is set env vars, when you enter a dir
<clever> zeta_0: so you just need to put the right PS1 into the .envrc
<zeta_0> clever: will all that bash code work in .envrc, or am i better off putting a single PS1?
<clever> zeta_0: chances are, the if statements will screw you over again
<clever> zeta_0: 2020-01-03 22:15:51 < clever> zeta_0: try each PS1 in a shell, see what each does
<zeta_0> clever: and then direnv was throwing a bunch of errors today, so more obstacles'
<zeta_0> dam it
tardigrad has joined #nixos
<evils> is there a way to have nix-prefetch-url not output `[... MiB DL]` and is there a good reason it outputs the path when '--type sha256' is used?
mq32 has quit [Ping timeout: 268 seconds]
<zeta_0> clever: i finally got direnv working, now to figure how to to shorten bash's path again
<zeta_0> [zeta@nixos:/~]$ echo $PS1
<zeta_0> \n\[\033[1;32m\][\[\e]0;\u@\h: \W\a\]\u@\h:/\W]\$\[\033[0m\]
<zeta_0> clever: i am guessing i need to set PS1 equal to this right?
<clever> maybe
<zeta_0> clever: do i place the PS1 in the `config` or `stdLib` of the direnv options? https://rycee.gitlab.io/home-manager/options.html#opt-programs.direnv.config
inferencerules has quit [Read error: Connection reset by peer]
<clever> zeta_0: no clue
<zeta_0> clever: ok, well thanks for helping me today
<zeta_0> clever++
<{^_^}> clever's karma got increased to 295
<zeta_0> clever++
<{^_^}> clever's karma got increased to 296
<zeta_0> clever++
<{^_^}> clever's karma got increased to 297
<zeta_0> clever++
<{^_^}> clever's karma got increased to 298
<zeta_0> clever++
<{^_^}> clever's karma got increased to 299
<infinisil> Don't spam
<zeta_0> sorry i was trying to get him up to 300, i knew you would show up out of nowhere
<drakonis> it pings him fyi
<drakonis> you pinged him 5 times
<zeta_0> infinisil: please don't kick me out of this channel, i am sorry
<gchristensen> just take it easy :)
<pie_[bnc]> does nixpkgs have a darcs fetcher :P
<gchristensen> > pkgs.fetchdarcs
<{^_^}> { __functionArgs = <CODE>; __functor = <CODE>; override = <CODE>; }
ebzzry has joined #nixos
<pie_[bnc]> whoda thought
mq32 has joined #nixos
<zeta_0> which option will place PS1 in .envrc ?
<gchristensen> I think there is a #home-manager channel
<zeta_0> gchristensen: is anyone even on that channel at this time, it is usually empty?
<gchristensen> I don't know
<zeta_0> gchristensen: i think i need to give up, this is too frustrating
<evanjs> It can definitely feel frustrating at times, but with the 6+ months (or however much) time I've spent with NixOS I can definitely say it's been well worth it
<evanjs> Much less stress than Gentoo was :D
<pie_[bnc]> clever: its pretty annoying that applications need JACK support. I saw stuff about creating an alsa loopback device for every app or something, I didn't look very carefully. I guess I should write some nixos modules at some point and post them
thomashoneyman has joined #nixos
<thomashoneyman> is there a way to build a script (writeScriptBin) and also run the result with Nix alone?
<clever> thomashoneyman: runCommand
<tnks> I've realized that I'm not sure what "recursive Nix" really is and how it fixes problems that we had with IFDs.
<gchristensen> it'll run the script inside a nix build sandbox
<thomashoneyman> right now I write a bash script a la `RUN=$(nix-build ...); $RUN/bin/run`
<thomashoneyman> thanks!
<thomashoneyman> checking it out
<thomashoneyman> ideally i'd like to lint it with shellcheck also, if there's a way to hook in
* tnks reading the PR now for recursive Nix... but happy to have someone explain highlights.
zeta_0 has quit [Quit: rebuilding]
cptchaos83_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<thomashoneyman> ok, i see, writeScriptBin and friends are implemented via runCommand
<thomashoneyman> with the result being writing the script to the store
inferencerules has joined #nixos
zeta_0 has joined #nixos
bbarker2 has joined #nixos
Lears has joined #nixos
<bbarker2> Haskellers: running `stack --nix init` for a new project (xmonad config) and getting "error: attribute 'ghc863' missing, at (string):1:43"; I have ghc 8.6.5 in the environment, and `stack --version` reports: 2.1.3.1 x86_64 hpack-0.32.0
<bbarker2> Is there a way for `stack --nix` to allow newer versions of ghc to be used?
[Leary] has quit [Ping timeout: 268 seconds]
Scriptkiddi has quit [Remote host closed the connection]
das_j has quit [Remote host closed the connection]
Scriptkiddi has joined #nixos
<lovesegfault> `waiting for the big garbage collector lock...`
das_j has joined #nixos
<lovesegfault> gchristensen: What does this one mean?
syzygyzer has joined #nixos
<syzygyzer> i am newish to nixos and trying to get the wifi to work on my new laptop. ive narrowed it down to needing this PR: https://github.com/NixOS/nixpkgs/pull/65091 but idk what the simplest way is for me to just add this PR to my system build and nothing else
<{^_^}> #65091 (by eadwu, 24 weeks ago, merged): firmwareLinuxNonfree: 2019-06-16 -> 2019-07-17
<syzygyzer> i tried just moving to the latest kernel earlier which worked but also overkill
<lovesegfault> syzygyzer: Are you on NixOS 19.09 or unstable?
<syzygyzer> 19.09
<syzygyzer> i run a few unstable programs
<lovesegfault> Ah, you should check whether that change has been backported, or else yeah: latest kernel
<syzygyzer> & apparently my wifi card started being supported with kernel 5.1
<lovesegfault> syzygyzer: Dell XPS?
<syzygyzer> latest kernel added a 90 second wait to my bootup time which i spent another couple hours trying to resolve before deciding to just try to install the firmware and nothing else lol
<zeta_0> where would i place this export command for nix-shell to automatically run it? export PS1='\n\[\033[1;32m\][\[\e]0;\u@\h: \W\a\]\u@\h:/\W]\$\[\033[0m\]'
<syzygyzer> dell precision
<zeta_0> would i need a shellHook for this?
<lovesegfault> syzygyzer: Ah, nice, and yeah I had the same issue
<infinisil> zeta_0: What does shellHook do?
<zeta_0> infinisil: i don't know, i am lost, that is why i am asking this qustion, i just need this command to be automatically executed by nix-shell so i don't have such a long path, that gets very annoying after a while
<zeta_0> infinisil: i gave up on direnv, it was to frustrating
<infinisil> zeta_0: Here is explained what shellHook does: https://nixos.org/nix/manual/#description-13
<infinisil> Does that sound like it would solve the problem?
<infinisil> And in any case, just give it a try
<syzygyzer> @lovesegfault is it possible for me to add the firmware to the stable kernel? or does the firmware itself require 5.1? i dont know much about kernels and not really sure what backporting means
<zeta_0> infinisil: thanks, i'll give it another try
<tnks> Okay, so I see now what recursive Nix is, and how it's different, but similar, to IFD. But I'm still not sure which failings of IFDs go away, and which ones may still remain.
felixfoertsch has quit [Ping timeout: 248 seconds]
felixfoertsch23 has joined #nixos
<zeta_0> infinisil: i have a default.nix file that i use for things like yesod development, i am just trying to fix small little things like this
<inferencerules> i'm having some trouble getting the emacs overlay set up for use with nixos-rebuild, and finding the official documentation rather unenlightening; i have the overlay defined in nixpkgs.overlays within configuration.nix and i've added the configs from the wiki entry for using nixpkgs.overlays from configuration.nix as <nixpkgs-overlays> in the NIX_path, but nixos-rebuild is still trying to pull the
<inferencerules> older emacs-26. is there a nice walkthrough of this feature somewhere?
<infinisil> inferencerules: nixpkgs.overlays definitely applies the overlays to the pkgs you get in NixOs modules. I suspect your overlay might not be overriding the right thing
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
mexisme has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
<zeta_0> infinisil: is there some instructions for inserting a shellHook in a default.nix, it keeps throwing syntax errors? https://hastebin.com/nenaxuwoku.bash
<infinisil> zeta_0: Whatever error you're getting, it's not a syntax error, because that file is valid Nix code. It's just that developPackage doesn't support setting derivation attributes like that, so you'll get an evaluation error
<infinisil> zeta_0: However from looking at the implementation of developPackage, I believe you can do this: `developPackages { ...; modifier = drv: drv.overrideAttrs (old: { shellHook = "..."; }); }`
<zeta_0> infinisil: thanks, i'll try that
srid has joined #nixos
<zeta_0> infinisil: i think this is what you meant? https://hastebin.com/udigebicoh.bash
<infinisil> Ah you already have a modifier set, didn't notice that
syzygyzer has quit [Remote host closed the connection]
<infinisil> zeta_0: Your previous modifier function looked like `drv: <something>`, now to set shellHook you need to change that to `drv: (<something>).overrideAttrs (old: { shellHook = "..."; })`
* lovesegfault still doesn't understand what a derivation is
<infinisil> lovesegfault: Basically just instructions for how to generate a path with certain contents
<zeta_0> infinisil: ok, i think i got it, not sure if i need that semicolon at the end though: https://hastebin.com/dutajegiga.bash
<zeta_0> nevermind, errors
<infinisil> zeta_0: Nope that's not right. I mentioned "Your previous modifier function looked like `drv: <something>`" What is your modifier function?
<infinisil> What was it previously I mean?
<zeta_0> infinisil: so i need to wrap something in parenthesis, right?
<zeta_0> infinisil: sorry i am little brain dead right now, i want get this done before i fall asleep
<infinisil> zeta_0: Well whatever, I don't want to spend time on guiding you either, here's the code you need: https://paste.infinisil.com/flOi9kqA6E.nix
<lovesegfault> infinisil: Do you have hydra superpowers?
<infinisil> lovesegfault: Only mediocre-powers
<lovesegfault> infinisil: Cancel? I only have restart
<zeta_0> infinisil: thanks for your patience in helping me
<zeta_0> infinisil++
<{^_^}> infinisil's karma got increased to 175
lord| has quit [Ping timeout: 268 seconds]
<infinisil> lovesegfault: I think so, got a job link?
<lovesegfault> eh, sorry
<infinisil> I can cancel yeah, why should those be canceled?
<lovesegfault> there, those two
<lovesegfault> they are stuck sending inputs
<lovesegfault> should be restarted
<lovesegfault> there's some deadlock
<infinisil> Hm I see
<infinisil> lovesegfault: Oh, nevermind, "Only the project members, administrators, and accounts with cancel-build privileges can perform this operation."
<infinisil> I assumed I could cancel with a "Cancel" button :/
<infinisil> How silly of me!
<lovesegfault> lol
ebzzry has quit [Read error: Connection reset by peer]
Fzer0 has quit [Quit: Connection closed for inactivity]
lord| has joined #nixos
<lovesegfault> A grownup restarted it!
<lovesegfault> Was it you gchristensen?
<zeta_0> infinisil: i was able to go into nix-shell without any errors, but it still did not shorten bash's path? https://hastebin.com/nasojatoha.bash
<zeta_0> [zeta@nixos:nix-haskell-recipes]$ nix-shell
<zeta_0> [nix-shell:~/example_projects/simple_examples/nix-haskell-recipes]$
<infinisil> zeta_0: Put something next to the export like `echo hi` to see if the code runs at all
<infinisil> Oh
<zeta_0> infinisil: i didn't return anything? https://hastebin.com/ihojepopeb.bash
<infinisil> I see the problem
smollcato has quit [Remote host closed the connection]
smollcato has joined #nixos
<infinisil> Haskell infra being haskell infra, the package derivations aren't used for shells, so this is necessary
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<infinisil> Or not
<infinisil> Wait no that should work
<zeta_0> infinisil: no, it did not shorten the path when went into a nix-shell
<infinisil> Hmm..
<zeta_0> infinisil: how strange, configuring something like this should't be that difficult
<infinisil> zeta_0: But did it print the `hi`?
<infinisil> Well
<infinisil> If you add `echo hi`
<infinisil> Does it print it?
siiky has quit [Ping timeout: 248 seconds]
<zeta_0> infinisil: oh, when i enter a nix-shell in elisp it doesn't work but when i enter it in a regular bash terminal it works, my mistake
<infinisil> Ah
<zeta_0> infinisil: i don't think i am going to use elisp anymore it is missing to much functionality, that sucks because it is so convient to quickly enter it through emacs, oh well, bash it is
<zeta_0> infinisil++
<{^_^}> infinisil's karma got increased to 176
<infinisil> You mean eshell?
<zeta_0> infinisil: yes
<infinisil> Hm yeah
<lovesegfault> nixos-unstable release incoming
<zeta_0> infinisil: been struggling for 4 months now with nix but i am hanging in there(keep swallowing nix pills)
<zeta_0> how many years have you guys been using nix?
<{^_^}> [nixpkgs] @thefloweringash opened pull request #76922 → perl: fix configure phase for Aarch32 → https://git.io/Jepl8
<clever> i first joined #nixos on `Thu Jun 25 11:13:00 2015`
<lovesegfault> clever: Wow
<zeta_0> clever: close to 5 years now, wow
<clever> yeah
<HedgeMage> zeta_0: Less than one year for me.
endformationage has quit [Quit: WeeChat 2.6]
<zeta_0> HedgeMage: cool
* HedgeMage puts on her newb hat
<HedgeMage> (kind of refreshing at my age, come to think about it)
orivej has joined #nixos
* lovesegfault waits for channel to progress
<HedgeMage> lovesegfault: Progress to what?
<lovesegfault> HedgeMage: nixos-unstable has been stuck for a couple days
<lovesegfault> so for the last two days I've been babysitting it trying to unstuck
<lovesegfault> and now I wait for a release, i.e. for the channel to progress to a newer commit
<thomashoneyman> does anyone have a reference to how I might use callPackage when an input is not in the top level of nixpkgs?
tardigrad has left #nixos [#nixos]
<thomashoneyman> i suppose i could have the input just be that subset, ie nodePackages
<thomashoneyman> but i'd rather have the specific dependency listed
<thomashoneyman> this seems like a reasonably common situation
<thomashoneyman> oh! found an example in nixpkgs
<thomashoneyman> `callPackage ./x.nix { inherit (nodePackages) package; };
cyraxjoe has joined #nixos
<jackdk> thomashoneyman: that's basically what I do as well
MightyJoe has quit [Ping timeout: 268 seconds]
<HedgeMage> lovesegfault: Gotcha
chagra_ has joined #nixos
chagra has quit [Ping timeout: 268 seconds]
inferencerules has quit [Quit: leaving]
fusion809 has joined #nixos
ditadi has joined #nixos
ditadi has joined #nixos
ditadi has quit [Changing host]
Rusty1 has quit [Quit: Konversation terminated!]
orivej has quit [Ping timeout: 265 seconds]
zarel_ has joined #nixos
zarel has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #60336 → metals: init at 0.7.6 → https://git.io/fjGLG
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jep8W
drakonis has quit [Quit: WeeChat 2.7]
dansho has joined #nixos
palo1 has joined #nixos
srid has quit [Quit: Connection closed for inactivity]
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
siiky has joined #nixos
Soo_Slow has joined #nixos
vesper11 has quit [Ping timeout: 248 seconds]
vesper has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
yl has joined #nixos
<lovesegfault> This build is going to kill me
LarryTheCow has joined #nixos
szicari has quit [Ping timeout: 248 seconds]
szicari has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<ivan> there is something wrong with master since a few weeks ago, lot of service restarts are followed by `error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused`
wavirc22 has joined #nixos
johnw has joined #nixos
<{^_^}> #72372 (by flokli, 9 weeks ago, open): Activation script snippet "nix" failed
<ivan> clever: ah thanks
<{^_^}> [nixpkgs] @Emantor opened pull request #76924 → Pkg/python xmodem → https://git.io/Jep4g
dozn_ is now known as dozn
astrofog has joined #nixos
astrofog has quit [Remote host closed the connection]
astrofog has joined #nixos
wavirc22 has quit [Quit: wavirc22]
astrofog has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Client Quit]
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #76926 → vim-plugins: direnv-vim: hardcode the default path to direnv → https://git.io/Jep4M
wavirc22 has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
zupo has joined #nixos
mexisme has quit [Ping timeout: 260 seconds]
szicari has quit [Ping timeout: 260 seconds]
szicari has joined #nixos
captn3m0 has quit [Ping timeout: 260 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #76915 → ffmpeg: fix cross compilation → https://git.io/JepcD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JepBk
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Mic92 pushed to master « Revert "ffmpeg: fix cross compilation" »: https://git.io/JepBt
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/JepBq
captn3m0 has joined #nixos
yl has quit [Ping timeout: 258 seconds]
<lovesegfault> Mic92: Around?
<Mic92> lovesegfault:
<Mic92> yes
rauno has joined #nixos
<lovesegfault> Mic92: Wait, nvm, the hydra job finally went through it seems
<lovesegfault> Sorry to ping you for no reason :)
<Mic92> You are welcome
Emantor has joined #nixos
<lovesegfault> Come on nixos-unstable please progress
xkapastel has joined #nixos
<evils> should i give up using git ls-remote and nix-prefetch-url in nix-shell --pure?
<evils> s/using/trying to use/
mounty has quit [Ping timeout: 258 seconds]
iyzsong has quit [Ping timeout: 248 seconds]
szicari has quit [Ping timeout: 248 seconds]
FRidh has joined #nixos
<lovesegfault> Why does the channel take so long to progress after the hydra eval is finished?
orivej has joined #nixos
szicari has joined #nixos
ent has joined #nixos
<LnL> the update runs periodically, it doesn't get triggered
<evils> lovesegfault: seems like a cronjob has to run, then things like generating ISOs has to be done, command-not-found index has to be updated
captn3m0 has quit [Ping timeout: 258 seconds]
<lovesegfault> LnL, evils I see, does anyone know the period?
<meatcar> Are there any conventions around tagging a package in nixpkgs as outdated, for the maintainer to update? Or should I just update the version in nixpkgs and merge-request it myself?
mexisme has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<evils> meatcar: i believe making a pull request to update it is the preferred way to deal with that, you can tag the maintainer in that, if it's difficult to update, making an issue for it is probably the way to go
<LnL> lovesegfault: looks like it's 10min
<evils> LnL: where did you find that?
<lovesegfault> meatcar: The latter, if you don't know how then open an issue
<evils> thanks
<LnL> most of the infrastructure configuration is in that repo
mounty has joined #nixos
<meatcar> evils, lovesegfault, thanks.
rauno has quit [Ping timeout: 248 seconds]
ixxie has joined #nixos
zarel_ is now known as zarel
lovesegfault has quit [Ping timeout: 248 seconds]
wavirc22 has quit [Read error: No route to host]
aveltras has joined #nixos
<aveltras> is there a way to have lib.nix file using the "depsPath" arg as is without being relative to the build in nixstore in my addDep function ? https://gist.github.com/aveltras/faaa4f464c69929af0d8a62132e02e01
captn3m0 has joined #nixos
thomashoneyman has quit [Ping timeout: 260 seconds]
<LnL> not sure I understand the question, but ./. + "/nix/deps" is the same as ./nix/deps
<aveltras> i've just found a workaround
<aveltras> by passing "toString ./nix/deps" instead of ./nix/deps
<aveltras> the goal was to factor out all functions relative to project management in some external dependencies but, it the functions provided by this, keep all paths relative to the current project
__monty__ has joined #nixos
logzet has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
ng0 has joined #nixos
o1lo01ol1o has joined #nixos
szicari has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/2d9454702e5 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
szicari has joined #nixos
nexgen has quit [Remote host closed the connection]
carlosdagos has joined #nixos
laikq has joined #nixos
<Orbstheorem> Is there a tool to “easily” view version changes across generations?
<Orbstheorem> A trivial solution would be to parse and diff `nix-store -qR /nix/var/nix/gcroots/profiles/system-*-link/`, but maybe somebody wrote it already x)
nexgen has joined #nixos
m0rphism has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e0470e11c7a (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
tokudan has quit [Quit: Dunno.]
<evils> xD only took nixos-unstable ~6h to advance after passing all tests
tokudan has joined #nixos
tokudan has quit [Remote host closed the connection]
ebzzry has joined #nixos
<symphorien> Orbstheorem: nix-diff maybe ?
Soo_Slow has quit [Quit: Soo_Slow]
<Orbstheorem> symphorien: Oh ^^
FRidh has quit [Quit: Konversation terminated!]
tokudan has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #76456 → wolfssl: 4.2.0 -> 4.3.0 → https://git.io/Jebew
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JepRP
chloekek has joined #nixos
ebzzry has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @markuskowa merged pull request #76396 → qbs: 1.14.1 -> 1.15.0 → https://git.io/JeFQl
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jep0e
fendor has joined #nixos
thc202 has joined #nixos
<Orbstheorem> symphorien: Thanks !
WooDWorkeR has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #76423 → tixati: 2.64 -> 2.66 → https://git.io/JeFAJ
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jep0U
<{^_^}> [nixpkgs] @romildo opened pull request #76930 → xfce.catfish: 1.4.11 -> 1.4.12 → https://git.io/Jep0I
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
UndefinedIsNotAF has quit [Read error: Connection reset by peer]
UndefinedIsNotAF has joined #nixos
cosimone has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bd62dd3bb37 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
cosimone has quit [Client Quit]
laikq has quit [Ping timeout: 248 seconds]
Soo_Slow has joined #nixos
cosimone has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #76341 → moosefs: 3.0.107 -> 3.0.109 → https://git.io/JeFik
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jep0G
<{^_^}> [nixpkgs] @markuskowa merged pull request #76311 → marvin: 19.23.0 -> 19.27.0 → https://git.io/Jep0Z
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/Jep0n
orivej has joined #nixos
kleisli_ has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<asymmetric> the travis nix builder on macOS seems to be broken by the recent addition of poetry2nix, for some reason: https://travis-ci.com/dapphub/dapptools/jobs/272345685#L575-L578
<asymmetric> cc garbas domenkozar[m] gchristensen
orivej has quit [Ping timeout: 240 seconds]
ixxie has quit [Ping timeout: 260 seconds]
laikq has joined #nixos
jgeerds has joined #nixos
cosimone has quit [Quit: Terminated!]
<{^_^}> [nixpkgs] @markuskowa merged pull request #76462 → vym: 2.7.0 -> 2.7.1 → https://git.io/Jebvc
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jep0K
<{^_^}> [nixpkgs] @alyssais merged pull request #76930 → xfce.catfish: 1.4.11 -> 1.4.12 → https://git.io/Jep0I
<{^_^}> [nixpkgs] @alyssais pushed commit from @romildo to master « xfce.catfish: 1.4.11 -> 1.4.12 »: https://git.io/Jep06
<{^_^}> [nixpkgs] @alyssais merged pull request #76907 → pivx: 3.4.0 -> 4.0.0 → https://git.io/JepZL
<{^_^}> [nixpkgs] @alyssais pushed commit from @wucke13 to master « pivx: 3.4.0 -> 4.0.0 »: https://git.io/Jep0P
<{^_^}> [nixpkgs] @alyssais merged pull request #76906 → ffmpeg{_4,-full}: 4.2.1 -> 4.2.2, ffmpeg_2_8: 2.8.14 -> 2.8.15 → https://git.io/JepGY
<{^_^}> [nixpkgs] @alyssais pushed 3 commits to master: https://git.io/Jep0X
<{^_^}> [nixpkgs] @markuskowa merged pull request #76438 → smemstat: 0.02.05 -> 0.02.06 → https://git.io/JeFxH
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jep01
logzet has quit [Ping timeout: 248 seconds]
syd has joined #nixos
LLED2_2 has joined #nixos
patrl has joined #nixos
patrl is now known as Guest43194
LLED2_3 has quit [Ping timeout: 260 seconds]
<aveltras> how can i get the nix equivalent for "packages = p: [p.backend];", having a list like ["backend"] ===> packages = p: ???; ?
<aveltras> the idea being to have a dynamically created list of local packages for a shell
Thra11 has joined #nixos
UndefinedIsNotAF has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
syd has quit [Remote host closed the connection]
<tilpner> > let p = pkgs; in map (name: pkgs.${name}) ["hello"] # aveltras
<{^_^}> [ <CODE> ]
<tilpner> > :p let p = pkgs; in map (name: pkgs.${name}) ["hello"] # aveltras
<{^_^}> anonymous function at /var/lib/nixbot/nixpkgs/master/repo/pkgs/build-support/fetchurl/boot.nix:5:1 called with unexpected argument 'hash', at /var/lib/nixbot/nixpkgs/master/repo/pkgs/development/inter...
<tilpner> Well, fine, eval it locally
<tilpner> And yes, p.${name} instead of pkgs.${name}, but that's up to you
<aveltras> ok thanks tilpner
<aveltras> seems to work for the nix side of the problem
<tilpner> If you want less weird syntax, use builtins.getAttr "hello" pkgs
zebrag has joined #nixos
Guest43194 has quit [Quit: WeeChat 2.7]
<aveltras> i'd like to support possibly multiple packages here but seems that would work fine for only one yes
<tilpner> No, that still works with map, I mentioned it as an alternative to .${foo}
<tilpner> Consider lib.getAttrFromPath if you want nested access from strings
<__monty__> Why does .${foo} not need quotes?
carlosdagos has quit [Quit: WeeChat 2.4]
<tilpner> > :p lib.getAttrFromPath (lib.splitString "." "python3Packages.deprecated") pkgs # aveltras
<{^_^}> "<derivation /nix/store/762cv6nrmn2i0iz7kx2bbkpr4hwk4gld-python3.7-Deprecated-1.2.7.drv>"
<aveltras> in the end packages = p: map (name: builtins.getAttr name p) (builtins.attrNames projectPackages);
<tilpner> > { ${"foo" + "bar"} = 42; } # it's not quoted here either, monty
<{^_^}> { foobar = 42; }
<aveltras> seems to work as well indeed
<tilpner> > { "${"foo" + "bar"}" = 42; } # But it does work with quotes, monty
<{^_^}> { foobar = 42; }
kenjis has joined #nixos
<tilpner> > { "${{ outPath = "/foo"; }}" = 42; } # There is a difference with this interpolation, __monty__
<{^_^}> { "/foo" = 42; }
zupo has joined #nixos
<tilpner> > { ${{ outPath = "/foo"; }} = 42; } # But that's just lack of string coercion, __monty__
<{^_^}> value is a set while a string was expected
laika has joined #nixos
LarryTheCow has quit [Ping timeout: 260 seconds]
laikq has quit [Ping timeout: 240 seconds]
kleisli_ has joined #nixos
o1lo01ol1o has joined #nixos
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
mananamenos has joined #nixos
UndefinedIsNotAF has joined #nixos
mananamenos has quit [Remote host closed the connection]
ashesham` has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #76426 → sqlcipher: 4.2.0 -> 4.3.0 → https://git.io/JeFAg
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JepE0
drakonis1 has joined #nixos
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #nixos
syd has joined #nixos
<syd> Is there a way to tell nixos "automatically delete all generations older than 30d, until there are minimum 3 left"?
Thra11 has quit [Quit: WeeChat 2.7]
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #76404 → reuse: 0.6.0 -> 0.7.0 → https://git.io/JeF5s
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JepEP
melling has joined #nixos
melling has quit [Client Quit]
<{^_^}> [nixpkgs] @alyssais pushed commit from @zowoq to release-18.09 « ffmpeg_2_8: 2.8.14 -> 2.8.15 »: https://git.io/JepE1
<{^_^}> [nixpkgs] @alyssais pushed commit from @zowoq to release-19.03 « ffmpeg_2_8: 2.8.14 -> 2.8.15 »: https://git.io/JepEM
<{^_^}> [nixpkgs] @alyssais pushed 4 commits to release-19.09: https://git.io/JepED
<{^_^}> [nixpkgs] @alyssais pushed commit from @zowoq to release-18.03 « ffmpeg_2_8: 2.8.14 -> 2.8.15 »: https://git.io/JepEy
<{^_^}> [nix] @edolstra pushed 9 commits to 2.3-maintenance: https://git.io/JepES
<{^_^}> [nix] @edolstra pushed 2 commits to 2.3-maintenance: https://git.io/JepE9
<{^_^}> [nix] @edolstra pushed to 2.3-maintenance « Bump version number »: https://git.io/JepE5
<{^_^}> [nixpkgs] @markuskowa merged pull request #76399 → qownnotes: 19.11.14 -> 19.12.15 → https://git.io/JeFQ7
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JepEb
sara_ has joined #nixos
sara_ has quit [Client Quit]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
<{^_^}> [nix] @edolstra pushed 14 commits to 2.3-maintenance: https://git.io/JepuJ
<noonien> hello folks
orivej has joined #nixos
<afics> makefu: thank for the help. seems like I just pulled keepalived from the nixpkgs tree at the wrong time >.>
<noonien> is there a way to tell why i have a certain derivation in my /nix/store?
<{^_^}> [nixpkgs] @markuskowa merged pull request #76343 → obs-studio: 24.0.4 -> 24.0.6 → https://git.io/JeFic
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JepuI
<tilpner> noonien: nix-store --query --referrers and --referrers-closure can help
<tilpner> Along with --roots
<{^_^}> [nix] @edolstra pushed to 2.3-maintenance « .version: Remove newline »: https://git.io/Jeput
dozn_ has joined #nixos
<noonien> tilpner: thanks!
<tilpner> noonien: Singh or Soong?
<{^_^}> [nixpkgs] @markuskowa merged pull request #76235 → byacc: 20191119 -> 20191125 → https://git.io/JepuY
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JepuO
<noonien> Soong, but why not both? :D
laika has quit [Ping timeout: 248 seconds]
dozn has quit [Ping timeout: 260 seconds]
misuzu has quit [Remote host closed the connection]
syd has quit [Remote host closed the connection]
m1cr0man has joined #nixos
<m1cr0man> Hey folks. I'm trying to reinstall my hetzner box because the boot usb key died q_q I'm struggling to build a kexec image that loads the 0.8.2 zfs modules. I can see from the nixos-generate output that it is definitely installing zfs-user-0.8.2 but when I kexec and run modinfo zfs it is 0.7.13
<m1cr0man> I guess my question is, what is the correct way to tell nix to use zfs unstable/0.8.2?
<noonien> hmm, is it possible to find why i have installed 5 different versions of gcc?
<noonien> can i get the derivation attributes from which the hash was computed?
<noonien> so i can diff the differences between them
<tilpner> m1cr0man: Even stable (19.09) has 0.8.2 right now, no need to go with boot.zfs.enableUnstable (but that's how you would do it otherwise)
<tilpner> m1cr0man: Check (or paste) the nixos-generators (which I assume you mean) inputs for recent nixpkgs versions
<lassulus> uh that could be a bug in nixos-generators
spacekookie has quit [Quit: **agressive swooshing**]
<m1cr0man> tilpner: do you mean the configuration.nix im using? here's everything anyway https://gist.github.com/m1cr0man/5bd5ce185e7286902bab2bf37231ba34https://gist.github.com/m1cr0man/5bd5ce185e7286902bab2bf37231ba34
spacekookie has joined #nixos
<m1cr0man> lassulus: If it is is there something I can send you to confirm it?
<m1cr0man> I saved the cmd output to a file if you want that
hmpffff has quit [Ping timeout: 260 seconds]
<lassulus> hmm, not for now, I will check something, the kexec part is a little bit hacky on my site because I just pinned the clever-tests repo inside the format: https://github.com/nix-community/nixos-generators/blob/master/formats/kexec.nix#L3
<lassulus> could be, that its messing with the zfs package, because there could be an old reference in there
<lassulus> you could copy the format, update the clever-tests repo to something more recent and check again If you want to
<m1cr0man> I'll give that a shot :)
<lassulus> I should really include the necessary code for the kexec stuff inside nixos-generators directly
<tilpner> m1cr0man: You are running /kexec_nixos and it correctly drops you into a NixOS system? Can you add modinfo zfs and generate.log to the gist?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/257fefa6d1f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<m1cr0man> yes tilpner
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
<m1cr0man> tilpner: Updated
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/87c698a5ca6 (from 49 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
fendor has quit [Quit: Leaving]
misuzu has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #76506 → python3.pkgs.graph-tool: 2.27 -> 2.29 → https://git.io/JebZI
<{^_^}> [nixpkgs] @Lassulus pushed commit from Michel Weitbrecht to master « python3.pkgs.graph-tool: 2.27 -> 2.29 »: https://git.io/Jepui
puzzlewolf has joined #nixos
<mkaito_> anyone here familiar with how amazon bills for AMIs? I'm using the nixpkgs machinery that builds a vhd, uploads to S3, imports that into a snapshot, and then creates a few AMIs from that in different regions.
<tilpner> m1cr0man: That warning suggests your NIX_PATH is being ignored
<mkaito_> a few questions I have with that: can I safely transition the data on S3 to something like glacier to minimize storage costs, or is that data actively used when spinning up instances? Also, google tells me that "S3 backed AMI" are only billed for the storage taken up on S3, but I'm not sure this correctly describes the process.
<tilpner> m1cr0man: Try with -I, as suggested in the README
<{^_^}> [nixpkgs] @royneary opened pull request #76933 → gitAndTools.git-bug: 0.5.0 -> 0.6.0 → https://git.io/JepuD
<tilpner> m1cr0man: Alternatively, show us what roots channel "nixos" is, and perhaps update it
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e99df8643c8 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
reanimus has quit [Ping timeout: 260 seconds]
reanimus has joined #nixos
<m1cr0man> tilpner tried that and the warning disappeared. That's odd because I essentially did what the "Using a particular nixpkgs" section tells you to (export NIX_PATH)
<tilpner> m1cr0man: Please check if that changes the installed zfs version
<m1cr0man> tilpner: Yep going to try nit now, give me ~5 minutes
Chiliparrot has joined #nixos
tilpner_ has joined #nixos
tilpner has quit [Ping timeout: 258 seconds]
tilpner_ is now known as tilpner
laika has joined #nixos
Rusty1 has joined #nixos
<m1cr0man> Is there a way I can add paths as-is to the nix store? I'm already kexec'd on my server and the kexec files need to go into the nix store
<{^_^}> [nixpkgs] @markuskowa opened pull request #76934 → [19.09] wordpress: 5.2.4 -> 5.2.5 → https://git.io/JepzI
<qyliss> nix-store --add ?
<infinisil> m1cr0man: In nix code just "${./the-path}"
rogue_koder has quit [Quit: Konversation terminated!]
<m1cr0man> Yeah neither of those will do it in this case, I've compiled the kexec on another machine and the output of it is a tar containing a nix folder, and a script with hardcoded paths
<m1cr0man> maybe i can just edit these paths..
gustavderdrache has joined #nixos
<m1cr0man> ah, nope, because all the elf paths are wrong too. Ok gotta build locally then
<tilpner> m1cr0man: Are you trying to kexec on NixOS?
shabius has quit [Quit: Leaving]
<tilpner> And the extraction is failing?
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to staging: https://git.io/Jepzq
<m1cr0man> yes but the kexec im extracting is from another machine
<tilpner> That shouldn't matter
xkapastel has quit [Quit: Connection closed for inactivity]
<tilpner> Can you try moving the hosts /nix out of the way?
<m1cr0man> but all the paths are absolute, it doesn't work. In the README it explains the contents of the tar must be copied to root
<tilpner> Why is it a problem that the paths are absolute?
FRidh has joined #nixos
<m1cr0man> because they point to /nix/store, I can't copy the missing files to the right place. It just doesn't work. This kexec tar is meant to be used on a non-nix OS
<tilpner> But can't you just mv /nix /old-nix before extracting?
<tilpner> If not, you'll have to explain "just doesn't work"
<m1cr0man> Ok so the steps for using the kexec from nixos-generate are 1) build it 2) copy generated tar to target machine 3) extra to root of filesystem and run. I can't do that on a NixOS target machine because it is creating a nix folder, and all the scripts in this tar have absolute paths. I can extract to a different folder and even try chroot .
<m1cr0man> /kexec_nixos but that also fails with "No such file or directory", because all the dynamic libraries the binaries are linked to are also not there :P
<tilpner> You still haven't explained why you can't move /nix out of the way
dozn__ has joined #nixos
<m1cr0man> it's read only?
<m1cr0man> And that will surely break the shell I'm currently in
<m1cr0man> ... yep, that was a bad idea
<tilpner> mount -o remount,rw /nix or something like that
<tilpner> Then it should be able to extract right into it
<tilpner> No need to move or delete it anymore
<m1cr0man> yeah that isn't allowed either I tried that. I'd give you the error but the machine is dead in the water now
<tilpner> Pretty sure that is allowed
dozn has joined #nixos
laika has quit [Remote host closed the connection]
civodul has joined #nixos
laika has joined #nixos
dozn_ has quit [Ping timeout: 265 seconds]
Naptra has joined #nixos
dozn_ has joined #nixos
dozn__ has quit [Ping timeout: 240 seconds]
bbarker2 has quit [Ping timeout: 268 seconds]
dozn has quit [Read error: Connection reset by peer]
rogue_koder has joined #nixos
* tilpner netcat kexec_tarball to vm
<tilpner> m1cr0man: That works
<tilpner> m1cr0man: Make sure to remount /nix/store instead of /nix
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2bd5a209841 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
dozn has joined #nixos
knupfer has joined #nixos
m1cr0man has quit [Ping timeout: 260 seconds]
dozn_ has quit [Read error: Connection reset by peer]
xkapastel has joined #nixos
dozn_ has joined #nixos
dozn__ has joined #nixos
cosimone has joined #nixos
dozn has quit [Ping timeout: 258 seconds]
dozn__ has quit [Client Quit]
dozn_ has quit [Ping timeout: 268 seconds]
v88m has quit [Ping timeout: 268 seconds]
elux has joined #nixos
laika has quit [Ping timeout: 248 seconds]
<elux> hi guys, just wondering how to turn on THP within nixos?
<{^_^}> [nixpkgs] @tobim opened pull request #76936 → flatbuffers: fix build for musl → https://git.io/JepzD
v88m has joined #nixos
dansho_ has joined #nixos
<makefu> afics: damn bad timing then. but i am glad you managed to fix it :)
Synthetica has joined #nixos
dansho has quit [Ping timeout: 268 seconds]
ebzzry has joined #nixos
ng0_ has joined #nixos
ng0_ has quit [Changing host]
ng0_ has joined #nixos
ashesham` has quit [Ping timeout: 246 seconds]
laika has joined #nixos
ng0 has quit [Ping timeout: 258 seconds]
<afics> makefu: yup. what do I need to do if I want to replace the services.keepalived part too? disabledModules = … and import my own?
astrofog has joined #nixos
ng0_ is now known as ng0
<afics> seems like it ;)
dm9 has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #76900 → psi: 0.15 -> 1.4 → https://git.io/Jep3i
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JepgT
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/Jepgk
laika has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.09: https://git.io/JepgI
elux has quit [Quit: leaving]
orivej has quit [Ping timeout: 260 seconds]
meck has quit [Quit: WeeChat 2.7]
LLED2_3 has joined #nixos
<makefu> afics: yep exactly
<makefu> what you also see very often is rename 'services.keepalived' in your import to 'services.keepalived2'
LLED2_2 has quit [Ping timeout: 258 seconds]
steevveen has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.7]
<afics> makefu: I intend to upstream my changes, so I'd like to keep it as close to the original as possible
jmeredith has joined #nixos
ng0 has quit [Ping timeout: 265 seconds]
<makefu> afics: that is great! afics++
<{^_^}> afics's karma got increased to 1
<steevveen> Hi! I have got a default.nix file from someone, and with nix-build it compiles a project that I can launch if I go in ../result/bin . Now, what is the command so as to install it in my nixos just like other package accessible on the command line ?
<{^_^}> [nixpkgs] @Ma27 merged pull request #74496 → fzf: fix unstable vim plugin path → https://git.io/JeXbH
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jepgg
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #76937 → precice: fix output and cmake → https://git.io/Jepg2
dansho_ has quit [Ping timeout: 268 seconds]
<infinisil> steevveen: Either `environment.systemPackages = [ (import ./path/to/default.nix) ]` or `environment.systemPackages = [ (import ./path/to/default.nix {}) ]`
<lassulus> shouldn't it be callPackage instead of import?
<lassulus> ah, if just nix-build works it should be fine?
<infinisil> Yeah indeed
<steevveen> lassulus what callPackage would have done more ?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/87c698a5ca6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<lassulus> it puts the pkgs. in scope, so you can do something like { gcc, hello }: on top of your default.nix
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #60390 → tmux-xpanes: init at 4.1.0 → https://git.io/fjGEU
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JepgM
noudle has joined #nixos
drewr has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #61722 → nginxModules.pinba: init at 13.05.2019 → https://git.io/fj89D
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jepgx
<{^_^}> [nixpkgs] @ryantm merged pull request #61387 → ddcci-driver: init at 0.3.2 → https://git.io/fjWGI
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jepgp
kenjis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lourkeur opened pull request #76938 → nixos/gnunet: Add types to the options → https://git.io/Jep2v
<{^_^}> [nixpkgs] @lourkeur opened pull request #76939 → nixos/tsocks: Add types to the options → https://git.io/Jep2f
kenjis has joined #nixos
<eoli3n_> when creating a whole encrypted pool on nfs, should i use "-O mountpoint=none" ?
<eoli3n_> exemple without encryption from wiki : zpool create -O mountpoint=none -R /mnt rpool $DISK-part1
ng0 has joined #nixos
ng0 has joined #nixos
ng0 has quit [Changing host]
<eoli3n_> exemple with encryption from wiki : zpool create -o ashift=12 -o altroot="/mnt" -O encryption=aes-256-gcm -O keyformat=passphrase zroot /dev/sdxy
steevveen has quit [Remote host closed the connection]
<tilpner> eoli3n_: Yes to mountpoint=none
<eoli3n_> thx tilpner :)
<tilpner> (And you scared me with the "create a zpool on nfs storage" typo)
<eoli3n_> oups
gustavderdrache has quit [Quit: Leaving.]
<eoli3n_> Zfs
<eoli3n_> tilpner: maybe wiki needs to be updated
<tilpner> Please do!
<eoli3n_> you're right lets try
<eoli3n_> done
<tilpner> eoli3n_++
<{^_^}> eoli3n_'s karma got increased to 1
<eoli3n_> oh thx <3
ng0 has quit [Ping timeout: 268 seconds]
alex`` has joined #nixos
erictapen has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #76940 → openexr: fix non-cross-compilation → https://git.io/Jep2s
<gchristensen> pretty much that whole wiki page needs to be restructured and redone from scratch
growpotkin has joined #nixos
<ptrcmd> I am having trouble getting adobe flash to work on firefox
<simpson> What have you tried?
<ptrcmd> I overrided flashplayer to the newest version, added nixpkgs.config.firefox.enableAdobeFlash = true to configuration.nix
<ptrcmd> and ran `nixos-rebuild switch`
<ptrcmd> and the rebuild was successful
rauno has joined #nixos
<ptrcmd> but I still can't use flash in firefox
<ptrcmd> firefox is rebuilt during `nixos-rebuild switch`, but I can't seem to find the flash plugin in the out path of the built firefox derivation
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ca8ea9c1a92 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
meck has joined #nixos
<ptrcmd> I overrided flashplayer with nixpkgs.overlays
<ptrcmd> this is the overlay
<ptrcmd> and firefox is installed by adding firefox to environment.systemPackages
<ptrcmd> in configuration.nix
rauno has quit [Ping timeout: 248 seconds]
cosimone_ has joined #nixos
<ptrcmd> anything I missed here?
<softinio> gchristensen: hope you are well. I would like to contribute regularly to nixos how does one become a code owner so I can help with reviews and doing more?
<ptrcmd> and I also restarted firefox
<simpson> ptrcmd: AFAICT you've done everything right, but I don't know what's wrong. You might need to read the code behind the `enableAdobeFlash` flag.
cosimone has quit [Ping timeout: 265 seconds]
<simpson> (Didn't Firefox recently, in their latest release, remove the compatibility layer for hosting Flash? Maybe you need an older Fx version.)
<__monty__> softinio: You don't need to be a codeowner to get notifications btw. If you're a maintainer for an expression ofborg notifies you.
<ptrcmd> I am using firefox 71
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #76941 → bash_unit: init at 1.6.1 → https://git.io/Jep2X
<ptrcmd> simpson: thanks
<{^_^}> [nixpkgs] @marsam opened pull request #76942 → Revert "ocamlPackages.cppo: 1.6.5 -> 1.6.6" → https://git.io/Jep29
<ptrcmd> Can I import .drv files in nix repl?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dc0fafb5436 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ca8ea9c1a92 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
rauno has joined #nixos
<ptrcmd> looks like this is the issue
<ptrcmd> and this environment variable is used for locating the flash plugin
<softinio> __monty__: good to know thank you
magnetophon has quit [Remote host closed the connection]
rauno has quit [Ping timeout: 248 seconds]
nek0 has quit [Remote host closed the connection]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nek0 has joined #nixos
chagra_ has quit [Ping timeout: 258 seconds]
chagra has joined #nixos
<eoli3n_> can i use zfs encrypted pool with systemd-boot ?
alex`` has quit [Quit: WeeChat 2.7]
<eoli3n_> booting doesn't ask for passphrase
<{^_^}> [nixpkgs] @marsam merged pull request #76942 → Revert "ocamlPackages.cppo: 1.6.5 -> 1.6.6" → https://git.io/Jep29
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JepaG
kenjis has quit [Ping timeout: 248 seconds]
<eoli3n_> it seems that i need to set "keylocation=prompt" but i don't know where
mehlon has joined #nixos
<{^_^}> [nixpkgs] @marsam closed pull request #76471 → vscodium: 1.41.0 -> 1.41.1 → https://git.io/JebfL
<{^_^}> [nixpkgs] @marsam closed pull request #76458 → vscode: 1.41.0 -> 1.41.1 → https://git.io/JebeD
mac10688 has joined #nixos
orivej has joined #nixos
ng0 has joined #nixos
ng0 has joined #nixos
ng0 has quit [Changing host]
yobj has quit [Remote host closed the connection]
cosimone_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #74694 → wordpress: 5.2.4 -> 5.3.2 → https://git.io/Je12t
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JepaM
philr has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #76934 → [19.09] wordpress: 5.2.4 -> 5.2.5 → https://git.io/JepzI
<{^_^}> [nixpkgs] @FRidh pushed commit from @markuskowa to release-19.09 « wordpress: 5.2.4 -> 5.2.5 »: https://git.io/JepaD
ng0 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #76332 → ocamlPackages.csv: 2.2 -> 2.4 → https://git.io/JeFK8
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jepaj
yobj has joined #nixos
<mac10688> Hi! I need to install a version of the haskell compiler. ghc865 but I'm not sure how to do it
jmeredith has quit [Quit: Connection closed for inactivity]
<__monty__> > haskell.compiler
<{^_^}> { ghc8101 = <CODE>; ghc822Binary = <CODE>; ghc844 = <CODE>; ghc863Binary = <CODE>; ghc865 = <CODE>; ghc881 = <CODE>; ghc882 = <CODE>; ghcHEAD = <CODE>; ghcjs = <CODE>; ghcjs86 = <CODE>; integer-simple...
<__monty__> Yep, it's still available. Just specify `ghc865` instead of `ghc`.
nek0 has quit [Remote host closed the connection]
chloekek has quit [Ping timeout: 260 seconds]
[Leary] has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « poetry: Don't add dependencies to PYTHONPATH »: https://git.io/JepV3
nek0 has joined #nixos
MmeQuignon has joined #nixos
Lears has quit [Ping timeout: 265 seconds]
endformationage has joined #nixos
erictapen has quit [Quit: leaving]
Bryophyllum has joined #nixos
<siraben> Anyone have links to NixOS configs for MacBook Pros 11,1 or higher?
<siraben> I'd like to see how I can improve my own
smatting has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
judson has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
<infinisil> siraben: Seen https://github.com/NixOS/nixos-hardware ?
<siraben> infinisil: Yeah I'm looking at that right now
gustavderdrache has joined #nixos
alex`` has joined #nixos
thomashoneyman has joined #nixos
<mac10688> thanks __monty__
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #76944 → go_1_13: skip TestExtraFiles on 32-bit arm → https://git.io/JepwU
judson_ has joined #nixos
knupfer has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/54c9e1f53a7 (from 48 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
astrofog has quit [Ping timeout: 265 seconds]
judson has quit [Ping timeout: 260 seconds]
ddellacosta has joined #nixos
<mankyKitty> Heya, when in a nix-shell, is there something extra required to make cabal acknowledge the provided `hsc2hs` rather demanding it be downloaded and built ? I cannot seem to make it work
tilpner has quit [Quit: tilpner]
bvdw has quit [Quit: bvdw]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #76945 → python.pkgs.tensorflow: fix build with cudatoolkit 10.2 → https://git.io/JepwZ
Bryophyllum has quit [Quit: Bryophyllum]
chloekek has joined #nixos
Keith[m] has joined #nixos
<Keith[m]> I'm trying to modify the soulseekqt derivation from nixpkgs, but I can't even build the unmodified one. I'm using the following command to build it: nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }'
<Keith[m]> and it just says anonymous function called without required argument mkderivation
<Keith[m]> does anyone know what I'm doing wrong?
o1lo01ol1o has joined #nixos
smatting has quit [Ping timeout: 268 seconds]
braingain has joined #nixos
m1cr0man has joined #nixos
<m1cr0man> Hey folks. Sorry my laptop died earlier and I didn't report back. Got kexec to work and I'm getting my host back online. Thanks for the help :) There's nothing wrong with nixos-generators lassulus, it turns out that I had used clever's repo on its own before and I was copying the wrong file. I feel pretty stupid for that, but sure I know better
<m1cr0man> now
srid has joined #nixos
jb55 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #76946 → pythonPackages.ipykernel: fix build → https://git.io/Jepww
jb55 has joined #nixos
thomashoneyman has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @juliancoffee opened pull request #76947 → Fix example for xkbOptions → https://git.io/JepwK
ddellacosta has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #72761 → aws-okta: 0.20.1 -> 0.26.3 → https://git.io/Je2Zw
<{^_^}> [nixpkgs] @kalbasit pushed commit from @Charg to master « aws-okta: 0.20.1 -> 0.26.3 (#72761) »: https://git.io/JepwP
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed to master « sshfs: 3.6.0 -> 3.7.0 »: https://git.io/JepwX
chagra_ has joined #nixos
chagra has quit [Quit: WeeChat 2.6]
dm9 has quit [Quit: WeeChat 2.7]
<lassulus> ah cool
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
wildtrees has quit [Client Quit]
ddellacosta has joined #nixos
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #76948 → heimdall: fix build on darwin → https://git.io/Jeprk
<{^_^}> [nixpkgs] @markuskowa opened pull request #76949 → texmaker: 5.0.3 -> 5.0.4 → https://git.io/Jeprt
<{^_^}> [nixpkgs] @adisbladis pushed to master « poetry: Don't propagate anything via PYTHONPATH »: https://git.io/Jeprq
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #76926 → vim-plugins: direnv-vim: hardcode the default path to direnv → https://git.io/Jep4M
<{^_^}> [nixpkgs] @kalbasit pushed to master « vim-plugins: direnv-vim: hardcode the default path to direnv (#76926) »: https://git.io/JeprB
<{^_^}> [nixpkgs] @kalbasit pushed to master « vim-plugins: hashivim/vim-terraform: fix the filetypedetect autocmd (#76845) »: https://git.io/Jepr0
<{^_^}> [nixpkgs] @kalbasit merged pull request #76845 → vim-plugins: hashivim/vim-terraform: fix the filetypedetect autocmd → https://git.io/JexXh
<{^_^}> [nix] @LnL7 opened pull request #3302 → build: fix path repairing with the darwin sandbox → https://git.io/JeprE
markus1189 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @kalbasit opened pull request #76950 → vim-plugins: hashivim/vim-terraform: fix the filetypedetect autocmd → https://git.io/Jepr2
markus1189 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #75526 → Add GNU threading and Fortran libraries to MKL package → https://git.io/Je9AZ
<{^_^}> [nixpkgs] @markuskowa pushed 4 commits to master: https://git.io/Jeprr
<{^_^}> [nixpkgs] @kalbasit opened pull request #76951 → vim-plugins: direnv-vim: hardcode the default path to direnv → https://git.io/Jepro
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #76950 → vim-plugins: hashivim/vim-terraform: fix the filetypedetect autocmd → https://git.io/Jepr2
<{^_^}> [nixpkgs] @kalbasit pushed to release-19.09 « vim-plugins: hashivim/vim-terraform: fix the filetypedetect autocmd (#76845) (#76950) »: https://git.io/Jepr6
<{^_^}> [nixpkgs] @primeos pushed to master « rav1e: 0.2.0 -> 0.2.1 »: https://git.io/Jepri
<{^_^}> [nixpkgs] @kalbasit merged pull request #76951 → vim-plugins: direnv-vim: hardcode the default path to direnv → https://git.io/Jepro
<{^_^}> [nixpkgs] @kalbasit pushed to release-19.09 « vim-plugins: direnv-vim: hardcode the default path to direnv (#76926) (#76951) »: https://git.io/JeprP
ng0 has joined #nixos
ng0 has quit [Client Quit]
<eoli3n_> how to nixos rebuld from iso ?
<eoli3n_> i mounted all my parts
<eoli3n_> but if i run a nixos-rebuild switch, it runs on iso's system
<eoli3n_> how to chroot nixos-rebuild ?
<symphorien> With nixos-enter
<eoli3n_> symphorien: <3
<symphorien> You can only run nixos-rebuild boot, not switch
<eoli3n_> hm
<eoli3n_> i want to rerun my hardware-configuration.Nix
<eoli3n_> which i misgenerated
<eoli3n_> (forget --root /mnt)
<gchristensen> you can run nixos-generate-config any time
<eoli3n_> gchristensen: yep but i want to rerun what's read those files
<eoli3n_> first time its install
<eoli3n_> now i mount
<gchristensen> you don't need nixos-enter even, then, you can just nixos-generate-config and re-run nixos-install
tilpner has joined #nixos
<eoli3n_> gchristensen: nixos-install will reinstall everything no ?
<eoli3n_> lets try with thios
<eoli3n_> this*
<maralorn[m]> eoli3n_: Yeah, but that‘s exactly what nixos-rebuild switch does.
<gchristensen> no, it is totally fine to run it again, eoli3n_
<eoli3n_> maralorn[m]: does it do from scratch, because i installed lots of packages
<eoli3n_> i don't want to rebuild from scratch, just diff
<eoli3n_> rebuild switch does diff
<gchristensen> nixos-install does the same
<eoli3n_> ok
<eoli3n_> thx
<{^_^}> [nixpkgs] @kalbasit opened pull request #76952 → h3: init at 3.6.2; pythonPackages.h3: init at 3.4.3 → https://git.io/Jeprj
<eoli3n_> i git clone my nix-config in /mnt/etc/nixos
<gchristensen> not so strange :)
<eoli3n_> just a sec, need some explaination
<eoli3n_> so configuration.nix is under /mnt/etc/nixos/hosts/$HOST/configuration.nix
<gchristensen> yeah, makes sense -- looks fine
<eoli3n_> inside i import ./hardware...nix
<eoli3n_> a sec :
<eoli3n_> :)
<gchristensen> ok
<eoli3n_> what's strange is that if i generate config in /mnt/etc/nixos, it doesnt find /mnt/etc/nixos/hardware...nix
<eoli3n_> so i need to create that link
<eoli3n_> that's because nix does not evaluate current path ?
<gchristensen> nix resolves the symlink before evaluating the file. your configuration.nix probably has imports = [ ./hardware-configuration.nix ] ... and that relative reference is relative based on where the configuration.nix actually is
<eoli3n_> ok so that's it
<eoli3n_> thx gchristensen
<gchristensen> so just delete the symlink, and move the hardware-configuration.nix in to /mnt/etc/nixos/hosts/$HOST/
<eoli3n_> gchristensen: yep i gitignored that file
<gchristensen> no need to gitignore it, no need to have it
<gchristensen> nixos-generate-config --root /mnt --show-hardware-config > /mnt/etc/nixos/hosts/$HOST/hardware-configuration.nix
<eoli3n_> gchristensen: i do because /mnt/etc/nixos is a git project, if i don't git ignore, it will be problematic
<gchristensen> you don't need it at all
ixxie has joined #nixos
<eoli3n_> need where ?
<eoli3n_> in git ?
<gchristensen> let's reset. what file do you have ignored?
<eoli3n_> hardware..nix
<gchristensen> /mnt/etc/nixos/hardware-configuration.nix ?
<eoli3n_> nop
<eoli3n_> yep
<eoli3n_> sorry :)
<eoli3n_> but not really
<eoli3n_> i git ignore hardware..nix on my git procject root
<eoli3n_> which is /mnet/ext/nixos
<gchristensen> you don't need that file to exist at all
<eoli3n_> so yep, by extension
<eoli3n_> gchristensen: i don't get what you mean sorry
<eoli3n_> never generate it ?
<gchristensen> do this: nixos-generate-config --root /mnt --show-hardware-config > /mnt/etc/nixos/hosts/$HOST/hardware-configuration.nix
<gchristensen> check in that file
<eoli3n_> ohhhhh
<gchristensen> and you're done, no need to ignore anything, or have symlinks
<eoli3n_> i get what you mean, i'm just tired ahah
<eoli3n_> sorry for that
thomashoneyman has joined #nixos
<gchristensen> no worries
<{^_^}> [nixpkgs] @markuskowa merged pull request #76949 → texmaker: 5.0.3 -> 5.0.4 → https://git.io/Jeprt
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JepoB
<eoli3n_> how do we do that karma thing ?
<eoli3n_> gchristensen++
<{^_^}> gchristensen's karma got increased to 190
coco has quit [Quit: WeeChat 2.7]
<eoli3n_> done
<gchristensen> :)
<eoli3n_> i finally have a zfs encrypted nixos config
evernite has joined #nixos
<gchristensen> nice!
<gchristensen> mind sharing your setup & steps for that?
<eoli3n_> i scripted et gitted everything
<gchristensen> nice
<eoli3n_> READme gives all step after iso booted : https://github.com/eoli3n/nix-config/tree/master/scripts/install
<eoli3n_> oups it needs an update
karavan has joined #nixos
markus1189 has quit [Ping timeout: 265 seconds]
<karavan> Всем привет. Здесь возможна русско-язычная поддержка?
drakonis has joined #nixos
<mehlon> naverno nyet
<{^_^}> [nixpkgs] @marsam opened pull request #76953 → pythonPackages.pyramid: cleanup dependencies → https://git.io/JepoK
<mehlon> as far as I know, everyone speaks english here only karavan
<eoli3n_> is there any way to prompt for user passwd at install ?
<karavan> I'm afraid that technical terms will be spoiled by google translate
<mehlon> I can try to help -- I speak russian and english both
<karavan> @eoli3n_ initialHashedPassword
h0m1 has quit [Quit: WeeChat 2.7]
<eoli3n_> ahah thx karavan :)
<eoli3n_> he don't speak english and is the one who helps
<karavan> I misunderstood?
markus1189 has joined #nixos
h0m1 has joined #nixos
<eoli3n_> karavan: a bit, but that helped, thx
<{^_^}> [nixpkgs] @markuskowa merged pull request #76836 → [r19.09] cyrus_sasl: add patch for CVE-2019-19906 → https://git.io/JexKP
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to staging-19.09: https://git.io/JepoM
<karavan> @mehlon У меня никак не удается создание пустого сетевого бриджа. Точнее, пустой бридж создается, но без назначаемого ему IP-адреса.
lovesegfault has joined #nixos
<karavan> Сперва пробовал через legacy, потом через systemd.networkd, но результат одинаков.
Naptra has quit [Remote host closed the connection]
<mehlon> hmm
<karavan> Пока обхожусь костыликом с созданием dummy и засовыванием его в бридж
fumanchu23 has joined #nixos
selfsymmetric-pa has joined #nixos
<mehlon> I am not sure what a bridge is
<fumanchu23> how can you do a proper set up of ghc in the configuration.nix?
<fumanchu23> anyone have an example file I can take a look at?
<mehlon> so karavan is trying to set up a network bridge but I don't personally know how to do that
<karavan> Это пример с костылем: https://0x0.st/zna_.txt
<karavan> Это нерабочее решение: https://0x0.st/znaL.txt
<__monty__> fumanchu23: Fwiw, I don't, I set up a shell.nix per project (and make it ergonomic using lorri and direnv)
<ldlework> TIL lorri
<selfsymmetric-pa> ldlework: What is your first impression of it?
chagra_ has quit [Quit: WeeChat 2.6]
<__monty__> It's amazing : >
o1lo01ol1o has quit [Remote host closed the connection]
<ldlework> selfsymmetric-pa: channel updates, gc root, direnv, seems fine
chagra has joined #nixos
o1lo01ol1o has joined #nixos
ng0 has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #76916 → zerotierone: fix cross compilation → https://git.io/Jepcp
<{^_^}> [nixpkgs] @zimbatm pushed 4 commits to master: https://git.io/JepKf
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<thomashoneyman> i've got a package built with cabal2nix which, when built, reports "Encountered a missing dependency: purescript -any"
<thomashoneyman> however, I'm quite sure that purescript *is* in the haskell package set
<thomashoneyman> for one, it's there already in nixpkgs
<thomashoneyman> but i've also got it in the same overlay pinned to a particular version
<thomashoneyman> anyone have advice on how to even debug this?
aveltras has quit [Quit: Connection closed for inactivity]
h0m1 has quit [Quit: WeeChat 2.7]
<thomashoneyman> to see, for example, what packages the package built with cabal2nix thinks exist?
selfsymmetric-pa has quit [Remote host closed the connection]
<thomashoneyman> as it clearly doesn't think purescript does
<thomashoneyman> even if i explicitly provide it it encounters the missing dependency
<thomashoneyman> ie. "callPackage ./zephyr.nix { purescript = ... };"
<{^_^}> [nixpkgs] @kalbasit opened pull request #76954 → Add several python packages → https://git.io/JepK0
<{^_^}> [nixpkgs] @kalbasit closed pull request #76952 → h3: init at 3.6.2; pythonPackages.h3: init at 3.4.3 → https://git.io/Jeprj
<{^_^}> [nixpkgs] @kalbasit closed pull request #64962 → Add/Update python packages → https://git.io/fj1Yq
<fumanchu23> lorri looks kewl but maybe more configuration than I currently need! anyway I finally found an example in a random GH repository. thx
lovesegfault has quit [Quit: WeeChat 2.7]
karavan has quit [Quit: WeeChat 2.6]
fumanchu23 has quit [Quit: WeeChat 2.6]
mehlon has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
mehlon has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a3070689aef (from 84 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7e8454fb856 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
lovesegfault has joined #nixos
<lovesegfault> [56018 paths optimised, 3621.7 MiB / 183404 inodes freed]
<lovesegfault> Thank you Nix
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #76762 → pythonPackages.unicorn: redesign to become a wrapper package around unicorn-emu → https://git.io/JeAxM
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/JepKA
<Raito_Bezarius> How can we set up remote builder for non-NixOS machines?
<Raito_Bezarius> I looked to the wiki and they says basically just adapt NixOS config to Nix options
<tilpner> Raito_Bezarius: Set builders in nix.conf
<Raito_Bezarius> tilpner: what is the syntax? is there some docs somewhere?
<tilpner> I'm not really sure, sorry, I used the module to set mine
<__monty__> Raito_Bezarius: Yes, documented in the nix manual : )
<tilpner> "builders A semicolon-separated list of build machines, in the format of nix.machines."
<tilpner> That's what nix --help-config has to say, but what is nix.machines?
<Raito_Bezarius> the code seems highly difficult to decipher
<tilpner> And nix.conf(5) doesn't even try
<Raito_Bezarius> like line 403 it uses buildMachines to produce some /etc/nix/machines file
<Raito_Bezarius> expected by "build-remote.pl"
<Raito_Bezarius> what is build-remote.pl
h0m1 has joined #nixos
<Raito_Bezarius> oh I thought I read it
<Raito_Bezarius> but you're right
<Raito_Bezarius> it is enough to just put --builders
<Raito_Bezarius> thanks a lot tilpner !
<{^_^}> [nixpkgs] @ryan4729 closed pull request #75060 → nixos/programs/shell.nix: retain defexpr symlink → https://git.io/Jeyv8
<{^_^}> [nixpkgs] @etu merged pull request #76698 → protonmail-bridge: 1.2.2-1 -> 1.2.3-1 → https://git.io/JeAYs
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/Jep6O
alex`` has quit [Ping timeout: 258 seconds]
<ddima> kaychaks: err, sorry, was for karavan, miscompleted because they're gone.
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a3070689aef (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
dingenskirchen1 has joined #nixos
<lovesegfault> I can see that I have i3lock in my nix store, but idk why, how can I trace this? i.e. how do I find what I have enabled that causes this dep?
<lovesegfault> cc. gchristensen
dingenskirchen has quit [Ping timeout: 248 seconds]
dingenskirchen1 is now known as dingenskirchen
h0m1 has quit [Quit: WeeChat 2.7]
ddellacosta has quit [Ping timeout: 265 seconds]
alex`` has joined #nixos
<gchristensen> lovesegfault: I'm going to let somebody else handl ethis :)
<lovesegfault> :D
<__monty__> Maybe why-depends?
h0m1 has joined #nixos
<lovesegfault> __monty__: Yeah, but that's the beginning; what do I point why-depends to?
<lovesegfault> ❯ nix why-depends i3lock ???
thomashoneyman has quit [Ping timeout: 268 seconds]
<lovesegfault> ❯ nix why-depends -a /run/current-system nixos.i3lock
<lovesegfault> oh
<__monty__> The store path?
nix-newbie64 has joined #nixos
<nix-newbie64> This is a very domain specific question but has anyone attempted to build rstudio server with nix?
h0m1 has quit [Client Quit]
<nix-newbie64> I am playing around with nix and I think I can convince my team to use it but it won't go far without rstudio server
<nix-newbie64> I may be also interested in attempting to package it although it may be more than I can chew
lovesegfault has quit [Quit: WeeChat 2.7]
alex`` has quit [Ping timeout: 258 seconds]
<Raito_Bezarius> nix-newbie64: apparently, rstudio is already packaged
<tbenst[m]> nix-newbie64: I use Rstudio on nix
<Raito_Bezarius> nix-newbie64: https://nixos.wiki/wiki/R#RStudio
<manveru> rstudio server is something else
<Raito_Bezarius> maybe it's possible to from this to package rstudio server
<Raito_Bezarius> to go from this*
<manveru> doesn't seem to be packaged yet, but given that there are packages for other distros i don't think it'd be a ton of work...
<Raito_Bezarius> well it depends whether it's a proprietary weird binary
<Raito_Bezarius> you'll have to patch it, etc, it's a bit annoying AFAIK
<Raito_Bezarius> that being said, nix-newbie64 why do you need to move all your team to NixOS?
<Raito_Bezarius> you can go partially for nixos and gradually adopt it so that rstudio server will be packaged once you go full nix
<Raito_Bezarius> (or use a non-NixOS distro with Nix support, like Arch Linux)
acowley has quit [Ping timeout: 265 seconds]
<Raito_Bezarius> (so that does not prevent you from having some impure packages and a FHS)
<Raito_Bezarius> (but you won't have this very sweet feature of nixos-rebuild && configuration.nix)
Cale has quit [Ping timeout: 260 seconds]
<manveru> looks like it builds from the same source as rstudio?
hpfr has quit [Ping timeout: 260 seconds]
<tbenst[m]> I think server is proprietary? I'd probably start by trying `steam-run`. the nix rstudio works great on ubuntu, too. is rstudio-server source available?
<nix-newbie64> So
<adisbladis> I took a quick look at the AUR PKGBUILDS and it looks like almost the same build procedure
<nix-newbie64> The server is not proprietary
<adisbladis> I'm attempting a server build right now
shibboleth has quit [Quit: shibboleth]
<nix-newbie64> There certainly is a proprietary version of it
<manveru> that url seems a tad outdated...
<nix-newbie64> But the community version is free
<nix-newbie64> And open source
<nix-newbie64> We use it on Ubuntu right now
<manveru> and which one do you need?
<nix-newbie64> The open source version is what we use
<nix-newbie64> We use Ubuntu + nix right now btw
<adisbladis> Seems like changing "-DRSTUDIO_TARGET=Desktop" to "-DRSTUDIO_TARGET=Server" and adding PAM as a build input does the trick
__monty__ has quit [Quit: leaving]
<nix-newbie64> The reason for nixos is that I'm the only part time sysadmin
<nix-newbie64> And it's driving me insane
<nix-newbie64> I've played around with nixos configuration in a VM. It looks like an answer to my prayers frankly
<Raito_Bezarius> clever: unsure if it's my bad, but it seems like your hydra web page is broken (at least CSS-wise): https://hydra.earthtools.ca/jobset/not-os/notos#tabs-evaluations
ayerhart has quit [Ping timeout: 258 seconds]
<nix-newbie64> Also if that's the only thing required to build it... That would be amazing
<nix-newbie64> The other question I have is the other data science mainstay
<nix-newbie64> Jupyterlab
h0m1 has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/87c698a5ca6 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<Raito_Bezarius> nix-newbie64: https://nixos.wiki/wiki/Workgroup:DataScience tadam
<Raito_Bezarius> and the unmerged PR is merged: https://github.com/NixOS/nixpkgs/pull/49807
<{^_^}> #49807 (by costrouc, 1 year ago, closed): Integration of kernels and extensions with jupyter
<Raito_Bezarius> rather closed than merged sorry
ayerhart has joined #nixos
<Raito_Bezarius> and you also have https://github.com/tweag/jupyterWith
<nix-newbie64> Ah I was looking at jupyterwith
<nix-newbie64> My problem is I don't understand overlays
thomashoneyman has joined #nixos
<nix-newbie64> But that is the next step of the journey
<adisbladis> nix-newbie64: http://ix.io/26q7
<Raito_Bezarius> nix-newbie64: https://nixos.wiki/wiki/Overlays
<adisbladis> Is a good start to adapting the rstudio derivation for server build
<nix-newbie64> Oh my
<nix-newbie64> That's amazing
Cale has joined #nixos
<Raito_Bezarius> nix gives me this feeling frequently :'D
<nix-newbie64> Thanks I will play around with this
<adisbladis> It doesn't fully build yet, though it should be enough to get you started
<nix-newbie64> Thanks adisblas and Raito_Bezarius
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
fusion809 has quit [Remote host closed the connection]
dingenskirchen1 is now known as dingenskirchen
h0m1 has quit [Quit: WeeChat 2.7]
<adisbladis> adisblas <3 Funny typo
h0m1 has joined #nixos
jumper149 has joined #nixos
nix-newbie64 has quit [Remote host closed the connection]
drakonis has quit [Quit: WeeChat 2.7]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1c7c1e05295 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
chloekek has quit [Ping timeout: 240 seconds]
evils has quit [Remote host closed the connection]
<o1lo01ol1o> I have a function writeFooConfig that writes a config file to the nix store with writeFile. I have many of these to make, so I map writeFooConfig to make all of them. I assume this is now a list of paths to the nix store. In another derivation, I need to create symbolic links to each of these files in relative directory during `buildCommand`; what's the most ideomatic way to do this?
<{^_^}> [nixpkgs] @jtojnar opened pull request #76955 → docbook-xsl: Fix reproducibility when building docs → https://git.io/JepPt
<manveru> o1lo01ol1o: buildEnv maybe?
lord| has quit [Remote host closed the connection]
evils has joined #nixos
lord| has joined #nixos
NoctisLabs has quit [Quit: WeeChat 2.7]
dansho has joined #nixos
<o1lo01ol1o> i'm thinking maybe symlinkJoin will do something I want . . . I guess the contents will be a symlink to each of the files, could I just '' ln -s ${theSymlinkJoined} foo/''?
Rusty1 has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #76179 → nixos/nginx: don't hide nginx config errors on nixos-rebuild --switch with reload enabled → https://git.io/JepPE
<{^_^}> [nixpkgs] @danbst pushed to master « nixos/nginx: don't hide nginx config errors on nixos-rebuild --switch with reload enabled (#76179) »: https://git.io/JepPu
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/54c9e1f53a7 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
virus_dave has quit [Quit: virus_dave]
evernite has quit [Ping timeout: 252 seconds]
grumble has quit [Quit: People who can't distinguish between etymology and entomology bug me in ways I cannot put into words.]
<gchristensen> lol.
elux has joined #nixos
<elux> hi all
alex`` has joined #nixos
grumble has joined #nixos
<elux> just wondering if anyone knows of an example on how to apply a custom kernel patch? im trying to apply the following patch to the drivers/pci/quicks.c of kernel source (via https://forum.level1techs.com/t/navi-reset-kernel-patch/147547/46)
knupfer has joined #nixos
<gchristensen> elux: boot.kernelPatches = [ ./your.patch ];
lovesegfault has joined #nixos
scompt has joined #nixos
<o1lo01ol1o> gchristensen: was that an lol at my proposal?
<{^_^}> [nixpkgs] @marsam opened pull request #76956 → flexget: 2.21.25 -> 3.0.31 → https://git.io/JepPM
<elux> gchristensen: that is amazing and simple. so cool. thank you
<gchristensen> o1lo01ol1o: it was an lol at grumble's quit message
<elux> does anyone know if its possible to turn off efifb for a specific gpu? i have 2 in my system and would like to ensure efifb is off for one
<elux> or alternatively, could i tell the kernel/boot-loader to us a specific gpu?
<o1lo01ol1o> gchristensen: damn, thought you had good feeback
Rusty1 has joined #nixos
<elux> i use systemd boot loader btw..
chloekek has joined #nixos
<Keith[m]> how do I manually build a nixpkgs derivation that I copied from the github repo?
<Keith[m]> when I run nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }' it always gives me an error about an anonymous function called without the required arguments
<Keith[m]> and I have verified that everything works when I use nix-shell -p
dansho has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #76957 → ctop: 0.7.2 -> 0.7.3 → https://git.io/JepPx
scompt has quit [Ping timeout: 240 seconds]
jumper149 has quit [Ping timeout: 265 seconds]
lord| has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
lord| has joined #nixos
fendor has joined #nixos
amfl has quit [Ping timeout: 265 seconds]
jumper149 has joined #nixos
<elux> gchristensen: im getting the error error: The option value `boot.kernelPatches.[definition 1-entry 1]' in `/etc/nixos/hardware-configuration.nix' is not of type `attribute set'.
<elux> i tried, `kernelPatches = [ ./navi-reset.patch ];`
<ryantm> elux: kernelPatches has type list of attribute sets.
<ryantm> elux: not list of paths
<elux> `kernelPatches = [ ++ ./navi-reset.patch ];` ?
<elux> ive read the nix docs a few times, but still haven't gotten the hang of the language and all of its types unfortunately
<elux> lmk if you know of a quick handbook or something, would be nice for some dumbed down reference
<Raito_Bezarius> what works best is to go there
orivej has quit [Ping timeout: 240 seconds]
<Raito_Bezarius> type "kernelPatches"
<Raito_Bezarius> you have the type and some example
<Raito_Bezarius> you can see it's taking something like pkgs.kernelPatches.ubuntu_fan_4_4
<Raito_Bezarius> but it's not enough, so just click on the link to the source code
<elux> gotcha, `kernelPatches = [ { name = "blah"; patch = ./my.patch } ];`
<elux> or something like it.. :/
<Raito_Bezarius> the source code is here
<Raito_Bezarius> if you look at all refs to kernelPatches
<Raito_Bezarius> you see it's used in line 43
<Raito_Bezarius> and voila… :D
h0m1 has quit [Quit: WeeChat 2.7]
hpfr has joined #nixos
<elux> inherit, super, override, etc.. its not quite adding up yet, i haven't spent time with this language
<elux> not so much voiila for me
amfl has joined #nixos
h0m1 has joined #nixos
<Raito_Bezarius> the "and voila" was due to ryantm basically giving the answer
<Raito_Bezarius> if you look to his link, you can see the way patches are defined
<Raito_Bezarius> which is indeed { name = <string>; patch = <path> }
<elux> hehe ah yes. this seems to be building properly, but i dont know if it correct.. `kernelPatches = [ { name = "navi-reset.patch"; patch = ./navi-reset.patch; } ];`
<elux> the kernel is rebuilding tho, i can see it happening now
<Raito_Bezarius> it is correct, otherwise you'll end up with a error somewhere
astrofog has joined #nixos
<elux> +1, thx guys
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @risicle opened pull request #76958 → pythonPackages.pybind11: fix for clang/darwin → https://git.io/JepXW
<adisbladis> Highly recommended reading for getting acquainted with the language
<elux> adisbladis: wonderful, really appreciate the link. will read it in a few
<elux> last question for you guys, any suggestions on getting modprobe to work at initrd? https://github.com/NixOS/nixpkgs/issues/25456
<{^_^}> #25456 (by ck3d, 2 years ago, open): NixOS option boot.extraModprobeConfig not avaible in initrd
philr has joined #nixos
<Raito_Bezarius> elux: also https://nixcloud.io/tour/ is super cool
<{^_^}> [nixpkgs] @marsam opened pull request #76959 → terracognita: 0.2.0 -> 0.3.0 → https://git.io/JepXB
<elux> amazing, cant wait to learn more about nix. i know its awesome and powerful .. would be nice to finally understand more of it
elux has quit [Remote host closed the connection]
fendor has quit [Quit: Leaving]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
elux has joined #nixos
h0m1 has quit [Quit: WeeChat 2.7]
astrofog has quit [Quit: Quite]
h0m1 has joined #nixos
<elux> the kernel patch worked great. i love how easy that was to apply + rebuild
<ryantm> elux: also it's easy to rollback if your kernel patch breaks stuff!
<elux> yea, very nice feature
drakonis has quit [Ping timeout: 260 seconds]
<elux> btw, another basic question.. what is the name of the boot sequence that goes from the loader to once it loads the kernel? specifically the stage when it switches my graphics from what is low resolution and looks like DOS, to something high-resolution
<elux> i notice once it runs `udev.. dm_mod..` then my monitor goes black, then switches to a higher dpi or something
<clever> Raito_Bezarius: mixed content, its trying to load css over http, not https
<clever> Raito_Bezarius: i'll have a look into that sometime this weekend
<Raito_Bezarius> elux: it sounds like you're mentioned the "before modeset"
<Raito_Bezarius> you're mentioning *
<Raito_Bezarius> also called kernel mode setting (KMS)
<Raito_Bezarius> this is nixos-independent, it is something you can configure at multiple levels
<Raito_Bezarius> some people don't care, some people care and want mode setting as early as possible
<Raito_Bezarius> https://wiki.archlinux.org/index.php/kernel_mode_setting some info can be found here
<elux> "want mode setting" does systemd boot support this mode setting?
<elux> so i could get into the higher resolution (i presume this is call kms) sooner?
<Raito_Bezarius> it sounds like you can use UEFI to do this
<elux> my system has 2 graphics cards, and im having a bit of an issue in that on boot the boot loader is usually good about picking the primary card, but then when it switches mode, it often gets lost and ends up switching the mode to the other gpu, its quite annoying
<Raito_Bezarius> i'm no expert unfortunately and I don't have 2 GPUs, but I guess what controls everything would be efifb
<Raito_Bezarius> so you should try to look "dmesg | grep fb" for example to see what is going on
<Raito_Bezarius> and focus your efforts on configuring efifb to what you want ™
visitor has joined #nixos
<elux> wonderful, that is very helpful.
<elux> ive also read about vesafb .. what is vesa vs efifb ?
<Raito_Bezarius> vesafb is another implementation of efifb for non-UEFI systems
<Raito_Bezarius> <stuff>fb are framebuffers implementations which enables you to have some graphics in the console
<elux> ive read some people recommend turning off efifb completely, i will give this a try, but ideally i can turn it off on a specific gpu, or tune it somehow, i will do more searching
<Raito_Bezarius> elux: what are you planning to do with your 2 GPUs?
<elux> thanks though, piecing together the mechanics help me understanding this
<Raito_Bezarius> some usual scenario is to GPU passthrough the second to some VM
<Raito_Bezarius> don't forget in this case to use intel_iommu=on for some cases
<elux> Raito_Bezarius: single desktop / monitor, and running linux as host with windows10 and macosx as kvm/qemu systems with gpu passthrough
thc202 has quit [Ping timeout: 248 seconds]
<elux> yep, i have the gpu passthrough working :) its pretty sweet. its just that when i boot up my computer, i have to turn it on and off multiple times before it selects the right gpu to load on the host, lol.. super annoying
<Raito_Bezarius> alright guessed right :D — elux: read some about this https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF ; maybe you'll find something you forgot and that's the reason why you don't have the right GPU at boot
<elux> roger that, will do. thx
elux has quit [Remote host closed the connection]