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.