sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
tboston_ has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
<pie_> i tried that but it still only seems to use one core :/
<infinisil> Why does wrapPython have no docs anywhere :/
<infinisil> And its implementation is so weird that I have no idea what it does from it
<infinisil> I mean, I know kinda what it does, but I'm really uncertain
tboston_ has quit [Ping timeout: 255 seconds]
leotaku has quit [Ping timeout: 245 seconds]
<pie_> sounds familiar
<ajs124> Maybe there's some documentation in commit messages. That's where I found the most useful documentation relating to some specific hydra features.
<pie_> ajs124, ugh. so it wasnt just a hunch that i added that to my documentation sources list... :P
duckonomy has joined #nixos
<ajs124> pie_, it's right up there with "just look at the source code" and "track down the author to ~harass~ politely ask them about it"
hio has quit [Quit: Connection closed for inactivity]
<ashkitten> something something self documenting something
leotaku has joined #nixos
nD5Xjz_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fa6ff572d33 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nD5Xjz has quit [Ping timeout: 276 seconds]
sigmundv has quit [Remote host closed the connection]
nD5Xjz has joined #nixos
nD5Xjz_ has quit [Ping timeout: 245 seconds]
dbmikus__ has quit [Ping timeout: 245 seconds]
bgamari has quit [Quit: ZNC 1.7.2 - https://znc.in]
bgamari has joined #nixos
silver has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Infinisil merged pull request #59933 → appleseed: 1.9.0-beta -> 2.0.5-beta (fixes build) → https://git.io/fjOSO
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj3dY
pjan has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj3dO
pie_ has quit [Remote host closed the connection]
Qubasa has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
Qubasa has joined #nixos
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
jasongrossman has joined #nixos
justanotheruser has quit [Ping timeout: 258 seconds]
mexisme has quit [Ping timeout: 246 seconds]
<gchristensen> it seems to me that wireguard can't be enabled without a reboot. is this generally true?
kleisli has joined #nixos
<gchristensen> relatedly, is it possible to extend a submodule?
justanotheruser has joined #nixos
<qyliss> gchristensen: I've heard similar re: wireguard
<gchristensen> hrm, okay
acarrico has quit [Ping timeout: 258 seconds]
<infinisil> gchristensen: It is
<infinisil> Defining a submodule option twice just merges both definitions
<gchristensen> oh cool
Rusty1 has joined #nixos
<gchristensen> I'd like to extend the wireguard module to auto-generate keys
<DigitalKiwi> how does it know what wins
<gchristensen> it is a bit complicated with the multiple methods of specifying keys :/
<infinisil> gchristensen: privateKey and privateKeyFile?
buffet_ has joined #nixos
<gchristensen> yea
<infinisil> Oh and presharedKey[File] exists too
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #60128 → xv: init at 0.1.0 → https://git.io/fj35q
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fj3dE
<gchristensen> those two don't matter
<gchristensen> (they are in addition to, not supplementing, the private key)
<infinisil> A third option generatePrivateKey of type bool sounds good, with an assertion that you can't set this to true and specify a private key too
buffet has quit [Ping timeout: 268 seconds]
<gchristensen> true
<gchristensen> I have the codewritten already, it is just a matter of integrating it :)
mexisme has joined #nixos
appleclusters has quit [Quit: Connection closed for inactivity]
tboston_ has joined #nixos
<infinisil> worldofpeace++ for generally testing/merging PRs :)
<{^_^}> worldofpeace's karma got increased to 19
<gchristensen> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 20
tboston_ has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
mexisme has quit [Ping timeout: 258 seconds]
jasongrossman has joined #nixos
<aanderse> build bot having troubles on darwin? https://github.com/NixOS/nixpkgs/pull/59455
<{^_^}> #59455 (by r-ryantm, 1 week ago, open): catch2: 2.7.0 -> 2.7.1
<aanderse> instantly timed out, unknown build status
alexherbo22 has joined #nixos
alexherbo2 has quit [Ping timeout: 258 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #60133 → qemu: 3.1.0 -> 4.0.0 → https://git.io/fj3dH
<{^_^}> [nixpkgs] @dtzWill opened pull request #60134 → wpgtk: 6.0.3 -> 6.0.5 → https://git.io/fj3d5
<infinisil> aanderse++ also for testing/merging PRs :D
<{^_^}> aanderse's karma got increased to 3
tboston_ has joined #nixos
li_matrix has joined #nixos
qubasa_ has joined #nixos
tboston_ has quit [Ping timeout: 250 seconds]
mconstant has joined #nixos
Qubasa has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #60135 → joplin-desktop: appimageTools-ify → https://git.io/fj3Fk
Supersonic has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #60136 → notable: init at 1.4.0 → https://git.io/fj3Ft
<{^_^}> [nixpkgs] @matthewbauer pushed 253 commits to staging: https://git.io/fj3Fm
Supersonic has joined #nixos
orivej has joined #nixos
<li_matrix> aanderse++ test
<{^_^}> aanderse's karma got increased to 4
<li_matrix> those systems are dumb, where the vote of a stranger counts as much as the vote of the founding fathers
mexisme has quit [Ping timeout: 250 seconds]
judson__ has quit [Ping timeout: 250 seconds]
mconstant has quit [Ping timeout: 250 seconds]
<gchristensen> not sure it is considered a vote :)
<li_matrix> yea who cares, I should just ignore it
<{^_^}> [nixpkgs] @hhm0 opened pull request #60137 → chromaprint: 1.3.2 -> 1.4.3 → https://git.io/fj3Fs
<gchristensen> I'm not sure I've seen you around here before. it seems a bit strange for you to pop in, do some bot stuff, and then criticise the bot
<gchristensen> but at any rate, welcome to #nixos :)
<li_matrix> been around for years, just left irc for a while
<yuken> Huh. I seem to be having trouble running Blender manually, 2.8 - I'm gonna assume it's something to do with missing libs
<li_matrix> just reminded me of HN, where I was banned several times by people who didnt understand what I wrote
ris has quit [Ping timeout: 260 seconds]
alexherbo22 has quit [Ping timeout: 258 seconds]
anderslundstedt has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
tboston_ has joined #nixos
kleisli has quit [Ping timeout: 250 seconds]
tboston_ has quit [Ping timeout: 276 seconds]
anderslundstedt has joined #nixos
<gchristensen> infinisil:
<gchristensen> oops, pressed enter too soon
<{^_^}> [nixpkgs] @grahamc opened pull request #60138 → wireguard: add generatePrivateKeyFile option + test → https://git.io/fj3Fc
<gchristensen> ^
<coconnor> workofpeace++
<yuken> Huh, making packages on NixOS with thheir makefiles, I shouldn't have expected that to work
<{^_^}> [nixpkgs] @arcnmx opened pull request #60139 → rxvt_unicode: fix build → https://git.io/fj3FC
<coconnor> I'll second them getting karma points haha. always nice contributions
<infinisil> gchristensen: Want some quick feedback here?
<gchristensen> sure
lovesegfault has joined #nixos
<infinisil> gchristensen: Can use <command></command> for the `wg genkey` in the option description. By assertions I meant the `assertion` NixOS option, which provides much better error messages than Nix's builtin `assert`. I *think* requiredBy implies wantedBy, but not sure. The directory creation can probably be done using systemd.tmpfiles
<gchristensen> not sure we want to use tmpfiles to manage long-term identities
<gchristensen> command is a great tip
<infinisil> tmpfiles is a bit misleading, it doesn't only manage temporary files
<gchristensen> I don't feel comfortable using it for this purpose
<infinisil> It's used for this purpose all throughout NixOS already (creating directories with permissions)
<gchristensen> okay
<{^_^}> [nixpkgs] @matthewbauer merged pull request #56555 → Initial WebAssembly/WASI cross-compilation support → https://git.io/fhAtw
<{^_^}> [nixpkgs] @matthewbauer pushed 13 commits to staging: https://git.io/fj3FB
<clever> matthewbauer: nice
<infinisil> gchristensen: But yeah, using mkdir seems to fit better into the script I have to say
<{^_^}> [nixpkgs] @ivan opened pull request #60140 → chromium: 73.0.3683.103 -> 74.0.3729.108 → https://git.io/fj3F0
mconstant has joined #nixos
ferriswheel has joined #nixos
<ferriswheel> !l -german TV
<gchristensen> infinisil: at any rate, I didn't really add more assertions exactly, just bug-avoidance code
<gchristensen> I did push up a new commit adding <command></command>
drakonis has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> gchristensen: These asserts can't be triggered by the user?
fusion809 has joined #nixos
<gchristensen> only one of them can be, which is the existing assertion: https://github.com/NixOS/nixpkgs/pull/60138/files#diff-110379e7db2311e8bef5a02392ac1495R238
<gchristensen> I tried to make that the assertions-style assert, but got stymied
<gchristensen> ferriswheel: that is decidedly off topic for #nixos
o1lo01ol1o has joined #nixos
tboston_ has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<infinisil> gchristensen: What happens when the user sets generatePrivateKeyFile and privateKey?
<gchristensen> nothing, think something should?
<gchristensen> suppose it couldn't hurt
<gchristensen> (would be good)
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<infinisil> I don't see how this wouldn't trigger the assertion on line 196/207
<gchristensen> oh cool nice
tboston_ has quit [Ping timeout: 258 seconds]
mconstant has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to wireguard-generate-key: https://git.io/fj3Fz
<gchristensen> oops
<gchristensen> infinisil:check out that PR again?
<{^_^}> [nixpkgs] @grahamc pushed 0 commits to wireguard-generate-key: https://git.io/fj3Fg
kleisli has joined #nixos
<gchristensen> I love that Nix has the implication operator :D
mconstant has joined #nixos
<yuken> I have no god damn clue how to build packages for local use. I can't just... make them, no /lib or wherever for libraries it wants
<{^_^}> [nixpkgs] @joachifm merged pull request #60139 → rxvt_unicode: fix build → https://git.io/fj3FC
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fj3Fa
sheeldotme has quit [Quit: Textual IRC Client: www.textualapp.com]
<gchristensen> infinisil: thank you for your help and review :) really nice to get your feedback, I haven't upstreamed module work in some time
<drakonis> ,flakes
<infinisil> gchristensen: Yeah that looks better :)
<drakonis> hmm, could nix take on flatpak with a decent extra repository?
<clever> ,nix-shell yuken
* clever pokes infinisil
<infinisil> Aw jeez
<infinisil> Huh no it should be running
<infinisil> clever: Pretty sure ,nix-shell isn't defined
<clever> ah, might have been ,libraries
<clever> ,libraries yuken
<{^_^}> yuken: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<clever> yeah, thats the one
<gchristensen> whoa buddy matthewbauer! https://github.com/NixOS/nixpkgs/pull/59756
<{^_^}> #59756 (by matthewbauer, 1 week ago, open): [wip] Performance experiments
<yuken> clever, that's not what I'm talking about. I just can't build some applications (such as Blender) because it can not find certain libs that it depends on.
<gchristensen> function calls are reduced by ~1 million, 83 mb cut off the heap, 4.5 million fewer lookups
<gchristensen> samueldr: ^
<clever> yuken: did you open a nix-shell with the right libraries in its arguments?
<yuken> Nope.
<clever> yuken: thats why it cant find them
<infinisil> Oof, my vim has a closure size of 664MB :/
orivej has quit [Ping timeout: 245 seconds]
<clever> infinisil: mine depends on clang via youcompleteme
<infinisil> Yeah same..
<infinisil> Eh no, gcc
<infinisil> and go, and rust and ...
<infinisil> Ah yeah and clang
<infinisil> Oh and actually `nix-store path-info -S` says it's almost 1.5GB..
<infinisil> This only says 664MB: du $(nix-store -qR /nix/store/vqbm9m0d094whlxlb1w1fqvp2gmiprz2-vim) -hsc | sort -h
<infinisil> How do those differ?
<clever> zfs compression?
<infinisil> Ohh
<infinisil> Yeah maybe
<clever> du has a --aparrent-size
<clever> which should align to path-info
<infinisil> 1.3GB with that one, close
<infinisil> Alright but how the hell do I get rid of this crap
<infinisil> It all comes from ycmd btw
<infinisil> Let's see if i could override it a bit..
tboston_ has joined #nixos
<infinisil> Can get rid of go and rust easily at least
<{^_^}> [nixpkgs] @xrelkd opened pull request #60141 → youtube-dl: 2019.04.17 -> 2019.04.24 → https://git.io/fj3F1
detran has quit [Quit: ZNC 1.7.1 - https://znc.in]
tboston_ has quit [Ping timeout: 255 seconds]
ielectric has joined #nixos
detran has joined #nixos
dbmikus__ has joined #nixos
duckonomy has left #nixos [#nixos]
<{^_^}> [nixpkgs] @worldofpeace pushed to master « libssh: don't use multiple outputs »: https://git.io/fj3FS
ielectric has quit [Client Quit]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
nD5Xjz has quit [Ping timeout: 258 seconds]
nD5Xjz_ has joined #nixos
domenkozar[m] has joined #nixos
domenkozar[m] has quit [Changing host]
mconstant has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<infinisil> I accidentally included firefox in my headless server lol
<infinisil> I didn't notice until now
<{^_^}> [nixpkgs] @peterhoeg opened pull request #60142 → rng-tools: 6.6 -> 6.6 and libp11: 0.4.9 -> 0.4.10 → https://git.io/fj3FN
tboston_ has joined #nixos
<worldofpeace> infinisil++
<{^_^}> infinisil's karma got increased to 90
<worldofpeace> returning praise hours later :P
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60141 → youtube-dl: 2019.04.17 -> 2019.04.24 → https://git.io/fj3F1
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj3Fj
<DigitalKiwi> infinisil: you never know when you might need to browse online documentation!
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8f33fb51835 (from 60 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
tboston_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @xrelkd to release-19.03 « youtube-dl: 2019.04.17 -> 2019.04.24 »: https://git.io/fj3bf
reinhardt has joined #nixos
reinhardt has quit [Client Quit]
drakonis has quit [Quit: WeeChat 2.4]
reinhardt has joined #nixos
reinhardt has quit [Client Quit]
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #60040 → gitflow: 1.11.0 -> 1.12.2 → https://git.io/fj3lM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj3bk
gagbo has quit [Ping timeout: 250 seconds]
jonjitsu has joined #nixos
gagbo has joined #nixos
<Orbstheorem> Hello, I'm writing a package that requires binaries from another package on runtime. If I put that dependency in propagatedBuildInputs and I launch said program in nix-shell, it works as expected, but if I then put it in the user packages in my configuration.nix, it does not install said dependency. Why is this? and what is the correct way to declare it so it will be shipped in runtine?
<infinisil> ,runtimeDeps Orbstheorem
<{^_^}> Orbstheorem: In order of preference: Patch source OR ((if it uses PATH -> wrap with new $PATH) AND (if it uses dlopen, (patchelf --set-rpath in postFixup OR wrap with new LD_LIBRARY_PATH)))
reinhardt has quit [Quit: Leaving]
<Orbstheorem> ,wrap
<clever> Orbstheorem: wrapProgram and/or makeWrapper
<Orbstheorem> Meh, I guess I'll do the extra mile and patch the source ^^
<infinisil> Orbstheorem: If patching the source is too annoying, just using wrapProgram is probably a better idea
<infinisil> If it looks at PATH
<infinisil> Sometimes patching the source is just a simple `substituteInPlace .. --replace /usr/bin/foo ${foo}/bin/foo` though
<Orbstheorem> Found it, it's a single line ^^ (looked from $PATH)
<Orbstheorem> Oh, btw, how do you usually include “wip” packages in your derivations after you make a PR on nixpkgs, but it's still not merged? and even then, it usually takes a bit before it hits the channels.
Rusty1 has quit [Quit: Konversation terminated!]
<Orbstheorem> I add a callPackage to a path inside my local copy of nixpkgs in `nixpkgs.config.packageOverrides`, but not sure it's the best idea
<{^_^}> [nixpkgs] @worldofpeace opened pull request #60143 → [19.03] wpa_supplicant: fix SAE and EAP_PWD vulnerabilities → https://git.io/fj3bs
<infinisil> Orbstheorem: Overlays should be preferred nowadays, but if a simple callPackage works, then that's a good way
<Shados> infinisil: requiredBy definitely implies wantedBy
<infinisil> Sometimes it doesn't work though, because of the dependencies coming from a different nixpkgs version
mckeanalicej has joined #nixos
<infinisil> Then you need to import the other nixpkgs fully, and use the package from there
<mckeanalicej> "hardware.pulseaudio.package = pkgs.pulseaudio.override { jackaudioSupport = true; };" this line errors with attribute pulseaudio not found
<infinisil> Shados: Yeah that's what I've found out too after reading the man pages
<mckeanalicej> did the name of the pulseaudio package change?
<worldofpeace> mckeanalicej: pulseaudioFull has jackaudioSupport
<Orbstheorem> (Yay)
<mckeanalicej> thanks!
<Orbstheorem> How should I package applications that (also) provide nautilus extensions?
<worldofpeace> Orbstheorem: I don't think we do currently #32817
<{^_^}> https://github.com/NixOS/nixpkgs/issues/32817 (by jtojnar, 1 year ago, open): Move extensions to separate output
<Orbstheorem> Hmm, okay ^^
<worldofpeace> Oh never mind we do, just that we'd like to deal with them better if we accept them in nixpkgs.
m0rphism has joined #nixos
mckeanalicej has quit [Ping timeout: 256 seconds]
<Orbstheorem> It didn't work, but I think I will just not include it in the package...
<Orbstheorem> I just realized that one of the runtime dependencies is a bus-activated, how to I patch that? xD
tboston_ has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
dontobey has quit [Ping timeout: 252 seconds]
dontobey has joined #nixos
cdepillabout has joined #nixos
<cdepillabout> Anyone able to merge this backport to 19.03 for me? https://github.com/NixOS/nixpkgs/pull/59801
<{^_^}> #59801 (by cdepillabout, 6 days ago, open): stretchly: init at 0.19.1 (backport to 19.03)
<cdepillabout> It has already been merged into master.
gagbo has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #59801 → stretchly: init at 0.19.1 (backport to 19.03) → https://git.io/fjYAT
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-19.03: https://git.io/fj3bz
<cdepillabout> Thanks infinisil!
<infinisil> :)
lovesegfault has quit [Quit: WeeChat 2.4]
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #60099 → phpPackages: add prefix 'php-' to packages → https://git.io/fj3yk
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fj3ba
dbmikus__ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @xrelkd opened pull request #60144 → alacritty: 0.3.1 -> 0.3.2 → https://git.io/fj3bw
o1lo01ol1o has joined #nixos
<scott> how do i figure out if nixos-unstable has caught up to a specific commit, specifically regarding this comment? https://github.com/NixOS/nixpkgs/issues/59851#issuecomment-484915668
<scott> i was looking at https://howoldis.herokuapp.com/ and i guess one detail is confused me - it was last updated 2 days ago, but it's at a commit from 7 days ago?
<scott> so i guess it hasn't caught up to the steam fixes from 5 days ago
o1lo01ol1o has quit [Ping timeout: 276 seconds]
mexisme has quit [Ping timeout: 246 seconds]
<infinisil> scott: Yeah, this means it took the channel 5 days to do all checks and build everything
Myhlamaeus has quit [Quit: WeeChat 2.2]
<scott> is that amount of delay normal or atypical these days?
<worldofpeace> Orbstheorem: Bus activated as in a DBus service? Don't know why you'd need to patch that.
<infinisil> scott: Pretty normal I'd say
stepcut_ has quit [Remote host closed the connection]
<worldofpeace> I think the graphical, ova, and plasma5 tests should all be working again (kio-extras fixed)
<scott> good to know, thanks!
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
tboston_ has joined #nixos
stepcut has joined #nixos
<{^_^}> [nixpkgs] @thomasjm opened pull request #60145 → Patch Julia to not recompile packages when mtime is 1 → https://git.io/fj3b5
cdepillabout has quit [Quit: Leaving]
palo1 has joined #nixos
<Orbstheorem> worldofpeace: Because if I put the package providing the service in propagatedBuildInputs, when I add it to my user packages in my configuration.nix, it fails to find the service on runtime
reinhardt has joined #nixos
domogled has joined #nixos
stepcut has quit [Ping timeout: 245 seconds]
tboston_ has quit [Ping timeout: 245 seconds]
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
kleisli has quit [Ping timeout: 258 seconds]
jtojnar has quit [Remote host closed the connection]
<worldofpeace> Orbstheorem: Packages that provide DBus services in nixos probably need to be put in `services.dbus.packages` https://nixos.org/nixos/options.html#services.dbus.packages
day|flip has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #60146 → packagekit (nixos): make it not error out → https://git.io/fj3NU
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5ad94f33519 (from 63 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
Tucky has joined #nixos
sb0 has joined #nixos
<sb0> is there a nix function that executes a command and captures the output? or do I have to create a derivation and then use builtins.readFile on the output?
<makefu> > runCommand
<{^_^}> <LAMBDA>
<makefu> you have to write the output of your command into $out
endformationage has quit [Ping timeout: 258 seconds]
<sb0> yeah, but that's creating a derivation ad then using readFile
<sb0> *and
tboston_ has joined #nixos
<makefu> yes, there is no other way i am afraid (citation needed)
<{^_^}> [nixpkgs] @tadfisher closed pull request #60070 → plex: modernize package, support i686 → https://git.io/fj3zX
linarcx has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #59820 → coqPackages.tlc: 20180316 -> 20181116 → https://git.io/fjOe7
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.tlc: 20180316 -> 20181116 »: https://git.io/fj3Nr
rauno has joined #nixos
BlessJah has quit [Remote host closed the connection]
varjag has joined #nixos
BlessJah has joined #nixos
__monty__ has joined #nixos
ayerhart has quit [Quit: ayerhart]
ayerhart has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5ad94f33519 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
tboston_ has quit [Ping timeout: 245 seconds]
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
wfranzini has joined #nixos
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fj3NH
<{^_^}> [nixpkgs] @7c6f434c merged pull request #60145 → Patch Julia to not recompile packages when mtime is 1 → https://git.io/fj3b5
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
mexisme has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #60127 → buildRustCrate: Fix #60125 - Always set additional env variables during build → https://git.io/fj370
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fj3AJ
<{^_^}> [nixpkgs] @teto merged pull request #60066 → python3Packages.cmd2: 0.9.11 -> 0.9.12 → https://git.io/fj3zJ
<{^_^}> [nixpkgs] @teto pushed 2 commits to master: https://git.io/fj3Aq
drager has joined #nixos
<drager> Hi, how can install a specific version of package? I want an old version, since the latest (current) might be buggy
<teto> drager: you need to find a version of nixpkgs that packages that old version, like a blame on the line with "version" should give u the last update
<{^_^}> [nixpkgs] @marsam opened pull request #60147 → Fix python packages → https://git.io/fj3AG
Glider_IRC has joined #nixos
<teto> drager: and then you should install this program for that version of nixpkgs
<teto> ,pinning
vid has joined #nixos
<drager> teto: Will that only give me an old version of that package?
<drager> Or all packages?
infty has quit [Ping timeout: 255 seconds]
infty has joined #nixos
<teto> drager: depends how you do it but I believe you want only this package and its dependencies so you follow the "pinning" instructions just on top and instead of referring to pkgs.vscode you refer to it via "(import (builtins.fetchTarball { ...}).pkgs.vscode"
<LnL> yeah you can use multiple nixpkgs versions at the same time, in which case you'd only pick a specific package (and it's runtime dependencies) from the pinned version
Makaveli7 has joined #nixos
<drager> Alright, will try that out! Thanks!
fendor has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #60144 → alacritty: 0.3.1 -> 0.3.2 → https://git.io/fj3bw
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fj3A2
Jackneill has quit [Ping timeout: 245 seconds]
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @elitak opened pull request #60148 → ipfs: 0.4.19 -> 0.4.20 → https://git.io/fj3Aw
kriztw_ is now known as kriztw
<drager> So, it should look like this? https://gist.github.com/drager/7c9868f865f2250b6c3c9097510c157a and then in my configuration.nix I just include this vscode.nix file? And in systemPackages I refer to (import (builtins.fetchTarball { ...}).pkgs.vscode instead?
<{^_^}> [nixpkgs] @spacekookie closed pull request #60124 → nixos/wireguard: set `networking.firewall.allowedUDPPorts` automatically → https://git.io/fj37G
logzet has joined #nixos
jasongrossman has quit [Ping timeout: 258 seconds]
KaitoDaumoto has joined #nixos
Alling has joined #nixos
<Alling> Hello channel! Maybe someone here is interested in [commenting on] this PR: https://github.com/opengaming/osgameclones/pull/715
<{^_^}> opengaming/osgameclones#715 (by SimonAlling, 5 days ago, open): Add shell.nix
ferriswheel has quit [Quit: Leaving]
<teto> drager sthg like that. You can name the nixpkgs to "nixpkgs_old" and then refer to it in systemPackages via "nixpkgs_old.vscode" or sthg along those lines
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<drager> teto: Ah ok, will try that. Thanks!
knupfer has joined #nixos
bgamari has quit [Ping timeout: 264 seconds]
phreedom_ has joined #nixos
bgamari has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
Anton-Latukha has joined #nixos
thc202 has joined #nixos
waleee has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #60149 → mosquitto: 1.5.8 -> 1.6 + nixos tests → https://git.io/fj3xY
pie_ has quit [Ping timeout: 258 seconds]
domogled has quit [Ping timeout: 258 seconds]
drager has quit [Ping timeout: 250 seconds]
<{^_^}> [nix] @edolstra merged pull request #2775 → build: only skip hash rewriting for sandboxing on linux → https://git.io/fjYbk
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fj3x1
fendor_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5e4ee83396c (from 86 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<__monty__> Where do logs for failed tests go? I can't find "dist/test/brittany-0.11.0.0-unittests.log" by the relative path alone : /
<{^_^}> [nixpkgs] @primeos opened pull request #60150 → [19.03] Security backports for gollum, jekyll, and html-proofer → https://git.io/fj3pv
<{^_^}> [nixpkgs] @dotlambda merged pull request #59659 → jenkins-job-builder: 2.9.1 -> 2.10.0 → https://git.io/fjYLQ
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « jenkins-job-builder: 2.9.1 -> 2.10.0 (#59659) »: https://git.io/fj3pU
jasongrossman has joined #nixos
<meck> Hi, I'm looking for a list with documenation/typeinfo for basic functions in nix (like map, concat), i've found the lib functions but I cant find any for the builtin functions?
<{^_^}> [nixpkgs] @teto merged pull request #60015 → protobuf: 3.7.0 -> 3.7.1 → https://git.io/fj3Yw
<{^_^}> [nixpkgs] @teto pushed 2 commits to master: https://git.io/fj3pY
knupfer has quit [Ping timeout: 276 seconds]
<uvnikita[m]> meck: I guess you will have to search for them in the nix source, e.g. here is the code for map: https://github.com/NixOS/nix/blob/5c05c238e60998b9fd276b3c4a39c860dc291200/src/libexpr/primops.cc#L1419
<qyliss^work> meck: might help? https://nixos.org/nix/manual/#ssec-builtins
grischeg has joined #nixos
rauno has quit [Ping timeout: 276 seconds]
<meck> qyliss^work:Great! thanks
linarcx has quit [Quit: WeeChat 2.4]
Synthetica has joined #nixos
<Synthetica> Is there a way to get Nix to generate a Pipfile.lock (for Heroku)
justbeingglad has joined #nixos
pie_ has joined #nixos
vid has quit [Ping timeout: 276 seconds]
justbeingglad has left #nixos [#nixos]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #60150 → [19.03] Security backports for gollum, jekyll, and html-proofer → https://git.io/fj3pv
<{^_^}> [nixpkgs] @primeos pushed 4 commits to release-19.03: https://git.io/fj3pD
pie___ has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @Vskilet opened pull request #60151 → nixos/mautrix-telegram: init module → https://git.io/fj3pd
pie_ has quit [Ping timeout: 244 seconds]
mniip has joined #nixos
civodul has joined #nixos
domogled has quit [Read error: Connection reset by peer]
domogled has joined #nixos
rauno has joined #nixos
<mniip> so I'm trying to run `nix-channel --update` and it tells me: error: while setting up the build environment: getting attributes of path '': No such file or directory error: program '/usr/bin/nix-env' failed with exit code 1
<{^_^}> [nixpkgs] @veprbl pushed commit from @lopsided98 to staging-18.09 « gettext: fix cross build (#60123) »: https://git.io/fj3px
silver has joined #nixos
<__monty__> Having some trouble with cabal-plan, trying to install from master: http://ix.io/1H3L
<__monty__> Jailbreaking doesn't help because this is in a conditional stanza.
<{^_^}> [nixpkgs] @Lucus16 opened pull request #60152 → Revert "ibus-packages.mozc: pin to protobuf 3.6" → https://git.io/fj3ph
hio has joined #nixos
<hio> I would like to know if nix is a turing complete language or more like TOML or yaml or json
<Taneb> hio: it is a turing complete language
<Taneb> It contains the complete (untyped) lambda calculus
harkenedraven has joined #nixos
<hio> so is there a debugger? IDE with intellisense?
tboston_ has joined #nixos
<Taneb> I haven't seen either of those for nix, I'm afraid
<Taneb> If you're writing enough nix in one go that you need those, you're probably over-using it
<hio> okay, can you please explain the advantages of the language over javascript/c
<Taneb> It's designed for configuration of packages. While it's Turing complete, it's really not for general purpose programming, but in its niche, which is specifying packages, it can do things that can't be done with JavaScript or C
<xorAxAx> mniip, whats in your ~/.nix-channels file?
<hio> okay, so lets say that I want to use the nix language for all my configuration needs, even replacing XML and JSON and YAML. Would you recommend that?
<Taneb> Probably not
<hio> May I ask why?
<hio> Nix was specifically created for configuration needs, right? It should be a perfect fit
<Taneb> It's for configuring packages, not general configuration
petrkr has joined #nixos
mankyKitty has quit [Ping timeout: 264 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vaninwagen has quit [Ping timeout: 252 seconds]
hoek has quit [Ping timeout: 252 seconds]
<tilpner> hio: You may be interested in Dhall
tboston_ has quit [Ping timeout: 258 seconds]
<fendor_> hi, i am trying to use nvim on nixos, but for some reason, when i start nvim with any file, it shows errors regarding floobits not being found. this is correct, since it is not installed, by does nvim even look for it? IS there some config file I may have changed and forgotten about?
pasukon has quit [Ping timeout: 252 seconds]
<fendor_> same happens if I install nvim via nix-shell instead of overlays
eddyb has quit [Ping timeout: 264 seconds]
<Taneb> fendor_: is there anything in ~/.config/nvim ?
<hio> I'm not tilpner, I am exploring Nix for this usecase now. Please explain why Nix is not a good fit for listing a bunch of values in a typesafe way
cfricke has joined #nixos
v0d1ch has quit [Ping timeout: 252 seconds]
uranther has quit [Ping timeout: 252 seconds]
<Taneb> hio: well, nix isn't typesafe
<fendor_> Taneb, no, that dir does not exist
uranther_ has joined #nixos
<hio> it's like python?
<Taneb> Loosely, yes
lovesegfault has quit [Ping timeout: 252 seconds]
vaninwagen has joined #nixos
<Taneb> It does really sound like Dhall is somethihng you want to look into, though
<hio> ok still, how would I go about integrating nix into my java/c application so I can read the values from a nix file?
Alling has quit [Ping timeout: 256 seconds]
<Taneb> Why do you want to do this with nix?
v0d1ch has joined #nixos
<Synthetica> hio: You could eval it to json, and read that with a library of your choice
hoek has joined #nixos
lovesegfault has joined #nixos
eddyb has joined #nixos
pasukon has joined #nixos
<teto> fendor_: you can look at :scriptnames to see where it was loaded from
<hio> Synthetica: how?
cfricke has quit [Client Quit]
cfricke has joined #nixos
<mniip> xorAxAx, so what does this mean
<Synthetica> hio: nix-instantiate --json --eval file.nix
<hio> Taneb: I just want to use Nix for more than one thing. If it's a good language, it deserves to be used for more. If it's bad, I'll find out
<fendor_> teto, yes that did the trick! there is a file in .local/share/nvim/rplugin.vim!
<fendor_> and in it is the old config
<fendor_> who might have written that file?
psyanticy has joined #nixos
<fendor_> yeah, that one is the culprit
<fendor_> nice, thanks!
<Taneb> hio: it's very much a domain-specific language. In its domain, it's best-in-class, but outside that it's going to be worse than alternatives
<tilpner> hio: Nix is a good language for a package set as large as nixpkgs
<xorAxAx> mniip, ah, you dont run nixos?
<hio> it didnt work Synthetica, it outputted a single number '58' for this file: https://paste.centos.org/view/raw/6004e24e
<tilpner> hio: But it's probably not going to be worth the trouble for a single-file application config file
<teto> fendor_: you might have last time you ran :UpdateRemotePlugins, you should rerun it when a remote plugin gets updated, nix does it or vim-plug can in my case
<mniip> xorAxAx, no, in fact I've never used nix before
<xorAxAx> mniip, good to know
<xorAxAx> mniip, hmm, then i dont know. you could strace nix
<hio> I dont see why packages are somehow special in regards to their configuration needs. Explain to me how Nix is especially useful for describing packages?
<xorAxAx> was it ever working, mniip?
<fendor_> teto, makes sense! thank you very much! so, i have to remember these very helpful nvim commands :D
<mniip> no
<mniip> literally installed it and trying to start doing stuff
<Synthetica> hio: That's what you want right?
<hio> 58 is not valid json
<teto> fendor_: normally :checkhealth should warn you about this. If it doens't maybe it can be improved to do it
<teto> ideally that's the unique command you should remember :D
<Synthetica> hio: To my knowledge it is
<tilpner> hio: Derivations are built into the language, and the builtins are influenced by nixpkgs
<__monty__> mniip: Do you have a single-user or multi-user install?
<tilpner> hio: 58 seems correct
<mniip> multi-user I think
<hio> no it's not correct, all valid json starts with either [] or {}
<__monty__> mniip: Does sudo nix-channel --update work?
<fendor_> teto, thank you a lot! now i can finally use it again :)
<hio> I tried to convert a larger example, this https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/applications/editors/vscode/default.nix and got: error: cannot convert a function to JSON
<Synthetica> hio: I don't think that's the case, both jq and python's json library accept a single number just fine
<__monty__> hio: It *is* valid json: https://www.crockford.com/mckeeman.html
<mniip> __monty__, same error
<__monty__> hio: Well, json doesn't have function values. So you'll have to serialize them first.
mankyKitty has joined #nixos
<__monty__> mniip: Are you on linux or mac os? On a mac the installer messed up for me. Some of the more knowledgeable folks here helped me set it straight.
<mniip> linux
<hio> I thought that the nix parameter would do it for me, how am I supposed to serialize a nix function?
<tilpner> You probably don't even want that
zupo has joined #nixos
<hio> I want to use Nix instead of JSON for configuration, so I think I do
<mniip> __monty__, xorAxAx, I think it's related to sandboxing? somehow?
<tilpner> ... alright
<xorAxAx> mniip, did you try stracing it?
* tilpner does other things
vid has joined #nixos
ThatDocsLady has joined #nixos
<__monty__> hio: If you're certain you want functions being read from your configurations (getting the semantics identical will be really hard) then you'll have to come up with your very own serialization format for functions.
<hio> __monty__: I figured it out I think, I just have to pass --strict
<hio> then it evaluates it
<hio> looks like Nix has a dictionary syntax that's practically the same as JSON anyway, why didnt you guys tell me that?
<__monty__> Because minor similarities are irrelevant in the face of major dissimilarities?
ee1943 has quit [Read error: Connection reset by peer]
<hio> ok but if JSON is a subset of Nix then how can it not be better?
<mniip> 1556100240 [13:04:00] <hio> no it's not correct, all valid json starts with either [] or {}
<mniip> that's not correct
<hio> yeah I am surprised mniip
<mniip> a value is among other possibilities a number
<Synthetica> hio: More features does not automatically make something better suited for all usecases
ee1943 has joined #nixos
<hio> so should I stop using yum/dnf/apt and only use Nix from now on?
<mniip> refer to rfc7159: JSON-text = ws value ws, value = false / null / true / object / array / number / string
<__monty__> hio: Only if you feel the boons outweight the detractors.
<mniip> xorAxAx, so what part of strace are we looking at
<__monty__> hio: Also, you could look into Guix, they use a GP language for their package descriptions.
rtjure has joined #nixos
<hio> I did __monty__, it's a trainwreck
<xorAxAx> mniip, the end
<xorAxAx> before it assembles the error message
<xorAxAx> dont forget to call strace with -ff
<dminuoso> 12:07:31 hio | I thought that the nix parameter would do it for me, how am I supposed to serialize a nix function?
<dminuoso> hio: Help me understand why you want to do this.
<hio> dminuoso: I need a JSON output so I can read it into my application
Xiro` has joined #nixos
<dminuoso> hio: Your nix expression can output whatever you want it to..
<mniip> [pid 25531] connect(3, {sa_family=AF_UNIX, sun_path="/nix/var/nix/daemon-socket/socket"}, 110) = 0
<mniip> [pid 25531] read(3, "ptxc\0\0\0\0`\0\0\0\0\0\0\0while setting up the build environment: getting attributes of path '': No such file or directory\1\0\0\0\0\0\0\0", 32768) = 120
<dminuoso> hio: What would "convert nix into json" mean for you?
<xorAxAx> mniip, then the daemon is generating the error, time to strace the daemon :)
vid has quit [Ping timeout: 276 seconds]
<mniip> are you serious
<dminuoso> hio: What exactly are you trying to accomplish?
<hio> ..getting a JSON value as output? what else would it mean?
<xorAxAx> mniip, yes. strace -p `pidof ...`
<dminuoso> hio: To what end?
<hio> I already told you, so I can read in JSON into my application
<dminuoso> hio: Oh in the sense of /etc/ssh/sshd.nix producing some kind of configuration for your program?
ayerhart_ has joined #nixos
<__monty__> That doesn't explain why you need to put functions in those configurations.
ayerhart has quit [Ping timeout: 255 seconds]
<dminuoso> hio: What you see there is not exactly a program configuration. It's a parameterized build specification.
ayerhart_ is now known as ayerhart
<mniip> [pid 25668] stat("", 0x7f9ce38b7700) = -1 ENOENT (No such file or directory)
<mniip> [pid 25668] write(2, "\1while setting up the build envi"..., 98) = 98
<hio> ok I see, so it's more like a Makefile which can be read and then execute all its embedded commands.
<Synthetica> hio: Yes, sort of
<dminuoso> hio: But you could use a nix expression for anything really.
<hio> like what?
<dminuoso> hio: What you see is a nix-language expression that produces output to be used by the nix package manager.
<dminuoso> hio: Well anything, nix-lang is turing complete.
<hio> every nix file is only one expression?
grischeg has quit [Remote host closed the connection]
domogled has quit [Quit: domogled]
<xorAxAx> mniip, hmm, can you see where the empty string comes from in the strace?
zupo_ has joined #nixos
<dminuoso> hio: Yes.
<hio> what if I write a nix expression that deletes /usr, will anybody stop me?
<dminuoso> hio: For one, the language.
Xiro` has quit [Quit: ERC (IRC client for Emacs 26.1)]
<hio> you mean the interpretor?
<dminuoso> hio: No the language itself. It's pure by design.
<hio> surely I can have strings called "/usr" and a function that deletes files and folders right
ThatDocsLady_ has joined #nixos
<dminuoso> hio: Its not meant to *do things*. Its meant to calculate things.
<dminuoso> It's kind of the point really.
ThatDocsLady has quit [Remote host closed the connection]
<hio> ok but that is semantics, so I write a nix expression that says "rm -rf /usr/*"
<mniip> xorAxAx, not really no
<dminuoso> hio: Now you have a string containing "rm -rf /usr/*"
zupo has quit [Ping timeout: 276 seconds]
<dminuoso> hio: The language will not give you any execCommand utility.
<hio> right and nix-evaluate executes it faithfully right
<mniip> would you perhaps like me to attach gdb and catch syscall?
<dminuoso> hio: Yup, and it produces a string "rm -rf /usr/*" as a result.
Xiroh has joined #nixos
<hio> that doesnt make any sense, then who is actually writing and deleting files in /nix/store?
<dminuoso> hio: the nix package manager.
<dminuoso> hio: which takes a nix expression and expects some set of meta data
<dminuoso> when it evaluates that expression
<xorAxAx> mniip, hmm, not sure that helps
<dminuoso> it then uses the metadata to run the effectful stuff
<hio> ok so the nix package manager, (nix-env) will somehow evaluate file paths and stop evil commands? how does it do that?
<dminuoso> hio: It doesnt really do it. The point is rather that evaluating the same nix-expression with the same input is guaranteed to produce the exact same set of meta data.
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/89354141608 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
Xiroh has quit [Remote host closed the connection]
mthst has quit [Quit: the bouncer died]
<dminuoso> If that meta data contains an evil set of actions to rampage through the filesystem, then nix the package manager wont do to keep you safe, but thats not its purpose
Xiroh has joined #nixos
<hio> you are calling the nix-evaluate output the metadata?
<hio> I would just say nix output but maybe that's how it's called
<dminuoso> hio: usually we call these things derivations
mthst has joined #nixos
<dminuoso> At least in the context of nixos/nix package manager
<mniip> indeed I think gdb doesn't wanna follow through setsid
<hio> seems like derivation is just the filepath to /nix/store/[guid] right
Xiroh has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dywedir merged pull request #59893 → cargo-outdated: init at unstable-2019-04-13 → https://git.io/fjORF
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fj3ja
<dminuoso> hio: Other things reside there, but the .drv files you see there - those are the derivations
Xiroh has joined #nixos
<dminuoso> hio: well, to be more precise the .drv files specify how to build derivations.. I cant keep the terminology straight in the nix world.
cosmo_ has joined #nixos
<cosmo_> Hello :)
<cosmo_> I'm experiencing troubles installing python37Packages.jupyterlab
<cosmo_> it has been a few weeks
<cosmo_> that the builder fail
<mniip> xorAxAx, so any other insights?
<cosmo_> On the error: "No matching distribution found for jupyterlab-server<0.3.0,>=0.2.0 (from jupyterlab==0.35.4)"
KaitoDaumoto has quit [Remote host closed the connection]
<cosmo_> To reproduce, simply "nix-env -iA nixos.python37Packages.jupyterlab" or "nix-shell -p nixos.python37Packages.jupyterlab"
Xiroh has quit [Client Quit]
<cosmo_> Any ideas ?
<hio> I think Nix must be using some kind of virtual filesystem maybe or cgroups so that nothing will write outside of the /nix/store folder that each derivation is allowed to write into
Xiroh has joined #nixos
Xiroh has quit [Client Quit]
Xiroh has joined #nixos
<hio> Nix cant possibly know that I put "rm -rf /usr" into my shell script that I am executing during installation
<Taneb> hio: it's fairly thoroughly sandboxed
<hio> sandboxed how?
<mniip> hmm
<LnL> yeah, builds can only write to tmp and it's output
phreedom_ has quit [Ping timeout: 256 seconds]
Xiroh has quit [Remote host closed the connection]
<mniip> xorAxAx, the crucial realization was that nix-daemon exists and needs to be reloaded after editing nix.conf
<LnL> and they run as unprivileged users
<mniip> after disabling sandboxing in nix.conf it worked
Xiroc has joined #nixos
<xorAxAx> mniip, ah, yes
<xorAxAx> nixos would do that automatically for you
<mniip> well why doesn't it work
Xiroc has quit [Client Quit]
<mniip> I mean sandboxing
tboston_ has joined #nixos
<mniip> idk if I have the time to figure that out though
<xorAxAx> what was the earliest sandbox error you got?
Xiroc has joined #nixos
alexherbo22 has joined #nixos
<xorAxAx> i had to allow sysctl kernel.unprivileged_userns_clone=1
<xorAxAx> on my debillian
<mniip> that exact one
<mniip> about ''
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2f1eacc949f (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<mniip> but also isn't nix-daemon running as root
<dminuoso> hio: I should mention that there's some small aspects where nix can cause side effects. mkDerivation actually creates a file in you store for example (rather than outputting the metadata directly).
<LnL> mniip: if you havw a multi user install, what's the output of nix doctor?
<mniip> Store uri: daemon
kaliumxyz has joined #nixos
<LnL> yeah you have a daemon then, maybe your distro has another flag that's needed disabled
<mniip> that tells me nothing
<LnL> maybe check the nix-daemon log
<hio> dminuoso: I just tried to evaluate a mkDerivation but it still only gave as output <LAMBDA>
tboston_ has quit [Ping timeout: 250 seconds]
<mniip> where does it log?
<dminuoso> hio: How did you do that?
<hio> I put from 14.1 here: https://nixos.org/nix/manual/ into default.nix and said: nix-instantiate--eval --strict
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<LnL> mniip: depends on your install, but with systemd you can use journalctl -u nix-daemon
knupfer has joined #nixos
grischeg has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2f1eacc949f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
tboston_ has joined #nixos
<mniip> that doesn't seem to be logging much
<grischeg> I locked myself out of my NixOS system, but I have physical access to the machine. How would I reset the password? Boot a live CD and run nixos-install? Or chroot into the /mnt and run nixos-rebuild?
Zer000 has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #60155 → phpPackages: Wrap mkDerivation to prepend package names → https://git.io/fj3jh
zarel has joined #nixos
<infinisil> grischeg: Both would work, the patter is probably the easiest with nixos-enter though
bigvalen has quit [Ping timeout: 244 seconds]
lovesegfault has quit [Quit: WeeChat 2.4]
bigvalen has joined #nixos
<mniip> does nix-daemon have verbosity options?
<mniip> doesn't seem to have any options at all...
dycan has joined #nixos
[Leary] has joined #nixos
<grischeg> infinisil: nixos-enter sounds even easier, thanks.
drager has joined #nixos
Lears has quit [Read error: No route to host]
<drager> Hi, I discussed nixpkgs pinning but getting an error: error: Module `/etc/nixos/vscode.nix' has an unsupported attribute `AAAAAASomeThingsFailToEvaluate'. This is caused by assignments to the top-level attributes `config' or `options'.
dontdieych has joined #nixos
<Synthetica> drager: What are you trying to do with this module?
<Synthetica> You can't just build the entirety of NixPkgs, and AAAAAASomeThingsFailToEvaluate is there to avoid this early
Makaveli7 has quit [Ping timeout: 276 seconds]
Lears has joined #nixos
<drager> Synthetica: Oh ok, I want to install a older version of the vscode package
<DigitalKiwi> when i did it to my raspberry pi i just pulled the sd card and edited the shadow/passwd/group files because why not :|
cfricke has quit [Quit: WeeChat 2.4]
Alling has joined #nixos
[Leary] has quit [Ping timeout: 258 seconds]
<Synthetica> But people here would probably yell at me for not using overrides
tboston_ has quit [Ping timeout: 276 seconds]
<pie___> is there an easy solution to fetchurl-ing a zip that dumps all its contents in the current directory, as opposed to a subdirectory?
Shouou has joined #nixos
<Alling> Just got back from lunch; saw parts of an interesting discussion about the Nix language, feat. hio and Taneb etc, that was going on when I closed my laptop lid and got disconnected.
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rtjure has quit [Quit: ZNC 1.6.5 - http://znc.in]
acarrico has joined #nixos
<pie___> hmm...cant tell how fetchurl extracts anything...
<{^_^}> [nix] @grahamc opened pull request #2782 → Track function start and end → https://git.io/fjseq
<Synthetica> Alling: Check the logs if you're still interested (https://logs.nix.samueldr.com/nixos/)
<pie___> oh i have unzip adding a buildhook probably
<Synthetica> s/overrides/overlays/
<drager> Synthetica: Hmm, and for only one package? I was pointed to this guide earlier today: https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs
<Alling> Synthetica: Nice, thank's a lot! I think I've had it with the web chat. I guess many of you guys connect in another way; what would you recommend? I have a server with NixOS at home if that matters.
sb0 has quit [Quit: Leaving]
<Synthetica> drager: You can then add that one package to your systemPackages as `vsCodeRemote.vscode`
<pie___> i dont suppose there's a pre- pose- fetch phase...
<Synthetica> (Or however you call the remote)
zupo has joined #nixos
<Synthetica> Alling: I use irccloud, the free version has some limititations, namely only staying connected for 2 hours after your last client exits and only supporting one server at once, but it's good enough for my use case
fendor_ has quit [Ping timeout: 276 seconds]
zupo has quit [Client Quit]
knupfer has quit [Ping timeout: 264 seconds]
<pie___> hm im passing fetchurl a "name" argument but it looks like its ignoring it...
Anton-Latukha has quit [Ping timeout: 258 seconds]
<dfordivam> Hi .. I have a nixos VM with virtualbox.guest = enable, most of the stuff works fine for me, but I cannot connect a USB device. Does anyone has an experience with this? or how to debug?
<pie___> dfordivam, do you have any errors? dmesg maybe?
<pie___> dfordivam, is it usb2? do you have the oracle host extensions installed?
<exarkun> Alling:I use a free-tier GCE instance running znc (all managed with nixops, of course) and connect w/ weechat (I'm thinking about switching znc to weechat and trying out weechat's custom bouncer protocol, instead).
kreisys has joined #nixos
<dfordivam> pie___: nevermind it worked this time when I plugged the device again
<drager> Synthetica: Should I do something like this? https://gist.github.com/drager/a9037b2941ad29440743422bd213c261 I only want to override this package to an old version in nixpkgs master. Nothing else at this moment
<cosmo_> Hello does anyone would have any insight on how to solve this issue:
<{^_^}> #60154 (by tcosmo, 48 minutes ago, open): Can't install Jupyterlab with python 3.7
<tilpner> exarkun: Note that weechat-(relay)->weechat is not supported, so that solution only works as well if you have low latency at all times
<Synthetica> drager: yes, looks about right.
<Synthetica> You should then add that file to your `imports`
<pie___> dfordivam, yay i guess
<pie___> clever, do you know if i can breakpointhook fetchurl :V
<dfordivam> hmm I guess.. yay.. haha
<drager> Synthetica: Yeah, and then do nixpkgs.vscode-1-32-3 in systemPackages?
zupo has joined #nixos
<Synthetica> drager: nixpkgs.vscode-1-32-3.vscode
<Synthetica> vscode-1-32-3 is the entirety of nixpkgs at that commit
<drager> ah! makes sense
phreedom has joined #nixos
<drager> Synthetica: That did the trick! Thanks a lot!
<Synthetica> You're welcome!
<drager> Do you do this for packages that aren't present in nixpkgs as well?
<Synthetica> Yes, I add them to my fork and submit a PR, but this is how I use them before the fork gets merged
<yorick> pie___: I never implemented "hey you are running bash-noninteractive, pls dont", which maybe I should
vid has joined #nixos
<yorick> pie___: well ideally you would do that :P
<drager> Awesome! Thanks :)
<das_j> flokli: Are you there?
<{^_^}> [nixpkgs] @dotlambda opened pull request #60156 → restic: 0.9.4 -> 0.9.5 → https://git.io/fjsej
<exarkun> tilpner: oh really? what's the point of that :/
<tilpner> exarkun: It's used with clients like the Android app (which is surprisingly good!) or the web UI (Glowing Bear?)
<pie___> yorick, hm
<{^_^}> [nixpkgs] @dotlambda pushed to master « python3.pkgs.asynctest: 0.12.3 -> 0.12.4 »: https://git.io/fjsvJ
<exarkun> seems kind of weird that there wouldn't be a weechat plugin that implements the client for that protocol
<exarkun> otoh if weechat is a gross pile of C maybe you want to write as little code as you can that runs in the same process
<tilpner> exarkun: It's possible it was implemented since I checked. Just make sure to check if this is possible before you get stuck doing other aspects of that transition
<exarkun> yes indeed.
<exarkun> thanks for the warning
<tilpner> exarkun: Everything I said was only about the "weechat" relay mode, not the IRC mode, which probably just acts like a normal bouncer. Also https://weechat.org/about/interfaces/
<pie___> yorick, im in a different headspace. not really sure how youd do that.
<pie___> yorick, maybe add something to bashrc?
<tilpner> So you can probably do weechat-(IRC-relay)->weechat, but you'd still have to define every network twice
<pie___> dunno how youd check if its not interactice
<pie___> run a nix query on the bash path?
carlosdagos has quit [Quit: WeeChat 2.4]
<pie___> sounds hacky
<pie___> yorick, but i think that sounds like it could be helpful, to have a check i mean
<flokli> das_j: define "there"?
<das_j> flokli: Available on IRC
<das_j> Like not super busy
<Ashy> anyone using sway and redshift on nixos1903?
<Ashy> i havent got redshift working yet
<Synthetica> Ashy: On unstable
<exarkun> tilpner:oh cool emacs, I can finally stop running two programs on my computer and just run one!
<Ashy> Synthetica: ah ok, can i override just redshift from unstable?
<exarkun> imagine all the overhead I'll save by switching to a non-task-switching kernel
<Synthetica> Ashy: I override it to use github.com/breznak/redshift instead of the regular repo
<Ashy> Synthetica: got an example of your config?
<pie___> sidenote; githubs relatively new "related issues" feature is pretty nice
<exarkun> tilpner: I wonder if weechat-based IRC relay works any better than ZNC-based IRC relay. The appeal of weechat was to fix some of the weirdness that seems kind of inherent to using IRC as the relay protocol (shortcomings in the protocol that mean you can't really express everything you need to)
<Synthetica> And `exec redshift -l 52:5 -m wayland` in my sway config
<Ashy> cheers
<tilpner> exarkun: I don't expect it to, but I haven't tried either. #weechat could probably answer that with a better explained "no"
Xiroc has quit [Remote host closed the connection]
rprije has quit [Ping timeout: 250 seconds]
cfricke has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #59545 → pythonPackages.pyomo: init at 5.6.5 → https://git.io/fjmDu
<{^_^}> [nixpkgs] @Lassulus closed pull request #37372 → pythonPackages.Pyomo: init at 5.4.3 → https://git.io/vxsWh
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/fjsv4
<{^_^}> [nixpkgs] @veprbl merged pull request #60032 → vscode-extensions.WakaTime.vscode-wakatime: 1.2.13 -> 1.3.0 → https://git.io/fj3c1
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjsvB
srid0 has quit [Ping timeout: 276 seconds]
mexisme has quit [Ping timeout: 244 seconds]
linarcx has quit [Ping timeout: 276 seconds]
linarcx has joined #nixos
srid0 has joined #nixos
Makaveli7 has joined #nixos
sb0 has joined #nixos
dycan has quit [Remote host closed the connection]
domogled has joined #nixos
npmccallum has joined #nixos
<Ashy> Synthetica: ok i've not used overrides before... how do i drop that in to my `environment.systemPackages = with pkgs; [ ... ];` list?
<Synthetica> After that enviornment.systempackages automatically uses the correct variant of redshift
ThatDocsLady_ has quit [Remote host closed the connection]
ThatDocsLady_ has joined #nixos
jtojnar has joined #nixos
iyzsong has joined #nixos
<betaboon> anyone feels capable of reviewing #58121 or #58774 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58121 (by betaboon, 4 weeks ago, open): nixos/refind: init
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58774 (by betaboon, 3 weeks ago, open): eventstore: 4.1.1 -> 5.0.0
domogled has quit [Quit: domogled]
mariel__ has joined #nixos
Glider_IRC has quit [Ping timeout: 276 seconds]
linarcx has quit [Quit: WeeChat 2.4]
<aminechikhaoui> Weird sometimes after I reboot /sys/class/power_supply/BAT0 just disappears breaking i3status :/
Glider_IRC has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 264 seconds]
<aminechikhaoui> any idea how to debug that
<gchristensen> wow
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0620e0fdbf4 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<aminechikhaoui> e.g now I only have ADP1 directory under /sys/class/power_supply/
<Ashy> Synthetica: ah nice, that's working thanks! (wow my eyes...)
<Synthetica> Haha yeah, no redshift would be a dealbreaker for me too
<gchristensen> Synthetica: is it possible to integrate that with the standard redshift service?
<Synthetica> gchristensen: If we want to officially use that patched version, yes, I think so
<gchristensen> if I use an overlay to replace redshift, would it "just work"?
<Ashy> gchristensen: it hasnt for me, i had to manually run it
<gchristensen> ah
<gchristensen> probably need to propagate some WAYLAND_* env vars to the systemd environment like X does
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60001 → vivaldi: support snapshots → https://git.io/fj3Iw
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjsfY
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ad4f7dd90e0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
drager has quit [Quit: WeeChat 2.4]
<Synthetica> gchristensen: I don't know if the service has a "custom flags" setting
pie_ has joined #nixos
pie___ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59870 → insomnia: Fix .desktop to link to Nix bin → https://git.io/fjOnF
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjsfn
npmccallum has quit [Remote host closed the connection]
knupfer has joined #nixos
npmccallum has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #60152 → Revert "ibus-packages.mozc: pin to protobuf 3.6" → https://git.io/fj3ph
<{^_^}> [nixpkgs] @teto pushed 2 commits to master: https://git.io/fjsfR
pie_ has quit [Remote host closed the connection]
pie___ has joined #nixos
EoF has quit [Ping timeout: 276 seconds]
fenedor has joined #nixos
Thra11 has quit [Ping timeout: 244 seconds]
<gchristensen> right now I'm just running redshift in the background, and tbh I'm not sure it works properly for all my displays
vid has quit [Ping timeout: 250 seconds]
fendor has quit [Ping timeout: 255 seconds]
cosmo_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58994 → sublime-merge: init at 1107 → https://git.io/fjLW5
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fjsfr
<{^_^}> [nixpkgs] @veprbl pushed commit from @LinArcX to master « lalezar-fonts: init at unstable-2017-02-28 »: https://git.io/fjsfi
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
rauno has quit [Remote host closed the connection]
vid has joined #nixos
<{^_^}> [nixpkgs] @veprbl closed pull request #59402 → lalezar-fonts: init at unstable-2017-02-28 → https://git.io/fjmnj
EoF has joined #nixos
jasongrossman has joined #nixos
mwilsoncoding has joined #nixos
stepcut has joined #nixos
<mwilsoncoding> any pythonistas able to explain the echo statement here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/azure-common/default.nix ?
<mwilsoncoding> I can pretty much logic out _what_ it's doing, my trouble is more with the _why_ =/
<simpson> mwilsoncoding: `azure` is a so-called "namespace package"; many different Python source packages are located within that namespace.
<simpson> This declaration permits those other packages to be installed and loaded correctly.
<mwilsoncoding> simpson: so what's the rhyme/reason for that line's appearance in servicemanagement-legacy, storage, mgmt-storage, etc (essentially, should I be concerned with this if I'm trying to add in more azure modules?)
detran has quit [Ping timeout: 258 seconds]
<simpson> mwilsoncoding: Probably that things break without it. Try it and see, maybe?
<mwilsoncoding> lol- I'm in that cycle right now, looking for as many shortcuts as I can. I'll definitely get there =]
<mwilsoncoding> I keep getting a collision error if I try to build azure-{keyvault,loganalytics,eventgrid,cosmosdb-table}
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #60159 → jupyterlab: Fix build → https://git.io/fjsJU
<mwilsoncoding> with _and_ without the echo statement
<mwilsoncoding> that was yesterday's trial-n-error
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59962 → http-parser: 2.9.1 -> 2.9.2 → https://git.io/fjOxu
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjsJT
<gchristensen> specifically, I think, we need to do SWAYSOCK and WAYLAND_DISPLAY
ixxie has joined #nixos
<mwilsoncoding> the 'collision' seems to be with that particular path but respective to the $out directories of azure-common and azure-<colliding-package>
<simpson> mwilsoncoding: Hm, interesting. I don't understand this part of Python packaging (and, after a decade, I'm starting to suspect that nobody does) but I am wondering if, like with other packaging concepts, only the top-level namespace "host" package has to declare the namespace.
srid0 has quit [Ping timeout: 255 seconds]
stepcut has quit [Remote host closed the connection]
pie___ has quit [Remote host closed the connection]
stepcut has joined #nixos
pie___ has joined #nixos
zarel has quit [Ping timeout: 244 seconds]
Neo-- has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
camsbury has quit [Remote host closed the connection]
srid0 has joined #nixos
stepcut has joined #nixos
drakonis has joined #nixos
iyzsong has quit [Ping timeout: 276 seconds]
nakkle has joined #nixos
<mwilsoncoding> simpson: I'm venturing deeper down the rabbit-hole...
kleisli has joined #nixos
<mwilsoncoding> I put a call to remove the __init__.py file because blanking it made no difference...
<{^_^}> [nixpkgs] @Ma27 merged pull request #60138 → wireguard: add generatePrivateKeyFile option + test → https://git.io/fj3Fc
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fjsJV
pie_ has joined #nixos
<mwilsoncoding> once I did that, I'm now getting "collision between `/nix/store/...azure-common-1.1.19/lib/${python.libPrefix}/site-packages/azure/__pycache__/__init__.cpython-37.pyc"
pie___ has quit [Ping timeout: 250 seconds]
npmccallum has quit [Ping timeout: 245 seconds]
domogled has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
<mwilsoncoding> W00+
Makaveli7 has quit [Quit: WeeChat 2.4]
mariel__ has quit [Remote host closed the connection]
mariel__ has joined #nixos
<mwilsoncoding> removal of __init__.cpython-*.pyc in addition to removing the original __init__.py results in the package succeeding the build and me getting my python environment as specified
<mwilsoncoding> note: I'm only doing the removal in the azure-<conflicting-package>
srid0 has quit [Ping timeout: 276 seconds]
srid0 has joined #nixos
Netsu has joined #nixos
zupo has joined #nixos
<Netsu> Hello. Can't find, is there fastcrypto package https://fastcrypto.org/ at nixpkgs?
<tilpner> Netsu: No, it doesn't seem to be
<simpson> Netsu: Doesn't look like it. FWIW these look like single-file libraries with public domain license, so it could be the case that the typical consumer of this library vendors/bundles it. What are you working on?
<tilpner> I'd expect most C* projects to copy those headers instead of relying on packages
<samrose> does node2nix support the node `--experimental-modules` flag?
o1lo01ol1o has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
<Netsu> simpson: just need a library with stable aes+cbc implementation (cross-platform desirable)
<srhb> Netsu: It looks like it'd be fairly trivial to package. Maybe consider trying your hand at it?
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjsU3
<simpson> Netsu: Consider libsodium: https://download.libsodium.org/doc/
<simpson> > libsodium
<{^_^}> "<derivation /nix/store/2by3r1arwxxfix75d4w73lcvzdcpfnf9-libsodium-1.0.17.drv>"
<Netsu> srhb: maybe I do so. But should asked first in case I miss something obvious
<Netsu> simpson: maybe you right here btw
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cosmo_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #60160 → dico: 2.7 -> 2.9 → https://git.io/fjsUc
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #60161 → rush: 1.8 -> 1.9 → https://git.io/fjsUW
endformationage has joined #nixos
<aanderse-work> how does @dtzWill do it all? he's a machine! :D
<{^_^}> [nixpkgs] @dtzWill opened pull request #60162 → jellyfin: 10.3.0 -> 10.3.1 → https://git.io/fjsUl
<{^_^}> [nixpkgs] @peterhoeg merged pull request #60149 → mosquitto: 1.5.8 -> 1.6 + nixos tests → https://git.io/fj3xY
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/fjsU8
mariel__ has quit [Remote host closed the connection]
<worldofpeace> I've been thinking that he's done what graham did and factored away part of himself to a bot :P
<{^_^}> [nixpkgs] @dtzWill opened pull request #60163 → dotnet-sdk: 2.2.103 -> 2.2.203 (core 2.2.1 -> 2.2.4) → https://git.io/fjsUR
<aanderse-work> ha ha ha nice :)
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/2f1eacc949f (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
v88m has joined #nixos
Ralith_ has quit [Remote host closed the connection]
v88m has quit [Remote host closed the connection]
npmccallum has joined #nixos
v88m has joined #nixos
petrkr has quit [Remote host closed the connection]
v88m has quit [Client Quit]
v88m has joined #nixos
ixxie_ has joined #nixos
v88m has quit [Client Quit]
v88m has joined #nixos
<exarkun> nixos automounts my removable luks device when it is sdb but not when it is sdc
<exarkun> what part of the system is in charge of this?
<li_matrix> The complaint that nix is complicated mostly seems to blame Unix, which is all it is trying to abstract.
<musicmatze> exarkun: I'd say that's udev..
domogled has quit [Quit: domogled]
<mwilsoncoding> so I'm trying to build https://pypi.org/project/uamqp/ but it keeps failing stating it can't find cmake. Problem is, it keeps doing that even if I include cmake as a buildInput or even a propagatedBuildInput (which I don't think should be necessary)
<mwilsoncoding> any pointers for making cmake available to the buildPythonPackage function?
<musicmatze> mwilsoncoding: did you try nativeBuildInputs ?
<musicmatze> not sure whether this would be the right thing to do, though
<mwilsoncoding> ooh
<mwilsoncoding> I'm a bit of a newb, so no. =] trying it now
<musicmatze> I don't even know what the difference is ... I try until it builds when I package something, then I try to run it and go from there... :-)
<exarkun> musicmatze: so ... I should play with services.udev.extraRules I guess?
<musicmatze> I'm a newb myself ... using nixos for ~4 years now but still am a newb
<musicmatze> exarkun: I guess so.
<musicmatze> How does your automount setup look right now?
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
buffet_ is now known as buffet
<mwilsoncoding> musicmatze: lol about 2 years myself so I don't think it'll be going away any time soon
<mwilsoncoding> musicmatze: that did it!
Shouou has quit [Ping timeout: 250 seconds]
<mwilsoncoding> still erroring out, but different error!
<exarkun> or maybe this is just a bug in udisks2 :/
<musicmatze> awesome
<exarkun> musicmatze: I have no custom automount configuration on my system
<exarkun> I have two usb flash devices of the same model
<exarkun> when I plug them both in, udisks2 seems to coalesce them into a single entity that owns two device (sdb and sdc)
<cosmo_> Hello I'm trying to use Nixpkgs "fetchpatch" routine but I can't import it correctly
<cosmo_> what import can put it in the scope ?
<{^_^}> [nixpkgs] @worldofpeace opened pull request #60164 → python3Packages.pygobject3: 3.32.0 -> 3.32.1, pythonPackages.pycairo: 1.18.0 -> 1.18.1 → https://git.io/fjsUp
<{^_^}> [nixpkgs] @romildo merged pull request #59966 → mate: 1.20 -> 1.22 → https://git.io/fjOhO
<{^_^}> [nixpkgs] @romildo pushed 61 commits to master: https://git.io/fjsUh
<exarkun> https://gist.github.com/exarkun/631118cf8aa10a72572303ebb01ea337 as if this somehow makes any sense
waleee has quit [Quit: WeeChat 2.4]
reinhardt has quit [Quit: Leaving]
<pie_> is it possible for me to override this?
<pie_> it doesnt seem to have an overrideAttrs
<musicmatze> cosmo_: how does your code look like?
<exarkun> I guess you might be able to argue udisks2 is fine and it's ... gvfs-udisks2-volume-monitor or something that's hosed
<exarkun> who knows, all these random pieces...
linarcx has joined #nixos
<pie_> clever, any idea how to deal with the above? can i just simple find and use the thing that adds .overrideAttrs? (i doubt it
<musicmatze> Sounds like a Death Metal title "All those random Pieces" ....
<musicmatze> or something from J Bieber.
jtojnar has quit [Read error: Connection reset by peer]
orbekk1 is now known as orbekk
jtojnar_ has joined #nixos
Ralith_ has joined #nixos
<clever> pie_: extraPostFetch?
orbekk has quit [Quit: WeeChat 2.2]
jtojnar_ is now known as jtojnar
orbekk has joined #nixos
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
v88m has quit [Quit: Quit]
v88m has joined #nixos
Anton-Latukha has joined #nixos
<clever> pie_: ah, thats more difficult
kleisli has quit [Remote host closed the connection]
<pie_> clever, lmao jsut did what would have been the biggest hack of my life but it didnt work
kleisli has joined #nixos
<pie_> src = let baseNameOf = (f: "cs2d.zip"); in fetchzip rec {
<pie_> not sure why it breaks though
<pie_> ah, unrelated problem
<{^_^}> [nixpkgs] @NickHu opened pull request #60165 → tmux-plugins: fix runtimepath → https://git.io/fjsTi
<gchristensen> clever: do you (or does anybody) have a bit of code which triggers error: infinite recursion encountered, at undefined position?
<pie_> gchristensen, im guessing the problem is the undefined position?
<pie_> anonymous function maybe? (dunno how to make one offhand)
fenedor has quit [Quit: Leaving]
<yorick> gchristensen: often, but not today :P
uranther_ has quit [Quit: Connection closed for inactivity]
<clever> gchristensen: undefined position usually means c++ calling back into nix
<pie_> google has some results but nothing that looks like a direct sample
<pie_> ah that makes sense.
<clever> and the error itself, is thrown by a black-hole, so c++ tried to eval a thunk from its own call stack
v88m has quit [Quit: Quit]
<gchristensen> interesting
v88m has joined #nixos
<clever> --show-trace should still help
<gchristensen> I don't need to know how to debug it, I want to *cause* one
<gchristensen> so is that like builtins.map calling a nix function which is a black-hole?
<clever> yeah
<clever> > lib.fix (self: { foo = map lib.id self.foo; })
<{^_^}> { foo = <CODE>; }
<clever> > :p lib.fix (self: { foo = map lib.id self.foo; })
<{^_^}> infinite recursion encountered, at (string):252:18
<clever> > :p lib.fix (self: { foo = map (x: self.${x}) [ "foo"]; })
<{^_^}> { foo = [ [ <CYCLE> ] ]; }
<gchristensen> clever: could you write up a reproduction case for me? it sounds like you'll have a better time of it
<pie_> so, should something like "src = let baseNameOf = (f: "cs2d.zip"); in fetchzip rec {" cause baseNameOf to be overridden in https://github.com/NixOS/nixpkgs/blob/ad4f7dd90e098f344114bc8f54ab5025233f1ffe/pkgs/build-support/fetchzip/default.nix#L30 or is that not how scoping works / with builtins
<pie_> hmm seems like it should work
<clever> gchristensen: still cant repro...
Synthetica has quit [Quit: Connection closed for inactivity]
<cosmo_> musicmatze, thank you for your answer, my code is here: https://pastebin.com/H3u6qdNr
<cosmo_> musicmatze, line 39 the call to fetchPatch is not recognised
mconstant has joined #nixos
<gchristensen> say, would people be interested in a sort of "office hours with graham" thing?
<samueldr> what does it mean?
<gchristensen> it'd be a regular video call where I'd be available for whatever
<musicmatze> cosmo_: no time, have to go. What you want is fixed by me in https://github.com/NixOS/nixpkgs/pull/60159
<{^_^}> #60159 (by matthiasbeyer, 1 hour ago, open): jupyterlab: Fix build
<musicmatze> use nixpkgs from there or if it is merged from master and you're good.
<musicmatze> I guess the name attribute is missing
<musicmatze> or have a look at my diff, should work for you, too.
<musicmatze> bye
kisonecat has joined #nixos
<andi-> gchristensen: while I lime the idea it feels like a red flag if we need that :/
<gchristensen> oh?
<andi-> s/lime/like/ (phone powered typos..)
<gchristensen> maybe, so. I think it is fairly common in other projects like docker/k8s/chef, and maybe it is the same red flag there :P
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #60166 → Better configure platforms → https://git.io/fjskm
<pie_> i forgot how to enable 64bit graphics or something so wine stuff doesnt crash
<pie_> or 32 bit, idk
linarcx has quit [Ping timeout: 250 seconds]
<andi-> I can explain my thoughts more later once I am home and I can still type.
<clever> pie_: hardware.opengl.driSupport32Bit
<pie_> thanks
Netsu has quit [Ping timeout: 256 seconds]
<gchristensen> sounds good, andi-
linarcx has joined #nixos
v88m has quit [Ping timeout: 245 seconds]
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
st4ll1 has joined #nixos
AluisioASG has joined #nixos
AluisioASG has quit [Client Quit]
AluisioASG has joined #nixos
<pie_> i read somewhere that nixos does some multiple overlay layering stuff for docker? does anyone know anything about this?
linarcx has quit [Ping timeout: 245 seconds]
linarcx has joined #nixos
<exarkun> pie_: "nixos does"?
<exarkun> pie_: it sounds like you might be talking about dockerTools.buildLayeredImage
kleisli has quit [Ping timeout: 258 seconds]
<gchristensen> https://grahamc.com/blog/nix-and-layered-docker-images I wrote upa bit about it
v88m has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
pie___ has joined #nixos
erasmas has joined #nixos
linarcx has quit [Client Quit]
<pie___> exarkun, thanks that sounds relevant
<pie___> exarkun, vague wording because no idea :P
linarcx has joined #nixos
pie_ has quit [Ping timeout: 245 seconds]
<worldofpeace> gchristensen: like a weekly AMA?
mwilsoncoding has quit [Ping timeout: 256 seconds]
<{^_^}> [rfcs] @globin opened pull request #43 → RFC-0043: RFC Steering Committee Rotation → https://git.io/fjskS
hedning_ has quit [Quit: hedning_]
dbmikus__ has joined #nixos
<gchristensen> sure
<gchristensen> or "how can I help"
<{^_^}> [nixpkgs] @grahamc merged pull request #48325 → fetchurl: warn on rev archives, resolves #32999 → https://git.io/fxRTu
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjskQ
Glider_IRC has quit [Ping timeout: 245 seconds]
ggpeti has joined #nixos
<pie___> on that note do we actually have any sort of more structured community organization / would it work / would people find it helpful ?
Glider_IRC has joined #nixos
<ggpeti> hey. can someone in here restart https://hydra.nixos.org/build/92306087 ?
<ggpeti> it's in the list of running builds but it's cancelled
<ggpeti> I don't like that https://hydra.nixos.org/status
<gchristensen> ggpeti: what don't you like?
<matthewbauer> It's been sending inputs for 2+ days
<gchristensen> nice
pie___ has quit [Ping timeout: 258 seconds]
<gchristensen> but on the status page, those don't look so bad?
<worldofpeace> gchristensen: Sounds like a pretty pure way to offer oneself. asynchronous communication can only get you so far
zarel has joined #nixos
<gchristensen> yeah
<ggpeti> gchristensen that POE build is on the status page as a running build
<gchristensen> I'm struck by how incredibly productive a 30min-1hr call can be. I had this experience today (and several times in the past) and perhaps a more regular event like this could be great.
<ggpeti> thet you click on it and it's cancelled
<gchristensen> ggpeti:see that under "Running build steps" it is still trying to send
<{^_^}> [nixpkgs] @winpat opened pull request #60167 → taskopen: init at 1.1.4 → https://git.io/fjsIq
mexisme has joined #nixos
mconstant has quit [Ping timeout: 245 seconds]
<gchristensen> (fixed)
ggpeti has quit [Ping timeout: 256 seconds]
<worldofpeace> gchristensen: Totally agree with you there. I've regained old/new parts of myself in an hour. I feel like the more commitment the more energy, stronger outcome.
<{^_^}> [nixpkgs] @xrelkd opened pull request #60168 → rust-bindgen: 0.42.2 -> 0.49.0 → https://git.io/fjsI3
mexisme has quit [Ping timeout: 258 seconds]
vidbina has joined #nixos
vid has quit [Ping timeout: 276 seconds]
hedning__ has joined #nixos
vidbina has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 619 commits to staging-next: https://git.io/fjsIZ
<{^_^}> [nixpkgs] @FRidh pushed 287 commits to staging-next: https://git.io/fjsIC
<{^_^}> [nixpkgs] @FRidh opened pull request #60169 → Staging next → https://git.io/fjsIW
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60164 → python3Packages.pygobject3: 3.32.0 -> 3.32.1, pythonPackages.pycairo: 1.18.0 -> 1.18.1 → https://git.io/fjsUp
rembo10 has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to staging: https://git.io/fjsIl
asymmetric has quit [Read error: Connection reset by peer]
vidbina has joined #nixos
rembo10 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 112 commits to staging: https://git.io/fjsI8
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60096 → pythonPackages.asyncssh: 1.15.1 -> 1.16.1 → https://git.io/fj3Xj
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjsI4
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #60170 → lollypop: 1.0.5 -> 1.0.7, other stuff → https://git.io/fjsI0
<{^_^}> [nixpkgs] @FRidh pushed 36 commits to staging: https://git.io/fjsIE
domogled has joined #nixos
fusion809 has quit [Remote host closed the connection]
uranther_ has joined #nixos
uranther_ has quit [Client Quit]
mconstant has joined #nixos
uranther has joined #nixos
Shouou has joined #nixos
kaliumxyz has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @FRidh pushed 0 commits to python-unstable: https://git.io/fjsIK
kleisli has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #60171 → perl-cross: update for perl 5.28.2 → https://git.io/fjsIP
thePirateKing has joined #nixos
<thePirateKing> Hi everyone, I was just wondering, in nix-shell code, I see this line a lot `src = if pkgs.lib.inNixShell then null else nix;` or something similar
<thePirateKing> what does it mean?
<gchristensen> yuck
<gchristensen> I don't know why somebody would do that
judson__ has joined #nixos
<thePirateKing> is there a better way? I have been following blindly lol
<exarkun> it's probably ~~scientific~~
ixxie has quit [Ping timeout: 258 seconds]
ixxie_ has quit [Ping timeout: 245 seconds]
<coconnor> haha
<coconnor> that code adds nix to the nix-shell.. which would be useful to build things via nix? Not really necessary...
<coconnor> cause nix invoked out of a nix-shell is hte same as invoked in a nix shell
<thePirateKing> ok so i could do src = ./. or something normal instead?
cfricke has quit [Ping timeout: 250 seconds]
mconstant has quit [Ping timeout: 250 seconds]
<andi-> it depends on your needs. `src` in shell.nix files is usually not required
<thePirateKing> andi, coconnor: perfect, I definitely do not need that
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59631 → quazip: 0.7.3 -> 0.7.6 → https://git.io/fjYJL
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @bobvanderlinden to master « quazip: 0.7.3 -> 0.7.6 (#59631) »: https://git.io/fjsI5
<{^_^}> [nixpkgs] @globin merged pull request #53043 → nixos/modules/networking/wg-quick Add wg-quick options support → https://git.io/fhIbC
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjsIb
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59628 → padthv1: 0.9.5 -> 0.9.6 → https://git.io/fjYf8
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsIN
Alling has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @ambrop72 opened pull request #60172 → Fix kernel oops on boot due to bug in i2c driver. → https://git.io/fjsLJ
ris has joined #nixos
apaul1729 has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @bachp opened pull request #60173 → plex: 1.15.3.876 -> 1.15.4.993 → https://git.io/fjsLI
<exarkun> "sdImage.rootPartitionUUID" seems to set the root *filesystem* uuid instead of the root partition uuid
nakkle has quit [Ping timeout: 258 seconds]
linarcx has joined #nixos
<gchristensen> welp
nakkle has joined #nixos
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 245 seconds]
<clever> exarkun: probably written with MBR in mind
linarcx has quit [Ping timeout: 255 seconds]
srhb has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @exarkun opened pull request #60174 → Fix the rootPartitionUUID description → https://git.io/fjsL3
srhb has joined #nixos
linarcx has joined #nixos
srhb has quit [Client Quit]
srhb has joined #nixos
srhb has quit [Remote host closed the connection]
srhb has joined #nixos
mconstant has joined #nixos
<emilsp> Has anyone got a nice deriviation for android development?
ggpeti has joined #nixos
wolfman154 has joined #nixos
alexherbo22 has quit [Quit: The Lounge - https://thelounge.chat]
<wolfman154> What area of computer science is nix based on?
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #60175 → Fix orca and re-add liblouis → https://git.io/fjsLW
mconstant has quit [Client Quit]
jasongro` has joined #nixos
<wolfman154> gchristensen++
<{^_^}> gchristensen's karma got increased to 109
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
jasongrossman has quit [Ping timeout: 250 seconds]
<azazel> hi guys, I' had installed some font packages some time ago and now I found out after one update that my Xorg apps don't see those fonts anymore... any idea how I can debug the situation?
Xiro` has joined #nixos
<clever> azazel: did you use fonts.fonts ?
alexherbo22 has joined #nixos
Xiro` has quit [Client Quit]
<azazel> clever: of course not, there's always a configuration option that I miss... :-D
<azazel> seems like someone is always creating new unknown options :-)
<azazel> thanks, I'll give it a shot
Xiroc has joined #nixos
Xiroc has quit [Client Quit]
Xiro` has joined #nixos
srid0 has quit [Ping timeout: 258 seconds]
Xiro` has quit [Client Quit]
Xiro` has joined #nixos
Xiro` has quit [Client Quit]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59600 → mxu11x0: 1.3 -> 1.4 → https://git.io/fjmFK
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @uralbash to master « mxu11x0: 1.3 -> 1.4 (#59600) »: https://git.io/fjsL1
Neo-- has quit [Ping timeout: 264 seconds]
wolfman154 has joined #nixos
wolfman154 has quit [Client Quit]
lovesegfault has joined #nixos
lordcirth_ has joined #nixos
ggpeti has quit [Ping timeout: 276 seconds]
lovesegfault has quit [Quit: WeeChat 2.4]
Myhlamaeus has joined #nixos
ggpeti_ has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #60176 → mousetweaks: init at 3.32.0 → https://git.io/fjstU
<colemickens> ?
reinhardt has joined #nixos
lovesegfault has joined #nixos
<aanderse-work> colemickens: are you on discourse at all?
<gchristensen> I only merge PRs which are not palindromes
<aanderse-work> colemickens: if so, you could mention on https://discourse.nixos.org/t/prs-already-reviewed/2617/22
travelion has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b closed pull request #59527 → torcs: add musicplayer.patch → https://git.io/fjm1i
johnnyfive has quit [Quit: I quit now.]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59516 → gmsh: 4.2.2 -> 4.2.3 → https://git.io/fjmPo
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjstc
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjstW
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59510 → gecode: 6.1.1 -> 6.2.0 → https://git.io/fjmiQ
zmacs has joined #nixos
<coconnor> wolfman12345[m]: in short - pure function all the things
srid0 has joined #nixos
<coconnor> err wolfman154 .. how many wolfman are there??
mwilsoncoding has joined #nixos
xkapastel has joined #nixos
<DigitalKiwi> at least twelve thousand three hundred and forty five
asymmetric has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59499 → fwts: 19.02.00 -> 19.03.00 → https://git.io/fjm6H
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjstE
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
asymmetric has quit [Client Quit]
asymmetric has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59454 → cadvisor: 0.33.0 -> 0.33.1 → https://git.io/fjm2l
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjstV
zupo has joined #nixos
iceypoi has joined #nixos
asymmetric has quit [Client Quit]
<{^_^}> [nixpkgs] @grahamc merged pull request #56565 → plex: rewrite to use FHS userenv → https://git.io/fhAYV
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjstr
<lordcirth_> dm-integrity works quite well with EFI, it turns out: http://termbin.com/ekbo
asymmetric has joined #nixos
avn has joined #nixos
cosmo_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @joachifm merged pull request #60120 → factorio: alpha 0.16.51 -> 0.17.32 → https://git.io/fj39i
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to release-19.03: https://git.io/fjstP
ardumont has quit [Ping timeout: 244 seconds]
<gchristensen> hey everyone, I'm going to be hosting regular Nix ecosystem office hours starting next week. It'll be a video call where anyone can drop in and chat about the Nix ecosystem: cool PRs, problems, improvements, how to help each other to improve Nix. If you're interested, please tell me when you're available over at https://doodle.com/poll/aq9iytabi3k7z9da#calendar -- thank you!
<slabity> gchristensen++
<{^_^}> gchristensen's karma got increased to 110
ATuin has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iceypoi> gchristensen++
<{^_^}> gchristensen's karma got increased to 111
ggpeti_ has quit [Ping timeout: 245 seconds]
<__monty__> gchristensen: Video logs? Ooh, or better yet do nix streams : )
ardumont has joined #nixos
<gchristensen> streams?
<{^_^}> [nixpkgs] @jtojnar opened pull request #60178 → buildPython*: allow overriding strictDeps → https://git.io/fjst9
<iceypoi> is it just me, or is the velocity at which PRs are being closed massively higher than the rate at which they come in?
<gchristensen> oh?
<iceypoi> something like 1500/mo are closed, 400 come in
<__monty__> Yeah, like ekmett and brian mckenna with their haskell streams.
Glider_IRC_ has joined #nixos
<gchristensen> what do they do on their streams?
<__monty__> Is 0 PR nirvana in sight?
<exarkun> 2is 0 PR nirvana or death?
<iceypoi> well, it'll just mean, that more meaningful ones will be looked at :P
<__monty__> They write code for hobby/research projects.
<iceypoi> some of them are really more like open ideas/rfc, etc.
<gchristensen> iceypoi:in the last 30 days, 1,700 PRs were opened
<gchristensen> iceypoi: 370 of them are still open, 1,330 of them are closed
PLPD-Bot has quit [Remote host closed the connection]
<infinisil> open PR count has been in the 1200-1300 range for a while I think
<iceypoi> gchristensen: I see 1443 closed, and 363 new, no?
<gchristensen> however many days that is :P
<samueldr> 363 currently open, 1443 closed?
<clr_> gchristensen, will the office hours be announced somewhere other than just IRC? I.e. discourse?
<iceypoi> i read the graphic as 363 were opened during that 30 days and 1443 closed
ggpeti has joined #nixos
<samueldr> among the 1443 closed, iceypoi, I guess a bunch were also opened during the month :)
asymmetric has quit [Quit: Peace.]
<__monty__> Oh, you're ignoring anything older than 30 days?
<gchristensen> iceypoi: yeah, it is a bit misleading
Glider_IRC has quit [Ping timeout: 246 seconds]
PLPD-Bot has joined #nixos
<iceypoi> well, I'm just trying to figure out, if the number is shrinking or not, lol
<iceypoi> because 1000+ is not exactly super healthy
<gchristensen> I don't think you can look at the raw number and determine health
<iceypoi> gchristensen: not exactly, of course. But if you see e.g. tons of PRs being created and very few closed off, that's not great
<samueldr> some projects cull open PRs without thought, ours doesn't really; PRs unresolved stay unresolved... a chunk of this number are WIP abandoned effort
asymmetric has joined #nixos
<gchristensen> sure
<gchristensen> but at hundreds of PRs merged a week, I'm not sure it is bad :)
<samueldr> (speaking from having combed through open PRs for a previous release)
asymmetric has quit [Client Quit]
reinhardt has quit [Quit: Leaving]
<iceypoi> gchristensen: no, definitely not. That's why I started looking into the data anyway. Because 1000+ is really not common
<samueldr> while some think it looks bad that the open PRs number is big, in reality the sheer amount of new and closed PRs over a span of time should be looked at, to better understand the situation
<iceypoi> gchristensen: but I also saw the velocity at which it gets closed, so it's just a very, very active project
<gchristensen> cool
<iceypoi> gchristensen: which is great
<gchristensen> for sure :)
<iceypoi> samueldr: which is what I did
asymmetric has joined #nixos
<iceypoi> samueldr: what why I was trying to understand the merges vs proposed / month graph
linarcx has quit [Quit: WeeChat 2.4]
<samueldr> yeah, good :) I was also laying out just generic words about the issue, since it's sometimes pointed to as "THE PROJECT IS IN TROUBLE EVERYONE ABORT" (while in no way I think this is an indicator)
<gchristensen> yeah
<iceypoi> samueldr: if anything, I really liked I think code frequency or whatever graph it was
<gchristensen> people seem to get spooked and upset when they see 1,000+ PRs, and it often takes a bit of a spiel to explain the context
<iceypoi> samueldr: it basically showed nixos having massively gathered momentum over the last 5 years for instance
<gchristensen> +1
<samueldr> hmm, should really fixup the github fetching thing I did (well, is there anything to fix?) and do the thing to fix the jupyter notebook from globin so we have the graphs produced on an interval
<gchristensen> yeah!
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59316 → torcs: anonscm.debian.org has moved → https://git.io/fjqPH
<iceypoi> gchristensen: what doesn't make it exactly easier for nixos is the fact that the whole linux ecosystem lives in nixpkgs and that's just a lot of reason for change
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @eri451 to master « torcs: anonscm.debian.org has moved (#59316) »: https://git.io/fjsqf
<gchristensen> sure
tboston_ has joined #nixos
kisonecat has quit [Ping timeout: 255 seconds]
linarcx has joined #nixos
<__monty__> Hmm, homebrew-core has far fewer open PRs. I wonder why?
aanderse-work has quit []
<gchristensen> they don't have an entire OS
<iceypoi> gchristensen: wow... that's like 10 times fewer PRs / month o.o
<samueldr> their github activity seems to have started in 2016, while nixpkgs is what, 2012?
<qyliss> (Ex-Homebrew maintainer here) they also ruthlessly close stale PRs and issues
<__monty__> Cool thing I learned about homebrew today. They have integrated `brew edit` and `brew bump-formula-pr --strict foo --url=newurl.tar.gz --sha256=tofu`
<qyliss> They used to have one Homebrew repo, but then split it into brew and homebrew-core
<iceypoi> I was more like like looking at velocity vs absolute number, tbh
<qyliss> nix has nix edit
<iceypoi> but in context, nixos is really active
lovesegfault has quit [Ping timeout: 258 seconds]
<gchristensen> qyliss glad to have you on the dark side =)
<samueldr> dark?
<gchristensen> it felt rude to describe homebrew as the dark side
<iceypoi> I really need to get nixos to run somehow on windows :P
<gchristensen> so let me rephrase
<gchristensen> qyliss: I'm glad to have you here :0
<qyliss> <3
<gchristensen> iceypoi: ghuntley has nixos nearly ready to go in to the windows app store
<iceypoi> I've been championing nixos to guys at work
drakonis has quit [Ping timeout: 246 seconds]
<iceypoi> gchristensen: oh ya, I know that pr
<__monty__> Hmm, can't figure out nix edit and I'm still missing manpages for nix.
<gchristensen> `nix edit hello`
<gchristensen> `nix edit --help`
<qyliss> nix edit -f . hello for a local checkout
<iceypoi> gchristensen: wonder what we have in store for WSL over the next few windows updates
<__monty__> Ah, so you need a nixpkgs repo?
<iceypoi> gchristensen: afaik the team is quite busy
kisonecat has joined #nixos
<gchristensen> ah
<{^_^}> [nixpkgs] @c0bw3b opened pull request #60179 → [19.03] torcs: fetch patch from stable source → https://git.io/fjsqm
<iceypoi> gchristensen: but honestly, once we get nixos into WSL and the store, I bet the useage will go up quite a lot
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59459 → cfr: 0.140 -> 0.143 → https://git.io/fjmaL
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « cfr: 0.140 -> 0.143 (#59459) »: https://git.io/fjsqY
<iceypoi> gchristensen: from my work colleagues, quite a few really like the idea of scripting your install and for WSL, it's absolutely perfect
ambro718 has joined #nixos
<iceypoi> gchristensen: because, you can use the same nix setup on all your workstations/machines
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59462 → cifs-utils: 6.8 -> 6.9 → https://git.io/fjmaC
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsqO
<ambro718> What are the option for running a different linux distro in a container (using the same kernel, not a VM)?
<iceypoi> ambro718: docker does, right?
<ambro718> in particular RPM-based one, is there a practical way to do that?
<monsieurp> why not using a plain old chroot?
<slabity> Yea, docker would likely be your best bet if there's already an image available
<monsieurp> everything has to be stuffed into a container these days
<monsieurp> weird
<ambro718> I'm just looking for a solution that is more lightweight than a VM and better integrates with the existing system
<iceypoi> pretty much every distro has a docker image these days
<slabity> It's containers all the way down
<iceypoi> i'm sure fedora will too
<ambro718> is docker the only practical option?
<ambro718> what about that systemd thing?
<monsieurp> iceypoi: amazing selling point
<monsieurp> I'm totally sold!!!
<ambro718> I don't like docker, it's too much hype :)
<slabity> ambro718: You mean LXC?
<iceypoi> monsieurp: what selling point? Sorry, I'm confused
<ambro718> no I mean some systemd container support thing
pie_ has joined #nixos
<tilpner> __monty__: It works without a local checkout here: nix edit -f "<nixpkgs>" hello
<slabity> There's lots of ways to do containers. Nixos-container, docker, lxc, etc.
<slabity> Just pick one and go with it
<lordcirth_> ambro718, you mean systemd-nspawn?
<ambro718> lordcirth_: probably yes
<ambro718> so, now I just need to figure out how to use rpm to install a centos rootfs
<slabity> That's more of a container service provider
<lordcirth_> ambro718, I would recommend using LXD.
<lordcirth_> You can have LXD download premade images for centos
<ambro718> I think it's quite the right thing. "systemd-nspawn may be used to run a command or OS in a light-weight namespace container. ... systemd-nspawn may be invoked on any directory tree containing an operating system tree ..."
<slabity> LXD can be used with libvirtd too, so you can just use virt-manager
<clever> nixos-container is just a wrapper arround systemd-nspawn
<ambro718> do I need to be root to run ldx? If yes then ****.
<__monty__> tilpner: It simply echos the file's contents here. With brew you get the file opened in your EDITOR and then like I said, after some fiddling you can submit a PR through the cli. That's just nice and convenient, would probably make submitting version bumps more of a crowdsourced thing.
<monsieurp> is there a tool a la debootstrap to bootstrap nixos?
<gchristensen> you essentially have root if you can use docker, too
<exarkun> monsieurp: nixos-install?
<exarkun> monsieurp: what are the essential features of debootstrap you're interested in?
<gchristensen> every build of nixos is effectively bootstrapping itself
<ambro718> systemd-nspawn and containers in general don't need root, right?
<slabity> monsieurp: There's a nix expression that just builds a Nixos directory tree. I know another to build an ISO image
<ambro718> kernel allows various isolation function to non-root by default, I think
<clever> slabity: nix-copy-closure --to local?root=/mnt/ /nix/store/foo, lets you copy things to /mnt/nix/store/, including the entire closure
<monsieurp> exarkun: well.. deboostraping nixos maybe :)
<slabity> ambro718: Depends on a lot of different variables - cgroups, user/group permissions, etc.
<clever> slabity: the result wont work right until you somehow map /mnt/ to /, via either chroot, containers, or booting it as /
<gchristensen> "warning: reject refs/heads/HEAD because shallow roots are not allowed to be updated" wat
<monsieurp> slabity: right but what if I want to bootstrap NixOS from, say, Debian?
<exarkun> monsieurp: you can install nix on debian
<slabity> monsieurp: You'd install nix on debian then run the expression
<monsieurp> right
<ambro718> I can't install yum in NixOS?
<clever> > yum.meta.description
<{^_^}> undefined variable 'yum' at (string):252:1
<gchristensen> you can't *meaningfully* install yum
<clever> ,locate bin/yum
<{^_^}> Couldn't find in any packages
<slabity> ambro718: That would defeat the point of NixOS
<ambro718> what why?
<ambro718> I want a centos chroot
<clever> ambro718: i think having yum target a chroot dir is the only meaningfull way yum can work on nixos
<ambro718> yeah but there is no yum package in nixpkgs
<gchristensen> as a die-hard fan of nix and nixos ... I'd recommend just using a docker container. you'll have an easier time of it ...
<slabity> Yea, sounds like nobody really had a need to package yum
<tilpner> __monty__: nix edit will use EDITOR too
<__monty__> tilpner: It simply echoed the file contents to stdout for me.
<ambro718> I'll try ubuntu with debootstrap then just to see how well systemd-nspawn works :)
<clever> slabity: yeah, im surprised its missing
<tilpner> __monty__: Even with EDITOR=echo?
<slabity> clever: Likely because 99.999% of yum packages are already packaged with dpkg/apt, which is in Nixpkgs
<clever> yeah, that makes sense
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59452 → bindfs: 1.13.10 -> 1.13.11 → https://git.io/fjmgC
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsq2
<__monty__> tilpner: Ah, you're right. Implementation must be faulty and not prefer VISUAL over EDITOR.
* tilpner never heard of VISUAL
<clever> tilpner: thats for graphical editors
<tilpner> Check for relevant issue and file as needed?
<gchristensen> or PR! :)
<slabity> Seems to prefer EDITOR over VISUAL for me
Ariakenom has joined #nixos
<__monty__> It's not for graphical editors. It's for *visual* editors, like vim, nano or emacs -nw. As opposed to line based editors, like ed.
<slabity> Ah, I'm thinking of PAGER
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59445 → atlassian-cli: 8.0.0 -> 8.2.0 → https://git.io/fjmzw
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsq6
<monsieurp> slabity: could you please tell me what's the expression to bootstrap a nix systemd in a directory you mentioned earlier?
<monsieurp> s/systemd/system/
<slabity> Yea, does anyone know how to search through the chat for my name? I can probably find it archived somewhere.
<__monty__> Depends on how it's logged. In the current session something like /last or /lastlog may work. Otherwise something like `rg '<.slabity>' .irclogs` might work.
<{^_^}> [nixpkgs] @dtzWill merged pull request #59670 → python37Packages.PyChromecast: 3.0.0 -> 3.2.0 → https://git.io/fjYqq
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjsqX
<tilpner> Click on the timestamp to get the surrounding lines
<slabity> tilpner++
<{^_^}> tilpner's karma got increased to 23
<slabity> The expression is `nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel -I nixos-config=configuration.nix`
<slabity> Just point it to a valid `configuration.nix` file and it should build a derivation of it
psyanticy has quit [Quit: Connection closed for inactivity]
zupo has joined #nixos
<{^_^}> [nixpkgs] @bendlas pushed to master « chromium: 73.0.3683.103 -> 74.0.3729.108 »: https://git.io/fjsqH
<iceypoi> what exactly does sandbox do, if I may ask?
<{^_^}> [nixpkgs] @bendlas pushed to release-19.03 « chromium: 73.0.3683.103 -> 74.0.3729.108 »: https://git.io/fjsq5
<iceypoi> so it's basically building in a chroot?
<gchristensen> in the sense that it uses private PID, mount, network, IPC and UTS namespaces, and a chroot is a primitive attempt at donig that, sure
<simpson> iceypoi: "basically" is a pretty bad word here, IMO; "builds run in private PID, mount, network, IPC and UTS namespaces to isolate them from other processes in the system"
<simpson> The isolation is the point, not the mechanism.
<iceypoi> I didn't mean to be disrespectful, just trying to express it in terms I'm used to. Also trying to figure out, if it's a really bad idea to turn it off on WSL
<gchristensen> iceypoi:I didn't take it as disrespectful :)
<iceypoi> it doesn't want to install with the default installer
o1lo01ol1o has quit [Remote host closed the connection]
<gchristensen> chroots are just quite primitive, and the namespacing is much better
<simpson> iceypoi: No worries. "basically" is one of those words that people use to paper over understanding and communication by instead replacing a personal analogy which is more comforting. It's a risky word for indicating that you grok something.
<slabity> It's basically a super chroot
<iceypoi> fair enough :D
_kwstas has joined #nixos
<gchristensen> ugh that problem
<iceypoi> it's "unpacking channels..."
<iceypoi> so progress
<gchristensen> I've been wanting to allocate time to improving the sandbox problems, but time is limited and it is not very easy to get work-time for things like that
<iceypoi> now I've gotta see, if I can get home-manager working
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59232 → grpc: update version and build shared libs → https://git.io/fjtAf
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fjsqb
<iceypoi> because if I could get using something moderately hacky get home-manager work on WSL, that might already have quite an impact on userbase
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60179 → [19.03] torcs: fetch patch from stable source → https://git.io/fjsqm
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to release-19.03: https://git.io/fjsqx
<gchristensen> __monty__: mind PMing me a bit about haskell streams?
<__monty__> Sure, not that I know much.
<gchristensen> please tell me what you do know :)
<gchristensen> streaming is completely foreign to me
v88m has quit [Quit: Quit]
v88m has joined #nixos
kleisli has quit [Ping timeout: 255 seconds]
<ambro718> Anybody played with machinectl? I need to get past this problem https://github.com/NixOS/nixpkgs/issues/12347
<{^_^}> #12347 (by jgillich, 3 years ago, open): machinectl does not work
<gchristensen> 1234....soclose,but...7
<ambro718> how would one go about enabling systemd-importd?
civodul has quit [Remote host closed the connection]
civodul has joined #nixos
<pie_> so the general narrative of nix seems to put a lot of emphasis on the reproducibility, but it sounds to me that the fact that you can develop a system more like a software project as opposed to a ball of mud sounds like a more immediate win for me
<pie_> does that make any sense?
<infinisil> #12345
<{^_^}> https://github.com/NixOS/nixpkgs/issues/12345 (by davidak, 3 years ago, open): HiDPI support
<gchristensen> I agree, pie_
<pie_> reproducibility could basically be a buzzword in this context?
<gchristensen> pie_: I've done some cool TDD of firewall rules with nixos, and have some ideas on other testing mechanisms there
<pie_> how much reproducibility and have and what does it get us? dont get me wrong im all in favor of it, im just not sure if we're emphasizing the wrong stuff
<pie_> alternatively, maybe its just what *ive* been telling people and *I* was doing it wrong
<simpson> pie_: I'm not sure I understand; my Nix files *are* balls of mud.
<pie_> simpson, well, as opposed to the result of maybe some bash / ansible scripts?
kleisli has joined #nixos
<pie_> i hope to think we're better but i have minimal experience with anything other than nix
<simpson> pie_: Those are *just as* messy, to me. Not better, not worse. Nix's strengths lie in features like dry-running and reproducible builds, I think, not especially in readability.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59455 → catch2: 2.7.0 -> 2.7.2 → https://git.io/fjm2P
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « catch2: 2.7.0 -> 2.7.2 (#59455) »: https://git.io/fjsmq
o1lo01ol1o has joined #nixos
<pie_> simpson, i didnt mean readability, i meant something else - im not clear on what either
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59432 → epeg 0.9.2 → https://git.io/fjmEc
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsmm
<pie_> maybe its just that "everything" is in one place
<pie_> ive had this in the back of my mind for a few days but its meta and murky
<pie_> which is to say id love it if someone can clear the waters a bit :p
kisonecat has quit [Ping timeout: 250 seconds]
<simpson> I'm not sure if there's some specific property of Nix which, for example, causes Nix-based tools to be less buggy than Ansible, Saltstack, Terraform, etc. AFAICT it's quite possible to write buggy/crappy tools with Nix too.
<gchristensen> the fact that almost all the interesting stuff happens at build time makes the stakes much lower
<{^_^}> [nixpkgs] @symphorien opened pull request #60181 → rls: 1.31.7 -> 1.34.0 → https://git.io/fjsms
<clever> simpson: cat /dev/urandom > $out/bin/foo
<pie_> (i was weaned on debian/crunchbang but really im growin up as an admin under the wings of nixos)
o1lo01ol1o has quit [Remote host closed the connection]
<clever> simpson: what are the chances it will build a working executable? :D
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #56075 → evmdis: init at unstable-2018-03-23 → https://git.io/fhdX4
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjsmZ
<iceypoi> could we have the nix installer script special case WSL? it looks like one has to disable sandboxing and sqlite, but then it works just fine
<simpson> clever: Heh.
<simpson> For those not initiated: https://en.wikipedia.org/wiki/Chaitin's_constant
<clever> simpson: 0%, the cat will never end, until you run out of disk space :P
<slabity> iceypoi: Really? It's working? I'm quite surprised about that
<{^_^}> [nixpkgs] @c0bw3b merged pull request #58607 → postgresqlPackages.plv8: 2.3.8 -> 2.3.11 → https://git.io/fjk2O
<iceypoi> slabity: not nixos, but nix is
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsmc
<gchristensen> how do you disable sqlite?
<simpson> clever: Oh, sure. Sorry, I thought you were pointing at a more interesting question.
<iceypoi> slabity: even home-manager is working
<sphalerite> wasn't it just the sqlite wal?
<slabity> Nice
<{^_^}> nix#2292 (by grandynguyen, 40 weeks ago, open): WSL Nix installation db.sqlite is busy
<clever> simpson: my initial thought, is what is the chance of pure random bytes being a valid ELF file
<clever> simpson: then i realized, the build will never finish :P
<gchristensen> oh the wal
<pie_> clever, i made the mistake too, but i mean this might basically be making the point? :P
<slabity> Does that mean Nix will soon be supporting Windows? :P
<gchristensen> Nix already supports WSL
<iceypoi> slabity: well... yes, it does...
<pie_> im pretty sure someone tested nix on windows before
<gchristensen> and some people cross-compile to windows
<clever> pie_: its more an issue of if the build succeeds, but did rng, so each user gets something diff
<iceypoi> what I want, though, is for it to be a no-pain process
<iceypoi> so I can just point my colleagues at the install script and it just works :P
<pie_> clever, <gchristensen> the fact that almost all the interesting stuff happens at build time makes the stakes much lower
<iceypoi> so basically script up the 2 work-arounds
<iceypoi> until WSL is good enough for nixos
<pie_> but ok im being a little playful, one line of failing bash does not necessarily a deep insight make
<parsnip> am i not allowed to add files to `/Users/alice/.nix-profile/share/info`?
<sphalerite> parsnip: only by installing a package
<parsnip> i tried `touch dir`, and it says `touch: cannot touch 'dir': Permission denied`
<clever> parsnip: create a derivation that contains a $out/share/info, and then install it with nix-env -i
<parsnip> hmm, i'm trying to fix that i can do `info mu4e`, but emacs does not see these. i think it needs a `dir` file.
<clever> nix-env doesnt support generating any special index after merging all packages into one dir
<parsnip> the info for git is in that same directory, so this is not limited to mu4e.
<clever> systemPackages does
<ambro718> huh, changing the systemd package causes a pretty mass rebuild
<sphalerite> yep
<clever> ambro718: systemd provides udev, and a lot of graphical stuff ties into udev to detect what gpu you have
<andi-> ambro718: set systemd.package in you system config if you just want to replace the daemon that is used on your system without rebuilding everything
<ambro718> andi-: yeah will do that, thanks
<parsnip> clever: ah, i think i actually grok that, thank you!
<pie_> gchristensen, can we actually substantiate this? :P https://grahamc.com/blog/nix-and-layered-docker-images "Nix makes it easy to go back in time and rebuild software from years ago without issue."
<gchristensen> sure
<clever> parsnip: that gets ran after creating /nix/store/hash-system-path/, and updates any indexes within it, which then lands at /run/current-system/sw/
mkoenig_ has quit [Quit: Lost terminal]
<sphalerite> pie_: nix build -f channel:nixos-13.10 pkgs.hello
<ambro718> unless the build fails because it sees kernel version 5.0?
mkoenig has joined #nixos
<pie_> sphalerite, i tried to build an eclipse from long ago and it didnt work well
<ambro718> can nix fake the kernel version?
<clever> ambro718: yes
<sphalerite> pie_: how did it fail?
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #58534 → sumatools: init at 1.0.34 → https://git.io/fjTSE
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsmu
<pie_> sphalerite, cant rememmber offhand...hm
<gchristensen> pie_:how about an emacs from 2012
<gchristensen> `git checkout 0.14; nix-build . -A emacs`
<pie_> im not set up for that but would be nice :D
<andi-> So the nix daemon seems to cache narinfo files across restarts of the daemon. It doesn't put it in the /nix/var/nix/db/db.sqlite (as far as I can tell). Any idea what I am missing? I am toying with some local network (mdns discovery...) binary caching..
<gchristensen> I guess it is sort of cheating since I'm actually just fetching emacs from the cache
<clever> andi-: ~/.cache/nix/binary-cache-v* as root
<pie_> gchristensen, hm :p
<andi-> clever: aahhh.. I was looking at /nix/var/nix/binary-cache-v3... on one of my machines but that hasn't been written to in years.
<clever> andi-: you can just blow the cache away with rm, nix will remake the DB's
<andi-> That is where it went..
realrokka has quit [Read error: Connection reset by peer]
<clever> andi-: non-root users can now manage the same cache, in their own home
<ambro718> clever: that's great :)
<andi-> clever: just saw that. Thanks! :)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #58484 → cudnn_cudatoolkit_10: 7.3.1 -> 7.4.2 → https://git.io/fjTBR
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsm2
civodul has quit [Ping timeout: 276 seconds]
tboston_ has quit [Ping timeout: 244 seconds]
Ariakenom has quit [Quit: Leaving]
realrokka has joined #nixos
<gchristensen> pie_: ok, just tested -- I was able to compile emacs from 2012 just fine. it wasn't binary reproducible :)
<sphalerite> clever: isn't that only for when it's not going through the daemon though?
<pie_> gchristensen, \o/
<sphalerite> andi-: also, arguably less hacky is passing --narinfo-cache-negative-ttl and --narinfo-cache-positive-ttl
<clever> sphalerite: yeah
<gchristensen> pie_:I would have tried one from 2006 but it required a mild change to my host's config and I didn't want to do that
Anton-Latukha has quit [Quit: Leaving.]
zmacs has quit [Quit: zmacs]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @tex opened pull request #60182 → grip-v0.7: indexed grip → https://git.io/fjsmw
<pie_> i imagine windows doesnt have stuff like RPATH and whatnot
* pie_ thinks about managing WINE with nix again...
<clever> pie_: windows loads dlls from PATH, the dir of the exe, and the current dir, dont remember the exact order
<pie_> not even sure how many things you need for a nixlike approach to work right
<{^_^}> [nixpkgs] @etu opened pull request #60183 → Testssl upgrades → https://git.io/fjsmr
Kumool has left #nixos ["Ploop"]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #58366 → commit for u-boot build of bananapim64 → https://git.io/fjU0w
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @samrose to master « uboot: add Banana Pi M64 (#58366) »: https://git.io/fjsmK
joebobjoe has joined #nixos
<worldofpeace> is repositories.git a real meta attribute?
<joebobjoe> hi, I switchede from brew to nix, and nix seems a lot more unstable for me (as far as the programs' installed ability to start). why is this? after os upgrades I always seem to get linker errors when starting programs installed with nix
<joebobjoe> for example, when I run pwgen I get
<joebobjoe> dyld: Library not loaded: /usr/lib/system/libsystem_network.dylib Referenced from: /nix/store/12yshvbpz9hjn7khzzf0ar67kaw6g7f7-Libsystem-osx-10.11.6/lib/libSystem.B.dylib Reason: image not found
<joebobjoe> Abort trap: 6
<joebobjoe> huh. I did a nix-env --install pwgen and now it works
<joebobjoe> weird, I did an upgrade already. why was there anything to install. did it reinstall?
<{^_^}> [nixpkgs] @herrwiese opened pull request #60185 → nextcloud: 15.0.6 -> 15.0.7 → https://git.io/fjsmD
mwilsoncoding has quit [Quit: Page closed]
<clever> joebobjoe: how did you previously upgrade?
<joebobjoe> nix-env -u
<joebobjoe> I haven't been using nix for very long
<joebobjoe> it didn't change the pwgen version number
<joebobjoe> but it did something along the lines of these paths will be fetched (0.01 MiB download, 0.03 MiB unpacked)
<joebobjoe> maybe the pwgen package was updated to fix the linker error?
zupo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<sphalerite> ,imperative joebobjoe
<{^_^}> joebobjoe: nix-env has multiple drawbacks as an imperative package manager. nix-env -u will sometimes upgrade to the wrong thing; the outputs to install are very finicky to override; and packages that have been removed or are otherwise unavailable will remain in your profile without any warnings. Consider using a ,declarative setup instead.
<sphalerite> joebobjoe: basically nix-env -u sucks, unfortunately.
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @rick68 opened pull request #60186 → softether: 4.25 -> 4.29 → https://git.io/fjsmF
<monsieurp> uh.. the nixpkgs repository log is a bit of a mess :(
<ambro718> I want to compile systemd with importd support (-Dimportd=true), but in that case systemd depends on dbus, and dbus depends on systemd -> infinite recursion, WTF do I do?
<gchristensen> monsieurp: how do you mean?
<monsieurp> git log --graph --decorate --pretty --summary --color=auto --stat --format=fuller
<parsnip> I'm floundering `environment.extraOutputsToInstall = [ "info" "mu4e" "git" ];`
<monsieurp> parent-child branches all over the place
<parsnip> does not fix
<gchristensen> what does it matter?
<etu> monsieurp: That happens in big projects
<simpson> monsieurp: Looks fine to me. Happens when people actually *use* git.
<sphalerite> monsieurp: there's too much parallel development for it to be reasonable to rebase everything.
<gchristensen> we've received over 100 PRs in the last day, a pretty graph isn't really in scope
<sphalerite> monsieurp: you'll see the same in linux for example.
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/aff2ba0cd27 (from 54 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<monsieurp> I must disagree unfortunately
<gchristensen> that is okay, you don't have to agree :)
<simpson> monsieurp: No worries. Anyway, what did you *actually* want to look for?
<monsieurp> sphalerite: Linus uses merge commits for a good reason
<gchristensen> a lot of cool work done in the Nix ecosystem is because somebody didn't like it
thePirateKing has quit [Ping timeout: 255 seconds]
<sphalerite> monsieurp: what problem is this causing for you?
nikivi has quit [Read error: Connection reset by peer]
<parsnip> hmm, but that did make mu4e and git available to command line git "table of contents"
<etu> monsieurp: So do we, not all changes are based on the current HEAD, so a merge is needed to put it there. Unless the person merging also happen to rebase everything every time something is put in. But someone else rebasing other people's commits will break things like gpg signatures of commits etc.
<monsieurp> sphalerite: merge commits mean something particular
<parsnip> *command line info
<ambro718> I did this systemd package override, https://paste.ubuntu.com/p/v7pfNWh9Vt/, can someone see why it would be failing to find dbus via pkg-config?
<sphalerite> monsieurp: the problem that the state of nixpkgs's history causes for you is that merge commits mean something particular? \:|
<sphalerite> ambro718: I'm not sure that this would cause the problem, but overrideAttrs (used the same way as overrideDerivation) is preferred
nikivi has joined #nixos
<{^_^}> [nixpkgs] @joachifm opened pull request #60187 → nixos: configurable system-wide malloc → https://git.io/fjsYL
tboston_ has joined #nixos
<ambro718> sphalerite: that actually fixed it, thanks
<gchristensen> monsieurp: in what way is our merge commit not adequate, and what is the good reason for which Linus uses that?
apaul1729 has quit [Remote host closed the connection]
* sphalerite is a bit confused by the mentions of Linus
<sphalerite> :p
<gchristensen> :D
<simpson> sphalerite: Well, some of us have been yelled at by Linus before, and being yelled at by Linus automatically grants skill with git~
<monsieurp> hold on a sec, I never said it's inadequate! you're putting words into my mouth
mexisme has joined #nixos
<gchristensen> monsieurp: sorry, I don't mean to put words in your mouth. however, I understand that we use merge commits too, but my understanding from what you said is they're not the right merge commit
* sphalerite has some sleep to deal with. sleep > dealing wiht trolls :D
<gchristensen> g'night sphalerite
<pie_> sphalerite is very troll-happy these days :p
<pie_> sphalerite, good night anyway o/
<joebobjoe> sphalerite: so don't use nix-env? is there any way to determine what nix-env --install pwgen just did?
<joebobjoe> did it replace the version?
<joebobjoe> how do I know?
<joebobjoe> is there a log on macos?
<monsieurp> I think that for one-off contributions that are meant to add/remove a package to a repo as large as nixpkgs, merge commits tend to pollute the history log, especially those quick merges offered through the Github merge button
<monsieurp> the right question is: what is the rationale for not keeping a linear log?
tboston_ has quit [Ping timeout: 276 seconds]
mexisme has quit [Ping timeout: 255 seconds]
<simpson> monsieurp: People are working concomitantly and an explicit linearization (above that created by git already) would slow down the process for no gain.
<simpson> Additionally, git *supports* this model of development; the tool is being used as it ought.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #58290 → gogs: fixed buildtime tags bug → https://git.io/fjUtj
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsYG
<monsieurp> simpson: hmm..
<monsieurp> I'm trying to process your 1st sentence
<joebobjoe> what does *concomitantly* mean
<monsieurp> concurrently
<simpson> "Concurrently", more or less. Multiple people, multiple things happening at once.
<__monty__> Dictionary says "naturally accompanying or associated."
<monsieurp> another one of those pesky latin words
<simpson> monsieurp: To flip this around, what's your rationale for having us change our process?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d77256c604a (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<monsieurp> who said I want to disrupt the current process?
alexherbo22 has quit [Quit: The Lounge - https://thelounge.chat]
<simpson> You did, by using your words to start a conversation about the process.
alexherbo2 has joined #nixos
zupo has joined #nixos
<mdash_> monsieurp: does there need to be a reason?-)
<monsieurp> nobody should change a single thing if that process works well for developers
<monsieurp> of course not
<simpson> So what's the deeper desire? It's not a great resolution to say that we fail to draw pretty pictures because we are too busy getting stuff done...
<mdash_> monsieurp: i guess all i'd say is that different projects assign different meanings to merge commits
ATuin has quit [Ping timeout: 250 seconds]
<monsieurp> mdash_: indeed :)
jneto has joined #nixos
<monsieurp> simpson: it's really about discussing git practices
<simpson> monsieurp: Oh. So the entirety of what you wanted to communicate is that our git logs are messy to you because we don't have the same practices that you'd prefer we have?
romildo has joined #nixos
<romildo> ryantm, hello.
ambro718 has quit [Quit: Konversation terminated!]
nD5Xjz_ has quit [Ping timeout: 246 seconds]
<monsieurp> simpson: my apologies if my questions rubbed you the wrong way (it apparently did), I hope we can still debate though
nD5Xjz has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
<simpson> monsieurp: Sorry, this channel isn't for that. If you really do want us to change how we use git, consider writing an RFC (https://github.com/NixOS/rfcs)
<parsnip> is github to blame? i guess they have more just one option to merge a PR
<linarcx> How to prevent package to be upgrade during nix-build --upgrade?
<parsnip> *more than
<monsieurp> simpson: which channel is more appropriate for such questions/debates?
<parsnip> but doing it in the github webapp may not show if there is a cleaner way to merge before doing so
<iceypoi> btw regarding merge commits. If I get it correctly, GitHub actually lets you configure the repo for auto-rebase upon accepting a pull request
<iceypoi> and also squashing, in case that's something you want
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fjsYu
<{^_^}> [nixpkgs] @jtojnar merged pull request #60178 → buildPython*: allow overriding strictDeps → https://git.io/fjst9
<simpson> monsieurp: There's #nixos-chat, where offtopic chat is allowed. There's also a NixOS dev channel but this is not really appropriate there without an RFC first, or at least a shred of evidence beyond artistic concerns.
<parsnip> iceypoi: i'm not a fan of using github to "create/modify commits"
<monsieurp> simpson: thank you, I will ask my questions in the #nixos-chat channel next time
<parsnip> that includes merges, rebases, etc
<linarcx> Guys..
ambro718 has joined #nixos
<linarcx> How to ignore a package during system upgrade?
aanderse_ has joined #nixos
<iceypoi> parsnip: just putting it out there, because with the volume of PRs going in, manual rebasing is just not possible, really.
<simpson> linarcx: Doing something like nixos-rebuild? AFAIK one must rebuild the entire system profile at once; there's not really a way to mix and match nixpkgs.
aanderse has quit [Ping timeout: 276 seconds]
<immae> Hello there! Say I have a sensible value, that I use during a derivation build, but that is not in the output (here, I use an encrypted file as a src, and I want to decrypt it during the build by providing the password). Can anyone else on the system have access to that password during the build, or is it correctly sandboxed to avoid that?
zarel has quit [Quit: Leaving]
joebobjoe has quit [Quit: Lost terminal]
<linarcx> simpson: Yes, nixos-rebuild. i have some c++ packages and i use them in nix-shell. i don't know how to pin theme, without gc delete them every time. so i put them in configuration.nix, and evrey time a lot of packages ask to update. :(
<simpson> linarcx: https://github.com/target/lorri is a tool which may help with that. I don't personally use it.
<linarcx> simpson: Thank you. i'll check it out.
__monty__ has quit [Quit: leaving]
work_ has joined #nixos
<jneto> I have a custom nix expression for a package that doesn't have a .desktop file, so I wrote one myself. How do I copy this file to build dir?
_kwstas has quit [Quit: _kwstas]
<{^_^}> [nixpkgs] @jtojnar pushed to release-19.03 « buildPython*: allow overriding strictDeps »: https://git.io/fjsYi
<jneto> s/package/application/
neonfuz__ is now known as neonfuz2
<AlexRice[m]> linarcx: I found the suggestions in https://github.com/NixOS/nix/issues/2208 worked for a haskell project
<{^_^}> nix#2208 (by goodwillcoding, 46 weeks ago, open): nix-shell dependencies can be garbage collected any time now / persistent nix-shell envs
vidbina has quit [Quit: vidbina]
sindrip has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #58001 → linux_rpi: 1.20180919 -> 1.20190215 → https://git.io/fjf6u
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjsYD
<jneto> I get the application via fetchzip and the .desktop file locally. A multi-source scenario.
civodul has joined #nixos
<AlexRice[m]> jneto: does something like `cp {./path/to/file.desktop} $out` in postInstall or something work?
jb55 has quit [Ping timeout: 244 seconds]
ddellacosta has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aff2ba0cd27 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<jneto> AlexRice[m]: that's it. thank you!
nixy has quit [Remote host closed the connection]
npmccallum has quit [Ping timeout: 244 seconds]
kyren has quit [Quit: ZNC 1.7.2 - https://znc.in]
nixy has joined #nixos
kyren has joined #nixos
m0rphism has quit [Ping timeout: 250 seconds]
emilsp is now known as lempis
lempis is now known as emilsp
<{^_^}> [nixpkgs] @dtzWill closed pull request #58683 → intel-gmmlib: 18.4.1 -> 19.1.1 → https://git.io/fjkNY
ddellacosta has quit [Ping timeout: 276 seconds]
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
st4ll1 has joined #nixos
srid0 has quit [Ping timeout: 255 seconds]
Lisanna has joined #nixos
romildo has quit [Quit: Leaving]
tboston_ has joined #nixos
kleisli has joined #nixos
jb55 has joined #nixos
mwilsoncoding has joined #nixos
mwilsoncoding has quit [Client Quit]
jasongro` has quit [Ping timeout: 245 seconds]
srid0 has joined #nixos
erasmas has quit [Quit: leaving]
tboston_ has quit [Ping timeout: 255 seconds]
n_db has joined #nixos
nikivi has quit [Quit: ZNC is awesome]
<arianvp> Well that was another fun debugging session
<jschievink[m]> Fatal error: glibc detected an invalid stdio handle
<jschievink[m]> /run/current-system/sw/bin/nixos-rebuild: line 208: 4159 Aborted nix-channel --update nixos
<jschievink[m]> ^ ouch
mmlb has quit [Ping timeout: 255 seconds]
<Lisanna> WHen I am setting services.unbound.enable = true and trying (and failing) to configure it, suddenly the nixos machine that I'm running it on can't do DNS queries. I don't want my nixos machine to use the unbound service /as its own/ DNS resolver unless I explicitly set that. I'm not using any special networking settings otherwise - what's going on?
<Lisanna> I looked at the unbound module code and I don't see anything that would be implicitly changing settings like that, unless there's code in some other networking module that's responding to it
<arianvp> jschievink[m]: oucj
Rusty1 has quit [Quit: Konversation terminated!]
oida has quit [Remote host closed the connection]
oida has joined #nixos
<ajs124> Lisanna, are you using networkmanager? How about systemd-resolved or nscd?
<Lisanna> ajs124: I haven't changed any of the default networking options
<ajs124> Ah, no. Found it. nixos/modules/config/networking.nix checks for services.unbound.enable and adds 127.0.0.1 to the resolvconf.conf
<Lisanna> UGH
<Lisanna> that's so silly to do that automatically
<Lisanna> because it's *so easy* misconfigure things like bind and unbound
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
mmlb has joined #nixos
<Lisanna> omg I can't even turn that off
<ajs124> You can add another working dns server through networking.nameservers
<ajs124> Does your resolv.conf only include your local resolver? I don't know much about resolvconf.conf…
nD5Xjz has quit [Ping timeout: 245 seconds]
nD5Xjz has joined #nixos
tboston_ has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
<emilsp> is modules.nix special in any way?
<infinisil> emilsp: module-list.nix?
<infinisil> Or lib/modules.nix?
<emilsp> infinisil: I'm actually looking at your znc module :) I've got my own specific zncDeriviation that builds just fine on it's own, but when I'm trying to import it, it just won't
<emilsp> But yes, lib/modules.nix
thc202 has quit [Ping timeout: 276 seconds]
<infinisil> It's not special no, all of lib is defined similarly
<emilsp> hmm, so I'm accessing pkgs.zncModules.$ but I've never seen pkgs.zncModules being defined as such.
<emilsp> This is of course only tangential to my problem.
tboston_ has quit [Ping timeout: 245 seconds]
* infinisil is not sure how he can help here
<infinisil> Is there a specific problem?
mmlb has quit [Ping timeout: 276 seconds]
<emilsp> erm, I'
aanderse_ has quit []
<emilsp> would you be ok with a pm ?
<infinisil> I don't mind
aanderse has joined #nixos
mconstant has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cf3e277dd0b (from 86 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
[Leary] has joined #nixos
mconstant has quit [Ping timeout: 258 seconds]
anaothmane has joined #nixos
Lears has quit [Ping timeout: 255 seconds]
mconstant has joined #nixos
<anaothmane> Hello! After the upgrade to 19.03 my keyboard is qwerty (using xfce4 keyboard settings does not change anything, my shortcut is not responsive) and my mouse is not working at all. What is happening? The mouse works with the previous build but the keyboard is qwerty there as well
<anaothmane> I'm using i3 with xfce4 as a DE
<anaothmane> My keyboard should be in azerty
ggpeti has quit [Ping timeout: 245 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<Ashy> as a temp workaround can you `xsetkbmap azerty`?
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
<anaothmane> Ashy, is it through a command? I don't find it in my path. What is it in?
<NemesisD> how would i append to a derivation's buildInputs? would it be like `foo = foo // {buildInputs = foo.buildInputs ++ [blah]};` ?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cf3e277dd0b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
mbrgm_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<gchristensen> foo = foo.overrideAttrs (old: { buildInputs = old.buildInputs ++ [ blah ]; })
<infinisil> anaothmane: It's `setxkbmap`
<Ashy> anaothmane: oh, woops, setxkbmap is the command
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
mexisme has joined #nixos
<anaothmane> infinisil and Ashy, yeah it works thanks
<anaothmane> Though the mouse is still unresponsive
<anaothmane> xfce4-mouse-settings only sees the touchscreen and the synaptics touchpad, even though I activated libinput
<anaothmane> That's weird
Glider_IRC_ has quit [Ping timeout: 255 seconds]
<anaothmane> I didn't update the system.stateVersion, maybe that's why
<NemesisD> gchristensen: thank you!
<gchristensen> :)
<gchristensen> ,stateVersion
<{^_^}> Setting stateVersion to the latest release doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you want to update the stateVersion option regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value.
<anaothmane> gchristensen, I followed the notes there
<anaothmane> Broke my mouse support it seems :/
ggpeti_ has joined #nixos
<kandinski> please bear with me a moment: in nix, we name packages by the hash of its inputs, not of its binary substitutions. Is this correct?
ggpeti_ has quit [Ping timeout: 245 seconds]
<gchristensen> the binary substitution is considered a cache, and is more coincidental than anything else
<gchristensen> so yes, its identity is based on its inputs
<emilsp> infinisil or anyone with znc knowledge - on arm, it seems that LoadModule = [ "module-1" "module-2" ]; gets turned into invalid xml - LoadModule = module-1\nmodule-2 is this expected?
<infinisil> Hmm!
<infinisil> znc config isn't xml, but that does look invalid
<kandinski> gchristensen: thanks. It's the same for docker image IDs. So there is no verification function to th hash in either case.
<gchristensen> kandinski: what do you mean?
<emilsp> right, it's not xml, but the generated config file seems to not be valid :/
<kandinski> if I name a thing by its hash, like for instance in IPFS, I can verify the network gave me the thing I asked for by taking the hash of the object I receive.
<simpson> kandinski: There's a technical notion in Nix, the *derivation*, that makes precise exactly what is being hashed, and thus what is being verified.
<gchristensen> kandinski: we use public key signing to ensure the cache provided a binary from a trustworthy source
<kandinski> simpson: that's what I meant above. The derivation is an input. We hash it, and with that hash we name the thing that comes out of the derivation.
<simpson> But yeah, don't use Nix packages from folks who you don't trust.
<infinisil> emilsp: Can't reproduce with a `config.LoadModule = [ "foo" "bar" ]`, resulting file is `LoadModule = foo\nLoadModule = bar` as it should
<emilsp> infinisil: if it helps at all, if I add a typo to LoadModule, it generates almost valid config files :)
<kandinski> I'm just trying to separate the systems that use naming based on hashes of inputs (nix, docker) versus systems that use naming based on hashes of the actual things they're naming (IPFS)
mconstant has quit [Ping timeout: 245 seconds]
<kandinski> simpson, gchristensen: thanks for the info and advice
<infinisil> emilsp: Ehh, that's a bit too vague, a reproducible minified example would be nice
mconstant has joined #nixos
<kandinski> (and by "separate" above I meant "make a list with two columns", I'm trying to understand things)
<gchristensen> kandinski: part of nix is based on the hash of the contents
<simpson> kandinski: You might want to know the jargon "content-addressable" for this concept: https://en.wikipedia.org/wiki/Content-addressable_storage
<emilsp> sure, I'll try to come up with one. But, erm, maybe tomorrow. It's a bit late here :)
<kandinski> gchristensen: that's where I'm aiming for. Which part?
<infinisil> emilsp: I used this file: https://paste.infinisil.com/-P4yT583-4.nix and built the configFile with `nix-build '<nixpkgs/nixos>' --arg configuration ./file.nix -A config.services.znc.configFile`
<gchristensen> kandinski: fixed output derivations
<kandinski> gchristensen: thanks, I'll look for it in the documentation.
<gchristensen> and the binary substitution uses narinfos to point to content addressed nar files
<NemesisD> is `propagatedBuildInputs` appropriate for specifying runtime dependencies that aren't needed to actually build?
<infinisil> ,runtimeDeps NemesisD
<{^_^}> NemesisD: In order of preference: Patch source OR ((if it uses PATH -> wrap with new $PATH) AND (if it uses dlopen, (patchelf --set-rpath in postFixup OR wrap with new LD_LIBRARY_PATH)))
LnL has quit [Ping timeout: 255 seconds]
<kandinski> gchristensen: seems that fixed-output derivations are mostly for downloaded tarballs, is that correct?
<gchristensen> right
<gchristensen> also the "intensional store" model (nixos/rfcs) moves to CAS stores
<NemesisD> i don't know what any of those words mean. i've got a haskell package that i'm using nix to reduce to static executables and load into a docker image. i'm trying to figure out where i should specify the runtime dependencies it needs on the system to function
<infinisil> NemesisD: What a "runtime dependency" is depends entirely on the package
<anaothmane> Ok so xinput gives me a "SynPS/2 Synaptics TouchPag" even though synaptics.enable is set to false in my configuration.nix (and libinput is configured and enabled). Where can I investigate this problem further?
<ajs124> Some language tooling (e.g. erlang) also uses fixed-output as far as I remember
<simpson> NemesisD: So, in order, consider: Patching the source of the package. Write some Haskell so that the dependency is either hard, or so that Haskell calls Nix at runtime (ugh!)
<simpson> NemesisD: Then, next up is using $PATH at runtime. For this to work, you'll need to build an environment or a wrapper.
<NemesisD> i fully control the source of the package, but i don't know how i'd specify that it needs, for instance, node.js installed
<simpson> NemesisD: This option *might* require, depending on *what* you're depending on, that you also patchelf somewhat. The listed shorthand gives hints, but each package is different.