worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<glittershark> blurgh none of this works
<niso> glittershark: well ToxicFrog mentioned mavenix before - maybe you could give that a try
<glittershark> yeah
<niso> glittershark: or switch to gradle (migration should be automatic) and try it with them
<glittershark> niso: this isn't even using maven directly, it's using it as a library via clojure's tools.deps
<glittershark>
fresheyeball has joined #nixos
<fresheyeball> so if I cp the contents of one drv into $out
<niso> glittershark: or write a generic nix expression which fetches all repos inside structured text (e.g. json or xml) and generalize 3ed party packageing tools for nix! :D
<fresheyeball> I can't cp to overwrite one of those files
<fresheyeball> why?
<fresheyeball> I get permission denied
<glittershark> niso: :'(
<glittershark> all I wanted to do is package a jar into a docker image
qrnteen has quit [Quit: Leaving]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<niso> fresheyeball: well, which permissions are set? (you can check with "ls -la <path-to-file>")
alp has quit [Ping timeout: 265 seconds]
thelounge799 has joined #nixos
<Henson> hi everyone, I have a system that has some caches defined in nix.binaryCaches but they are no longer accessible. I am unable to use nixos-rebuild to rebuild the configuration to remove them, because it's trying to access them to do the rebuild. How do I get out of this problem?
thelounge79 has quit [Ping timeout: 246 seconds]
thelounge799 is now known as thelounge79
<niso> Henson: try running the build with --option build-use-substitutes false
morgrimm has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
covidman has joined #nixos
hlisp has joined #nixos
reallymemorable has joined #nixos
gustavderdrache has joined #nixos
<morgrimm> Anyone know if there'
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jf3nD
<morgrimm> s a 5.6 kernel package available in nixpkgs right now?
<morgrimm> or is 5.4 the latest?
<drakonis> morgrimm: i'm on 5.6.4
codygman__ has quit [Ping timeout: 245 seconds]
<morgrimm> hm - my flake picked up 5.4.6 from the latest in trhe pkgs
<morgrimm> the*
<morgrimm> time to pin a newer nixpkgs I guess
<qyliss> morgrimm: linux is 5.4, linux_latest is 5.6
<qyliss> 5.4 is LTS
snajpa has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #86217 → filezilla: 3.46.3 -> 3.48.0 → https://git.io/Jfm41
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to staging: https://git.io/Jf3nN
reallymemorable has quit [Quit: reallymemorable]
fresheyeball has quit [Quit: WeeChat 2.7.1]
wozeparrot has quit [Quit: Connection closed for inactivity]
hlisp has quit [Remote host closed the connection]
hlolli_ has joined #nixos
reallymemorable has joined #nixos
eoli3n_ has quit [Quit: WeeChat 2.8]
hlolli has quit [Ping timeout: 246 seconds]
hlisp has joined #nixos
butcher_ has quit [Quit: Leaving]
butcher_ has joined #nixos
butcher_ has quit [Remote host closed the connection]
butcher_ has joined #nixos
butcher_ has quit [Remote host closed the connection]
butcher has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
austin has joined #nixos
<austin> sup
<austin> is this channel ded or somethin?
pjt_014 has joined #nixos
<simpson> No, just quiet.
Guest35509 has quit [Ping timeout: 260 seconds]
<austin> oh ok
Wulfsta has joined #nixos
<simpson> Thousand-person channels usually have *some* folks somewhere idling.
<simpson> Also hey, we got big. Chonky channel.
hlisp has quit [Ping timeout: 260 seconds]
<MichaelRaskin> Right now is one of the most popular times in Europe for actually sleeping though.
ambro718 has quit [Ping timeout: 260 seconds]
<niso> MichaelRaskin: lies
<MichaelRaskin> Hmm, when is more popular?
<MichaelRaskin> Maybe an hour later
<austin> whats probably the biggest channel in freenode?
<austin> and btw can anyone answer my question on what DeepIRC is about
<gchristensen> seems pretty off topic, sorry austin -- maybe #freenode can help
<austin> ok
<hexa-> error: Package ‘p7zip-16.02’ in /etc/nixos/nixpkgs/pkgs/tools/archivers/p7zip/default.nix:57 is marked as insecure, refusing to evaluate.
<hexa-> how can I check why my system config wants p7zip?
<gchristensen> will --show-trace show?
<hexa-> like I checked nix-store --tree for my current generation and it only showed binwalk, and I commented that
<hexa-> let me check
<hexa-> while evaluating the attribute 'nativeBuildInputs' of the derivation 'pycharm-community-2020.1' at /etc/nixos/nixpkgs/pkgs/applications/editors/jetbrains/common.nix:15:10:
<hexa-> got it
<gchristensen> cool
<hexa-> thx
<gchristensen> yep!
<hexa-> i rarely got anything useful from a trace, so there's a surprise here :)
<{^_^}> [nix-pills] @jonringer merged pull request #138 → change ensureDir to mkdir -p in example → https://git.io/Jf3qE
<{^_^}> [nix-pills] @jonringer pushed commit from @wamserma to master « change ensureDir to mkdir -p in example »: https://git.io/Jf3ci
hlisp has joined #nixos
<austin> guys how do i get my menu bar back in hexchat
<austin> i got rid of it like an idiot
<{^_^}> [nixpkgs] @jonringer merged pull request #86474 → vscode-extensions.justusadam.language-haskell: 2.6.0 -> 3.0.3 → https://git.io/JfOAy
<{^_^}> [nixpkgs] @jonringer pushed commit from @poscat0x04 to master « vscode-extensions.justusadam.language-haskell: 2.6.0 -> 3.0.3 »: https://git.io/Jf3c9
<Wulfsta> I was here talking to energizer yesterday about this, and have not made any progress since so I figure I'd ask again: can anyone advise on the issue I'm seeing here? https://github.com/Wulfsta/nixpkgs/commit/d2f38064aeb0b534e9856055bc9a279b66830d65#commitcomment-38868491
<{^_^}> [nixpkgs] @jonringer merged pull request #86502 → [20.03] zoom-us updates → https://git.io/Jf3sI
<{^_^}> [nixpkgs] @jonringer pushed 11 commits to release-20.03: https://git.io/Jf3cH
<Wulfsta> The python library that I'm trying to build has a setup.cfg with no setup.py, but our setuptools should handle this from the discussion yesterday
<energizer> Wulfsta: https://bpaste.net/C7IQ this works
<energizer> that said, i dont know why it's necessary, since https://github.com/pypa/setuptools/pull/1675
<{^_^}> pypa/setuptools#1675 (by pganssle, 1 year ago, merged): Add support for setup.cfg-only projects
<Wulfsta> energizer Thanks! I'll try and find out more
Emantor has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @jonringer merged pull request #85826 → python3Packages.azure*: bump, azure-cli: 2.2.0 -> 2.4.0 → https://git.io/JfIqX
<{^_^}> [nixpkgs] @jonringer pushed 21 commits to master: https://git.io/Jf3Cm
austin_ has joined #nixos
Emantor has joined #nixos
morgrimm has quit [Ping timeout: 240 seconds]
austin has quit [Ping timeout: 260 seconds]
<energizer> Wulfsta: also, it'd be more proper to use a patch file https://bpaste.net/PTVQ
hlisp has quit [Read error: Connection timed out]
andreas303 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #86359 → vscode-extensions.ms-vscode.cpptools: 0.27.0 -> 0.27.1 → https://git.io/JfYPy
<{^_^}> [nixpkgs] @jonringer pushed commit from @firmero to master « vscode-extensions.ms-vscode.cpptools: 0.27.0 -> 0.27.1 »: https://git.io/Jf3CC
reallymemorable has joined #nixos
braunse has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #85797 → crowbar: init at unstable-2020-04-23 → https://git.io/Jfkx4
<{^_^}> [nixpkgs] @jonringer pushed commit from @Pamplemousse to master « crowbar: init at unstable-2020-04-23 »: https://git.io/Jf3Cl
braunse has joined #nixos
andreas303 has joined #nixos
cr4y1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #85962 → elmerfem: init at release-8.4 → https://git.io/JfLyK
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jf3Cu
reallymemorable has quit [Quit: reallymemorable]
captn3m0 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86507 → aesop: 1.2.4 -> 1.2.
waleee-cl has quit [Quit: Connection closed for inactivity]
iyzsong has joined #nixos
h0m1 has quit [Ping timeout: 240 seconds]
captn3m0 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86508 → airsonic: 10.5.0 -> 10.6.
slack1256 has joined #nixos
h0m1 has joined #nixos
therealsarcastic has quit [Ping timeout: 260 seconds]
reallymemorable has joined #nixos
morgrimm has joined #nixos
dsx_loves_you has quit [Quit: dsx_loves_you]
romanandreg has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86509 → amass: 3.5.4 -> 3.5.
<romanandreg> Hello, quick question... how do I install virtualbox drivers on a non-NixOS host?
<romanandreg> doing `nix-shell -p virtualbox` doesn't seem to be enough
markus1199 has joined #nixos
<romanandreg> when running the UI, I get errors about the driver not being available, and I don't know how to install them so that I can later modprob them
<clever> romanandreg: the drivers have to match the kernel version, which means you have to be running a kernel from nix as well
<simpson> You'll need to follow the instructions for the package manager or distro which is managing your kernel; you need a kernel module.
<romanandreg> clever: oh, so... I don't think I'm doing that on a nixpkgs install eh?
<romanandreg> can you use the kernel from /nix/store rather than the one from xubuntu?
hlolli__ has joined #nixos
<clever> romanandreg: the kernel is usually managed by the distro's package manager
<romanandreg> yep
<romanandreg> makes sense
<romanandreg> ok, I'll dig the virtualbox install from ubuntu then, thank you very much for the insight clever
romanandreg has quit [Quit: leaving]
markus1189 has quit [Ping timeout: 256 seconds]
wuchao has joined #nixos
hlolli_ has quit [Ping timeout: 265 seconds]
wuchao has quit [Client Quit]
cust0dian has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86510 → apulse: 0.1.12 -> 0.1.1
hlisp has joined #nixos
<ldlework> Is there any support for PS3/PS4 controllers?
eof has quit [Ping timeout: 256 seconds]
austin_ has quit [Remote host closed the connection]
eof has joined #nixos
hlisp has quit [Ping timeout: 240 seconds]
<energizer> this says "Build and/or run-time dependencies" can go in buildInputs. but if i have a runtime dependency, shouldn't it be propagated (and hence go in propagatedBuildInputs)? https://github.com/NixOS/nixpkgs/blame/master/doc/languages-frameworks/python.section.md#L683
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86511 → atlantis: 0.11.1 -> 0.12.
therealsarcastic has joined #nixos
felixfoertsch23 has joined #nixos
<energizer> ?
felixfoertsch has quit [Ping timeout: 256 seconds]
felixfoertsch23 is now known as felixfoertsch
<energizer> austin: you left, but the biggest is #python
therealsarcastic has quit [Ping timeout: 272 seconds]
therealsarcastic has joined #nixos
slack1256 has quit [Remote host closed the connection]
<clever> energizer: propagatedBuildInputs only propagates to the build-time of other things that depend on your pkg
<Raito_Bezarius> How hard is it to be able to set dynamically the preference on dark themes in GTK3?
<clever> energizer: it doesnt propagate to runtime
<Raito_Bezarius> (like in day, I want it to be light, in night, I want it to be dark)
<clever> Raito_Bezarius: i dont know how, but craige is doing something like that
<Raito_Bezarius> clever: is his code available somewhere or some little docs?
<clever> Raito_Bezarius: not sure, but he is on irc, and its about noon for him
<Raito_Bezarius> okay, so at some point in time, he might explain
<Raito_Bezarius> thanks clever
<energizer> Raito_Bezarius: ldlework has some dynamic theming code
<Raito_Bezarius> energizer: is it public?
therealsarcastic has quit [Ping timeout: 246 seconds]
<energizer> ya
<energizer> tho im unsure their policy on linking identities so ill leave it there
iyzsong has quit [Ping timeout: 246 seconds]
<Raito_Bezarius> don't worry, found the github
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86512 → azure-storage-azcopy: 10.3.4 -> 10.4.
hlisp has joined #nixos
iyzsong has joined #nixos
<energizer> the pywal and wpgtk modules are what i was thinking of
<energizer> clever: is there a runtimeInputs?
Henson has quit [Ping timeout: 256 seconds]
<Raito_Bezarius> that's super helpful
<energizer> :)
<Raito_Bezarius> thanks energizer :)
tjg1 has quit [Quit: i sincerely apologise for any civil disobedience caused]
<Wulfsta> clever, where you the one with the poweroff issue, or was that cole-h?
tjg1 has joined #nixos
<Wulfsta> Because I updated my kernel and am no longer seeing it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86513 → bats: 1.1.0 -> 1.2.
hlisp has quit [Ping timeout: 256 seconds]
reallymemorable has quit [Quit: reallymemorable]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
<clever> Wulfsta: was probably cole-h
spacefrogg has joined #nixos
<clever> energizer: your runtime dependencies is whatever your refering to in $out when the build is done
<clever> energizer: so you have to embed a storepath into the output
hlisp has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #86514 → git-lfs: install man pages → https://git.io/Jf3lU
<cole-h> Wasn't me :P I think it was hyper_ch, Wulfsta
eyenx has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
hlisp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86515 → bfs: 1.6 -> 1.
<Wulfsta> clever, cole-h: sorry, completely misremembering! Wanted to provide an update though
<cole-h> All good :)
<cole-h> infinisil: Do you know why r-ryantm PRs get cut off? (see: the last 3 PRs in here)
turona has quit [Ping timeout: 272 seconds]
<cole-h> Also cc ryantm -- might be an issue on your side, maybe?
<infinisil> huh weird
turona has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86516 → binaryen: 91 -> 9
hlisp has joined #nixos
<infinisil> cole-h: Oh, curling via the API reveals that the title is "bfs: 1.6 -> 1.7\n"
<ldlework> argh, no Joy2Key in nixpkgs
<infinisil> > "hello there\n"
<{^_^}> "hello there\n"
<infinisil> > throw "hello there\n"
<infinisil> And I think ofborg has problems handling newlines
griff__ has quit [Quit: griff__]
<infinisil> So I think it's a combination of the update bot emitting newlines and ofborg not handling them gracefully
<ldlework> argh no nullpolmino
* ldlework gives up on his tetris dreams.
Henson has joined #nixos
<cole-h> infinisil: ofborg deals with {^_^}?
<infinisil> Hm, I think it's part of it somehow, maybe not
<cole-h> gchristensen: If you haven't gone to sleep already, can you confirm/deny?
<{^_^}> [mobile-nixos] @samueldr opened pull request #137 → doc: Document Mobile NixOS and Security → https://git.io/Jf3l4
<Henson> niso: that suggestion worked, thank you!
<samueldr> cole-h: I don't think they are involved at all anymore
* cole-h goes to file an issue against nixpkgs-update, then
<cole-h> Actually, scratch that
<samueldr> at some point it used the same queue for received events IIRC, but pretty sure it's been completely split up
<cole-h> I want to know where {^_^} is actually hosted, now. Guess I'll ask Graham tomorrow.
<samueldr> depends
<samueldr> ,whomademe
<{^_^}> #<prnumber>, ',command' and '> nix' are implemented in infinisil's backend <https://github.com/infinisil/nixbot> utilizing gchristensen {^_^} frontend <https://github.com/grahamc/ircbot/>. The rest of the features are done by other people's backends
<cole-h> Perfect, ircbot is what I was looking for
<samueldr> the github-to-irc bit is mine https://github.com/samueldr/github-to-irc
<cole-h> samueldr: Any chance the problem is with your gh -> irc bridge?
<samueldr> just caught up with the scrollback
<samueldr> it's possible
<samueldr> AH
<samueldr> THIS IS WHERE THE RABBITMQ THING WAS
<cole-h> :D
<samueldr> just enough rabbitmq to test the project
hlolli__ has quit [Ping timeout: 258 seconds]
<cole-h> At line 59 in that file: "ihis" lol
<samueldr> lol, probably was in REPLACE mode and threw an `i` accidentally
therealsarcastic has joined #nixos
<samueldr> though I have no idea why it's dropping stuff like that
iyzsong has quit [Ping timeout: 260 seconds]
hlisp has quit [Ping timeout: 256 seconds]
<cole-h> If ruby has a strip function that strips off \0 and \n, maybe that could be added here: https://github.com/samueldr/github-to-irc/blob/released/lib/webhook.rb#L191 ?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86517 → bitcoin-abc: 0.21.3 -> 0.21.
therealsarcastic has quit [Ping timeout: 260 seconds]
<samueldr> maybe, but what's up with that last point with the PRs?
<samueldr> that's what worries me
<samueldr> trying to fix something by whack-a-moling solutions isn't so great :/
<samueldr> I also want to add a test case file :)
morgrimm has quit [Ping timeout: 246 seconds]
* cole-h goes through his logs to see if this ever didn't happen
<infinisil> samueldr: It appears to drop the character before the \n
<samueldr> infinisil: where do you see a \n?
<infinisil> samueldr: curl https://api.github.com/repos/NixOS/nixpkgs/pulls/86515 | jq '.title'
<cole-h> OK, confirmed it didn't always happen. Looking for when it started happening.
* samueldr was opening up an API fetch
<samueldr> yeah
<samueldr> cole-h: easier to look through https://logs.nix.samueldr.com/nixos-bots/2020-05-02
<cole-h> First bad message 2020-04-14 22:06:36 (Pacific)
<cole-h> Last good message 2020-04-14 21:13:09 (Pacific)
<samueldr> yep, only started with today's batch
<samueldr> no apparent change in the repo since 2 days ago, 9 days I'd say even
<samueldr> weird!
<infinisil> samueldr: Oh actually I think I've seen this before with my bot
<infinisil> Where if you send a \n in the json to the rabbitmq thing, it breaks in the same way
<cole-h> First commit after last good message
Darkmatter66_ has joined #nixos
<cole-h> Probably a problem on his end. Filing an issue.
<samueldr> "both ends" though
Darkmatter66 has quit [Ping timeout: 256 seconds]
<{^_^}> This here is a newline:
dsx has joined #nixos
hlisp has joined #nixos
<infinisil> The string I sent for this ^ is: "This here is a newline: \"\n\" <- here it is"
dsx is now known as dsx_loves_you
<samueldr> yep
<samueldr> that's to be expected
<samueldr> newlines are part of the IRC protocol
<samueldr> in fact CRLF is
<infinisil> And they should behave how?
<samueldr> not be present in the message
<samueldr> they are reserved, and not escapable
<infinisil> Ah yeah
<samueldr> I'm writing up the fix as we speak, which will be to strip them
<samueldr> for the github to irc bridge it's fine enough
<infinisil> (Note that the " before the newline was also dropped)
<samueldr> that makes sense
<cole-h> Maybe because it expects it to be preceded by \r for CRLF
<samueldr> \r\n the IRC server might drop \n and whatever was preceding
<cole-h> ^
<infinisil> Ahhh
<cole-h> Good work team.
<cole-h> I'll still file the issue, though, because I don't think `\n` should be part of the title...
<samueldr> yes, please do :
<samueldr> :)*
<{^_^}> \o/
<{^_^}> [nixpkgs] @Wulfsta opened pull request #86518 → init meshio at 4.0.12 and init pygmsh at 6.1.1 → https://git.io/Jf3ly
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<Wulfsta> energizer: Just wanted to say thanks again for the help packaging meshio!
<energizer> np
iyzsong has joined #nixos
<samueldr> and yeah, kinda confirmed here [2020-05-01 23:23:34] <github-to-irc> "[nixpkgs] @r-ryantm opened pull request #86517 → bitcoin-abc: 0.21.3 -> 0.21.5\n → https://git.io/Jf3lg"
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86517 (by r-ryantm, 17 minutes ago, open): bitcoin-abc: 0.21.3 -> 0.21.
<samueldr> infinisil: ^
<cole-h> samueldr: infinisil hope you don't mind being pinged, because I'm about to ping you on GitHub as well >:D
<samueldr> you *too* suffer from that breakage!
<cole-h> Enjoy the ping.
<cole-h> samueldr++ infinisil++
<{^_^}> infinisil's karma got increased to 278
<{^_^}> samueldr's karma got increased to 224
<cole-h> Hmmmmm
<infinisil> cole-h++
<{^_^}> cole-h's karma got increased to 36
<cole-h> That should have been combined....
<Henson> does anybody have any suggestions doing getting bluetooth working from the command-line? I'm trying to build a Kodi box using NixOS, and am trying to get bluetooth audio to work. On my laptop with KDE it works just fine, but with lightdm and kodi there's no graphical interface, so I'm trying to get it to work with the "bluetoothctl" command. As my regular user it can't even see the bluetooth...
<Henson> controller, but as root it's having problems with pulseaudio. Any suggestions?
<infinisil> cole-h: I changed it to not do that for now, was simpler, and won't be confusing for karma spice :P
<cole-h> infinisil: Oh. Understandable.
<Henson> I've got blueZFull and pulseaudioFull selectes as the bluetooth and pulseaudio packages, respectively, in configuration.nix
<cole-h> ryantm/nixpkgs-update#189
<{^_^}> https://github.com/ryantm/nixpkgs-update/issues/189 (by cole-h, 2 minutes ago, open): Messages cut off in IRC due to newline character
<cole-h> Hot off the presses!
<infinisil> Henson: Did you see https://nixos.wiki/wiki/Bluetooth?
<Henson> infinisil: thanks for pointing me in the right direction, I'll take a look through this.
hlisp has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @romildo opened pull request #86519 → enlightenment.efl: 1.23.3 -> 1.24.0 → https://git.io/Jf3l5
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86520 → bitwarden_rs: 1.14.1 -> 1.14.
hlisp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86521 → bitwarden_rs-vault: 2.13.2 -> 2.13.2
<cole-h> 2.13.2 -> 2.13.2 lol
hlisp has quit [Ping timeout: 240 seconds]
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #86522 → minio: 2020-03-25 -> 2020-05-01 → https://git.io/Jf38t
Henson has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
hlisp has joined #nixos
morgrimm has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #86523 → intltool: add a backup url for a patch → https://git.io/Jf388
gaborr has joined #nixos
phreedom has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-homepage] @garbas merged pull request #403 → Update flake.lock in cronjob → https://git.io/JfTEp
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/Jf38z
gustavderdrache has quit [Quit: Leaving.]
ccppuu has quit [Quit: ccppuu]
gaborr has quit [Remote host closed the connection]
hlisp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86524 → broot: 0.13.5b -> 0.13.
butcher has quit [Ping timeout: 260 seconds]
whatisRT` has joined #nixos
<samueldr> cole-h: I'm not in control of deployment, but everything is pushed and should be deployed once it's deployed next
<samueldr> (while I'm the code owner, it's running on someone else's computer)
<cole-h> OK, thanks. I'll let Graham know (if he doesn't deal with it first)
<{^_^}> [nixpkgs] @thefloweringash opened pull request #86525 → binutils: backport fix for 'invalid string offset' on arm → https://git.io/Jf38r
whatisRT` has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
hlisp has joined #nixos
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixos-homepage] @garbas pushed to landing-page « Update index.tt »: https://git.io/Jf38y
<{^_^}> [nixos-homepage] @garbas pushed to landing-page « Update index.tt »: https://git.io/Jf389
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86526 → cargo-udeps: 0.1.10 -> 0.1.1
<{^_^}> [nixpkgs] @thefloweringash opened pull request #86527 → directfb: fix build on 32-bit arm with glibc >= 2.28 → https://git.io/Jf38d
Guest23688 has quit [Changing host]
Guest23688 has joined #nixos
Guest23688 is now known as Miyu-saki
xO1 has joined #nixos
phI||Ip_Alternat is now known as phI||Ip
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
hlisp has quit [Ping timeout: 272 seconds]
Nilgeist has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86528 → catch2: 2.11.3 -> 2.12.
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86529 → catcli: 0.5.13 -> 0.6.
<Raito_Bezarius> let's say I have some default.nix which looks like { pkgs ? import <nixpkgs> {}, python ? pkgs.python3, … }: …
<Raito_Bezarius> if I want to override the python from nix-shell --arg python "???"
<Raito_Bezarius> is there an easy way to have pkgs.python37 for example?
<Raito_Bezarius> I tried and it was complaining about pkgs undefined
<{^_^}> [nixpkgs] @marsam merged pull request #86524 → broot: 0.13.5b -> 0.13.
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf34G
Nilgeist has joined #nixos
morgrimm has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #86476 → wormhole: init at 0.1.5 → https://git.io/JfOx3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf34l
hlisp has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #84310 → minio-client: 2020-03-06T23-29-45Z -> 2020-04-04T05-28-55Z → https://git.io/JvNe7
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf344
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86530 → ccls: 0.20190823.5 -> 0.20190823.
<{^_^}> [nixpkgs] @thefloweringash opened pull request #86531 → exiv2, jsoncpp: fix build on 32-bit arm → https://git.io/Jf34R
hlisp has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #86532 → spidermonkey_68: fix build on armv7l → https://git.io/Jf34z
dadada_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86533 → chafa: 1.4.0 -> 1.4.
chagra has quit [Ping timeout: 246 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86534 → checkstyle: 8.31 -> 8.3
griff__ has joined #nixos
<quinn> Raito_Bezarius: you might have to form the argument like '(import <nixpkgs).pkgs.python3'
<quinn> i haven't used that feature, but that would be my guess.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86535 → linuxPackages_hardened.chipsec: 1.4.9 -> 1.5.
kbZ has joined #nixos
<kbZ> be me using nixos for the first time
stree has quit [Read error: Connection reset by peer]
<kbZ> I got xfce working via the guide here: https://nixos.wiki/wiki/Xfce
stree has joined #nixos
<kbZ> tl;dr I get a deprecation warning, but when I follow that warning, `nixos-rebuild switch` doesn't work
<kbZ> hmmm
<{^_^}> [nixpkgs] @marsam merged pull request #86479 → intermodal: init at 0.1.7 → https://git.io/JfOhC
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf34F
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86536 → circleci-cli: 0.1.6949 -> 0.1.717
<drakonis> that's really vague?
<kbZ> I know..
<drakonis> what's your config?
<kbZ> buried in a VM and no copy pasta/network at the moment
<drakonis> it should have network access tho?
<drakonis> through the host
cole-h has joined #nixos
<kbZ> adding sshd
<drakonis> honestly
<drakonis> do you have netcat?
<kbZ> yeah
<drakonis> send it to termbin
<drakonis> cat ~/some_file.txt | nc termbin.com 9999
<kbZ> I was gonna use ix.io but yeah
cole-h has quit [Client Quit]
<drakonis> you dont have a user my dude
<kbZ> I just setup this box
<kbZ> root is working for now
<kbZ> here is that deprecation warning
<kbZ> ignore my attempt to > to a file name wat
<drakonis> oh
<drakonis> right
<drakonis> that got axed this release
<kbZ> how can I help future noobs like myself
<kbZ> I signed up for the wiki to fix that, but now I suspect the fix would require a PR?
xkapastel has quit [Quit: Connection closed for inactivity]
<kbZ> I did see a bit of discussion here https://github.com/NixOS/nixpkgs/issues/8352
<{^_^}> #8352 (by maggesi, 4 years ago, closed): services.xserver.desktopManager.default ignored
<drakonis> its just deprecated
<kbZ> err somewhere
<kbZ> well, when I try..
<drakonis> there's no error tho
<kbZ> the configuration I shared is working
<drakonis> its really just going to be removed soon
<kbZ> but if I do..
hlisp has joined #nixos
<kbZ> 'services.xserver.displayManager.defaultSession = "xfce";'
<kbZ> it doesn't work do the rebuild
<drakonis> oh?
<drakonis> have you tried using lightdm or something?
<drakonis> that's the same file
<kbZ> lightdm was working on reboot for me
<kbZ> not sure what you mean exactly
<kbZ> is the result of `nixos-rebuild switch` with the config above that
<kbZ> I blame Graham
<drakonis> idgi
<kbZ> shrugs
<drakonis> is this 20.03?
fabianhjr has quit [Quit: Leaving.]
<kbZ> indeed
<Raito_Bezarius> quinn: outch, that would be a shame to reimport
<Raito_Bezarius> I fixed it by just having another default string arg
<Raito_Bezarius> and doing in the package pkgs.${pythonPackageName}
<drakonis> the option exists on 20.03
<drakonis> anywyas
<drakonis> anyways, enable lightdm alone
<drakonis> services.xserver.displayManager.lightdm.enable
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86537 → cldr-emoji-annotation: 36.12.120191002_0 -> 36.12.120200305_
<drakonis> did you forget .enable?
<drakonis> its on displaymanager
<kbZ> derp
<drakonis> also
<drakonis> 'services.xserver.displayManager.defaultSession = "xfce";'
<drakonis> displaymanager here too
<drakonis> pebcak?
<kbZ> confirmed
<kbZ> megusta
<kbZ> sigh
hlisp has quit [Ping timeout: 265 seconds]
<fps> hmm, weird. now i have set LV2_PATH in a shellHook, and i confirmed LV2_PATH is set in the nix-shell. but lv2ls still doesn't find any plugins..
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86538 → clightning: 0.8.1 -> 0.8.
<kbZ> drakonis, thank you
endformationage has quit [Quit: WeeChat 2.6]
<drakonis> reading is always nice.
<kbZ> words and apparently symbols in general are hard
<Raito_Bezarius> does anyone knows how old is the nixpkgs on GH Actions?
<Raito_Bezarius> i tried to nix-channel --update it but it didn't quite work apparently
<kbZ> glad I'm not working on anything important tonight
<drakonis> a week?
<Raito_Bezarius> drakonis: I think it must be > 14 days
Fare has quit [Ping timeout: 256 seconds]
<Raito_Bezarius> i'm not seeing the lapack/blas switching mechanism
<Raito_Bezarius> huh, no, it seems not be due to this
<Raito_Bezarius> on GH, lapack/blas switch seems to have no effect, but on my machine, the shell is pulling mkl dependencies
<drakonis> there's actions?
<drakonis> uh
<drakonis> the nix channels arent action based
<Raito_Bezarius> what do you mean?
<drakonis> they're built on hydra
<drakonis> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<drakonis> ,status
<{^_^}> drakonis: Did you mean stats?
<Raito_Bezarius> maybe I got you confused
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86539 → clojure-lsp: 20200412T033138 -> 20200413T14174
<{^_^}> [nixpkgs] @bjornfor merged pull request #86527 → directfb: fix build on 32-bit arm with glibc >= 2.28 → https://git.io/Jf38d
<{^_^}> [nixpkgs] @bjornfor pushed commit from @thefloweringash to master « directfb: fix build on 32-bit arm with glibc >= 2.28 »: https://git.io/Jf3BG
<Raito_Bezarius> but I know that the nix chans are built on hydra
<Raito_Bezarius> what I don't understand is why, even when I'm pinning the nixpkgs channels, I'm getting different results
<drakonis> maybe it isnt available because it hasnt caught up
<Raito_Bezarius> it *is* available
<Raito_Bezarius> because I have it on my laptop and I'm following the nixpkgs channel unstable
<drakonis> pardon but there isnt github actions for nixpkgs
<Raito_Bezarius> this rather
<Raito_Bezarius> nixpkgs is pinned
<Raito_Bezarius> on my laptop, it pulls mkl
<drakonis> perhaps you should check which commit it is pinned to
<Raito_Bezarius> the latest
<drakonis> you're pinning nixpkgs
<Raito_Bezarius> and not nixos… right?
<Raito_Bezarius> :D
<drakonis> the last commit built is from 13 days ago
palo1 has joined #nixos
<Raito_Bezarius> thank you
<Raito_Bezarius> my brain is dead
<Raito_Bezarius> can I use the nixos-unstable for nixpkgs?
<Raito_Bezarius> on a non-nixos machine?
hlisp has joined #nixos
<drakonis> hmm
<drakonis> you could
<drakonis> is it a mac?
<Raito_Bezarius> ubuntu
<drakonis> oh you can yes
<Raito_Bezarius> nice!
<drakonis> actually
<drakonis> run nixpkgs-small
<drakonis> nixpkgs-unstable-small
<drakonis> https://status.nixos.org/ see this
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86541 → cmake-format: 0.6.9 -> 0.6.1
<Raito_Bezarius> i need to check if it contain what I need
<drakonis> the last build was 2 days ago
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
<drakonis> unless you want something too fresh, in which you'll have to build or wait
<Raito_Bezarius> nixpkgs-small is nixpkgs with fewer tests?
<drakonis> yes
<drakonis> it advanced to a commit from 3 days ago
<fps> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<Raito_Bezarius> very nice
<drakonis> the command that points to the status page is different
user_0x58 has quit [Quit: Leaving]
tunx0000[m] has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86542 → codeql: 2.1.0 -> 2.1.
therealsarcastic has joined #nixos
therealsarcastic has quit [Ping timeout: 256 seconds]
<fps> doh, i had to export the variable in the shellHook. hmmm
oborot has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86543 → conftest: 0.18.1 -> 0.18.
<drakonis> honestly tho
<drakonis> i have no idea where this github actions thing came from
hlisp has quit [Ping timeout: 260 seconds]
whatisRT` has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
ddellacosta has quit [Ping timeout: 258 seconds]
whatisRT` has quit [Ping timeout: 272 seconds]
hlisp has joined #nixos
<fps> hmm, can i get the x server in nixos autoscale nicely when run as a guest in virtualbox?
<fps> vboxguest is loaded according to lsmod
jrddunbr-web has joined #nixos
<jrddunbr-web> hello.
Wulfsta has quit [Ping timeout: 240 seconds]
<jrddunbr-web> I have a system that does not have a display adapter, it only can communicate over serial. I don't happen to have a serial cable available.. is there any simple way to get it such that I can install NixOS over SSH?
<jrddunbr-web> I think it will boot a USB thumbdrive by default.
pjt_014 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86544 → croc: 8.0.7 -> 8.0.
pjt_014 has joined #nixos
<fps> oh, seems to be a host problem, since it doesn't work for my windows 10 guest either..
hlisp has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86545 → cryptominisat: 5.6.8 -> 5.7.
hlisp has joined #nixos
griff__ has quit [Quit: griff__]
hlisp has quit [Ping timeout: 240 seconds]
shafox has joined #nixos
<wedens[m]> anyone tried packaging nomachine server? (only client exists in nixpkgs)
hlisp has joined #nixos
bohan has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86546 → dbmate: 1.7.0 -> 1.8.
hlisp has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86547 → ddgr: 1.8 -> 1.8.
Setzer22_2 has joined #nixos
<Setzer22_2> Hi! I need to install nix with the unstable version of nixpkgs, is there a way I can do that?
<sphalerite> hyper_ch: wait, are you the author of that sources.list generator?
<Setzer22_2> To clarify my question: I meant to install nixos, not nix. I'm on a live session and my configuration.nix has some flags active that are only available on the unstable channel.
<energizer> Setzer22_2: just add the nixos-unstable channel
<Setzer22_2> Like this: nix-channel --add https://nixos.org/channels/nixos-unstable nixos ?
zupo has joined #nixos
<Setzer22_2> Or do I also need to do nixos-rebuild switch --upgrade afterwards on the live system?
<energizer> yes that is the command
jrddunbr-web has quit [Remote host closed the connection]
<energizer> you may need to do nix-channel --update
<Setzer22_2> right, it seems that did the trick, thanks!
<Setzer22_2> I was missing the last command
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86548 → dnsproxy: 0.24.0 -> 0.27.
markus1199 has quit [Ping timeout: 272 seconds]
markus1189 has joined #nixos
mallox has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
solomon[m] has joined #nixos
thelounge79 has quit [Ping timeout: 260 seconds]
mallox has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86549 → dolt: 0.15.2 -> 0.16.
mallox has joined #nixos
maddo has joined #nixos
therealsarcastic has joined #nixos
<{^_^}> [nixpkgs] @Wulfsta closed pull request #86518 → init meshio at 4.0.12 and init pygmsh at 6.1.1 → https://git.io/Jf3ly
hlisp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86550 → drawio: 12.9.9 -> 13.0.
contrun[m] is now known as contrun
therealsarcastic has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Wulfsta reopened pull request #86518 → init meshio at 4.0.12 and init pygmsh at 6.1.1 → https://git.io/Jf3ly
drakonis has quit [Quit: WeeChat 2.8]
Setzer22_2 has quit [Remote host closed the connection]
hlisp has quit [Ping timeout: 256 seconds]
hlisp has joined #nixos
FRidh has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
sid` has joined #nixos
asheshambasta has joined #nixos
mallox has quit [Ping timeout: 258 seconds]
<sid`> Hi! I'm trying to make a nix expression for the python package `glfw_py` which depends on the glfw package. However, I always run into errors with ld, which complains that the glfw lib is not found even though I've put it into propagatedBuildInputs.
mallox has joined #nixos
<sid`> The only way I've found around it is to manually add "${glfw}/lib" to LD_LIBRARY_PATH, but I'm hoping there is a better way
<sid`> Thank you!
hlisp has joined #nixos
<jluttine> how to search packages from nixpkgs on command line? i'd like to find the same results as https://nixos.org/nixos/packages.html. i found this cheatsheet https://nixos.wiki/wiki/Cheatsheet but it instructs `nix-env -qaP '.*emacs.*'` which doesn't work similarly. it doesn't find, for instance, python and haskell packages.
eoli3n_ has joined #nixos
hlisp has quit [Ping timeout: 264 seconds]
monsieurp has quit [Quit: Lost terminal]
ericsagnes has quit [Ping timeout: 256 seconds]
<ar> /22
<{^_^}> [nixpkgs] @FRidh pushed 209 commits to staging-next: https://git.io/Jf30Y
mallox has quit [Ping timeout: 264 seconds]
ok2` has quit [Ping timeout: 256 seconds]
hlisp has joined #nixos
mallox has joined #nixos
mallox has quit [Ping timeout: 256 seconds]
mallox has joined #nixos
ericsagnes has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
<energizer> jluttine: nix search ___
<lambda-11235> Specifically the line
<lambda-11235> nix-env -f "<nixpkgs>" -qaP -A haskellPackages
<lambda-11235> nixpkgs/doc contains a wealth of obscure information :)
<jluttine> energizer: wow, thanks! that's super simple. i wonder why the wiki gives such a weird suggestion..
hlisp has joined #nixos
mchasard has joined #nixos
therealsarcastic has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86551 → elementary-planner: 2.3.3 -> 2.3.
griff__ has joined #nixos
lambda-11235 has quit [Quit: Bye]
ok2` has joined #nixos
mchasard has quit [Client Quit]
therealsarcastic has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to master « ndi: update from version 4.1.6 to 4.5.1 »: https://git.io/Jf30V
whatisRT` has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86552 → endless-sky: 0.9.11 -> 0.9.1
whatisRT` has quit [Ping timeout: 260 seconds]
<jluttine> i now added `nix search` to that wiki cheatsheet
<jluttine> if i add attributes to a package via `passthru`, nix search doesn't seem to find those. any simple way to make it find them?
arjen-jonathan has joined #nixos
hlisp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86553 → ephemeral: 6.3.3 -> 6.4.
opticnerve has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 210 commits to staging: https://git.io/Jf307
boogiewoogie[m]1 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #84316 → setools: 4.2.2 -> 4.3.0 → https://git.io/JvNIM
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « setools: 4.2.2 -> 4.3.0 »: https://git.io/Jf305
iceypoi has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #82211 → xidlehook: 0.8.0 -> 0.8.1 → https://git.io/JvoAu
<{^_^}> [nixpkgs] @FRidh merged pull request #83979 → inadyn: 2.6 -> 2.7 → https://git.io/Jvdc6
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « inadyn: 2.6 -> 2.7 »: https://git.io/Jf30d
<{^_^}> [nixpkgs] @FRidh merged pull request #79527 → jetty: 9.4.25.v20191220 -> 9.4.26.v20200117 → https://git.io/Jvn62
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « jetty: 9.4.25.v20191220 -> 9.4.26.v20200117 »: https://git.io/Jf30F
icey_ has quit [Ping timeout: 240 seconds]
hlisp has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #83955 → dcm2niix: 1.0.20190902 -> 1.0.20200331 → https://git.io/Jvdmj
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « dcm2niix: 1.0.20190902 -> 1.0.20200331 »: https://git.io/Jf30N
<{^_^}> [nixpkgs] @FRidh merged pull request #83421 → openh264: 2.0.0 -> 2.1.0 → https://git.io/Jv9C5
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « openh264: 2.0.0 -> 2.1.0 »: https://git.io/Jf30x
<{^_^}> [nixpkgs] @FRidh merged pull request #83415 → libndctl: 67 -> 68 → https://git.io/Jv9sr
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libndctl: 67 -> 68 »: https://git.io/Jf30p
<{^_^}> [nixpkgs] @FRidh merged pull request #83996 → mxnet: 1.4.1 -> 1.6.0 → https://git.io/Jvd0Q
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « mxnet: 1.4.1 -> 1.6.0 »: https://git.io/Jf30h
mallox has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #86510 → apulse: 0.1.12 -> 0.1.1
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « apulse: 0.1.12 -> 0.1.13 »: https://git.io/Jf30j
<{^_^}> [nixpkgs] @FRidh merged pull request #86509 → amass: 3.5.4 -> 3.5.
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « amass: 3.5.4 -> 3.5.5 »: https://git.io/Jf3Ef
drewc has quit [Ping timeout: 256 seconds]
mallox has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #86552 → endless-sky: 0.9.11 -> 0.9.1
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/Jf3EI
knupfer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86554 → etcher: 1.5.60 -> 1.5.8
lsix1 has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
mallox has quit [Client Quit]
mallox has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86555 → ezquake: 3.1 -> 3.
mallox has left #nixos [#nixos]
stree has quit [Read error: Connection reset by peer]
boogiewoogie[m]2 has joined #nixos
stree has joined #nixos
<{^_^}> [nixpkgs] @doronbehar closed pull request #86296 → tmux: install manpages → https://git.io/JfYvA
johnjay has quit [Ping timeout: 258 seconds]
hlisp has joined #nixos
<{^_^}> [nixpkgs] @cmacrae opened pull request #86556 → spacebar: init at v0.5.0 → https://git.io/Jf3EG
<{^_^}> [nixpkgs] @doronbehar closed pull request #81006 → nix-build-gc: init at nix-build-gc-2020-01-20 → https://git.io/JvESw
hlisp has quit [Ping timeout: 240 seconds]
kaivai has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @cmacrae opened pull request #86557 → yabai: 2.4.3 -> 3.0.0 → https://git.io/Jf3El
drewc has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #86517 → bitcoin-abc: 0.21.3 -> 0.21.
<{^_^}> [nixpkgs] @Lassulus pushed commit from @r-ryantm to master « bitcoin-abc: 0.21.3 -> 0.21.5 »: https://git.io/Jf3Ew
Nilgeist has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Nilgeist has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #86558 → b4: init at 0.4.0 → https://git.io/Jf3E6
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
Bl4ckC0r3 has joined #nixos
Bl4ckC0r3 has left #nixos [#nixos]
ixxie has joined #nixos
therealsarcastic has joined #nixos
mallox has joined #nixos
alp has joined #nixos
therealsarcastic has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #86487 → Python: introduce NIX_PYTHONPREFIX in order to set site.PREFIXES (20.03 backport) → https://git.io/Jf3Uk
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to staging-20.03: https://git.io/Jf3ED
<{^_^}> [nixpkgs] @cmacrae opened pull request #86559 → skhd: 0.3.0 -> 0.3.5 → https://git.io/Jf3ES
stree has quit [Read error: Connection reset by peer]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
stree has joined #nixos
<{^_^}> [nix] @LnL7 opened pull request #3558 → remote-store: don't log raw stderr by default → https://git.io/Jf3E9
stree has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @prusnak closed pull request #86554 → etcher: 1.5.60 -> 1.5.8
aveltras has joined #nixos
<{^_^}> [nixpkgs] @kraem opened pull request #86560 → linux: version bumps (5.6.9 & 5.4.37) → https://git.io/Jf3E5
stree has joined #nixos
dadada_ has joined #nixos
Setzer22_2 has joined #nixos
tobeportable has joined #nixos
hlisp has joined #nixos
<avalenn> Is there any tool to reformat nix expressions for better human readability ?
<niso> avalenn: nixpkgs-fmt
<{^_^}> [nixpkgs] @misuzu opened pull request #86561 → nixos/gitlab-runner: support multiple services → https://git.io/Jf3uv
morgrimm has joined #nixos
<avalenn> niso: thank you
o1lo01ol1o has joined #nixos
hlisp has quit [Remote host closed the connection]
johnjay has joined #nixos
<Setzer22_2> When I run "nixos-rebuild switch" on my machine, I'm getting a systemd error restarting wpa_supplicant: Failed to open config file '/etc/wpa_supplicant.conf', error: No such file or directory
<Setzer22_2> everything seems to work fine after that, but I'd like to know the source of the error, if possible
Setzer22_2 has quit [Remote host closed the connection]
Setzer22_2 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<Setzer22_2> Also, an unrelated issue: It seems my "services.xserver.layout" setting is ignored, my keyboard always gets back to the us layout after a reboot :S
hlisp has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86530 → ccls: 0.20190823.5 -> 0.20190823.
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jf3ut
<{^_^}> [nixpkgs] @LnL7 merged pull request #86559 → skhd: 0.3.0 -> 0.3.5 → https://git.io/Jf3ES
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Jf3uq
<{^_^}> [nixpkgs] @adisbladis merged pull request #86485 → [20.03] libvorbis: fix 404'ing patch → https://git.io/Jf3vn
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to staging-20.03: https://git.io/Jf3um
hlisp has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @LnL7 merged pull request #86557 → yabai: 2.4.3 -> 3.0.0 → https://git.io/Jf3El
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Jf3uZ
<{^_^}> [nixpkgs] @LnL7 merged pull request #84750 → pjsip: enable and fix darwin build → https://git.io/Jvxyv
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Jf3uc
morgrimm has quit [Ping timeout: 265 seconds]
jakobrs has joined #nixos
<jakobrs> Would it be possible to cache failures, and not just successes, on substituters/cache.nixos.org?
Setzer22_2 has quit [Remote host closed the connection]
<turlando> Hello
orcus has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86562 → faudio: 20.04 -> 20.0
pjt_014 has quit [Ping timeout: 256 seconds]
Guest84206 has quit [Quit: WeeChat 1.4]
inf has joined #nixos
__monty__ has joined #nixos
ambro718 has joined #nixos
thc202 has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
Fare has joined #nixos
<turlando> Doing a new install, should I encrypt both /nix and / or just /?
jakobrs has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @FRidh merged pull request #86561 → nixos/gitlab-runner: support multiple services → https://git.io/Jf3uv
<{^_^}> [nixpkgs] @FRidh pushed commit from @misuzu to staging-next « nixos/gitlab-runner: support multiple services »: https://git.io/Jf3uP
bqv has quit [Ping timeout: 240 seconds]
lsix1 has quit [Quit: WeeChat 2.7.1]
therealsarcastic has joined #nixos
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
lopsided98 has joined #nixos
bqv has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86563 → flyctl: 0.0.110 -> 0.0.11
opticnerve has quit [Quit: bye]
therealsarcastic has quit [Ping timeout: 260 seconds]
hlisp has joined #nixos
cr4y1 has joined #nixos
orcus has joined #nixos
hlisp has quit [Ping timeout: 240 seconds]
<eyJhb> I cannot figure out what the luks error wants me to change.. - Any help? https://pastebin.com/f5e1hzas
rvanlaar has joined #nixos
<rvanlaar> Hi, I'm a first time nixos user and trying this out. I've created a build.nix file for python38 which installs poetry as well, but I can't use it.
<rvanlaar> nixos, I meant nixpkgs on ubuntu.
<b42> eyJhb: it looks valid - are you looking at the right file?:)
akamaus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86564 → fstl: 0.9.3 -> 0.9.
<eyJhb> It is valid, but I need to conform to the new syntax it yells at me with at the bottom :p b42
<b42> yeah it looks legit wrt the new syntax
o1lo01ol1o has joined #nixos
<eyJhb> Might work the next boot, I yells about "/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/tasks/encrypted-devices.nix"
<Fare> I'm trying to understand the calling convention of overlays. In a standalone file overlay, how am I supposed to get to stdenv and other things usually found in pkgs ?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86565 → ft2-clone: 1.15 -> 1.2
<akamaus> Hi! Does anybody have an experience of setting up multiseat configuration with Nixos? I'm getting "Read-only filesystem" error when I try attach my second graphics card to new seat using "loginctl attach".
o1lo01ol1o has quit [Ping timeout: 240 seconds]
Guest35509 has joined #nixos
o1lo01ol1o has joined #nixos
<b42> Fare: afaik it's recommended to use e.g. self.stdenv unless it causes infinite loop, then super.stdenv
hlisp has joined #nixos
makefu has quit [Quit: WeeChat 2.6]
<b42> eyJhb: oh, that file seems to be using the old syntax in 20.03 but it's fixed in unstable ... might be worth backporting it so it doesn't confuse more people
makefu has joined #nixos
laerling has quit [Quit: leaving]
<{^_^}> [nixpkgs] @adisbladis pushed commit from @cole-h to master « doas: 6.0 -> 6.6.1 »: https://git.io/Jf3zW
<dxtr> Hmm, can I disable systemd-udev-trigger.service somehow? I have installed nixos in a parvirtualized environment and systemd-udev-trigger fails with "udevadm[2065]: Failed to scan subsystems: Permission denied"
<b42> dxtr: systemd.services.systemd-udev-trigger.enable = false;
stree has quit [Read error: Connection reset by peer]
stree has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86566 → git-quick-stats: 2.0.15 -> 2.0.1
morgrimm has joined #nixos
<dxtr> Well that was easy
<dxtr> Thanks!
chloekek has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
<dxtr> Yep, that worked
alp has quit [Ping timeout: 265 seconds]
<eyJhb> b42: yeah, that seem like a solituon!
<eyJhb> solution*
morgrimm has quit [Ping timeout: 260 seconds]
civodul has joined #nixos
never_released has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @adisbladis closed pull request #74184 → doas: 6.0 -> 6.6 → https://git.io/JePgb
morgrimm has joined #nixos
chagra has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #86567 → [20.03] silence warning from #63103 in encrypted-devices.nix → https://git.io/Jf3z2
<b42> eyJhb: ^
never_released has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86568 → gmailctl: 0.6.0 -> 0.7.
waleee-cl has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
ericsagnes has quit [Ping timeout: 244 seconds]
Fare has quit [Ping timeout: 256 seconds]
<waleee-cl> is it possible to build a custom iso with nvidia (prime) enabled? My feeble attempt with this https://0x0.st/i2q-.nix fails with "error: while setting up the build environment: getting attributes of path '/etc/hosts': No such file or directory"
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @LnL7 merged pull request #86513 → bats: 1.1.0 -> 1.2.
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to master: https://git.io/Jf3zM
primeos has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @wucke13 opened pull request #86569 → wayfire: init at 0.4.0 → https://git.io/Jf3zy
primeos has joined #nixos
primeos is now known as Guest14472
splintah has joined #nixos
NobbZ has joined #nixos
Guest14472 has quit [Client Quit]
primeos_ has joined #nixos
primeos_ is now known as primeos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86570 → gotestsum: 0.4.1 -> 0.4.
therealsarcastic has joined #nixos
asbachb has joined #nixos
<raboof> does documentation on how to use NixOS (e.g.: how to just run a perl script, rather than how to package it) belong in the nixpkgs manual or the nixos manual? (added it to https://nixos.wiki/wiki/Perl for now ;) )
emilis has joined #nixos
ericsagnes has joined #nixos
therealsarcastic has quit [Ping timeout: 265 seconds]
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
<genevino> raboof: i'd say that's fine, but you should point out what that "run it with nix-shell -p" thing is about.
<genevino> raboof: it's equally confusing as the python page on the wiki. :)
<raboof> genevino: hmm, seems like something that belongs in a manual to me :)
<raboof> oh sure plenty of room for improvement
<gchristensen> nixpkgs, raboof
alp has joined #nixos
butcher has joined #nixos
chloekek has quit [Ping timeout: 246 seconds]
CMCDragonkai1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86571 → hcxtools: 6.0.1 -> 6.0.
is_null has quit [Read error: Connection reset by peer]
<genevino> raboof: just my 0.02€, no offense - i use that nix-shell -p approach all the time to run my python stuff, so i was curious what it is about.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86572 → heimer: 1.15.1 -> 1.16.
<{^_^}> [nixpkgs] @Mic92 merged pull request #86570 → gotestsum: 0.4.1 -> 0.4.
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jf3gw
<{^_^}> [nixpkgs] @domenkozar merged pull request #86505 → elmPackages.elm-format: fix build → https://git.io/Jf3Gp
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/Jf3gK
NobbZ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86573 → helmfile: 0.106.3 -> 0.114.
emilis has quit [Read error: Connection reset by peer]
ambro718 has quit [Ping timeout: 260 seconds]
sid` has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @sorki opened pull request #86574 → x264: unset AS for aarch32 as well → https://git.io/Jf3g7
emilis has joined #nixos
reallymemorable has joined #nixos
chloekek has joined #nixos
CMCDragonkai1 has quit [Remote host closed the connection]
<dxtr> How does it make /nix/store read-only but still being able to write to it?
<dxtr> I just realized this because I wanted to move my /nix to somewhere else but couldn't
<arianvp[m]> Nix store is bind mounted read only over itself
o1lo01ol1o has quit [Read error: Connection reset by peer]
<arianvp[m]> Then when nix-daemon builds it bind mounts the specific path it needs to write to read-write iirc
davidcl has quit [Quit: Ping timeout (120 seconds)]
ldlework has quit [Remote host closed the connection]
<dxtr> Oh okay
<gchristensen> inside a mount namespace to prevent other things from fiddlingn
o1lo01ol1o has joined #nixos
davidcl has joined #nixos
ldlework has joined #nixos
<{^_^}> [nixpkgs] @apeyroux opened pull request #86575 → vmTools.diskImageFuns.debian9x86_64: update source url → https://git.io/Jf32f
<dxtr> Well that's good to know. Just got mighty confused
kapil_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
leothrix has quit [Remote host closed the connection]
maxter has quit [Remote host closed the connection]
kapilp has joined #nixos
leothrix has joined #nixos
orbekk has quit [Ping timeout: 265 seconds]
mlen has quit [Ping timeout: 265 seconds]
shlevy has quit [Ping timeout: 265 seconds]
maxter has joined #nixos
Blessjah has quit [Ping timeout: 265 seconds]
mg- has quit [Ping timeout: 265 seconds]
glines has quit [Ping timeout: 265 seconds]
evils has quit [Ping timeout: 265 seconds]
evils has joined #nixos
amfl has quit [Ping timeout: 265 seconds]
dweller has quit [Ping timeout: 265 seconds]
dsg has quit [Ping timeout: 265 seconds]
orbekk has joined #nixos
Blessjah has joined #nixos
mg- has joined #nixos
glines has joined #nixos
dweller has joined #nixos
<betaboon> is it somehow possible to use `lib.optionals` for `imports` depending on an option ?
dsg has joined #nixos
<gchristensen> no
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86576 → hyperrogue: 11.3f -> 11.3
<betaboon> thanks :)
shlevy has joined #nixos
<betaboon> so `mkIf` it is
amfl has joined #nixos
mlen has joined #nixos
therealsarcastic has joined #nixos
asbachb has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86577 → i3-gaps: 4.18 -> 4.18.
therealsarcastic has quit [Ping timeout: 265 seconds]
linarcx has quit [Ping timeout: 246 seconds]
ixxie has quit [Ping timeout: 240 seconds]
thongpv87 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86578 → imgproxy: 2.11.0 -> 2.13.
dadada_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
dadada_ has joined #nixos
dadada_ has quit [Client Quit]
vidbina has quit [Ping timeout: 264 seconds]
<{^_^}> [hydra] @gilligan opened pull request #745 → Remove .png → https://git.io/Jf32y
<dxtr> Why is nixos-rebuild seem to build everything from source instead of using the binary cache?
<dxtr> nix.binaryCaches is set
<waleee-cl> dxtr: probably caused by an overlay. Do you have any in your configuration.nix?
<dxtr> Well, I mean it is not set but it has the value [ "https://cache.nixos.org/" ]
<{^_^}> [hydra] @grahamc merged pull request #745 → Remove .png → https://git.io/Jf32y
<{^_^}> [hydra] @grahamc pushed 2 commits to master: https://git.io/Jf32Q
dadada_ has joined #nixos
<waleee-cl> dxtr: or do you use a *-small channel? A package not included would trigger a source build
<{^_^}> [nixpkgs] @Mic92 merged pull request #86577 → i3-gaps: 4.18 -> 4.18.
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jf325
<dxtr> Yes it turns out I have some overlays. Will try disabling them and see what happens
<dxtr> How do I see what channel I am using?
<evils> how can i build `wxGTK31 { withGtk2 = false; };` from a local checkout from the commandline? (i'm looking for a command to pass to git bisect) in all-packages.nix wxGTK31 is inheriting GConf from gnome2
<waleee-cl> dxtr: nix-channel --list
dadada_ has quit [Client Quit]
<dxtr> I assume that's not a small channel
<waleee-cl> no, pretty unlikely to get a source build from there
dadada_ has joined #nixos
whatisRT` has joined #nixos
<dxtr> Could it be that noXlibs is set?
<dxtr> So it tries to compile all packages without X
<{^_^}> [hydra] @gilligan opened pull request #746 → Add CI badge to README.md → https://git.io/Jf32A
bbarker has joined #nixos
<waleee-cl> not familiar with that option, but seems like a possible suspect
<waleee-cl> yeah, seems to have effects like source rebuilds https://github.com/NixOS/nixpkgs/issues/26523
<{^_^}> #26523 (by danbst, 2 years ago, open): Setting `environment.noXlibs = true` causes openjdk to rebuild
<bbarker> I had an aborted nixos-rebuild failure due to a lost ssh connection, resulting in corrupted .drv files for nix itself - any suggestions on how to fix? https://discourse.nixos.org/t/repair-a-botched-upgrade/6986
<dxtr> waleee-cl: Yeah I found that too
<dxtr> I'll try without it
o1lo01ol1o has quit [Remote host closed the connection]
phreedom has joined #nixos
o1lo01ol1o has joined #nixos
<dxtr> Yep, that seems to be it
<dxtr> That's good to know!
<tobeportable> bbarker, this might help : https://nixos.org/nixos/manual/#sec-nix-store-corruption
<{^_^}> [hydra] @grahamc pushed 2 commits to master: https://git.io/Jf3aJ
<{^_^}> [hydra] @grahamc merged pull request #746 → Add CI badge to README.md → https://git.io/Jf32A
<waleee-cl> dxtr: were you gunning for an x-free wayland rebuild?
<dxtr> No, a server
<waleee-cl> ah, yeah. no x would be pretty tempting
<eyJhb> b42: perfect!
<dxtr> I mean it's fine that it recompiles. As long as I know *why* it's doing it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86579 → k9s: 0.18.1 -> 0.19.
dadada_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
dadada_ has joined #nixos
hlisp has joined #nixos
alp has quit [Quit: Leaving]
alp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86580 → kak-lsp: 7.0.0 -> 8.0.
pie_[bnc] is now known as pie_
chagra has quit [Quit: WeeChat 2.7.1]
morgrimm has joined #nixos
mallox has quit [Ping timeout: 260 seconds]
splintah has quit [Ping timeout: 265 seconds]
chagra has joined #nixos
mallox has joined #nixos
gilligan has joined #nixos
<gilligan> Hi
* gilligan logs into irc after *checks notes..* many many months
<gchristensen> hey gilligan! =)
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<gilligan> gchristensen, i almost wrote :wave: .. i'm spoiled
<gchristensen> I often use «emoji».«graphics-format» like wave.bmp, or cat-with-heart-eyes.tif
morgrimm has quit [Ping timeout: 272 seconds]
<bbarker> tobeportable, interesting, `nixos-rebuild switch --repair` worked! I thought i tried it but I guess I did something else: `nix-store --verify --repair --check-contents`
<{^_^}> [nixpkgs] @sorki closed pull request #86574 → x264: unset AS for aarch32 as well → https://git.io/Jf3g7
<gilligan> gchristensen, hah, i'll remember that
therealsarcastic has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
therealsarcastic has quit [Ping timeout: 246 seconds]
hlisp has quit [Ping timeout: 272 seconds]
phreedom has quit [Remote host closed the connection]
vancz has joined #nixos
phreedom has joined #nixos
whyuk has joined #nixos
<whyuk> How would you start troubleshooting a system that kills itself by removing the current generation upon running nix-collect-garbage (-d)? /nix/var/nix/gcroots/{booted-system,current-system,profiles} are all present and resolving correctly
<vancz> whyuk: sounds like the current generation isnt getting a GC root?
<clever> whyuk: it sounds like the current generation isnt even in db.sqlite
<vancz> so I guess I'd check that
<clever> vancz: any currently running binary is rooted, via /proc voodoo
<clever> whyuk: what happens if you `nix-store -qR /run/current-system` ?
<vancz> Oh hm. clever is that described anywhere?
<whyuk> It tells me that the path is not valid
<clever> whyuk: yeah, definitely sounsd like the path is missing from db.sqlite
<clever> whyuk: is this a new install? how did things get like this?
<whyuk> I am creating a custom system for one of my home devices. /nix is on a tmpfs, relying on the activation script to populate /nix/var subdirs
o1lo01ol1o has joined #nixos
<whyuk> I mount the /nix/store from a squashfs
<whyuk> The system boots and works perfectly
<clever> whyuk: ah, you need to import a backup of db.sqlite on the first boot
<whyuk> Ah, I thought only /nix/store was needed I thought the activation script handled everything beneath /nix/var
<whyuk> Is db.sqlite literally the only file I need or are there any other obvious pitfalls to what I'm doing?
<clever> whyuk: the squashfs tooling in nixpkgs already made the backup, you just need to import it like this
<viric> AH opencl was working
<whyuk> Ah
<whyuk> That's very helpful!
<viric> I got context creation problems because it tried to list all devices or cpus or who knows what and *some* fail.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86582 → klayout: 0.26.2 -> 0.26.
hlisp has joined #nixos
<viric> AH it uses the OpenCL CPU device, not GPU
<viric> grmbl
alp has quit [Ping timeout: 260 seconds]
<clever> whyuk: what are you doing with that squashfs boot?
o1lo01ol1o has quit [Ping timeout: 264 seconds]
rsa has quit [Ping timeout: 244 seconds]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86583 → kotlin: 1.3.71 -> 1.3.7
morgrimm has joined #nixos
<whyuk> clever: I am experimenting with a stateless/read-only system, booting from USB for small home-server like machines
<clever> whyuk: ah, do you want the squashfs to live entirely in ram (usb can be unplugged after boot), or live on the usb?
<whyuk> So I only bring boot and /nix/store and let the activation handle the rest (or so I thought)
captn3m0 has quit [Ping timeout: 272 seconds]
<whyuk> Actually I have just successfully test-booted a setup where I use ramdisks and "real" filesystems on those
<whyuk> I've just booted with /nix/store being zfs receive'ed from the usb, very cool
<clever> whyuk: this uses the netboot images nixos already contains
<clever> whyuk: the entire rootfs.squash is held within the initrd, so you dont need any special logic to find it
<clever> if you nix-build this file, you get a dir with a kernel, initrd, and a partial grub config file
captn3m0 has joined #nixos
<whyuk> Perhaps that's worth investigating. Currently I've just scripted building the thing from another nixos install. I use the chroot-functionality to "trim" the store before "packaging"
redkahuna has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86584 → kubectx: 0.8.0 -> 0.9.
<whyuk> I feel like https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/closure-info.nix should give me what I need, right? I am not using the built in squashfs tooling and I can't figure out how to extract the closure stuff from https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-squashfs.nix
<redkahuna> Hey all, I an in mac os catalina, i installed nix and remove it and reinstall it and now nix-env don't find any derivation. can someone help me plz ? for ex:
<redkahuna> nix-env -i gpg
<redkahuna> error: selector 'gpg' matches no derivations
reallymemorable has quit [Quit: reallymemorable]
<clever> whyuk: lines 18 and 22 of make-squashfs.nix
<clever> whyuk: line 18 will generate a directory containing info about a list of store paths, 22 will generate the db.sqlite backup, and 25 will read the list of paths the backup describes
<clever> whyuk: and storeContents can just be a list containing config.system.build.toplevel
<clever> whyuk: you could also try the tar tooling instead
<dxtr> Hmm
hlisp has quit [Read error: Connection timed out]
<dxtr> So I'm trying to mount an nfs mount And I get "Failed to mount RPC Pipe File System" so it can't switch to the new configuration *BUT* the nfs mount it still mounted
<clever> dxtr: did you enable nfs client support?
<dxtr> How do I enable nfs client support?
<clever> dxtr: either `boot.supportedFilesystems = [ "nfs" ];` or set the fsType of something in fileSystems.foo to "nfs"
<dxtr> I set the fsType to nfs
<clever> then it should just be automatic
hlisp has joined #nixos
<dxtr> Well, running 'nixos-rebuild switch' fails
<dxtr> Although the mount point is mounted
<whyuk> clever: how can I perform what line 18 (of make-squashfs.nix) does either in a chroot or directly in the target configuration.nix?
<dxtr> And the log says "systemd[1]: Failed to mount RPC Pipe File System." so that's very helpful
<raboof> gchristensen: should I split https://nixos.org/nixpkgs/manual/#sec-language-perl into 'running scripts on the shell' and 'packaging'? or would it fit better somewhere else?
monsieurp has joined #nixos
<clever> dxtr: it could be kernel version issues, try a reboot?
<gchristensen> raboof: sure, that would be cool
NinjaTrappeur has quit [Quit: WeeChat 2.8]
NinjaTrappeur has joined #nixos
<clever> whyuk: lines 73, and 69, will put config.system.build.toplevel into the list that 18 was referencing
<dxtr> clever: Ahha! Found the issue
<clever> dxtr: ?
<dxtr> mount: /var/lib/nfs/rpc_pipefs: permission denied
<whyuk> clever: Thank you, I will try that
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86585 → leatherman: 1.11.0 -> 1.12.
<dxtr> Why does it get permission denied there? :P
<clever> dxtr: did you run nixos-rebuild as root? are the permissions in /var weird? any errors in `dmesg`?
<dxtr> I don't see anything weird about the permissions
<dxtr> And yes, I run it as root
hlisp has quit [Ping timeout: 260 seconds]
<dxtr> No errors in dmesg
<clever> dxtr: stat / /var /var/lib /var/lib/nfs /var/lib/nfs/rpc_pipefs
<clever> and toss it all into a pastebin
hlisp has joined #nixos
rvanlaar has quit [Remote host closed the connection]
zupo has joined #nixos
<dxtr> What is it trying to mount rpc_pipefs as?
<clever> dxtr: looks totally normal
<clever> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
<clever> dxtr: thats what `mount` should say when it works
<dxtr> Yeah I'm guessing this is a openvz issue
<clever> dxtr: oh, yeah, that would definitely be it
<clever> dxtr: the host isnt allowing you to do that
<clever> openvz can make a lot of things return permission errors, even as root
<clever> because your not really root
romildo has joined #nixos
<dxtr> Can I tell it to not do that sunrpc mount?
redkahuna has quit [Ping timeout: 258 seconds]
<clever> unknown
<dxtr> Because, I mean, the mount point works
<dxtr> I can mount it manually
<clever> i'm not sure what that mountpoint is really used for
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86586 → lego: 3.5.0 -> 3.6.
<dxtr> And it is mounted after I try to switch the config even though it fails
<romildo> How does one run a test from pkgs/nixos/tests ?
alp has joined #nixos
<clever> romildo: all of the tests are attributes of nixos/release.nix
<clever> romildo: you can just look at the attrset within that (either in an editor, or `nix repl`), and then just build one of those attrs
<romildo> clever, I want to add a test for the enlightenment DE.
<clever> romildo: then youll probably want to be editing release.nix to add the tests to it
aranea has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #86514 → git-lfs: install man pages → https://git.io/Jf3lU
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jf3oU
hlisp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86587 → leo-editor: 6.2 -> 6.2.
<{^_^}> [nixpkgs] @marsam merged pull request #86543 → conftest: 0.18.1 -> 0.18.
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3ot
<{^_^}> [nixpkgs] @marsam merged pull request #86550 → drawio: 12.9.9 -> 13.0.
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3os
woffs has joined #nixos
alp has quit [Quit: Leaving]
tobeportable has quit [Remote host closed the connection]
dadada_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<dxtr> clever: Just FYI. I added systemd.services.rpc-gssd.enable = false;
<dxtr> And now it works
<clever> dxtr: ah, simple!
<dxtr> Yeah
<romildo> clever, let's say I want to run the xfce test. What commands exactly should I type in the terminal for that purpose? What should be the current directory?
redkahuna has joined #nixos
<dxtr> rpc-gssd is only used for Kerberos stuff as far as I know
<dxtr> And I don't use kerberos
<{^_^}> [nixpkgs] @marsam merged pull request #86563 → flyctl: 0.0.110 -> 0.0.11
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3oE
<b42> romildo: nix-build nixos/tests/xfce.nix should work
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3ou
<{^_^}> [nixpkgs] @marsam merged pull request #86541 → cmake-format: 0.6.9 -> 0.6.1
<clever> romildo: `nix-build '<nixpkgs/nixos/release.nix>' -A tests.xfce.x86_64-linux`
<{^_^}> [nixpkgs] @marsam merged pull request #86539 → clojure-lsp: 20200412T033138 -> 20200413T14174
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3oz
<clever> you can either use -I nixpkgs= to remap it somewhere, or just give it an absolute/relative path to the release.nix instead
redkahuna has quit [Ping timeout: 246 seconds]
cdepillabout has joined #nixos
<{^_^}> [nixpkgs] @raboof opened pull request #86589 → Add section on running ad-hoc Perl programs to the nixpkgs manual → https://git.io/Jf3ow
dadada_ has joined #nixos
hlisp has joined #nixos
reallymemorable has joined #nixos
therealsarcastic has joined #nixos
<dxtr> Is it safe to put stuff in, say, /usr/local/bin
<dxtr> ?
<dxtr> Or will it get wiped eventually?
<dxtr> I have a program I made myself that I want to run as a service
<clever> dxtr: its best to build it with nix and have it live in /nix/store/
<dxtr> Aww, alright
<{^_^}> [nixpkgs] @marsam merged pull request #86536 → circleci-cli: 0.1.6949 -> 0.1.717
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3o1
<dxtr> I guess it could be a fun exercise to create a package
<symphorien> dxtr: it won't be wiped, but its dependencies (libc, etc.) will be when you run the nix gc
<dxtr> It's statically compiled so
<symphorien> with musl or glibc
<symphorien> ?
<dxtr> glibc
<symphorien> then it still depends on the ELF linker of glibc
<symphorien> which will be removed eventually
<dxtr> That's true
<dxtr> Oh well, guess I'll spend the evening creating a package for it
hlisp has quit [Ping timeout: 256 seconds]
splintah has joined #nixos
therealsarcastic has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #86515 → bfs: 1.6 -> 1.
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3o7
<DamienCassou> Hi
<DamienCassou> why is https://github.com/NixOS/nixpkgs/pull/86294 not being checked automatically please?
<{^_^}> #86294 (by DamienCassou, 3 days ago, open): Fix man pages in i3-gaps
<{^_^}> [nixpkgs] @marsam merged pull request #86512 → azure-storage-azcopy: 10.3.4 -> 10.4.
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3ob
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86590 → libbpf: 0.0.7 -> 0.0.
<{^_^}> [hydra] @gilligan opened pull request #747 → Extend Setup Information → https://git.io/Jf3oA
<maralorn> Is it usual for Haskell applications in nixos, when they are incompatible with the provided cabal package set, that they get their own small collection of overrides?
johnjay has quit [Ping timeout: 264 seconds]
<infinisil> maralorn: Pretty much yeah
redkahuna has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #86477 → gitui: init at 0.2.0 → https://git.io/JfOpe
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3KU
<{^_^}> [nixpkgs] @DamienCassou merged pull request #85982 → bat-extras: init at 20200408 → https://git.io/JfLxl
<{^_^}> [nixpkgs] @DamienCassou pushed 2 commits to master: https://git.io/Jf3KT
<maralorn> infinisil: What about libraries. When a library has not working version bounds we are just out of luck, aren‘t we?
<infinisil> Can also get overridden
<infinisil> Often they work just fine, but have too limited constraints in the cabal file
<{^_^}> [nixpkgs] @marsam merged pull request #86529 → catcli: 0.5.13 -> 0.6.
<infinisil> (which is what doJailbreak fixes, removing all version constraints)
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3KL
<maralorn> infinisil: I see.
vyorkin` has quit [Remote host closed the connection]
<maralorn> infinisil: One last questions, when there are certain haskell packages that are broken on stable. Is it okay to fix them there or should I fix them on master and then use unstable?
<maralorn> Because I have a set off working overrides for e.g. ghcide. Maybe I can just upstream them?
<{^_^}> [hydra] @grahamc merged pull request #747 → Extend Setup Information → https://git.io/Jf3oA
<{^_^}> [hydra] @grahamc pushed 2 commits to master: https://git.io/Jf3Kq
redkahuna has quit [Ping timeout: 272 seconds]
<infinisil> maralorn: What I do: If it's broken on stable, fix it and submit a PR to release-20.03 with it. Then also check if it's broken on the haskell-updates branch in the same way (which gets merged into master), and fix it there too if so
<maralorn> Okay.
morgrimm has quit [Ping timeout: 260 seconds]
<maralorn> I wonder if I could have some testing infrastructure for the hackage packages I care about, so that I get a warning, when they are broken.
<{^_^}> [nixpkgs] @SRGOM closed pull request #84454 → powershell: 6.2.3 -> 7.0.0 → https://git.io/JvN5q
<maralorn> Wait, I don‘t need a testing infrastructure. I just need query hydra in the right way.^^
<infinisil> Some time ago, you could get emails when a package you maintain breaks
<maralorn> Uh, that sounds nice.
johnjay has joined #nixos
<maralorn> Do you coincidently know about some Haskell application that actually uses custom overrides so that I can have a look how to do that in nixpkgs?
<aanderse> anyone who works on the wiki and documentation have opinions on this PR: https://github.com/NixOS/nixpkgs/pull/78168
<aanderse> comments welcome
<{^_^}> #78168 (by mikesperber, 14 weeks ago, open): nixos/doc: Rudimentary documentation for Subversion-inside-Apache HTTP.
<{^_^}> [nixpkgs] @DamienCassou merged pull request #85487 → xkcdpass: make available as application → https://git.io/JfJDX
<{^_^}> [nixpkgs] @DamienCassou pushed 2 commits to master: https://git.io/Jf3K4
luna has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #86547 → ddgr: 1.8 -> 1.8.
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3K2
igghibu has joined #nixos
johnjay has quit [Ping timeout: 258 seconds]
whyuk has left #nixos [#nixos]
<infinisil> maralorn: For packages that are in hackage, you can look at pkgs/development/haskell-modules/configuration-common.nix
vidbina has joined #nixos
cjpbirkbeck has joined #nixos
ambro718 has joined #nixos
igghibu has quit [Quit: Textual IRC Client: www.textualapp.com]
redkahuna has joined #nixos
tobeportable has joined #nixos
hlisp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86591 → libcec: 4.0.4 -> 5.0.
<{^_^}> [nixpkgs] @bandresen opened pull request #86592 → clj-kondo: 2020.04.05 -> 2020.05.02 → https://git.io/Jf3Kh
hlisp has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bennofs merged pull request #86185 → keybase,kbfs,keybase-gui: 5.3.1 -> 5.4.2 → https://git.io/JfmLp
<{^_^}> [nixpkgs] @bennofs pushed 3 commits to master: https://git.io/Jf36f
splintah has quit [Ping timeout: 265 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
redkahuna has quit [Ping timeout: 246 seconds]
johnjay has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #86578 → imgproxy: 2.11.0 -> 2.13.
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf36L
luna has quit [Quit: Leaving]
<hyper_ch> sphalerite: yes, why?
<{^_^}> [nixpkgs] @bandresen opened pull request #86593 → babashka: 0.0.89 -> 0.0.90 → https://git.io/Jf36q
cole-h has joined #nixos
tobeportable has quit [Quit: Leaving]
nschoe has quit [Quit: No Ping reply in 180 seconds.]
<das-g[m]> What am I missing? Why isn't it building remotely on the builder specified on the command line?
therealsarcastic has joined #nixos
nschoe has joined #nixos
<clever> das-g[m]: building a kernel requires a special feature flag
<infinisil> das-g[m]: What's /etc/nix/machines?
<infinisil> Oh never mind
<infinisil> You specified it in the cli
<das-g[m]> Where do I find out which feature flag?
<clever> das-g[m]: if you run `nix show-derivation` on the drv for linux
mallox has quit [Ping timeout: 265 seconds]
<clever> you should see it in required features
mallox has joined #nixos
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
redkahuna has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86594 → liblcf: 0.6.1 -> 0.6.
<siers> is there any reason not to include all drivers for services.printing.drivers?
<{^_^}> [nixpkgs] @adisbladis opened pull request #86595 → dockertools: Add a buildLayeredImageWithNixDb function → https://git.io/Jf36w
<gchristensen> is it possible to get an options's default and append to it?
<das-g[m]> clever++
<infinisil> gchristensen: Yeah, add `options` to the arguments at top, then e.g. options.nix.nixPath.default
<{^_^}> clever's karma got increased to 403
<das-g[m]> Thanks!
<gchristensen> great!
romildo has quit [Quit: Leaving]
redkahuna has quit [Ping timeout: 272 seconds]
zupo has joined #nixos
<das-g[m]> Can "sudo nixos-rebuild" use SSH agent forwarding for accessing the builder? It does work for "sudo ssh", but nixos-rebuild gives me
<das-g[m]> cannot build on 'ssh://das-g@10.2.1.188': cannot connect to 'das-g@10.2.1.188': Permission denied, please try again.
<{^_^}> [nixpkgs] @marsam merged pull request #86534 → checkstyle: 8.31 -> 8.3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf36Q
dadada_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<das-g[m]> (I'm entering these commands in an SSH session started with -A.)
orcus has joined #nixos
<clever> das-g[m]: it may be spawning the ssh from nix-daemon, which breaks the forwarding chain
<das-g[m]> Ah, pity. I'll create a key then.
<clever> das-g[m]: NIX_REMOTE=local may force it to stop, but simpler to just make a key
<clever> das-g[m]: you can also use nix-copy-closure to copy the drv file out of the machine, then nix-build it, and nix-copy-closure the product back out
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86596 → libmypaint: 1.5.1 -> 1.6.
orcus has quit [Ping timeout: 240 seconds]
romildo has joined #nixos
cdepillabout has quit [Quit: Leaving]
akamaus has quit [Ping timeout: 240 seconds]
redkahuna has joined #nixos
<cole-h> gchristensen: If you re-deploy whatever {^_^} is hosted on, the missing characters in ^ should be fixed
<gchristensen> hm?
<cole-h> Notice the missing link from the r-ryantm PRs?
<cole-h> ryantm/nixpkgs-update#189
<{^_^}> https://github.com/ryantm/nixpkgs-update/issues/189 (by cole-h, 11 hours ago, open): Messages cut off in IRC due to newline character
<gchristensen> cool
<cole-h> So if you re-deploy, we can click on r-ryantm links again ;)
redkahuna has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #86597 → libosmium: 2.15.4 -> 2.15.
<kayg04> any help with this? /run/current-system/sw/bin/nixos-install: line 79: NIXOS_CONFIG: unbound variable
<kayg04> got that error while trying to install NixOS 20.03
fusion809 has quit [Remote host closed the connection]
<infinisil> kayg04: No idea about why this even happens, but you can probably just do `export NIXOS_CONFIG=""` to fix it for now
splintah has joined #nixos
<kayg04> has it been reported before?
ambro718 has quit [Ping timeout: 256 seconds]
<kayg04> what should ideally $NIXOS_CONFIG be set to?
orcus has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
<srk> kayg04: /etc/nixos/configuration.nix
<srk> kayg04: I have it in NIX_PATH="nixpkgs=/etc/nixpkgs:nixos-config=/etc/nixos/machines/duck/configuration.nix"
<kayg04> in one of my installed NixOS servers, echoing $NIXOS_CONFIG results nothing
<srk> oh for installer, nvm
* srk <context404>
<dxtr> Can I tell it to "re-install" a package?
<cole-h> infinisil: Would this be solved by `"${NIXOS_CONFIG:-}"`, maybe?
<dxtr> I'd like to completely reinstall postgresql
<infinisil> kayg04: It should default to /etc/nixos/configuration.nix, so NIXOS_CONFIG shouldn't need to be set at all
<srk> dxtr: what's the reason?
<infinisil> cole-h: Possibly, but I'm wondering why this starts happening now when it worked before
<dxtr> srk: I installed the wrong server version and now I have the old database lying around
<dxtr> So I'd like to start from a clean slate
<kayg04> infinisil: it's weird considering I've never come across this error before. Both configuration.nix and hardware-configuration.nix are at their right places.
<srk> dxtr: you can disable the module, clean-up datadir and enable again
<infinisil> kayg04: What's the interpreter in the nixos-install script at the top?
<dxtr> How do I disable the module?
<srk> dxtr: or skip disabling step, clean-up datadir, start with new version
<srk> dxtr: not module per se, postgres
<dxtr> Remove it from my configuration.nix?
<srk> dxtr: are you using services.postgresql.enable?
<dxtr> yes
<srk> dxtr: yeah, via that. but not strictly needed, you can just stop the service and remove the data dir
ixxie has joined #nixos
<dxtr> alright
<srk> dxtr: then rebuild with correct pg version and it will recreate it
<srk> instead of deleting it's probably better to just move old data dir (in case it contains something valuable :))
<kayg04> infinisil: here's the full output: https://url.kayg.org/1y
<dxtr> srk: It contains nothing. Just an empty database
<srk> dxtr: yeah, best practice rant :D
<dxtr> I ain't backing up an empty database - best practice or not :P
<kayg04> infinisil: what interpreter? I'm just running nixos-install --no-root-passwd --root /mnt
<srk> course :)
<infinisil> kayg04: Check out `head $(which nixos-install)`, there should be a bash path up there
<{^_^}> [nixpkgs] @Valodim opened pull request #86598 → linux: CONFIG_HIDRAW=y → https://git.io/Jf3i0
symphorien has quit [Quit: WeeChat 2.8]
<kayg04> #! /nix/store/9si14qjcz8072c0v42zbkglq08s2cg04-bash-4.4-p23/bin/bash
redkahuna has joined #nixos
<kayg04> infinisil ^
romildo has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @marsam merged pull request #86373 → icu67: init at 67.1 → https://git.io/JfYQu
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3i2
<infinisil> kayg04: Oh hm, do you perhaps have something like `set -u` in your ~/.bashrc or similar?
<betaboon> is there any indicator that i can use in nixos-configurations wether I'm running x11 or wayland ?
<kayg04> infinisil: yeah, I do actually
<kayg04> I have an installer script
<infinisil> kayg04: Oh yeah, that's it then :)
<kayg04> ah
<kayg04> let me set set +u temporarily
<kayg04> thanks, mate
turlando has left #nixos ["Leaving"]
turlando has joined #nixos
<cole-h> infinisil: Maybe we should `set +u` in the nixos-install script?
<infinisil> cole-h: Maybe yeah
<cole-h> Or use POSIX expansions
redkahuna has quit [Ping timeout: 265 seconds]
arjen-jonathan has quit [Ping timeout: 260 seconds]
<cole-h> `set -u` + `test -z $NIXOS_CONFIG && echo hi` -> unbound
<cole-h> `set -u` + `test -z ${NIXOS_CONFIG:-} && echo hi` -> hi
<kayg04> is there a reason bash is used instead of POSIX sh for nixos-install and similar scripts?
symphorien has joined #nixos
<infinisil> Well with Nix there's no problem with using bash if you set it in the shebang
knupfer has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @pacien opened pull request #86599 → [WIP] ldgallery: init at 1.0 → https://git.io/Jf3iP
<{^_^}> [nixpkgs] @dywedir merged pull request #86571 → hcxtools: 6.0.1 -> 6.0.
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/Jf3iX
<sphalerite> hyper_ch: I used it a number of times in the past, and recognised the domain name earlier when I was looking for some sources.list-related information, and thought "I recognise that!"
whatisRT` is now known as whatisRT
<hyper_ch> sphalerite: I should update it :)
iassai has joined #nixos
<sphalerite> hyper_ch: maybe! Or add a link saying "Have you considered using NixOS?" :p
<hyper_ch> ;)
akamaus has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #86579 → k9s: 0.18.1 -> 0.19.
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3PJ
slack1256 has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
ddellacosta has joined #nixos
<dckc> so idris 1.3.2 is "marked as broken" in nix... any clues? how do I tell nix to install 1.3.1 or something
therealsarcastic has quit [Ping timeout: 256 seconds]
<dckc> trying `nix-channel --update`. it was silent. did it do anything?
<dckc> `nix upgrade-nix` seemed to do stuff...
<dckc> replacing old 'nix-2.4pre20191022_9cac895'
<dckc> installing 'nix-2.3.4'
<m1cr0man> I am unreasonably angry after reading this thread
<m1cr0man> TL;DR Old man yells at distribution that doesn't match the norm
<m1cr0man> and also things grub constitutes a graphical installer
Scriptkiddi has quit [Quit: killed]
das_j has quit [Quit: killed]
mrpi has quit [Quit: killed]
hlolli__ has joined #nixos
<emily> ngl, I was expecting a lot less mild-mannered and a lot more unfair criticisms from the prospect of "zed shaw reviews nixos"
ajs124 has joined #nixos
Scriptkiddi has joined #nixos
<emily> he's kind of right that docs/the fractured state of tooling are a big drawback
das_j has joined #nixos
mrpi has joined #nixos
<emily> lol @ "It's just too confusing and there's about 10 tools you have to understand: ... readlink" though
<emily> given that this is the guy who trolled about Python 3 not being Turing complete I think we got off easy
reallymemorable has joined #nixos
<betaboon> is it possible to provide the virtualmachine build with `nixos-rebuild build-vm` with more ram ?
o1lo01ol1o has quit [Remote host closed the connection]
<clever> betaboon: yes
user_0x58 has joined #nixos
<{^_^}> [nixos-homepage] @worldofpeace pushed 0 commits to update-nixpkgs-on-cron: https://git.io/Jf3P2
ambro718 has joined #nixos
reallymemorable has quit [Client Quit]
<m1cr0man> emily: I agree with him that it takes > 30 minutes to figure out, but damn like you really only need like 3 of the tools he mentioned to do everything
akamaus has quit [Ping timeout: 264 seconds]
<betaboon> clever: thanks. just figured out a solution as well. as the `result` is just starting `qemu-kvm` i can just pass arguments to it ... eg `-m 1024`
<clever> betaboon: that also works
asbachb has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
akamaus has joined #nixos
mynick has joined #nixos
mynick has quit [Client Quit]
mynick has joined #nixos
piezoid has joined #nixos
mynick has quit [Client Quit]
dadada_ has joined #nixos
slack1256 has quit [Ping timeout: 265 seconds]
splintah has quit [Ping timeout: 272 seconds]
<ixxie> Anybody here got experience with the Minecraft options?
<m1cr0man> Yeah
<{^_^}> [nixpkgs] @marsam pushed to master « git-lfs: fix manpage install »: https://git.io/Jf3Pb
o1lo01ol1o has joined #nixos
shibboleth has joined #nixos
shabius has joined #nixos
akamaus has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
akamaus has joined #nixos
captn3m0 has quit [Ping timeout: 246 seconds]
reallymemorable has joined #nixos
ddellacosta has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
captn3m0 has joined #nixos
<ixxie> m1cr0man: any idea if the world is reset if I change the option for game mode from survival to creative?
reallymemorable has quit [Client Quit]
<m1cr0man> ixxie: It depends on where your world is stored, but in most cases no it won't reset it
o1lo01ol1o has quit [Remote host closed the connection]
<ixxie> m1cr0man: just stuck to the defaults
<ixxie> m1cr0man: I'm assuming that will be fine?
<m1cr0man> ixxie: ok 1 sec I can double check I'd hate to be the one to wipe your world
<m1cr0man> ixxie: Yeah there's no code that will wipe the world, ever. Did you set services.mincraft-server.declarative to true though? Otherwise changing gamemode won't do anything
lorimer has joined #nixos
endformationage has joined #nixos
<ixxie> m1cr0man: yes I did
<ixxie> m1cr0man: thanks for the info :)
<ixxie> m1cr0man: do you know if this server has any kind of CLI?
<maralorn> Am I seeing correctly that there hasn‘t been a merge of haskell-updates into master since february 7th?
<cole-h> You are wrong. One happened just yesterday.
asbachb has quit [Ping timeout: 245 seconds]
ericsagnes has quit [Ping timeout: 260 seconds]
doda has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arjen-jonathan has joined #nixos
therealsarcastic has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
<{^_^}> [hydra] @gilligan opened pull request #748 → Add comment about edolstra/flake-compat → https://git.io/Jf312
teto has quit [Ping timeout: 272 seconds]
redkahuna has joined #nixos
therealsarcastic has quit [Ping timeout: 258 seconds]
ericsagnes has joined #nixos
redkahuna has quit [Ping timeout: 260 seconds]
teto has joined #nixos
plutes has quit [Ping timeout: 256 seconds]
shibboleth has quit [Quit: shibboleth]
plutes has joined #nixos
zebrag has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @matthuszagh opened pull request #86602 → pylibftdi: point to correct libusb library → https://git.io/Jf3Mo
redkahuna has joined #nixos
fabianhjr has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
redkahuna has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 265 seconds]
philr has quit [Ping timeout: 260 seconds]
<m1cr0man> ixxie: sorry went away. Not by default. You can get the console output with "journalctl -ru minecraft-server" but you can't write to it. Personally I set up the rcon
<ixxie> m1cr0man: yeah I noticed that.... and found the mcrcon cli for managing the server
<m1cr0man> ixxie: awesome ok
<m1cr0man> ixxie: pro tip the way the systemd service is set up, if you /stop your server in-game it will automatically restart.
zupo has joined #nixos
<ixxie> m1cr0man: well in this case I fully automated my server deployment using github's new CI/CD system and now I am adding some steps to automatically shut off the server, make a safe backup, powerup and the nixos-rebuild with the new config
<m1cr0man> ixxie: Oh that's awesome. Is that public? I wouldn't mind seeing how you've done it :)
<{^_^}> [nixpkgs] @Luflosi opened pull request #86603 → youtube-dl: 2020.03.24 -> 2020.05.03 → https://git.io/Jf3Df
<ixxie> m1cr0man: backup steps aren't implemented yet... working on that in my local clone atm
<ixxie> m1cr0man: input appreciated! I'm hoping to make this usable for others too :)
wozeparrot has joined #nixos
<m1cr0man> ixxie: This is nice :) I have a hetzner dedicated box so I might adapt it for managing the deployment of my own machine too. It does a bit more than just minecraft though ;)
mallox has joined #nixos
akamaus has quit [Ping timeout: 272 seconds]
gustavderdrache has joined #nixos
redkahuna has joined #nixos
<ixxie> m1cr0man: same story though, push a config and rebuild ^^
<ixxie> m1cr0man: I goal in the end is to make the thing totally idempotent, so it would create a vm from scratch if it doesn't find, but rebuild an existing one if it does
<ixxie> m1cr0man: and autobackup / restore
redkahuna has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @fabianhjr opened pull request #86604 → [20.03] keybase,kbfs,keybase-gui: 5.0.0 -> 5.4.2 → https://git.io/Jf3DC
<{^_^}> [nixpkgs] @bhipple merged pull request #86101 → magic-vlsi: init at 8.3.5 → https://git.io/Jfqmj
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jf3D4
<evelyn> hmm I've built a little package using nix-build. how can I force nix-build to rebuild the derivation after I havve e.g. enabled the sandbox?
<Valodim> is it expected behavior that `nix-build -A linuxPackages` fails complaining about some package that's broken?
<evelyn> I tried removving ./result and then running nix-collect-garbage but that doesn't seem to do the trick
<Valodim> I'm getting error: Package ‘cryptodev-linux-1.9-5.4.36’ in /home/valodim/nixpkgs/pkgs/os-specific/linux/cryptodev/default.nix:21 is marked as broken, refusing to evaluate.
<Valodim> (in the nixpkgs repository)
captn3m0 has quit [Ping timeout: 256 seconds]
<Valodim> ah, it's linux_latest and linux_4_4 etc. to build the kernel. nvm I guess
therealsarcastic has joined #nixos
<pbogdan> Valodim: it's also under `linuxPackages.kernel` IIRC
captn3m0 has joined #nixos
<pbogdan> (if you want just the kernel and not the set of all the modules)
<Valodim> thanks
<fabianhjr> I have never done a backport pull request before, is this alright? https://github.com/NixOS/nixpkgs/pull/86604
<{^_^}> #86604 (by fabianhjr, 9 minutes ago, open): [20.03] keybase,kbfs,keybase-gui: 5.0.0 -> 5.4.2
therealsarcastic has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
redkahuna has joined #nixos
proofofk_ has joined #nixos
<dxtr> [/etc/tmpfiles.d/nixos.conf:6] Unknown user 'postgres'. <- Interesting
<turlando> Doing an encrypted install I should encrypt /nix too, not just /, right?
<evils> turlando, are you putting /nix on a separate partition?
captn3m0 has quit [Ping timeout: 260 seconds]
redkahuna has quit [Ping timeout: 264 seconds]
proofofkeags has quit [Ping timeout: 264 seconds]
<turlando> evils yes. I'm doing a ZFS install ans I was planning to have /nix on a separate filesystem. I was thinking about encrypting the whole pool or single filesystems
captn3m0 has joined #nixos
Fare has joined #nixos
morgrimm has joined #nixos
<Ralith_> can someone merge https://github.com/NixOS/nixpkgs/pull/83874? it's been about a month
<{^_^}> #83874 (by expipiplus1, 4 weeks ago, open): swiftshader: init at 2020-03-31
<evils> turlando: i'm no expert, but i think while it's heavily avoided/recommended against, secrets can end up in /nix/store
<turlando> evils I'm new to Nix and that was my concern
morgrimm has quit [Ping timeout: 256 seconds]
proofofk_ has quit [Remote host closed the connection]
<Ralith_> cole-h: thanks, giving it a go
<{^_^}> [nixpkgs] @BKPepe opened pull request #86605 → wireguard-compat: 1.0.20200426 -> 1.0.20200429 → https://git.io/Jf3ym
bqv has quit [Quit: WeeChat 2.8]
xkapastel has quit [Quit: Connection closed for inactivity]
bqv has joined #nixos
redkahuna has joined #nixos
romildo has joined #nixos
<ixxie> m1cr0man: well getting the automated backups was pretty easy in the end
redkahuna has quit [Ping timeout: 272 seconds]
domogled has joined #nixos
<romildo> I am writing a NixOS test module for the Enlightenment DE.
<romildo> How can I get the text of a screen (for debugging purpose)?
<{^_^}> [nixpkgs] @alyssais opened pull request #86606 → wayfire: 0.4.0 → https://git.io/Jf3yg
<romildo> The text used for 'wait_for_text'.
lycium[m] has joined #nixos
<evils> how can i build `wxGTK31 { withGtk2 = false; };` from a local checkout from the commandline? (i'm looking for a command to pass to git bisect) in all-packages.nix wxGTK31 is inheriting GConf from gnome2
<cole-h> nix-build -E '(import ./. {}).wxGTK31.override { withGtk2 = false' }' should work from the root of a nixpkgs checkout
asheshambasta has quit [Ping timeout: 240 seconds]
<evils> cole-h++
<{^_^}> cole-h's karma got increased to 37
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #86132 → hpcg: init at 3.1 → https://git.io/JfqaM
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jf3yb
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @kasimon opened pull request #86607 → sooperlooper: Add alsa library build dependency → https://git.io/Jf3Sv
<Fare> I tried to build an overlay and it complained about name not being defined, when all my regular packages somehow automatically for name = "${pname}-${version}". What am I missing?
redkahuna has joined #nixos
ailiev[m] has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to master: https://git.io/Jf3SI
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to release-20.03: https://git.io/Jf3St
emilis has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
redkahuna has quit [Ping timeout: 256 seconds]
alp has joined #nixos
akamaus has joined #nixos
AmandaC has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
oborot has joined #nixos
AmandaC has joined #nixos
therealsarcastic has joined #nixos
zupo has quit [Client Quit]
stree has quit [Read error: Connection reset by peer]
stree has joined #nixos
therealsarcastic has quit [Ping timeout: 260 seconds]
<cole-h> (re-paste for context) adisbladis: I still wonder what you'd like me to do about `configFile` + `extraConfig`, and `sshAgentAuth`, when you have a moment ;^)
<adisbladis> cole-h: As you said in https://github.com/NixOS/nixpkgs/pull/86488#discussion_r418982628 sudo does indeed default to true for that value, so according to the principle of least astonishment doas should probably do the same
redkahuna has joined #nixos
fabianhjr has quit [Quit: Leaving.]
<adisbladis> I buy that argument :)
<adisbladis> re configFile I'm not sure at all
<adisbladis> I think those are highly surprising..
<adisbladis> For context we're talking about https://github.com/NixOS/nixpkgs/pull/86488#discussion_r418946261
<cole-h> I think your approach to use `environment.etc."doas.conf"` if they want to manually write the file is probably a better solution.
<cole-h> Will it error if `environment.etc."doas.conf".text` is set, but the user also specifies `extraRules` or `extraConfig`?
<{^_^}> [nixpkgs] @aanderse opened pull request #86608 → libcec: 4.0.4 -> 4.0.5 → https://git.io/Jf3Sz
reallymemorable has joined #nixos
thongpv87 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam pushed to master « notmuch: fix info output »: https://git.io/Jf3Sa
<adisbladis> cole-h: Nope, extraConfig/extraRules will just not be evaluated in that case.
redkahuna has quit [Ping timeout: 260 seconds]
<adisbladis> cole-h: I did some archeology and it seems that configFile is mainly there for historic reasons
<{^_^}> [nixpkgs] @zimbatm merged pull request #86046 → vpsfree-client: init at 0.11.0 → https://git.io/Jft6D
<{^_^}> [nixpkgs] @zimbatm pushed to master « vpsfree-client: init at 0.11.0 (#86046) »: https://git.io/Jf3Sw
<adisbladis> It existed _long_ before extraConfig/extraRules
<cole-h> So, basically, backwards compatibility. OK, then I'm in favor of removing it :)
<adisbladis> So as `doas` does not have the same historical baggage, let's scrap it :)
<cole-h> +1
<cole-h> Thanks for digging
thongpv87 has joined #nixos
qrnteen has joined #nixos
<adisbladis> Np =)
<cole-h> <3 adisbladis
<{^_^}> adisbladis's karma got increased to 64
lorimer has quit [Ping timeout: 265 seconds]
<emily> cole-h: adisbladis: using configFile lets you test the config syntax
<emily> fwiw
<emily> so it's not entirely without value
<emily> in practice there's probably no reason not to just use extraConfig, I guess maybe if you want to override the "permit nopass keepenv root" rule?
romildo has quit [Quit: Leaving]
<cole-h> "The last matching rule determines the action taken."
<cole-h> So, one would just need to `deny nopass keepenv root` or something, I guess
thongpv87 has quit [Ping timeout: 246 seconds]
<cole-h> adisbladis: Just to confirm: ssh stuff works fine for you, yes? One difference between this and sudo is that the sudo module has a "Defaults env_keep+=SSH_AUTH_SOCK" line to allow that for all rules
<cole-h> I could just automatically add SSH_AUTH_SOCK to every user/group's `setenv` rule, if it doesn't end up working... But I'm unclear on how keeping it lets pam_ssh_agent_auth.so "do its magic"
travelion7 has quit [Quit: bye]
redkahuna has joined #nixos
travelion78 has joined #nixos
iassai has quit [Quit: Connection closed for inactivity]
redkahuna has quit [Ping timeout: 265 seconds]
<emily> presumably one issue is that otherwise you can't nest sudo
<emily> since the nested one won't have an SSH_AUTH_SOCK to talk to, after the outer one strips it
morgrimm has joined #nixos
<cole-h> I see.
proofofkeags has joined #nixos
<cole-h> It appears to transfer just fine for me: `doas -s` (root shell) -> echo $SSH_AUTH_SOCK -> `doas -u rtorrent` (from `doas -s`) -> echo $SSH_AUTH_SOCK -> same value
<cole-h> `doas -u rtorrent bash`, that is
<cole-h> However, that doesn't mean authentication works...
<cole-h> Oh, no wonder it keeps for me lol. `permit persist keepenv :wheel`
<cole-h> Might be necessary, then...
<emily> hm, probably shouldn't default to keepenv for wheel, the sudo config doesn't seem to
<emily> not sure whether that merely permits keeping env or defaults to it
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 2.1.0 -> 2.1.1 »: https://git.io/Jf39Z
<cole-h> No, in my local config I had that set lol
<cole-h> keepenv is only set for root by default
proofofkeags has quit [Ping timeout: 246 seconds]
<adisbladis> configFile is _prepended_, extraConfig is _appended_
<adisbladis> Super surprising
<adisbladis> It's not at all what I expected
<adisbladis> cole-h: Yes, ssh stuff works for me with agent forwarding.
<cole-h> The only reason I'm reluctant to add SSH_AUTH_SOCK to setenv is because doas doesn't have any way to say "keep this for all rules" without literally doing `setenv { SSH_AUTH_SOCK }`
<cole-h> Unlike sudo with its `Defaults env_keep+=SSH_AUTH_SOCK`
<kapilp> why nixos is so popular. can i use it on server?
<kapilp> i am currently using arch linux on server
morgrimm has quit [Ping timeout: 240 seconds]
<arianvp[m]> Yes! It's great for servers
<adisbladis> kapilp: Yes, you can use it on servers :)
<kapilp> thanks
<kapilp> what is the differance with arch linux and nixos?
<arianvp[m]> Best reason I like it for servers is that you can rollback go previous versions when things go wrong
<kapilp> is it rolling release?
<cole-h> You choose.
<arianvp[m]> There's both a rolling release (unstable) and a bi-yearly release
<adisbladis> kapilp: "what is the differance with arch linux and nixos" - that is a bigger question than can reasonably be answered over an irc conversation
<kapilp> arianvp[m], adisbladis thank you so much
<adisbladis> Let's just say NixOS takes a radically different approach to packaging & configuration management and makes it fully declarative
<arianvp[m]> Another benefit I like about NixOS is that you can have multiple versions of the same package installed side by side
<kapilp> i tried to use nixos previously but i was failed.
<arianvp[m]> Which I found hard to do on arch
<kapilp> its too complicated.
<emily> cole-h: repeating it for each rule seems ok since they're autogenerated to begin with
<emily> defaults handling would complicate the trusted codebase of doas
<{^_^}> [nixpkgs] @prusnak opened pull request #86610 → sooperlooper: unstable-2016-07-19 -> unstable-2019-09-30 → https://git.io/Jf39W
<adisbladis> kapilp: Have no illusions, the learning curve is steep
<adisbladis> But it pays off.
<kapilp> oh how?
<{^_^}> [nixpkgs] @prusnak closed pull request #86607 → sooperlooper: Add alsa library build dependency → https://git.io/Jf3Sv
redkahuna has joined #nixos
<adisbladis> kapilp: Because you have a declarative composable system you can easily replicate things for one.
<cole-h> emily: Fair point. I'll make it so, then.
<adisbladis> It's very easy to share configuration across multiple machines
<kapilp> my application is written in C++. do i can run it in nixos?
teto has quit [Ping timeout: 240 seconds]
<adisbladis> kapilp: Yes. You are gonna want to write Nix expressions for your application though.
<adisbladis> NixOS model doesn't make it easy to just build a binary and throw it somewhere on the file system.
<adisbladis> In fact the Nix store is immutable.
<kapilp> oh thank you so much. i will try it.
<adisbladis> kapilp: Let me approach it from this perspective: What makes you think you want NixOS?
<adisbladis> What draws you to it?
<kapilp> its easy to configure anything in it
<kapilp> its just one file
<kapilp> but currently i am very bigginer to nixos.
<dmj`> Does nix copy absolutely require signing of store paths
<dmj`> I see "--no-check-sigs"
redkahuna has quit [Ping timeout: 272 seconds]
<dmj`> but I'm afraid when others fetch from the cache it will fail
<adisbladis> dmj`: If others also use --no-check-sigs you don't need signatures.
<adisbladis> --no-check-sigs requires you to be a trusted user
jboy46 has joined #nixos
<dmj`> I'm on ubuntu
<dmj`> how do I make my user trusted?
<clever> dmj`: if you have +w to /nix/store, you are trusted automatically
<adisbladis> If not you set `trusted-users = dmj` in /etc/nix/nix.conf
<dmj`> when I call nix-build isn't it performing the build as a different user? like this nix user?
<keithy[m]> I am a bit confused as usual. I am on nixos. when I run nano --version it tells me 4.4 but when I look in nixpkgs we are on 4.9.1
<jboy46> Hello all, I testing out a few things with nixos and nixops. How can I run a one time command that will execute on the machine after nixops deploy? Specifically, its a database setup command.
<clever> dmj`: only if you have nix-daemon setup and the store permissions restricted to root
<clever> keithy[m]: which channel are you on?
<keithy[m]> good question
<clever> keithy[m]: sudo nix-channel --list
<dmj`> clever: is there a way I don't have to specify --no-check-sigs
Fare has quit [Remote host closed the connection]
<clever> dmj`: sign things with `nix sign-paths` or set a secret key in nix.conf so it signs everything
<keithy[m]> ahh its nixos-19.09
<adisbladis> clever: Maybe you have something good to say about the doas pr?
<clever> keithy[m]: check the release-19.09 branch on github, and you should see it agree with you now
<clever> adisbladis: i would just use sudo, `sudo -u foo <cmd>`
<keithy[m]> ok so lets update, change channel?
<adisbladis> clever: I'm talking about https://github.com/NixOS/nixpkgs/pull/86488
<{^_^}> #86488 (by cole-h, 1 day ago, open): [WIP] nixos/doas: init
<dmj`> clever: I don't care who sees these deps though, they're just non proprietary open source deps
slack1256 has joined #nixos
<dmj`> no need to sign them it seems
<clever> keithy[m]: as root, `nix-channel --add <url> nixos`, then `nixos-rebuild switch --upgrade`
<emily> it's not about privacy, it's about trust
<keithy[m]> ok added 20.03
<dmj`> clever: ok how do I generate a public and private key then?
<dmj`> for the cache
<clever> dmj`: its in the man page for nix-store
<keithy[m]> I thought I had done this but I think pewrhaps I didnt sudo
* dmj` calls man nix-store
<clever> keithy[m]: each user has its own list of channels, you can `nix-channel --list` to see them
therealsarcastic has joined #nixos
<clever> adisbladis: ahh, looks like its more about adding a sudo replacement?
<adisbladis> Yeah
<adisbladis> I figured you _might_ have looked into doas before
<clever> adisbladis: nope
<dmj`> clever: I want to cache both the build time and runtime deps right
<clever> dmj`: yes
<dmj`> clever: will haskellDep.getBuildInputs.haskellBuildInputs have both of those?
teto has joined #nixos
<loyon[m]> is it possible to fetch channel packages and updates thru Tor?
<cole-h> bhipple++ ryantm++
<{^_^}> bhipple's karma got increased to 9
<{^_^}> ryantm's karma got increased!
therealsarcastic has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
zupo has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy merged pull request #86497 → woeusb,jetbrains,ark: prune p7zip → https://git.io/Jf3qV
<{^_^}> [nixpkgs] @petabyteboy pushed 3 commits to master: https://git.io/Jf39Q
cyphase has quit [Ping timeout: 246 seconds]
proofofkeags has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @adisbladis merged pull request #86595 → dockertools: Add a buildLayeredImageWithNixDb function → https://git.io/Jf36w
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/Jf39F
wozeparrot has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @veprbl merged pull request #86602 → pylibftdi: point to correct libusb library → https://git.io/Jf3Mo
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/Jf39N
redkahuna has joined #nixos
reallymemorable has joined #nixos
<cole-h> adisbladis: Somehow my recent push caused it to be a single rebuild? lol
<jboy46> Any tips on running a one time database migration script after nixops deploy?
<{^_^}> [nixpkgs] @veprbl merged pull request #76725 → schismtracker: 20120105 -> 20190805 → https://git.io/JeAgK
<{^_^}> [nixpkgs] @veprbl pushed commit from @OPNA2608 to master « schismtracker: 20120105 -> 20190805 (#76725) »: https://git.io/Jf39h
<clever> jboy46: store a db version# in the db, and in the prestart for your service, check what it is, and apply migrations based on the number
<adisbladis> cole-h: Nice, nested doas works =)
proofofkeags has quit [Ping timeout: 260 seconds]
<adisbladis> (With SSH_AUTH_SOCK set :))
<cole-h> :D
redkahuna has quit [Ping timeout: 265 seconds]
<cole-h> Just got another idea for a test. I think I'll squash after qyliss takes a look (if they get a chance)
<cole-h> (Forgot to censor the ping... sorry)
<Raito_Bezarius> Does anyone knows if there is some binary cache for numpy+mkl?
<Raito_Bezarius> I have seen nix-data somewhere, but it seems unmaintained/broken
<adisbladis> Raito_Bezarius: Nope, MKL is non-free and not redistributable
<Raito_Bezarius> adisbladis: AFAIK, it's free to redistribute, but it's non-free right
<Raito_Bezarius> There was this: https://hydra.nix-data.org/project/nix-data
<Raito_Bezarius> apparently
<Raito_Bezarius> But that does not really seem maintained
<Raito_Bezarius> adisbladis: Also; do you know if the numpy from nixpkgs require to be recompiled against MKL to be used with MKL or could I just use LD_LIBRARY to dynamically switch to MKL?
user_0x58 has quit [Ping timeout: 260 seconds]
<adisbladis> I think you need to do it compile time (but I'm not sure)
chagra has quit [Ping timeout: 246 seconds]
<Raito_Bezarius> Alright, maybe I thought there was some clear well defined ABI so that MKL/openBLAS can be swapped
<energizer> when i run `sudo nixos-rebuild switch` it gets stuck. strace says it's accessing /run/systemd/ask-password. what is it trying to do?
chagra has joined #nixos
<qyliss> cole-h: pings are fine but what's the context?
griff__ has quit [Quit: griff__]
alp has quit [Ping timeout: 272 seconds]
<cole-h> qyliss: adisbladis requested your review on #86488
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86488 (by cole-h, 1 day ago, open): [WIP] nixos/doas: init
<arianvp[m]> Interesting energizer
<adisbladis> qyliss: I requested your review on a PR as I think you generally have good input on these kind of things =)
reallymemorable has quit [Quit: reallymemorable]
<qyliss> Oh, okay :)
<qyliss> Will have a look if I get a moment
<cole-h> Thanks, no rush :)
<cole-h> (I'm still really curious why moving that block causes a single rebuild...)
reallymemorable has joined #nixos
<dmj`> clever: thanks clever it seems to be working
griff__ has joined #nixos
<adisbladis> cole-h: That's tests.nixos-functions.nixos-test.x86_64-linux
<adisbladis> So completely expected
<cole-h> I forgot I could check the changed paths lol
<cole-h> Embarassing, considering how I work on borg and all :D
redkahuna has joined #nixos
<energizer> do yall edit hardware-configuration.nix?
<clever> energizer: i try to keep all the changes to configuration.nix, in theory, you should be re-running nixos-generate-config to update hardware-configuration.nix
<clever> though, some of my machines just lack a hardware-configuration.nix entirely
<CRTified[m]> energizer: I used to, but now I think it's not the best idea, as it's more sane to keep it auto-generated (and thus easily replacable)
jkachmar has joined #nixos
Darkmatter66 has joined #nixos
redkahuna has quit [Ping timeout: 265 seconds]
<energizer> alright
Darkmatter66_ has quit [Ping timeout: 256 seconds]
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @kini opened pull request #86611 → afio: package has moved to GitHub → https://git.io/Jf3HF
amfl_ has joined #nixos
<energizer> man configuration.nix says gutenprint.${lib.version.majorMinor (lib.getVersion pkgs.cups)}://brother-hl-5140/expert but lib.version is a string
proofofkeags has joined #nixos
o1lo01ol1o has joined #nixos
<energizer> aha, looks like it's supposed to be lib.versions
<cole-h> Should be `lib.versions.majorMinor`, plural "versions"
<energizer> doctests are useful, just sayin'
<Raito_Bezarius> adisbladis: sounds like on the latest commit on lapack/blas switching, you can just do
<cole-h> Feel free to create and add them ;^)
<Raito_Bezarius> `LD_LIBRARY_PATH=$(nix-build -E '(with import <nixpkgs> {}).lapack.override { lapackProvider = pkgs.mkl; is64bit = true; })')/lib:$(nix-build -E '(with import <nixpkgs> {}).blas.override { blasProvider = pkgs.mkl; is64bit = true; })')/lib ./your-blas-linked-binary`
<Raito_Bezarius> to dynamic switch from blas
<Raito_Bezarius> to mkl
amfl has quit [Ping timeout: 272 seconds]
slack1256 has quit [Ping timeout: 272 seconds]
<amanjeev> hey all! can the method of checking PR for package updates be used for module updates? I see https://nixos.org/nixpkgs/manual/#reviewing-contributions-package-updates which is really convenient to check for package updates.
o1lo01ol1o has quit [Ping timeout: 260 seconds]
mr_sm1th has joined #nixos
proofofkeags has quit [Ping timeout: 272 seconds]
<mr_sm1th> Why is nix-env --uninstall == nix-env -e
<mr_sm1th> What does the -e stand for?
<cole-h> amanjeev: How do you mean module updates? NixOS modules aren't versioned, AFAIK.
<cole-h> mr_sm1th: -e stands for erase, I believe.
<mr_sm1th> Ah. Makes sense.
<cole-h> Probably because `-u` is reserved for `--upgrade`
<colemickens> sometimes you just run out of meaningful letters
<cole-h> lol, or that
<adisbladis> colemickens: Lucky we have emoji
<clever> colemickens: thats when you bust out your thesaurus!
<cole-h> nix-env -🔫 new flag
<cole-h> nix-env --uninstall == nix-env -🔫
redkahuna has joined #nixos
<clever> cole-h: have fun typing that over a 7bit serial link
<Raito_Bezarius> did someone succeeded to build numpy against lapack-reference?
<energizer> ui 2.0, nix 🔫
<colemickens> you know, you didn't have to send that. you didn't have to make me think about `someapp 👁=/dev/video0` being a thing
<colemickens> is that actually possible though
jboy46 has quit [Remote host closed the connection]
<cole-h> HAHA
<energizer> i dont see why not colemickens
<colemickens> cole-h: oh you beat me again, damn, and a good emoji to boot
<cole-h> colemickens: See: Swift
* colemickens clearly doesn't know enough posix/unix
<cole-h> IIRC, you can program completely in emojis, IIRC. Or almost-completely
<cole-h> "IIRC, ..., IIRC" nice one, cole
<siers> how do I copy a directory to the store?
<cole-h> siers: Depends on what you want to do with it.
<adisbladis> siers: "${./directory}"
<clever> siers: just put an unquoted path in your nix expr
<cole-h> ^
<cole-h> > /asdf
<{^_^}> /asdf
<siers> ah, of course :)
<cole-h> Hehe.
<clever> cole-h: he also made an instant messaging app, that only allows emoji
<cole-h> Isn't that just like Facebook Messenger or something
<cole-h> x)
<clever> cole-h: it even required that your username be emoji
redkahuna has quit [Ping timeout: 246 seconds]
cyphase has joined #nixos
<cole-h> 🥶🤗 is my username
<cole-h> cold (cole) (h)ugging
<evelyn> you may recall it was at one point possible to chat to facebook messenger using a jabber client
griff__ has quit [Quit: griff__]
<adisbladis> clever: My final container ended up exactly the same size as the current official NixOS one
<clever> adisbladis: does it have systemd in the closure?
__monty__ has quit [Quit: leaving]
<adisbladis> clever: No
<clever> adisbladis: util-linux depends on it by default
<adisbladis> clever: util-linux is also not in the closure
<clever> ah
<cole-h> util-linux depends on systemd? :o
<clever> cole-h: yeah
<adisbladis> clever: Also I'm compiling nix without AWS & seccomp support
arjen-jonathan has quit [Ping timeout: 260 seconds]
<adisbladis> That shaves off ~10M
therealsarcastic has joined #nixos
<clever> adisbladis: i could see the loss of s3 being a potential problem, if anybody wants to `nix-store --option substituters s3://bucket`
<cole-h> Why not seccomp?
<clever> cole-h: probably doesnt work in docker
<adisbladis> This ^
<adisbladis> Needs a privileged container anyway
<cole-h> Oh, we're talking docker containers
lux2 has quit [Quit: WeeChat 2.7.1]
linarcx has quit [Ping timeout: 272 seconds]
<adisbladis> It'd be awesome to reuse the NixOS modules for the config files
therealsarcastic has quit [Ping timeout: 260 seconds]
<clever> adisbladis: the explorer example i linked, is using the whole nixos to configure things, but its no fully automated
redkahuna has joined #nixos
<clever> adisbladis: and this is an example of how to make your own module thing
<dsal> stack complains that there's a newer version. Something (home-manager?) puts the nix-env in front of my path so I can't easily just use a locally installed version. Is there an easy way to grab the latest stack?
redkahuna has quit [Ping timeout: 260 seconds]
<clever> dsal: i prefer to never put any compiler things in nix-env, so that cant happen
alp has joined #nixos
<dsal> Oh yeah. I guess the super easy thing is to just take that out of home-manager.
<clever> the only time i get compiler tools, is when i run nix-shell
simukis_ has quit [Quit: No Ping reply in 180 seconds.]
proofofkeags has joined #nixos
<dsal> I don't use nix-shell much, but I don't use my computer much without stack.
simukis_ has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
<ixxie> does nix care whether you evaluate an expression to get an option name?
<clever> ixxie: as long as the expression doesnt depend on related options, its fine
abrar has joined #nixos
fabianhjr has joined #nixos
<ixxie> is there some builtin for running a shell command?
shafox has quit [Remote host closed the connection]
proofofkeags has quit [Ping timeout: 265 seconds]
<clever> ixxie: what do you want to run, and what do you want to do with the output?
shatsky has joined #nixos
shibboleth has joined #nixos
<energizer> "warning: error(s) occurred while switching to the new configuration" but did it still switch, or did it rollback, or something in between?
<ixxie> clever: I need to add a floating ip address to a network interface, but the interface name is unknown so I want to determine it at build time with $(ip -j link | jq -r '.[] | select(.ifindex == 2).ifname')
<clever> ixxie: but the interface name at buildtime, may be wrong next time you boot
<clever> ixxie: so you should push that choice off until runtime, or make the if name more predictable
<ixxie> is that possible?
<clever> ixxie: depends on what exactly your doing
o1lo01ol1o has joined #nixos
<shatsky> Greetings! I want to create PR with a tiny commit enabling hw accel in kwin_wayland. I have tested my patch with local branch branched from same commit as recent stable channel revision which produced my system profile. However when creating PR from it I got >1000 commits in it. I've rebranched this branch from master and now it's only 1 as
<shatsky> desired. Is it ok to create PR from it? I mean I haven't rebuilt system from master branch and I think it's gonna take many days on my hw...
<ixxie> clever: well, I wanna add networking.interfaces = { ??? = { ipv4.addresses = [ { address = (builtins.getEnv "floating_ip"); } ]; }; };
<ixxie> clever: so I figured I would have to get this at build time... I'm currently building on the target machine and the point is not so much that the interface is expected to change between reboots (that doesn't normally happen right?) but rather that the config should be usable on random VMs where the interface name isn't known
<ggp0647> 36
redkahuna has joined #nixos
<clever> ixxie: i would make a systemd service that figures it out at runtime
ggp0647 has quit [Remote host closed the connection]
<ixxie> clever: hmm I've never done that before
<clever> ixxie: finding a link...
<ixxie> clever: but I sorta can't imagine there isn't some other tool for this kind of stuff
<ixxie> floating ip assignment has to be a common problem
wozeparrot has joined #nixos
redkahuna has quit [Ping timeout: 246 seconds]
therealsarcastic has joined #nixos
<Raito_Bezarius> ixxie: what you want might be an activationScript (?)
<{^_^}> nixops#605 (by 3noch, 3 years ago, open): DigitalOcean networking module
<clever> Raito_Bezarius: activation scripts could run before the driver is loaded, a systemd unit would be better
<Raito_Bezarius> clever: wouldn't activationScript have dependencies?
<Raito_Bezarius> you could ask for want=[…] right?
<clever> Raito_Bezarius: activationScripts just run in a bash shell, before systemd is even launched
<cole-h> Not with activationScript -- I don't think it's implemented as a DAG in NixOS
<Raito_Bezarius> clever: *ah*
<ixxie> clever: if the example is in the link in the first comment... that link is dead now :(
<Raito_Bezarius> i didn't know that actScript was outside of systemd
<Raito_Bezarius> interesting
<Raito_Bezarius> cole-h: does it call the famous toposort of the stdlib?
therealsarcastic has quit [Ping timeout: 260 seconds]
<Raito_Bezarius> any reason BTW why the toposort is in O(N^2) ?
<clever> ixxie: it got re-uploaded, a few comments down
<clever> ixxie: "we've moved:"
<ixxie> ah I see
<{^_^}> [nixpkgs] @talyz opened pull request #86614 → php.buildpecl: Make it possible for PECLs to depend on other PECLs, fix apcu_bc and couchbase → https://git.io/Jf37B
maddo2 has joined #nixos
alp has quit [Quit: Leaving]
maddo has quit [Ping timeout: 272 seconds]
<armin> hm, what font do i need to install in order to make my browser display this? https://emojipedia.org/apple-logo/
<monokrome> Soooo... display-manager is running but the X server isn't visible anywhere
<monokrome> Anyone know what may cause that?
<clever> monokrome: did you hit ctrl+alt+f1 or similar?
<monokrome> last log is "Logind interface found"
<clever> monokrome: try ctrl+alt+f7 ?
<monokrome> clever: Nope, but it's also not on TTY7
<{^_^}> [nixpkgs] @shatsky opened pull request #86615 → plasma5.kwin: add mesa dependency → https://git.io/Jf37i
<armin> monokrome: did you check what journalctl has to say?
redkahuna has joined #nixos
<monokrome> armin: I think I just answered that?
<monokrome> hmm switched from sddm to lightdm and now it gets logs that say Failed with result 'exit-code'
<monokrome> now fails to start, though
redkahuna has quit [Ping timeout: 260 seconds]
<monokrome> slim gives some errors
<monokrome> can probably work off of that
aveltras has quit [Quit: Connection closed for inactivity]
<monokrome> upgrading to 20.03 didn't seem to fix it
<monokrome> hmm
reallymemorable has quit [Quit: reallymemorable]
fenedor has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #86616 → gnupg: disable ldap support on darwin → https://git.io/Jf35t
<monokrome> also /window merge
<monokrome> oops
redkahuna has joined #nixos
<monokrome> seems like updating to 20.03 has caused my bootloader to not be detected
<monokrome> I reboot into an old configuration before 20.03 O_o
<monokrome> no other Linux boot manager shows in the EFI list
<clever> monokrome: was /boot mounted correctly when you ran nixos-rebuild ?
mr_sm1th has quit [Ping timeout: 260 seconds]
<clever> monokrome: if its not mounted, you stop updating the bootloader cfg
<monokrome> seems not
<monokrome> wat
<clever> monokrome: sounds like your hardware-configuration.nix is missing it then?
<monokrome> somehow yeah
<monokrome> but it was working before
fendor has quit [Ping timeout: 265 seconds]
<clever> monokrome: i typically `chmod 0 /boot` before i mount /boot, so if that mistake ever happens, you get permission errors
samrose_ has quit [Quit: Konversation terminated!]
samrose has joined #nixos
<monokrome> that's a good idea!
redkahuna has quit [Ping timeout: 265 seconds]
<Raito_Bezarius> clever: i am going to steal this trick
Luigi[m] has joined #nixos
andymandias_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
c382feb92 has joined #nixos
andymandias has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @greydot opened pull request #86617 → latte-dock: 0.9.10 -> 0.9.11 → https://git.io/Jf351
<symphorien> How does it work given that root can read anything ?
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<clever> symphorien: i believe `chmod 0` still impacts root, not sure why exactly
medvid has quit [Read error: Connection reset by peer]
mr_sm1th has joined #nixos
<clever> hmmm, just tried it, and its not working anymore...
<symphorien> Chattr +i maybe ?
<clever> symphorien: that would probably work, if you can mount over it
<iqubic> How is possible that nixpkgs can have derivations for things which cost money, like factorio?
<drakonis> steam has lots of things that cost money for sale/
<drakonis> ?
<symphorien> Because the license is asked for and checked at runtime ?
<clever> iqubic: factorio can only install if you put an auth token into your config.nix file
medvid has joined #nixos
<iqubic> How would one get an auth token for that sort of thing?
SunWuKung has joined #nixos
<drakonis> by buying the game?
<clever> iqubic: by logging in on the factorio site
<iqubic> I see.
c382feb92 has quit [Ping timeout: 240 seconds]
<clever> iqubic: and you can only login if you can proove you paid for it
<clever> 6 , username ? "", token ? "" # get/reset token at https://factorio.com/profile
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<monokrome> reboted and it found the new boot loader, which seems to have failed to boot and I ended up in Windows :|
<iqubic> What would be the correct format to put an auth token like that into configuration.nix?
oldyas has joined #nixos
fenedor has quit [Read error: Connection reset by peer]
akamaus has quit [Ping timeout: 272 seconds]
akamaus has joined #nixos
redkahuna has joined #nixos
o1lo01ol1o has joined #nixos
Fare has joined #nixos
redkahuna has quit [Ping timeout: 260 seconds]
piezoid has quit [Quit: leaving...]
<Fare> How in an overlay do I refer to a file in <nixpkgs> that I may callPackage ?
proofofkeags has joined #nixos
<arianvp[m]> You can't. But you can call override on any callPackaged package and should be the same
<arianvp[m]> Override is basically callPackage
nek0 has quit [Remote host closed the connection]
mallox has quit [Quit: WeeChat 2.8]
nek0 has joined #nixos
astwalker has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy pushed to master « nixos/deluge: remove p7zip from extraPackages defaults »: https://git.io/Jf3FO
chloekek has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #86618 → 1password: 0.9.4 -> 0.10.0 → https://git.io/Jf3FW
xO1 has quit [Ping timeout: 240 seconds]
redkahuna has joined #nixos
_deepfire has joined #nixos
<rooke> If submitting a package to nixpkgs should I be adding my self as a contributor in the meta field? Some packages seem to have this filled out, some don't.
<gchristensen> please
<rooke> Will do
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
astwalker is now known as dduan
thc202 has quit [Ping timeout: 260 seconds]
therealsarcastic has joined #nixos
<dduan> noob question: what is the path to the build location of a nix-build while it's in-progress? (On NixOS)
o1lo01ol1o has joined #nixos
<cole-h> $TMPDIR I believe
redkahuna has quit [Ping timeout: 260 seconds]
<cole-h> Which defaults to /tmp
therealsarcastic has quit [Ping timeout: 260 seconds]
<betaboon> colemickens: in your nixpkgs-wayland overlay - what's the point of having packages in there that are by now in nixpkgs ? :)
AmandaC_ has joined #nixos
AmandaC has quit [Ping timeout: 260 seconds]
hlisp has joined #nixos
<dduan> I see! So when nix-build package x, there'd be a directory in /tmp named nix-build-x-VERSION-N. I think that's the temporary build location?
mr_sm1th has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @prusnak opened pull request #86619 → steam: update generated runtime dependencies → https://git.io/Jf3bh
mbrgm_ has joined #nixos
<cole-h> betaboon: Because the ones in his overlay are built from git
<cole-h> betaboon: So you don't need to wait for a release (which is what it takes to get updated in nixpkgs usually)
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<betaboon> cole-h: so the advantage is having more frequent updates while having binary-cache support due to cachix ?
<cole-h> At the potential cost of stability, yes.
freeman42x has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<betaboon> cole-h: thanks
pbb has joined #nixos
redkahuna has joined #nixos
<rooke> haha turns out what I was looking at adding was already in nixpkgs just not whatever version of it I have I guess, got right up to adding it to all-packages.nix and then saw it oh well
reallymemorable has joined #nixos
redkahuna has quit [Ping timeout: 265 seconds]
<dduan> is there a way to ask nix-build to preserve the build artifacts in /tmp if the build fails? Right now I see them only while the build is in progress
<armin> dduan: -K
<dduan> oh, I should've read the manual more carefully.
<dduan> thanks
<betaboon> cole-h: are you using that overlay ?
<armin> yw :)
<cole-h> Indeed.
griff__ has joined #nixos
oldyas has quit [Quit: Konversation terminated!]
<betaboon> cole-h: I'm trying to build from HEAD but wlroots fails with "run-time dependency wayland-server found: NO" oO above it says "Dependency wayland-server found: NO found 1.17.0 but need: '>=1.18'" any hints ?
<cole-h> Try updating nixpkgs.
<colemickens> so uh ldlework did you ever get past this? https://logs.nix.samueldr.com/nixos/2018-08-21#1495779;
<colemickens> I'm building a python thing and I can't get it to see dbus-python
<cole-h> colemickens: New hash mismatch in i3status-rust blocking builds again ;^)
philr has joined #nixos
<colemickens> I'm so over it. ugh.
proofofkeags has quit [Remote host closed the connection]
<cole-h> (cargosha256)
<ldlework> colemickens: i have no idea :$
<cole-h> betaboon: What are you actually trying to build? sway?
<ambro718> How do I make Python find packages installed with pip?
proofofkeags has joined #nixos
<ldlework> ambro718: in a nix-shell it should kind of just work, right?
<betaboon> cole-h: yeah sway.
o1lo01ol1o has quit [Remote host closed the connection]
<betaboon> cole-h: ah. i guess i have to use wayaland-protocols and wayland from nixos-unstable ..
<ambro718> ldlework: I created a nix-shell environment which includes pip, and in that shell I successfully used pip to install something, but trying to import that fails
hlisp_ has joined #nixos
proofofkeags has quit [Remote host closed the connection]
<cole-h> betaboon: wayland is 1.18 in unstable, but 1.17 in 20.03
<{^_^}> [nixpkgs] @flokli merged pull request #86619 → [20.03] steam: update generated runtime dependencies → https://git.io/Jf3bh
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-20.03: https://git.io/Jf3N7
proofofkeags has joined #nixos
<ldlework> ambro718: you need a virtualenv
hlisp has quit [Ping timeout: 264 seconds]
<ldlework> ambro718: have you seen poetry?
<ambro718> what?
<ldlework> not sure which part was confusing
<{^_^}> [nixpkgs] @zimbatm pushed commit from @cole-h to master « nixpkgs-fmt: fix erroneous debug output (#86335) »: https://git.io/Jf3Nb
<{^_^}> [nixpkgs] @zimbatm merged pull request #86335 → nixpkgs-fmt: fix erroneous debug output → https://git.io/JfYRA
<betaboon> cole-h: yeah. thanks. using those two from unstable now. seems to work
<ambro718> ok managed to make it work with virtualenv, thanks
<ambro718> the poetry, what does python have to do with poetry?
maxter has quit [Ping timeout: 272 seconds]
<adisbladis> ambro718: ldlework is talking about https://github.com/python-poetry/poetry
<ambro718> ah I see
<adisbladis> And supposedly https://github.com/nix-community/poetry2nix :)
<{^_^}> [nixpkgs] @flokli opened pull request #86621 → python.pkgs.binwalk: remove p7zip from propagatedBuildInputs → https://git.io/Jf3NA
<colemickens> so if I build a python package and do this: nix-shell -p python3Packages.joycontrol
<colemickens> how do I know the store path to joycontrol's files?
<adisbladis> colemickens: 1. Don't do that. `pythonXPackages` is an anti-pattern.
<colemickens> I guess I can juts call nix-build again for it
<colemickens> Oh!
<adisbladis> > python3.withPackages(ps: [ ps.joycontrol ])
<{^_^}> attribute 'joycontrol' missing, at (string):309:28
<adisbladis> nix-shell -p 'python3.withPackages(ps: [ ps.joycontrol ])'
<colemickens> Its one I'm working on, sorry
<Raito_Bezarius> if I want to package some static webapp stuff, should I make a tarball or should I make a derivation with the stuff in $out/ as a folder?
<Raito_Bezarius> what's preferred?
<adisbladis> Man do I want to get rid of the pythonPackages sets from top-level attributes...
<Raito_Bezarius> :D
<cole-h> adisbladis: It looks nicer than python3.pkgs.* (IMO), but that's about all it's got going for it :P
reallymemorable has quit [Quit: reallymemorable]
<adisbladis> cole-h: I think a reasonable step 1 is to move `python3Packages` -> `python3.pkgs`
<cole-h> I think it already is?
<adisbladis> I mean remove the python3Packages attribute
<cole-h> Oh, roger.
<adisbladis> Because.. Let's say you do this: nix-shell -p python3Packages.requests python2Packages.requests
<adisbladis> Your PYTHONPATH is mixing interpreter versions
<ambro718> I get this trying to use pip in a venv: TypeError: 'module' object is not callable
turlando has quit [Remote host closed the connection]
<ambro718> can someone help? very obscure error
<Fare> how do I avoid this? shrinking /nix/store/5m6r7kkcd5crfh3cc2ska9qrzwb3pf9q-gerbil-utils-unstable-2020-05-02/lib/gerbil/lib/lib/clan/poo/mop__1.o1 I tried dontStrip = true; but that doesn't look like it's helping.
<adisbladis> Iirc that's a pip bug
<adisbladis> ambro718: Which pip version are you on?
<ambro718> adisbladis: not sure, I just did something like this in default.nix, https://pasteall.org/MKDG
<ambro718> pythonPackages = pkgs.python3Packages, nixos branch 20.03
<ambro718> "which pip3" before sourcing the venv shows /nix/store/nglmx4prf4cyx6lzskvfmqfs4xlw97n4-python3.7-pip-19.3.1/bin/pip3
<risson> Is there any way I can disable gixy for nginx config checking?
<emily> adisbladis: hm, should python application derivations not be taking python3Packages?
<emily> what should they be taking instead?
<cole-h> emily: python3 and get the packages from `python3.pkgs.*`, I'd imagine
<cole-h> (or python2 and `python2.pkgs.*` respectively)
<emily> so "python3.pkgs.buildPythonApplication"? kinda longwinded but sure
<emily> I guess it's no more longwinded
<adisbladis> ambro718: For one this is how you properly construct a python shell.nix http://ix.io/2kx1/nix
<Raito_Bezarius> adisbladis: do you know why using poetry2nix, the toplevel package is rebuilt as a wheel each time?
<adisbladis> Raito_Bezarius: That's a buildPythonPackage implementation detail
<adisbladis> poetry2nix is still using the python build infrastructure from nixpkgs
<Raito_Bezarius> it's impossible to cache the result?
<Raito_Bezarius> based on the inputs I mean
<adisbladis> Raito_Bezarius: I'm just gonna guess that you are not filtering sources or something like that?
<Raito_Bezarius> adisbladis: no, I'm not doing it
<adisbladis> What does your expression look like?
<Raito_Bezarius> I thought poetry2nix had some stuff in it for this
<Raito_Bezarius> projectDir = ./.; overrides = some-stuff; python = someExternalVar;
<adisbladis> It does
dduan has quit [Quit: leaving]
<Raito_Bezarius> does it filter the source automatically or should I do it myself?
<adisbladis> Hm, using `projectDir` without `src` applies your gitignores
<Raito_Bezarius> I'm not ignoring default.nix
<ambro718> withPackages is apparently just: { buildEnv, pythonPackages }: f: let packages = f pythonPackages; in buildEnv.override { extraLibs = packages; }
<Raito_Bezarius> And each changes to default.nix triggers the rebuild (of the toplevel pkg)
<adisbladis> Right, and you're changing it?
<Raito_Bezarius> Indeed
<adisbladis> That explains it :)
reallymemorable has joined #nixos
<Raito_Bezarius> Should I filter default.nix?
<Raito_Bezarius> (using filterSource manually)
<adisbladis> You can compose your own source filtering with the poetry2nix default
nschoe has quit [Quit: No Ping reply in 180 seconds.]
<Raito_Bezarius> That's very nice
<adisbladis> Gimme a sec :)
<ambro718> ah so it does some magic, I see
<ambro718> thanks
<ambro718> I didn't like it at first because I don't like receiving the "packages" argument again in a lambda...
nschoe has joined #nixos
gilligan has quit [Quit: Leaving]