gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
jasongrossman has joined #nixos
jackdk has quit [Ping timeout: 258 seconds]
jluttine has quit [Ping timeout: 246 seconds]
<matthewbauer[m]> Yeah we’ve done a lot more work on cross building musl but native builds are important to get workjg too
jasongro` has joined #nixos
jasongrossman has quit [Remote host closed the connection]
ng0 has quit [Remote host closed the connection]
jasongro` has quit [Client Quit]
ng0 has joined #nixos
npmccallum has quit [Quit: npmccallum]
npmccallum has joined #nixos
ryantrinkle has quit [Ping timeout: 244 seconds]
eadwu has joined #nixos
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
jluttine has joined #nixos
<{^_^}> [nixpkgs] @notriddle opened pull request #55795 → Fix compilation for wkhtmltopdf → https://git.io/fh79S
<{^_^}> [nixpkgs] @jabranham opened pull request #55796 → gnupg: 2.2.12 -> 2.2.13 → https://git.io/fh799
npmccallum has quit [Quit: npmccallum]
<gchristensen> who is around? :) :) :) need some help in a PM
<matthewbauer[m]> elvishjerricco: You should take a look at https://github.com/NixOS/nixpkgs/pull/55750
<{^_^}> #55750 (by matthewbauer, 18 hours ago, open): [wip] Allow using LLVM for cross compilation toolchain
<matthewbauer[m]> It is trying to make the way for compiling WASM executables
<elvishjerricco> matthewbauer[m]: Whoa. That looks great. What's that gigantic patch file for?:
<{^_^}> [nixpkgs] @leenaars opened pull request #55797 → pythonPackages.pantable: init at 0.11.1 → https://git.io/fh797
jackdk has joined #nixos
<samueldr> gchristensen: curious if I can help :)
<gchristensen> yesss
<justanotheruser> for some reason having xserver.displayManager.sessionCommands = "${pkgs.feh}/bin/feh --bg-scale wallpaperpath.jpg" results in my wallpaper showing up for a second right when I log in but not persisting. If I do that command after logging in from my terminal emulator, the background sticks. Where should I put that command so it always sticks?
dramforever has joined #nixos
jethro` has joined #nixos
slack1256 has joined #nixos
npmccallum has joined #nixos
jluttine has quit [Ping timeout: 240 seconds]
DrLambda has joined #nixos
npmccallum has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jabranham closed pull request #55796 → gnupg: 2.2.12 -> 2.2.13 → https://git.io/fh799
haslersn has quit [Ping timeout: 256 seconds]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon3 is now known as Mateon1
UltraPhil has left #nixos ["Leaving"]
<gchristensen> WAY TO GO TEAM
<gchristensen> " I can’t stress this enough but the manuals (Nix, NixOS, Nixpkgs, all three of them) are really comprehensive. I thought that ArchLinux install guide was in-depth but this is really on the next level. The availability of the manual offline on install USB system is a big plus."
<gchristensen> also, !!! "There’s the IRC channel. To be honest I have never heard that name (“IRC”) ever in my life, only read about it and used it once. That doesn’t say anything about other users though."
thc202 has quit [Ping timeout: 244 seconds]
<slabity> What's that quote from?
Rusty1 has joined #nixos
<slabity> Nice
<dramforever> I personally would prefer information organized in cookbook form in a wiki, like wiki.archlinux.org. Doesn't mean comprehensive guides don't go to nixos.wiki though.
<gchristensen> everybody who has ever contributed to the Nix ecosystem should read those thoughts and feel very very proud, you've earned it
Wharncliffe has joined #nixos
<dramforever> Pretty sure anyone who's tried to scroll down on {nix,nixpkgs,nixos}/manual would find it just a little bit messy.
<dramforever> Not to downplay the the achievement of everyone, of course.
<slabity> Yea, a single webpage is not the best media for that kind of info
<slabity> Viewing it as multiple pages is much nicer
<gchristensen> the nixos manual used to be multiple pages, and it was not as nice :P
<gchristensen> ctrl-f is pretty rockin'!
<gchristensen> it could definitely be improved though
jluttine has joined #nixos
<samueldr> also read my last reply before commenting on weirdness
<dramforever> I feel that an important point of wiki is that it's unorganized at the top level
<slabity> Okay that format is pretty nice
phizzz has quit [Ping timeout: 245 seconds]
<gchristensen> samueldr++
<{^_^}> samueldr's karma got increased to 56
<dramforever> We have topic pages that link to each other, instead of a whole bunch of sections and subsections and whatever
eadwu has quit [Quit: WeeChat 2.3]
eadwu has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
jethro` has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fh7HW
oborot has joined #nixos
oborot has quit [Remote host closed the connection]
ottidmes has quit [Ping timeout: 245 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
jluttine has joined #nixos
kisonecat has joined #nixos
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
woodson has joined #nixos
sigmundv has joined #nixos
slack1256 has quit [Remote host closed the connection]
infinisil[m] is now known as infinisil-m
jluttine has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #55793 → linux: allow for interpreter to be truncated → https://git.io/fh7Sx
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/fh7HX
ryantrinkle has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
jluttine has joined #nixos
jackdk has quit [Ping timeout: 245 seconds]
jackdk has joined #nixos
silver has quit [Read error: Connection reset by peer]
<Rusty1> !hound
<gchristensen> search.nix.gsc.io
<gchristensen> ?
<gchristensen> search.tx0.co also
<Rusty1> poking the ctl-f fanboy
<Rusty1> :-)
<gchristensen> lol
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-18.09: https://git.io/fh7HD
lawlesseel has quit [Remote host closed the connection]
lawlesseel has joined #nixos
sigmundv has quit [Ping timeout: 257 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-18.09: https://git.io/fh7HS
woodson has quit [Remote host closed the connection]
fusion809 has joined #nixos
phizzz has joined #nixos
shibboleth has joined #nixos
shibboleth has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
rcshm has quit []
phizzz has quit [Ping timeout: 250 seconds]
alex_giusi_tiri has left #nixos [#nixos]
ddellacosta has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
kisonecat has quit [Ping timeout: 250 seconds]
<abbafei[m]> Hi everyone, I made pull #55615 which also adds a few new dependencies. Is it done properly? Is it ready to be merged?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/55615 (by hhm0, 3 days ago, open): cdimgtools,libdvdcss12,perlPackages.DataHexdumper: init at 0.3, init at 1.2.13, init at 3.001
eadwu has quit [Quit: WeeChat 2.3]
<dramforever> Is it possible to specify an AccessKey when using a s3: store URI?
Bryan[m]1 has joined #nixos
<abbafei[m]> thanks grahamc for the review :-)
ebzzry has quit [Quit: WeeChat 2.3]
<gchristensen> abbafei[m]: thank you for trying to get it up to date :)
<abbafei[m]> also if anyone would be able take a look at my two other open pulls: #55748 (`bbe`, very straightforward) and #55367 (`toybox`, similar to `busybox` (and based on its derivation) ). thanks! love how easy it is to package stuff, and how responsive the NixOS team is :-).
<{^_^}> https://github.com/NixOS/nixpkgs/pull/55748 (by hhm0, 22 hours ago, open): bbe: init at 0.2.2
<{^_^}> https://github.com/NixOS/nixpkgs/pull/55367 (by hhm0, 1 week ago, open): toybox: init at 0.8.0
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rcshm has joined #nixos
mobile_c has joined #nixos
<abbafei[m]> no pressure though :-) currently have them in overlay on my machine :-)
slyfox_ has joined #nixos
slyfox has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @grahamc pushed to release-18.09 « Revert "shellFor: Don't suck in src to compare to deps. [Fixes #51079]" »: https://git.io/fh7Qw
Bryan[m]1 has left #nixos ["User left"]
cryptomonoid has quit [Quit: Sup]
<disasm> I'm trying to get cardano-rust to build on nixos 9bef10d1bbd1321d98aa6b30ba030631806ad153. I get an error no such file or directory running cargo build. full backtrace is here: https://gist.github.com/disassembler/dddaad0287b3a94f38f8ea543992928e
<disasm> this is the repo I'm trying to build: https://github.com/input-output-hk/rust-cardano My intent is to use carnix once I get it to build so I can build it purely.
aither has quit [Ping timeout: 268 seconds]
snajpa has quit [Ping timeout: 268 seconds]
countingsort has joined #nixos
aither has joined #nixos
snajpa has joined #nixos
counting1ort has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55794 → atom updates → https://git.io/fh794
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fh7QS
rcshm has quit []
vk3wtf has quit [Ping timeout: 258 seconds]
ddellacosta has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @veprbl merged pull request #55695 → broot: init at 0.6.0 → https://git.io/fh7fg
<{^_^}> [nixpkgs] @veprbl pushed commit from @magnetophon to master « broot: init at 0.6.0 »: https://git.io/fh7Qd
pie___ has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
pie__ has quit [Ping timeout: 245 seconds]
aither has quit [Ping timeout: 259 seconds]
ddellacosta has joined #nixos
snajpa has quit [Ping timeout: 258 seconds]
vk3wtf has joined #nixos
<abbafei[m]> is installing the `vimHugeX` package the best way to install `gvim`? what extras does it add aside from `gvim`?
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
o1lo01ol1o has quit [Remote host closed the connection]
snajpa has joined #nixos
aither has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55799 → wavebox: 4.5.10 -> 4.7.1 → https://git.io/fh77f
<disasm> I figured out the issue with the above, but now using carnix, when it fetches dependencies.tower-grpc it duplicates the rev like Prefetching tower-grpc (git+https://github.com/tower-rs/tower-grpc?rev=01defa830fc72cc38aba3b2035558e03eed8da4b#01defa830fc72cc38aba3b2035558e03eed8da4b) which is breaking nix-prefetch-git. Any suggestions?
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
jasongrossman has joined #nixos
bgamari has quit [Ping timeout: 258 seconds]
bgamari has joined #nixos
vk3wtf has quit [Ping timeout: 250 seconds]
jasongrossman has quit [Read error: Connection reset by peer]
vk3wtf has joined #nixos
iqubic has joined #nixos
reinhardt has joined #nixos
<iqubic> Is it normal for steam games to have font issues?
<Yaniel> define issues
<Yaniel> also are we talking about native linux games or games running through proton
<iqubic> We are talking about missing glyphs in my games. And this is a proton game.
<{^_^}> [nixpkgs] @kalbasit opened pull request #55800 → gnome3.dconf: fix build on Darwin → https://git.io/fh77B
<Yaniel> do you have a font installed that contains those glyphs?
<iqubic> I do indeed.
<Yaniel> and proper fallbacks configured in fontconfig
<iqubic> I haven't configured any fallbacks.
<iqubic> The glyphs show up fine in Emacs and in Firefox, and in any other application that lets me type text.
<iqubic> But no, I haven't specifically configured fallbacks.
fusion809 has quit [Ping timeout: 250 seconds]
<iqubic> ↺ ↻ look just fine in emacs.
<iqubic> but don't show up in the game at all.
Rusty1 has quit [Quit: Konversation terminated!]
<iqubic> Do you have any ideas here?
vk3wtf has quit [Ping timeout: 268 seconds]
<Yaniel> it's possible that the problem is that the game itself doesn't do font fallback
<Yaniel> and is just loading a font that doesn't have those glyphs
<Yaniel> besides that it sounds basically like a wine configuration issue
<iqubic> Yaniel: that sounds like it might be the cause.
<iqubic> But this game works just fine on my other computer that runs Windows.
<iqubic> And I don't think that I have done anything special fontwise there to make it work.
<iqubic> But the fonts work just fine on Windows, and not on Linux.
<Yaniel> is it the exact same font though
<iqubic> For the glyphs that do show up, it seems to be the exact same font, yeah.
<Yaniel> well yeah
<Yaniel> but it could be requesting "Arial" and getting "Arial Unicode" here and "Arial" there
<iqubic> Ah, I see.
<iqubic> So what was your question about?
<Yaniel> or request Times and get DeJa Vu instead
<iqubic> Right. I see.
<iqubic> So what should I do to fix this issue?
<Yaniel> the question is mainly if the game does any form of font fallback
<Yaniel> or expects the system to do that
<Yaniel> I'm not familiar with DirectWrite, maybe it does fallback, maybe not
<Yaniel> and I don't know if the game uses that anyway
<Yaniel> you could try something like running notepad in wine with the same font
<iqubic> I will try that.
<Yaniel> and see if the glyphs show up there
<Yaniel> wine as in proton
<iqubic> But I don't know what font it is using.
<Yaniel> you can check where firefox finds the glyphs
<iqubic> How would I do that?
<Yaniel> using "Inspect Element"
<Yaniel> and then hunting down the font subtab
dramforever has quit [Ping timeout: 250 seconds]
<iqubic> I don't know where the font subtab is.
palo1 has joined #nixos
<Yaniel> right click literally anythign on a webpage > inspect element > on the far right in the panel that pops up, 2nd row, there is a tab that says Fonts Used
<Yaniel> oh, just FOnts
<Yaniel> might be hidden, so you need to click the v to get to it
hamishmack has quit [Remote host closed the connection]
jackdk has quit [Ping timeout: 246 seconds]
<iqubic> Alright... Makes sense.
<iqubic> I see now what font firefox is using.
<iqubic> what now?
<Yaniel> try using that font in notepad or something
<Yaniel> anything that runs in proton
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
<iqubic> I'm not sure how to run notepad in proton.
<Yaniel> never used proton so I don't know either
dramforever has joined #nixos
iqubic` has joined #nixos
iqubic` has left #nixos [#nixos]
ddellacosta has quit [Ping timeout: 245 seconds]
iqubic has quit [Ping timeout: 250 seconds]
iqubic has joined #nixos
<iqubic> Sorry, I disconnected for a moment.
<iqubic> Yaniel: Are you able to help me?
<Yaniel> no, I haven't even had a chance to try proton
ddellacosta has joined #nixos
hsrt^ has quit []
hcs^ has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55801 → xapian: 1.4.9 -> 1.4.10 → https://git.io/fh779
Wharncliffe has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 240 seconds]
simukis has joined #nixos
<MasseR> I'm on nixos. Can I enable distributed builds for a specific build run? There is no such option as `--option distributed-builds true`
<MasseR> And just adding --builders line doesn't activate distributed builds on a nixos machine (or mine anyway)
<MasseR> It does on a mac with nix installed
ddellacosta has quit [Ping timeout: 257 seconds]
<iqubic> Yaniel: Do you know if Unity has fallback font support?
orivej has joined #nixos
<Yaniel> apparently yes
<Yaniel> but you have to define a list if fonts in your game
<iqubic> I see. For some reason this particular Unity game only works in proton.
johnw has quit [Read error: Connection reset by peer]
judson has quit [Remote host closed the connection]
johnw has joined #nixos
judson has joined #nixos
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #55788 → direnv: 2.19.0 -> 2.19.2 → https://git.io/fh7DF
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fh77N
<srhb> MasseR: The Mac is probably in single user mode, thus being used by a trusted user.
<MasseR> So, adding myself to `nix.trustedUsers` should help?
nekolyanich has quit [Quit: WeeChat 2.3]
<srhb> MasseR: Yes.
<MasseR> And it does. However now it doesn't seem to know which ssh key to use :D
<srhb> MasseR: Again, multi user mode, so now the user running the nix-daemon's keys should work
<srhb> MasseR: (root)
<MasseR> Yup. I just had a separate config for the ssh key (separate location) so I'll need to change that
<MasseR> And that's it
<MasseR> Thank you very much!
Ariakenom has joined #nixos
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55803 → virtmanager: 2.0.0 -> 2.1.0 → https://git.io/fh75T
balsoft[m] has joined #nixos
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55804 → xmr-stak: 2.7.1 -> 2.8.2 → https://git.io/fh75I
dermetfan has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 268 seconds]
orivej_ has joined #nixos
rauno has joined #nixos
<srhb> MasseR: Sure thing :)
Tucky has joined #nixos
juliendehos has joined #nixos
dermetfan has joined #nixos
ym555 has quit [Ping timeout: 245 seconds]
FRidh has joined #nixos
<{^_^}> [nix] @haslersn opened pull request #2681 → Support custom shell in nix-shell/nix run → https://git.io/fh75l
vk3wtf has joined #nixos
DrLambda has quit [Ping timeout: 272 seconds]
nD5Xjz has quit [Ping timeout: 250 seconds]
mounty has quit [Ping timeout: 258 seconds]
nD5Xjz has joined #nixos
mounty has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python.pkgs.protobuf: fix build »: https://git.io/fh75E
lord| has quit [Quit: WeeChat 2.3]
lord| has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-18.09 « linux 4.9, 4.19: also apply interpreter-trunc »: https://git.io/fh759
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fh7de
<mbrock> my Linux laptop often freezes unresponsively for seconds at a time while doing `nixos-rebuild`, seemingly even when it's just downloading binaries :(
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python.pkgs.cypari2: fix build »: https://git.io/fh7dY
<{^_^}> [nixpkgs] @vcunat pushed to master « linux 4.9: also apply interpreter-trunc »: https://git.io/fh7dZ
<siers> mbrock, same. I thought changing the niceness of nix/nix-daemon might change it, but I'm not sure it helped.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55808 → sysprof: 3.31.1 -> 3.31.90 → https://git.io/fh7da
cswl has joined #nixos
<dramforever> I think it's possible that multiple tasks are running at once
<dramforever> So the last line in the log says downloading but another build isn't finished
<siers> I've seen it happen while it's only downloading all the packages for, say, the latest release
Glider_IRC_ has joined #nixos
freeman42x has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fh7dP
<{^_^}> [nixpkgs] @zaninime opened pull request #55809 → kustomize: 1.0.11 -> 2.0.1 → https://git.io/fh7dD
Glider_IRC has quit [Ping timeout: 272 seconds]
jasongro` has joined #nixos
jasongro` has quit [Client Quit]
<{^_^}> [nixpkgs] @veprbl merged pull request #55795 → wkhtmltopdf: add qtxmlpatterns dependency → https://git.io/fh79S
<{^_^}> [nixpkgs] @veprbl pushed commit from @notriddle to master « Fix compilation »: https://git.io/fh7d5
ThatDocsLady_ has joined #nixos
jasongrossman has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #55439 → Coq: update coquelicot, interval, flocq → https://git.io/fhHZ2
<{^_^}> [nixpkgs] @vbgl pushed 3 commits to master: https://git.io/fh7dA
jomik has joined #nixos
{^_^} has quit [Excess Flood]
{^_^} has joined #nixos
<jomik> Hey guys. Anyone here know how the ... I can get NetworkManager to automatically connect to secured networks?
<jomik> That is, networks that I have connected to, and the passwords do exist in /etc/NetworkManager/system-connections/*...
nD5Xjz has quit [Ping timeout: 250 seconds]
<jomik> If I run `nmcli c up ..` it will ask for the password again. And it does not seem to auto connect. I do not have nm-applet - I am on XMonad with no tray.
<wedens> jomik: you can use nm-connection-editor
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fh7dh
<wedens> which is in the same package as nm-applet
thc202 has joined #nixos
nD5Xjz has joined #nixos
<jomik> wedens: Giving that a try - I am really curious as to why it does not seem to want to connect automatically. I sort of want NM to ask `pass` for a password, but that's a bit much to ask for currently.
<wedens> jomik: I just use openvpn directly
<jomik> openvpn? For handling normal wifi connections?
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fh7FL
<wedens> I thought you mean vpn by "secured networks" :)
<jomik> Ooooh, nah, I meant wifi that takes a passphrase :P
<wedens> for wireless connections I use https://github.com/sinetoami/nmcli-rofi
<jomik> Yeah, where is that nixpkg? :P
<jomik> My only issue using rofi for that is that I then can't use rofi_pass for inputting password :P
<jomik> It's not on nixpkgs, right? Thank you! :)
<wedens> no, it's not
johanot has joined #nixos
<jomik> Still unsure if how this will set up automatic connections though :o
_kwstas has joined #nixos
<wedens> it doesn't. just a nice replacement for nm-applet
_kwstas has quit [Remote host closed the connection]
<jomik> Yah, but I think that nm-applet somehow handles auto connect? Or I guess GNOME/KDE adds something else as well..
<wedens> have you tried checking some checkboxes in nm-connection-editor ?
<jomik> All of them have a "Connect automatically" box ticked already.
<wedens> perhaps it doesn't auto-connect when passphrase is not specified
<jomik> I realized that my eduroam password is not saved for some reason
<jomik> reeeeebooting to test :D Thanks
jomik has quit [Quit: WeeChat 2.2]
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fh7FW
jomik has joined #nixos
<jomik> So it seems like I am unable to actually save the connections with nm-connection-editor... I edit a connection, fill out the password, etc, and hit save, if I open it again, then there is no password...
<manveru> jomik: you run the editor as root?
<jomik> manveru: tried that as well, but if I do that, then permissions is set to root rather than my user.
<{^_^}> [nixpkgs] @thomasjm opened pull request #55812 → Add optional manylinux1 (PEP 513) support for Python → https://git.io/fh7F4
<jomik> Tho, even if I then sudo edit the file to replace the root user with mine in the config, it still doesn't stick.
<manveru> well, if i remember right, it saves connections to /etc, so it needs root
<manveru> but i'm really not sure, i just use nm-applet and it works without
<srhb> jomik: Do you need and are you a member of the networkmanager group?
<jomik> srhb: I am yes.
<srhb> Dunno then, works for me.
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « fixup gssapi strictdeps »: https://git.io/fh7FR
<jomik> srhb: You are using nm-connection-editor?
<srhb> jomik: Yes.
<jomik> as root?
<srhb> As my user.
juliendehos has quit [Quit: Leaving]
<jomik> Uuuh. I get this error here (nm-connection-editor:3101): dconf-WARNING **: 10:40:01.638: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
<srhb> jomik: Probably need to enable dconf. I have it, somehow..
<srhb> (Though, come to think of it, only as an installed package?)
<manveru> home-manager?
<wedens> services.dbus.packages = [ pkgs.gnome3.dconf ];
<jomik> programs.dconf.enable ?
<jomik> Seems to do that.
<Taneb> So, as a hack to mitigate Hydra not supporting consumable system features, I'm planning to have a second build machine with the same hostname, IP, etc, but with different supported features and only one max job
<srhb> Seems like networkmanager.enable should do that..
<jomik> I guess networkmanager doesn't need it, just the applet does?
<srhb> Who knows, all that stuff is black magic.
<jomik> :D
<jomik> Eh, rebooting for that to take effect I guess
jomik has quit [Quit: WeeChat 2.2]
DrLambda has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55813 → vault: 1.0.2 -> 1.0.3 → https://git.io/fh7Fo
Jetien_ has joined #nixos
jomik has joined #nixos
hyper_ch2 has joined #nixos
<jomik> Well, setting services.dbus.packages to have dconf solved the saving issue. Only remaining issue is that it does not want to save my eduroam password... It gives this error ` Cannot save connection due to error: Invalid setting Wi-Fi Security: missing EAP password` even though I have filled out the only password field ..
<srhb> jomik: I vaguely remember that issue. I had to manually manipulate the NM files.
<srhb> jomik: oh btw, you're in Denmark too? :)
<jomik> Yep yep.
<{^_^}> [nixpkgs] @hlolli opened pull request #55814 → bump webpack-cli dep for lumo → https://git.io/fh7FX
neminis has quit [Quit: WeeChat 2.2]
<jomik> Do you recall what the property I need to set is?
<srhb> Afraid not, sorry.
<jomik> For wpa it is called `psk`, is it the same for PEAP?
<kipari> jomik: cf. https://gitlab.gnome.org/GNOME/gnome-control-center/issues/337 it seems that it might actually set the setting anyway… (what even?) have you checked that this is not the case?
<jomik> kipari: It does not set the password - the comments seem to say that this is not the case as well
<jomik> Oh, but it seems the property is called `password` :D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55815 → uwsgi: 2.0.17.1 -> 2.0.18 → https://git.io/fh7F9
<kipari> jomik: ok!
<jomik> reeeebooting again, lol
jomik has quit [Quit: WeeChat 2.2]
lebedev_ has joined #nixos
zupo has joined #nixos
kisik21 has joined #nixos
random_yanek has quit [Ping timeout: 258 seconds]
<kisik21> Hi. When should we expect Pantheon to appear in nixos-unstable? The commits seem to have been merged almost a month ago and when I saw the draft for nixos-weekly stating pantheon support I squealed like a little girl because I liked Pantheon when I still wasn't on NixOS...
<lebedev_> Hi! How to build ipfs in nix-shell? genericBuild and buildPhase doesn't work.
peacememories has joined #nixos
peacememories has quit [Client Quit]
jomik has joined #nixos
<jomik> Hurray~ :P I had to set "store password for all users"
<jomik> I guess if I attempt to store it for my user only, it tries to use my wallet, somehwo
<Taneb> kisik21: it should already be there, maybe as pantheon-terminal or pantheon.pantheon-terminal
<kisik21> No, I mean the FULL pantheon session!
<Taneb> Oh, I wouldn't know, I'm afraid
<kisik21> It seems to be in "staging" right now, whatever it means
<kisik21> btw does nixos-unstable correspond to master branch of NixOS/nixpkgs?
<Taneb> kisik21: not quite, there's some tests run on master, and when it passes it updates the nixpkgs-channels repo
<srhb> lebedev_: Seems fine here. Did you remember to specify a different out?
<Taneb> kisik21: see the top of http://howoldis.herokuapp.com/
<kisik21> Taneb: basically nixos-unstable = tested master - good enough for me
<srhb> kisik21: "staging" is a master branchoff that usually lives in the order of weeks before getting merged back to master
<srhb> kisik21: Its purpose is to keep large rebuilds away from master, mostly.
<kisik21> how many weeks usually?
<srhb> kisik21: It varies, but check the git history of master to find out :)
<kisik21> I'm excited to try but my laptop is too small to recompile everything from scratch to use Pantheon
<kisik21> and staging seems like a hell of recompilations if it is used as a scapegoat for mass rebuilds
<srhb> That's right.
<srhb> kisik21: Is pantheon the terminal?
<srhb> I'm confused..
<srhb> What commit are we talking about? :)
<kisik21> Pantheon is the desktop environment! It comes from elementaryOS which is a beautiful distro based on Ubuntu.
<srhb> Oh.
<kisik21> It has a terminal though
<kisik21> the very same terminal you're talking about
<kisik21> it was ported some time ago
<srhb> Ah, I see now.
<kisik21> srhb: as for commits, I'm waiting for NixOS/nixpkgs#48637 to hit master
<{^_^}> https://github.com/NixOS/nixpkgs/pull/48637 (by worldofpeace, 17 weeks ago, merged): pantheon: init at 5.0
<srhb> kisik21: If your laptop is big enough to rebuild just that, you could merge it locally on top of unstable or something :)
<kisik21> I'm not that proficient with git, is there some comprehensive guide for cherry-picking commits?
<srhb> kisik21: Stand on a branch that's at the "base commit" you want. git cherry-pick commit1 commit2 commit3 ...
<kisik21> ok
<kisik21> I think I'll need to clone the whole repo for this right?
<srhb> kisik21: Yeah.
dramforever has quit [Remote host closed the connection]
random_yanek has joined #nixos
dramforever has joined #nixos
jomik has quit [Quit: WeeChat 2.2]
<lebedev_> srhb: I don't know, how to set different out in nix-shell.
<srhb> lebedev_: export out=/tmp/somepath
<srhb> lebedev_: Or whatever you want :)
joehh has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Client Quit]
hyper_ch2 has joined #nixos
sigmundv has joined #nixos
rprije has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55816 → sxhkd: 0.5.9 -> 0.6.0 → https://git.io/fh7b4
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/735ab7a7005 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<lebedev_> srhb: I make export out=...., but buildPhase doesn't work again. It seems this happens with every go package (syncthing for example)
lawlesseel has quit [Ping timeout: 256 seconds]
bgamari has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #55306 → i3-gaps: 4.16 -> 4.16.1 → https://git.io/fh9uq
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fh7b2
joehh has quit [Ping timeout: 258 seconds]
adam-6520493 has quit [Read error: Connection reset by peer]
countingsort has quit [Ping timeout: 246 seconds]
bgamari has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fh7ba
adam-6520493 has joined #nixos
<{^_^}> [nixpkgs] @das-g opened pull request #55818 → lektor: 2.3 -> 3.1.3 → https://git.io/fh7br
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55819 → unbound: 1.8.3 -> 1.9.0 → https://git.io/fh7bS
countingsort has joined #nixos
<laas> does anyone here use virtualbox?
<laas> I can't seem to enable it, I get compilation errors when attempting to install it
<laas> It seems like it tries to use a kernel module for a linux kernel other than 4.20
<{^_^}> [nixpkgs] @xeji merged pull request #55104 → mkp224o: init at 1.2.0 → https://git.io/fhS4R
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « mkp224o: init at 1.2.0 (#55104) »: https://git.io/fh7bx
<{^_^}> [nixpkgs] @xeji merged pull request #55256 → libgit2_0_27: 0.27.7 -> 0.27.8 → https://git.io/fh9kM
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libgit2_0_27: 0.27.7 -> 0.27.8 (#55256) »: https://git.io/fh7bp
<{^_^}> #55774 (by kalbasit, 16 hours ago, open): linuxPackages_latest.virtualbox is failing to build
<etu> laas: I use VirtualBox, i tend to not use the absolute latest kernel
init_6 has joined #nixos
superherointj has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55821 → sundials: 4.0.2 -> 4.1.0 → https://git.io/fh7Nq
<laas> thanks
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fh7Nm
mounty has quit [Ping timeout: 250 seconds]
<laas> another question: Is it possible to have both gcc from mingw-w64 and normal gcc as build inputs in a nix expression?
<laas> when I change the crossSystem parameter of nixpkgs I can install mingw-w64
<ivegotasthma> after upgrading my nixos installation I'm getting some perl locale warnings, is this a known issue?
<laas> but then I can't install gcc
mounty has joined #nixos
jethron has joined #nixos
jethron_ has joined #nixos
jethron_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « fixup pyside strictdeps »: https://git.io/fh7Nn
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python.pkgs.datashape: mark as broken »: https://git.io/fh7N8
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed to revert-54900-haskell-shellfor-null-src « Revert "shellFor: Don't suck in src to compare to deps. [Fixes #51079]" »: https://git.io/fh7Nw
<{^_^}> [nixpkgs] @Infinisil opened pull request #55822 → Revert "shellFor: Don't suck in src to compare to deps. [Fixes #51079]" → https://git.io/fh7No
<{^_^}> [nixpkgs] @Infinisil merged pull request #55822 → Revert "shellFor: Don't suck in src to compare to deps. [Fixes #51079]" → https://git.io/fh7No
<{^_^}> [nixpkgs] @Infinisil pushed to master « Revert "shellFor: Don't suck in src to compare to deps. [Fixes #51079]" »: https://git.io/fh7NK
<{^_^}> [nixpkgs] @Infinisil pushed 0 commits to revert-54900-haskell-shellfor-null-src: https://git.io/fh7Ni
Makaveli7 has quit [Quit: Leaving]
ng0 has joined #nixos
yokyolu has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to python-unstable: https://git.io/fh7Au
ubert has joined #nixos
joehh has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55823 → gnome3.totem: 3.30.0 -> 3.31.90 → https://git.io/fh7A1
__monty__ has joined #nixos
jomik has joined #nixos
<jomik> Heya. I have an issue trying to use the `imports` attribute.. I have a `mkIf ... cfg` where my cfg is in a let `cfg = { imports = [ ... ]; }`
<jomik> It says imports does not exist.
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to python-unstable: https://git.io/fh7AS
drakonis has joined #nixos
<gchristensen> you can't do conditional improts
<{^_^}> [nixpkgs] @FRidh merged pull request #55716 → python.pkgs.pytest-mock: 1.10.0 -> 1.10.1 → https://git.io/fh7tc
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fh7Ax
<tilpner> You can conditional imports, but the conditions can't be very interesting
dramforever has quit [Remote host closed the connection]
<tilpner> *can have
dramforever has joined #nixos
<johanot> you can use "if" but not "mkIf" :) , right?
<tilpner> Even with if you need to be careful what your condition is
<ottidmes> its more about the imports, its needed to determine the config, so you cannot have imports depend on the config, you would get infinite recursion
<johanot> ottidmes: right.
<tilpner> E.g. imports = if (21 * 2 == 42) then [ ... ] else [ ]; works just fine
<tilpner> But you can't access pkgs, lib, config, options, while you decide what your imports should be
<ottidmes> lib should be safe, but yeah, the rest still applies
<tilpner> Your condition could import <nixpkgs> though, and use that just fine
<gchristensen> oh dear
<ottidmes> impurities!
<jomik> Oooooh, I see tilpner . That's why then.
<jomik> Because I wanted my condition to be whether xmonad was enabled or not.
<tilpner> You should do that in config = mkIf
<ottidmes> jomik: just hoist that condition to the file you are importing
<ottidmes> by doing what tilpner suggest ^
<jomik> Hmm, that's sort of essentially what I am doing I feel.
<jomik> I just wanted to move some of the config into its own file.
<jomik> Because it was all related to taffybar.
<{^_^}> [nixpkgs] @jtojnar closed pull request #55823 → gnome3.totem: 3.30.0 -> 3.31.90 → https://git.io/fh7A1
<jomik> But I only want it enabled when xmonad is, so I wanted it to just be imported in the xmonad cfg.
<tilpner> ottidmes: I thought lib wouldn't work because of the "lib" option. Not sure why it does, but it does
<ottidmes> tilpner: the lib option is unrelated to lib
<ottidmes> tilpner: its more like a shared memory between modules
<tilpner> ottidmes: Okay, wrong assumptions about it does then :)
<tilpner> I thought it'd let you declare your own helper function to then use from module._args.lib
<tilpner> (_module.args.lib)
<ottidmes> tilpner: almost all my modules have with lib; at the top, as do most in the Nixpkgs, so thats your proof right there :P
Guanin has joined #nixos
<tilpner> As long as you don't access any free variables during imports, that's no proof
<tilpner> But I just tested it, so I don't need any
<ottidmes> tilpner: right, I used lib in them, so had not considered that
<tilpner> What interesting things do you need lib for during imports?
<{^_^}> [nixpkgs] @offlinehacker opened pull request #55824 → k6: init at 0.23.1 → https://git.io/fh7xL
<ottidmes> tilpner: things like: listDir ../modules
<tilpner> Ahh, right. I used to do that too
alex`` has joined #nixos
<tilpner> I'm now back to explicit imports in the interest of eval time
<ottidmes> and have some more complex cases, reading all my other hosts basic metadata, so my host is aware of them
<ottidmes> my eval time is slow, but not painfully so
<tilpner> One time I tried trimming baseModules for quicker evals, but that was not worth the pain at all
<ottidmes> I am not sure where to most time is spend in my eval, but I doubt its things like those listDir
<tilpner> No, that's not what I meant
<tilpner> But with listDir you may import modules you wouldn't with explicit imports
<ottidmes> ah like that, I thought that was still lazy?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55825 → soapui: 5.4.0 -> 5.5.0 → https://git.io/fh7xY
<jomik> Urhh, I sorta lost track here. What'd be the neatest way to import a module conditionally? In my case, my expression is `in lib.mkIf config.xsession.windowManager.xmonad.enable cfg` and I want the import in cfg.
<tilpner> How could it be lazy? Every module has the power to affect anything else
<tilpner> (I don't know that it's not lazy, and I haven't profile either way)
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<ottidmes> no, you are right, it cannot be, but its all behind config = mkIf's, but you are right it has to evaluate until that point meaning unnecessary loading of files
betaboon has quit [Remote host closed the connection]
aw_ has joined #nixos
otti0815 has quit [Ping timeout: 250 seconds]
Guanin_ has joined #nixos
<tilpner> What's your no-op instantiation time? I find that I get distracted when any task keeps me waiting more than 20s
<ottidmes> jomik: dont be stuck at wanting to conditionally import, just import the file, but make the file be ignored if you dont use xmonad, i.e. with config = mkIf
spacefrogg_ has joined #nixos
aw has quit [Ping timeout: 246 seconds]
<jomik> So I should do that in each of the imports?
spacefrogg has quit [Ping timeout: 246 seconds]
betaboon has joined #nixos
Guanin__ has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #55826 → buildPythonPackage: always export `LANG=UTF-8` → https://git.io/fh7xZ
Guanin has quit [Ping timeout: 258 seconds]
otti0815 has joined #nixos
superherointj has quit [Quit: Leaving]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
<ottidmes> tilpner: what constitutes a no-op instantiation, I tried this: time nix-instantiate --eval --strict --expr 'with import <nixpkgs/nixos> { }; config.networking.hostName', and its 0.382s (real time)
Guanin_ has quit [Ping timeout: 272 seconds]
<tilpner> No, config.system.build.toplevel
<tilpner> no-op as in "it doesn't need to fetch anything to eval system"
<jomik> ottidmes: Yah, I was wanting that actually, but I sort of want to move part into another module and import it - but then I can't have that mkIf there, right?
<ottidmes> tilpner: real 0m10.491s
<ottidmes> jomik: sure you can
<tilpner> I guess that's still okay
<jomik> Oh, then it should be outside the config thingy?
<jomik> Eh, I dunno. Can you give me an example ottidmes ?
<ottidmes> tilpner: you can even do mkIf ... (import your file), just put it in config = mkMerge [ { ... } (mkIf ... (import ./taffybar.nix)) ];
<jomik> Ahh hmm
<jomik> Why can't it just be part of that config = ?
<jomik> OH
<jomik> I guess my import needs to have { config = ... } ?
<jomik> Am confused tho, because before I just returned an attrset, now I am returning an attrset with an attribute config that is my previous attrset
<jomik> Is it just overloaded/smart?
<tilpner> I'm never sure if that works by accident or intentionally
<ottidmes> jomik: overloaded
<jomik> But imports need to be in which attrset?
<jomik> The one on config, or the one on a level above?
<tilpner> What if ./taffybar.nix imports things by itself, or provides options? Does that work?
<ottidmes> tilpner: it works, you can see the attrsets in mkMerge as little modules themselves
romildo has joined #nixos
Guanin__ is now known as Guanin
<ottidmes> the module system is just based on normal Nix data, its just interpreted in a certain way, so as long as you produce something thats confirming the expected data formats, it works as expected
<romildo> I am starting to use Plasma5 on NixOS unstable. The changes I have made to the fonts settings in System Settings have no effect. Any clues?
<ottidmes> and that is why mkIf outside was is handles by the Nix module system, will just complain about being an attrset (if you are lucky)
<ottidmes> romildo: no clue, but maybe check the logs: https://logs.nix.samueldr.com/nixos/ I have seen something mentioned about it recently
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55827 → rofi-pass: 2.0.1 -> 2.0.2 → https://git.io/fh7xQ
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55828 → safeeyes: 2.0.8 -> 2.0.8.1 → https://git.io/fh7pt
<jomik> How do I fix it? :o
Makaveli7 has joined #nixos
garbas has quit [Quit: WeeChat 2.3]
garbas has joined #nixos
<jomik> I don't really want to use the import keyword, because then I will have to pass it arguments :D
winem_ has joined #nixos
<yokyolu> how can i see what has to be built from foo.nix but not build it?
<yokyolu> is there a dry-run option for nix-build?
<gchristensen> you can tell it it isn't allowed to spawn any jbos
<gchristensen> -j0
<johanot> you could use: nix eval --raw nixpkgs.hello
<gchristensen> that won't say what needs to e built, though?
<johanot> right. sorry. read the question too fast
johanot has quit [Quit: WeeChat 2.2]
lebedev_ has quit [Ping timeout: 246 seconds]
<yokyolu> gchristensen: that might do
<yokyolu> is it possible to make it not pull bincaches too?
<yokyolu> i just want to know what stuff can't be substituted
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55830 → slurp: 1.0 -> 1.0.1 → https://git.io/fh7pz
<ottidmes> jomik: you are doing the same thing as mkIf for imports by doing what you do there
<tilpner> yokyolu: --substituters ""
<tilpner> (Or '--option substitute false' or '--option substituters ""')
<yokyolu> tilpner: wont it just make nix build everything?
<tilpner> I thought that's what you meant by "not pull bincaches"
<yokyolu> tilpner: well, yes, but not quite. I want to do a `dry-run` without actually building the thing
<yokyolu> i have this heaving project and i want to maxize substitutions from cache.nixos.org
<yokyolu> heavy*
<tilpner> yokyolu: You could nix-store -qR --include-outputs $(nix-instantiate '<nixpkgs>' -A foo) and check which of those paths isn't available locally
<ottidmes> jomik: I would just have them both have config = mkIf xmonad.enable, yes its a bit slower, but it at least work the way you want and should be easy to understand
<tilpner> Although that's not quite correct either
<jomik> ottidmes: Yeah, makes sense. Tho, I guess I realize that what I want would probably just be to have taffybar export an option on whether to enable it or not... :P
silver has joined #nixos
<jomik> As in, whether I want to enable my taffybar configuration or not.
<ottidmes> thats even better yes, then you can switch around other bars more easily
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kisonecat has joined #nixos
<jomik> That was the purpose, yeah.
<jomik> Thank you :)
acarrico has quit [Ping timeout: 250 seconds]
babic has joined #nixos
Xal has quit [Ping timeout: 272 seconds]
joehh has quit [Ping timeout: 246 seconds]
Xal has joined #nixos
acarrico has joined #nixos
fusion809 has joined #nixos
jomik has quit [Quit: WeeChat 2.2]
<ivan> heh, I'm booted into a kernel with the Linux shebang change
<ivan> /nix/store/...-nixos-system-ra-19.03.git.ad899f2/bin/switch-to-configuration: line 8: syntax error near unexpected token `('
<ivan> /nix/store/...-nixos-system-ra-19.03.git.ad899f2/bin/switch-to-configuration: line 8: `use Sys::Syslog qw(:standard :macros);'
<ivan> that's... unfortunate
<laas> how does one even fix it?
<gchristensen> reboot to a prior version
<ivan> or run it with perl
<laas> I don't suppose anyone here has experiencing building Valve's Proton?
<gchristensen> ivan: other perl scripts in the switch procses might break too
neminis has joined #nixos
<ivan> it's weird how everything non-perl kept working with this busted kernel :-)
<gchristensen> well good news is new kernels were released which aren't busted
toppler` is now known as toppler
<Twey> https://github.com/NixOS/nixpkgs/issues/24697 — I'm not sure I understand matthewbauer[m]'s objections to purifying Clang. Is it not standard Nix (or at least nixpkgs) practice to stop programs looking in global directories like /usr/lib? Has this policy changed at some point?
<{^_^}> #24697 (by nh2, 1 year ago, open): Using clang is impure
Maxdamantus has quit [Ping timeout: 268 seconds]
kreisys has joined #nixos
joehh has joined #nixos
<manveru> laas: i use the proton that's part of steam
<manveru> guess that's technically not building it though :P
<laas> manveru: yeah but I'd like to try building it myself, since I made some custom modifications tow ine
<laas> seems to be a huge PITA to build it on NixOS
<laas> I tried for an hour or so but couldn't get it working without using the VM
<laas> and I don't even know if the VM works yet because it takes 3 hours just to download the Debian image
<manveru> lol
<manveru> yeah, i'd not use vagrant for this...
<manveru> we have all the tools in nix to make it work without, right?
<Twey> ivan: Linux shebang change?
<gchristensen> Twey: a recent Linux kernel release broke how shebangs are processed
<manveru> laas: and they run docker in vagrant... has science gone too far?
<gchristensen> causing scripts with long shebangs to be parsed with bash, even if they aren't bash scripts
joehh has quit [Ping timeout: 245 seconds]
<Twey> Eek
<manveru> but basically you need those dependencies in your nativeBuildInputs: https://raw.githubusercontent.com/ValveSoftware/Proton/proton_3.16/Vagrantfile
<Twey> I'll try to avoid it :þ
<gchristensen> Twey: in less than 2 days they published new kernels with the breaking commit reverted
<gchristensen> but less than 2 days is enough :P
init_6 has quit [Ping timeout: 244 seconds]
<Twey> What version(s) are affected?
<Twey> Google isn't telling me anything useful :(
<gchristensen> 5.0 (all of them), 4.20.9, 4.19.22, 4.14.100 4.9.157
<Twey> Ah, thanks — that would have caused me a lot of confusion :)
<gchristensen> samueldr representing!
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « Disable failing test suites for pandoc and tasty-hedgehog to fix builds. »: https://git.io/fh7hJ
Makaveli7 has quit [Quit: Leaving]
lfish has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #55667 → zoneminder: fix build issue when using createLocally database → https://git.io/fhQFI
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fh7hL
camsbury has joined #nixos
<tilpner> simpson: #53873 is waiting on a +1 from you
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53873 (by tilpner, 4 weeks ago, open): tahoe-lafs: 1.12.1 -> 1.13.0
romildo has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « stylish-cabal compiles again. Yay! »: https://git.io/fh7hn
<{^_^}> [nixpkgs] @peti pushed 10 commits to haskell-updates: https://git.io/fh7hC
timor has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fh7hl
simukis has quit [Quit: simukis]
<timor> Is it possible to store files in the store that have the "w" permission bit set? I am trying to package some binary-only software which copies over template files from the store, and chokes afterwards because it cannot open them for writing. These files were writable in the original package, so that was not an issue there.
<tilpner> Not really, the store is supposd to be immutable from the users perspective
<timor> tilpner: I would be satisfied with a hacky workaround at the moment :)
<tilpner> Maybe you could manually make them writeable after it copies them over?
<tilpner> The next step is patching the source to do that for you
<gchristensen> any yubikey users w/out a us-qwerty keyboard?
<dramforever> timor: Is it possible to do the entire copying during packaging?
<dramforever> What kinds of 'template files' are those
lebedev_ has joined #nixos
<camsbury> johnw: been trying to work through your emacs config in my free time, but the layers are making it tough to do without dedicating more time to it...
<timor> dramforever: text files, which are copied into the user's project at runtime, and expected to be modified by the software
<camsbury> I have this right now:
<camsbury> { pkgs ? import <nixpkgs> {} }:
<camsbury> let
<camsbury> emacsWithPackages = (pkgs.emacsPackagesNgGen pkgs.emacs).emacsWithPackages;
<camsbury> machine = import ./machine.nix;
<camsbury> in
<camsbury> emacsWithPackages (epkgs: (with epkgs.melpaStablePackages; [
<tilpner> ,paste camsbury
<camsbury> avy
<{^_^}> camsbury: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<camsbury> buffer-move
<camsbury> and I just want to add package overrides for emacs
<camsbury> ah ty
<dramforever> timor: ah I misunderstood a while ago, but thanks
<dramforever> for clarifying
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to python-unstable: https://git.io/fh7hE
<timor> tilpner: Well, that is the problem with patching binary-closed-source software....
<camsbury> anyway does anyone use emacs like this and have one or more overridden packages?
ym555 has joined #nixos
<camsbury> looking into using overlays, but struggling currently to find something that works
<Twey> timor: Note that on NixOS the store is actually remounted read-only…
dermetfan has quit [Ping timeout: 246 seconds]
<timor> Twey: Yes, exactly. And because of that, having a file with "w" permission should actually not hurt, no?
<{^_^}> [nixpkgs] @andir opened pull request #55831 → thunderbird: 60.5.0 -> 60.5.1; thunderbird-bin: 60.5.0 -> 60.5.1 → https://git.io/fh7hg
bgamari has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #55832 → [18.09] thunderbird: 60.5.0 -> 60.5.1; thunderbird-bin: 60.5.0 -> 60.5.1 → https://git.io/fh7hV
<Twey> timor: I guess… but maybe you could instead wrap the program in a script uses the umask to make the copied file writeable?
<timor> Twey: Hmm, so you mean like if the program does not use something like `cp -p` internally, and I can modify the umask of the process somehow, the copied file will have the "w" bit set?
bgamari has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #55321 → kind: 0.0.1 -> 0.1.0 → https://git.io/fh92O
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fh7hd
npmccallum has joined #nixos
lawlesseel has joined #nixos
<Twey> timor: I think that might be doable, yeah
<timor> Twey: Thanks for the tip! While unfortunately for this particular file it did not work, that is a nifty thing to keep in mind...
hcs^ has quit []
mfip^ has joined #nixos
menace has joined #nixos
orivej_ has quit [Ping timeout: 246 seconds]
<menace> hey, just asking.. there's no debian package to install the nixos package manager on debian/ubuntu in a better way than curl, is it? :( would be nice
<menace> hm, interesting, thanks! i would prefer if debian/ubuntu would maintain a nix package themselves (would be honest imo), but perhaps it violates a guideline...
<manveru> i also recall hearing that one distro added the package...
<qyliss^work> That was Debian!
<manveru> might've been debian
<manveru> :D
<manveru> qyliss++
<{^_^}> qyliss's karma got increased to 1
<srhb> qyliss^work: Do you know when that will actually enter, uh, testing or whatever the "newest" one is called? I can't find that data.
<qyliss^work> no idea
<qyliss^work> I just copied that link from the NixOS weekly
o1lo01ol1o has quit [Remote host closed the connection]
<srhb> qyliss^work: ok, thanks anyway :)
<menace> nice! debian yay :)
<menace> but i do not see it in any package repository :/
dramforever has quit [Remote host closed the connection]
<menace> ubuntu is the same...
<manveru> it's not even in experimental yet
endformationage has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55833 → remmina: 1.3.0 -> 1.3.2 → https://git.io/fh7jP
<{^_^}> [nixpkgs] @dtzWill closed pull request #55801 → xapian: 1.4.9 -> 1.4.10 → https://git.io/fh779
lebedev_ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @dtzWill merged pull request #55624 → xapian: 1.4.9 -> 1.4.10 → https://git.io/fhQVG
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fh7j1
acarrico has quit [Ping timeout: 268 seconds]
ikitat has joined #nixos
jabranham has joined #nixos
Guanin_ has joined #nixos
Guanin has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @juselius opened pull request #55834 → Make kubernetes addons more configurable → https://git.io/fh7jQ
FRidh has quit [Quit: Konversation terminated!]
Guanin__ has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @juselius opened pull request #55835 → Add tokenTtl option to kubernetes-dashboard. → https://git.io/fh7jx
Guanin_ has quit [Ping timeout: 268 seconds]
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fh7jp
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « fixup spyder »: https://git.io/fh7jh
o1lo01ol1o has quit [Ping timeout: 244 seconds]
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-18.09: https://git.io/fh5eJ
acarrico has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #55828 → safeeyes: 2.0.8 -> 2.0.8.1 → https://git.io/fh7pt
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fh5eY
neminis has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @ryantm merged pull request #55236 → ocamlPackages.utop: 2.2.0 -> 2.3.0 → https://git.io/fh9fZ
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fh5eG
neminis has joined #nixos
rycwo has joined #nixos
ryantrinkle has quit [Ping timeout: 246 seconds]
rycwo has quit [Client Quit]
rycwo has joined #nixos
kevincox[m] has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55836 → rtv: 1.24.0 -> 1.25.1 → https://git.io/fh5ez
jethron has quit [Remote host closed the connection]
Guanin__ is now known as Guanin
Ariakenom has quit [Ping timeout: 268 seconds]
alex`` has quit [Quit: WeeChat 2.3]
<gchristensen> hrm the NAR for libguestfs is only 20mb now
<gchristensen> oh, 47M. not bad!
drakonis has quit [Quit: WeeChat 2.3]
kai_w has quit [Quit: Konversation terminated!]
<Guanin> Hi, is it possible to declare the existence of non-nixOS containers (similar to the nixos-container)? I'm basically giving up to get a proprietary toolchain running and just want to run it inside a debian environment
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55837 → skrooge: 2.17.0 -> 2.18.0 → https://git.io/fh5ex
neminis has quit [Quit: WeeChat 2.2]
neminis has joined #nixos
<srhb> Guanin: Not really.
<disasm> Guanin: I was looking at this today: https://github.com/NixOS/nixpkgs/pull/55179
<{^_^}> #55179 (by benley, 1 week ago, open): WIP: Run Docker containers as declarative systemd services
<sphalerite> Guanin: you'll need to set up the rootfs yourself, but you can specify the service using systemd.nspawn
dbmikus has joined #nixos
<Guanin> Ah, that might be enough :) Thanks sphalerite
knupfer has joined #nixos
winem_ has quit [Ping timeout: 244 seconds]
ikitat has quit [Remote host closed the connection]
reinhardt has quit [Quit: Leaving]
tilpner has quit [Quit: WeeChat 2.3]
ddellacosta has joined #nixos
tilpner has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer reopened pull request #53668 → clang_{5,6,7}: add --sysroot argument pointing to gcc toolchain prefix → https://git.io/fhZTu
<{^_^}> [nixpkgs] @offlinehacker merged pull request #55772 → rippled: 0.30.0-rc1 -> 1.2.0 → https://git.io/fh7Pv
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/fh5vm
elvishjerricco has quit []
ThatDocsLady_ has quit [Quit: Leaving]
elvishjerricco has joined #nixos
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #nixos
Ariakenom has joined #nixos
o1lo01ol1o has joined #nixos
dermetfan has quit [Ping timeout: 250 seconds]
Tucky has quit [Quit: WeeChat 2.2]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
cswl has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
Phillemann has quit [Quit: WeeChat 2.3]
PLPD-Bot has quit [Remote host closed the connection]
o1lo01ol1o has quit [Read error: Connection reset by peer]
hyper_ch2 has quit [Quit: Page closed]
o1lo01ol1o has joined #nixos
PLPD-Bot has joined #nixos
the-kenny has quit [Ping timeout: 246 seconds]
the-kenny has joined #nixos
npmccallum has quit [Ping timeout: 258 seconds]
ninjin has quit [Ping timeout: 256 seconds]
knupfer has quit [Quit: knupfer]
Jackneill has quit [Quit: Leaving]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55838 → gnome3.shotwell: 0.30.1 -> 0.30.2 → https://git.io/fh5vo
linkrage has joined #nixos
simukis has joined #nixos
jonaswouters_ has joined #nixos
jonaswouters has quit [Ping timeout: 250 seconds]
Jackneill has joined #nixos
DrLambda has quit [Ping timeout: 272 seconds]
dermetfan has joined #nixos
ikitat has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
<dckc> vagrant up is saying: '/var/run/libvirt/libvirt-sock': No such file or directory
knupfer has joined #nixos
babic has quit [Ping timeout: 268 seconds]
WhittlesJr has joined #nixos
<WhittlesJr> Hey friends, I'm almost done packaging dokku and its dependencies, but it seems that the script needs to have a certain user in order to run. Can/should the package itself add the user, or should that be done in a module?
<gchristensen> packages can't add users, no
<WhittlesJr> gchristensen: Module it is then, thank you!
ym555 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #55839 → beanstalkc: init at 0.4.0 → https://git.io/fh5vh
<{^_^}> #36880 (by Mic92, 48 weeks ago, closed): vagrant: broken due incorrect bundler version
alex`` has joined #nixos
acarrico has quit [Ping timeout: 245 seconds]
knupfer has quit [Ping timeout: 264 seconds]
acarrico has joined #nixos
jonaswouters_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
jonaswouters has joined #nixos
<tilpner> Hmm, my Hydra is confused. How do I figure out why it's not running anything, despite there being queued jobs?
nschoe has joined #nixos
<tilpner> I noticed a discrepancy in what /etc/nix/machines and the JSON blob think about what systems localhost can build for
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0ba800c4b4b (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
xkapastel has joined #nixos
<srhb> tilpner: What's the discrepancy? Are any of the jobs requiring features that are not in the blob?
<tilpner> This is the formatted status blob: https://gist.github.com/tilpner/a2753f7bed00618f44eea8fd4d3b5292
<tilpner> Notice how it has aarch64 jobs, but it's not listed in systemTypes
<tilpner> Yet my /etc/nix/machines says localhost x86_64-linux,i686-linux,armv6l-linux,armv7l-linux,aarch64-linux - 6 1 big-parallel,nixos-test,kvm
alex`` has quit [Ping timeout: 245 seconds]
lfish has quit [Ping timeout: 256 seconds]
simukis has quit [Quit: simukis]
<{^_^}> [nixpkgs] @midchildan opened pull request #55841 → mikutter: drop maintainership → https://git.io/fh5fG
simukis has joined #nixos
rycwo has quit [Quit: WeeChat 2.2]
<immae> Hey there! I made quite a lot of builds lately, and I would like to clean up the ones that are obsolete, but it seems like `nix-store --gc` will also delete some build dependencies (I’m not sure what the rule is, but when I do a nix-build again after, it has to rebuild some parts from scratch), how can I avoid the deletion of those builds?
rcshm has joined #nixos
<__monty__> immae: I think you'd need to add your ./result to the gc roots. That way nothing it depends on will be collected.
<{^_^}> [nixpkgs] @veprbl merged pull request #55841 → mikutter: drop maintainership → https://git.io/fh5fG
<{^_^}> [nixpkgs] @veprbl pushed commit from @midchildan to master « mikutter: drop maintainership »: https://git.io/fh5f0
<tilpner> Maybe keep-outputs and keep-derivations. See nix.conf(5)
<tilpner> But a gc root is more fine-grained and a better choice if you can do that
<immae> __monty__: no, those are kept alright (i.e. my system still works as expected), it’s collateral derivations (like pre-builds?) that get deleted
<immae> tilpner: ^
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @danieldk to release-18.03 « python/grpcio: fix darwin build »: https://git.io/fh5fa
<immae> build dependencies is the word, maybe
<__monty__> immae: Oh, like build-time only dependencies?
<immae> Ye!
<immae> That :)
<tilpner> https://nixos.wiki/wiki/FAQ#How_to_keep_build-time_dependencies_around_.2F_be_able_to_rebuild_while_being_offline.3F
<immae> Ah, it’s a FAQ
<immae> Thanks :)
yokyolu has quit [Ping timeout: 257 seconds]
<immae> If I’m on a non-nixos environment, I guess I have to add them to /etc/nix/nix.conf, right?
<tilpner> srhb: Is the status blob supposed to reflect /etc/nix/machines entirely? Mine doesn't seem to contain any features either
<tilpner> immae: nix.conf(5) has information about where to put it, at the very top.
<srhb> tilpner: As far as I recall, yes.
<tilpner> Usually it's /etc/nix/nix.conf, but the other locations might be okay for you too
<immae> cool, thanks
<immae> Oh : "Deprecated: gc-keep-derivations is now an alias to keep-derivations." maybe we should update the FAQ?
<tilpner> Go ahead, it only requires a github account
<srhb> tilpner: Did maybe some component not get restarted when you changed the machines?
<tilpner> Possibly. I'm restarting everything I can find that sounds safe
<srhb> I think the only relevant things are the nix daemon (?) and the queue runner.
<gchristensen> interesting that our minimal nixos config depends on fontconfig
timor has quit [Ping timeout: 250 seconds]
<tilpner> srhb: I restarted those, no changes to the status blob
<immae> Hmm I’m trying to create an account, and I fail at the captcha test "What is the package manager of NixOS? ", isn’t the answer nixpkg ? (I tried both nixpkg and nixpkgs)
<tilpner> It's Nix
<immae> Oh
<linkrage> anyone managed to use kubenix - https://github.com/xtruder/kubenix ?
<srhb> tilpner: The machines output you have looks like what happens if the queue runner hits machinesFiles.empty()
<simpson> linkrage: I've used it.
<immae> Thanks tilpner faq is up to date now :)
<srhb> tilpner: parseMachines("localhost " + (settings.thisSystem == "x86_64-linux" ? "x86_64-linux,i686-linux" : settings.thisSystem.get()) + " - " + std::to_string(settings.maxBuildJobs) + " 1");
<tilpner> simpson: Please check #53873
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53873 (by tilpner, 4 weeks ago, open): tahoe-lafs: 1.12.1 -> 1.13.0
<linkrage> simpson, can you advice me how do I start - I added default.nix as import into configuration.nix and that's might not be the right approach - no error but nothing gets deployed (using kubenix' example)
<simpson> tilpner: It is currently building in another terminal.
<tilpner> srhb: Hmm, NIX_REMOTE_SYSTEMS is unset and /etc/nix/machines exists and has content
<simpson> linkrage: It won't deploy anything for you, just create the JSON file which can be deployed.
<srhb> tilpner: Is hydra-queue-runner able to read it?
<srhb> tilpner: (as in, the user)
Maxdamantus has joined #nixos
<linkrage> simpson, I see, I generated 2 json's but didn't try using them. Then what about the example? - https://github.com/xtruder/kubenix/blob/master/examples/simple/configuration.nix
<tilpner> # s -u hydra-queue-runner cat /etc/nix/machines
<tilpner> localhost x86_64-linux,i686-linux,armv6l-linux,armv7l-linux,aarch64-linux - 6 1 big-parallel,nixos-test,kvm
<srhb> tilpner: Hmm. maybe it's a red herring.
<simpson> tilpner: FWIW everything looks good. I just want to double-check that some stuff still works; Tahoe's test suite manages to have lots of tests while still covering very little of the client.
<srhb> tilpner: Looks like a tempting explanation though...
<tilpner> simpson: That's appreciated, I wouldn't want to break it :)
<srhb> tilpner: It looks like NIX_REMOTE_SYSTEMS _should_ be set in the systemd unit though
<tilpner> srhb: I do one odd thing: services.hydra.package = pkgs.hydra.override { nix = config.nix.package; };
<srhb> tilpner: At least in recent versions of the hydra module
<{^_^}> [nixpkgs] @matthewbauer pushed to release-18.09 « haskell.buildStackProject: use setup hook »: https://git.io/fh5f9
<tilpner> srhb: Ohh, I didn't check correctly then
<tilpner> Huh
<tilpner> Environment="NIX_REMOTE_SYSTEMS="
<srhb> Uh oh!
lawlesseel has quit [Remote host closed the connection]
<srhb> buildMachinesFiles should default to ["/etc/nix/machines"] and be used for that var.
<tilpner> NIX_REMOTE_SYSTEMS = concatStringsSep ":" cfg.buildMachinesFiles;
<srhb> Right.
<LnL> I thought NIX_REMOTE_SYSTEMS doesn't do anything anymore
<srhb> LnL: It does.
iqubic has quit [Ping timeout: 268 seconds]
<srhb> Er... At least I think it does
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55842 → python37Packages.twilio: 6.23.1 -> 6.24.0 → https://git.io/fh5f7
<srhb> Unless this is perfectly dead code that just happens to fit :-)
<tilpner> Ahh, my mistake. I mixed all sorts of existing hydra configurations while getting this to run
<tilpner> One of them cleared buildMachinesFiles for some reason
<tilpner> Thank you :)
<tilpner> srhb++
<{^_^}> srhb's karma got increased to 29
<srhb> tilpner: Sure thing!
<LnL> was thinking about the build hook
<srhb> LnL: Ah right. But Hydra still uses it explicitly.
alex`` has joined #nixos
yl has joined #nixos
<simpson> tilpner: Does $(tahoe start) work for you? I'm getting a SyntaxError.
<tilpner> Oh no, not this again
<tilpner> :(
<simpson> Is it just me?
<immae> tilpner and __monty__: it almost worked (apart from yarn2nix and the nixpkg packges, I don’t know why but it’s reasonnable), this is great thanks for your help
<tilpner> simpson: No, I see too now. I can't tell what happened though, it was working at some point or I would never PR'd it
<tilpner> *never have
<simpson> tilpner: Well, no worries. I'm not sure of the root of the issue yet, but it looks like a Python SyntaxError is being raised from the bash wrapper; maybe the Tahoe client re-execs somehow?
yokyolu has joined #nixos
matijja has joined #nixos
ym555 has joined #nixos
ubert has quit [Quit: Leaving]
<tilpner> That's what it seems like, but I can't find it in runner.py
matijja has quit [Remote host closed the connection]
matijja has joined #nixos
jonaswouters has quit [Remote host closed the connection]
jonaswouters has joined #nixos
Glider_IRC__ has joined #nixos
ryantrinkle has joined #nixos
<ryantrinkle> i just bumped to the latest nixos-18.09, and it looks like something has changed about how shebang lines are processed by the kernel? it's very strange
<ryantrinkle> zfs-auto-snapshot started failing, with "Exec format error"
<srhb> ryantrinkle: The revert is in progress.
<srhb> ryantrinkle: Upstream, I mean.
<__monty__> immae: np, I don't mind taking tilpner's credit ; )
<johnw> camsbury: I'm open for questios
<johnw> ryantrinkle: morning!
ottidmes has quit [Ping timeout: 246 seconds]
<ryantrinkle> johnw: to you too :)
<__monty__> johnw: I have some tax questions.
<johnw> sure, I'm open for any and all questions, including the meaning of the universe. You'll find my openness for answers somewhat lacking.
<ryantrinkle> srhb: awesome, thanks for the pointer
<gchristensen> ryantrinkle: please roll back to your prior generation
Glider_IRC_ has quit [Ping timeout: 244 seconds]
<gchristensen> ryantrinkle: a new channel update is about ready
<srhb> ryantrinkle: This might also be a good read, if you're curious: https://github.com/NixOS/nixpkgs/issues/53672
<{^_^}> #53672 (by eadwu, 5 weeks ago, closed): switch-to-configuration not interpreted using perl
<gchristensen> I thought I managed to get the channels un-advanced .. :/
<__monty__> johnw: Your answers are very bigotted? Hmm, the more you get to know people.
ottidmes has joined #nixos
<gchristensen> wat
<johnw> __monty__: I think you'd find the opposite
<__monty__> So they're open but not open?
<ryantrinkle> gchristensen: thanks :)
* gchristensen hurries the channel bump along
<symphorien> isn't it catched by nixos test ?
<samueldr> not on the non-default kernel IIRC
<symphorien> ah makes sense
<gchristensen> the default kernel had the kernel bump reverted, leaving the rest of the kernels broken
mfip^ has quit []
abaiste^ has joined #nixos
<ottidmes> Could #55413 be merged? It did have a review whose feedback has been addressed. Or if anybody has some more feedback I welcome it
<{^_^}> https://github.com/NixOS/nixpkgs/pull/55413 (by msteen, 1 week ago, open): bitwarden_rs: init at 1.4.0
babic has joined #nixos
rcshm has quit [Ping timeout: 250 seconds]
<johnw> __monty__: ;)
schjetne has quit [Ping timeout: 258 seconds]
phizzz has joined #nixos
schjetne has joined #nixos
gagbo has joined #nixos
kenshinCH has joined #nixos
clefru has quit [Remote host closed the connection]
schjetne has quit [Ping timeout: 250 seconds]
dbmikus has quit [Ping timeout: 246 seconds]
dbmikus has joined #nixos
schjetne has joined #nixos
markus1189 has quit [Ping timeout: 250 seconds]
sigmundv has quit [Ping timeout: 246 seconds]
schjetne has quit [Ping timeout: 259 seconds]
Guanin has quit [Quit: Leaving]
abaiste^ has quit []
hsrt^ has joined #nixos
balsoft has joined #nixos
schjetne has joined #nixos
phizzz has quit [Ping timeout: 245 seconds]
phizzz has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #55843 → nixos-nsswitch: add option to configure nssHosts → https://git.io/fh5Uh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55844 → qmapshack: 1.12.1 -> 1.12.3 → https://git.io/fh5TJ
cryptomonad has joined #nixos
babic has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0ba800c4b4b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
cryptomonad has quit [Client Quit]
timor has joined #nixos
cryptomonad has joined #nixos
<{^_^}> [nixpkgs] @qolii opened pull request #55845 → linux-hardkernel: 4.14.87-153 -> 4.14.94-155 → https://git.io/fh5TL
garbas has quit [Quit: WeeChat 2.3]
garbas has joined #nixos
linkrage has quit [Quit: Leaving]
superherointj has joined #nixos
superherointj has quit [Max SendQ exceeded]
superherointj has joined #nixos
jrddunbr has left #nixos ["WeeChat 2.3"]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cb0e20d6db9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9bd45dddf81 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
* ikitat
<{^_^}> [nixpkgs] @offlinehacker merged pull request #55813 → vault: 1.0.2 -> 1.0.3 → https://git.io/fh7Fo
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/fh5TC
<{^_^}> [nixpkgs] @offlinehacker merged pull request #55809 → kustomize: 1.0.11 -> 2.0.1 → https://git.io/fh7dD
<{^_^}> [nixpkgs] @offlinehacker pushed 4 commits to master: https://git.io/fh5Tl
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9bd45dddf81 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @offlinehacker merged pull request #55690 → osquery: fix build → https://git.io/fh7eF
<{^_^}> [nixpkgs] @offlinehacker pushed 3 commits to master: https://git.io/fh5T0
* gchristensen waves to betawaffle
<betawaffle> gchristensen: howdy
<gchristensen> I just pinged fpletz and globin in another channel -- two people who are in on networkd, maybe also should rope in .. mmm.. Mic92 probably
<{^_^}> [nixpkgs] @offlinehacker merged pull request #55649 → nixos/flannel: add kubernetes as storage backend (and fix test) → https://git.io/fhQ95
<{^_^}> [nixpkgs] @offlinehacker pushed 4 commits to master: https://git.io/fh5Tg
gagbo has quit [Ping timeout: 258 seconds]
i1nfusion has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
dermetfan has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55846 → python37Packages.pytest-httpbin: 0.3.0 -> 1.0.0 → https://git.io/fh5TH
balsoft has quit [Ping timeout: 244 seconds]
<disasm> gchristensen: I'm also interested in networkd :)
<gchristensen> maybe we should make a networkd working group to get y'all together
Thra11 has joined #nixos
<hodapp> has anyone else run into this cryptic issue I'm seeing, in which having IPv6 enabled (I guess) causes something that leads to an endless storm of ERR_NETWORK_CHANGED in Chromium?
<hodapp> which leads to Chromium having a lot of problems because it thinks things are offline, then online, then offline...
hsrt^ has quit []
<Thra11> If there's a package in nixpkgs which doesn't build, and I get a local copy of the sources and fix them, what's the easiest way to build the local sources to test the fix? An overlay?
<NemesisD> any folks use python with nix? i need to run a python script in my nix environment. i've added (pkgs.python36.withPackages (ps: [...])), running python3 fails importing the site module, which it seems to try to load from python 2
<Thra11> Or just a default.nix in the sources with the right magic?
<noonien> hello folks!
<noonien> how could i install arm-linux-gnueabihf-gcc?
ym555_ has joined #nixos
<jeaye> I've borked by nix; uninstalling/reinstalling doesn't help. Suggestions? https://gist.github.com/jeaye/7e9c4518a6827ebfa189683435eb609f
<simpson> NemesisD: Some other package may have polluted the environment with another Python. Try calling the executable from the withPackages invocation:
<simpson> > "${python36.withPackages (ps: [ ps.numpy ])}/bin/python3"
<{^_^}> "/nix/store/l0df27mc1srrakwlkj0k22v4jik6gnn5-python3-3.6.8-env/bin/python3"
<__monty__> jeaye: Multiuser install? I suspect you'll have to set up root's channels rather than your own.
ym555 has quit [Ping timeout: 250 seconds]
<jeaye> __monty__: I've tried the same for root. Same problem, same error.
<NemesisD> simpson: hmm, in my nix expression i'm depending on `(pkgs.${python}.withPackages (ps: [ps.google-cloud-sdk]))` where python defaults to "python36"
<simpson> NemesisD: A mere dependency might not be enough; sometimes one must call the desired executable directly, rather than placing it into the environment and hoping that it's found.
<yokyolu> smb, please, help me not loose my mind
<yokyolu> this is default.nix
<yokyolu> i run `nix-build -A haskellPackages.gogol`
<yokyolu> and it ALWAYS BUILDS
<__monty__> jeaye: Hmm, what's your NIX_PATH? Maybe you can drop that path? I'm not sure how to fix your problem though.
<NemesisD> simpson: i see. so i'm pretty new to nix, i'm booting a nix-shell, how can i reference the specific executable from inside that shell?
<yokyolu> THE WRONG ONE
<yokyolu> nomatter what revision of nixpkgs i choose
<yokyolu> no matter if comment/uncomment stuff
<yokyolu> overlays or not
<yokyolu> always the same output
<yokyolu> itbuilds gogol-core with a wrong package set and it fails
<simpson> NemesisD: I think that it'd be better to write out a Nix derivation, maybe.
<yokyolu> im missing something
sigmundv has joined #nixos
<yokyolu> but for the life of me i cant see it
garbas has quit [Quit: WeeChat 2.3]
iqubic has joined #nixos
<jeaye> __monty__: Updated the gist with the NIX_PATH.
garbas has joined #nixos
<iqubic> Is it possible to install Microsoft Fonts like Arial on Nixos?
<tilpner> > corefonts.meta.description
<{^_^}> "Microsoft's TrueType core fonts for the Web"
<NemesisD> simpson: yeah i suspected i might have to do that anyways. i could use some guidance. the root of my project is a haskell library with an executable. i'm extending pkgs.haskell.pkgs.${ghc} in my default.nix, adding my package to the set with callCabal2nix. shell.nix uses pkgs.haskell.pkgs.${ghc}.shellFor. so i'm not sure where to put a derivation that includes all the runtime dependencies and such
<NemesisD> simpson: right now i'm adding an arbitrary runtime-dependencies attr to my cabal package derivation and then making sure to reference that anywhere that needs to run the thing (shell.nix, a docker image)
<NemesisD> which i suspect is very unidiomatic
freeman42x has joined #nixos
<simpson> NemesisD: Interesting. I'm not sure how to fix that puzzle. My normal sledgehammer-approach is to patch the source code to point directly to the binary.
<NemesisD> simpson: the source code of the script calling out to python or?
<simpson> Yes.
superherointj has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @bkchr opened pull request #55847 → kde-frameworks: 5.54 -> 5.55 → https://git.io/fh5kn
<NemesisD> i guess i don't know how to get the path of that python binary inside of a shell or container if the one that's referenced by `which python` isn't correct. i'm not a python expert but it seems like setuptools or something is shelling out to `python` which is python 2, the stack trace starts out in python2.7/site-package/site.py and moves into python-3.6.8-env
<iqubic> tilpner: will corefonts include Arial? That's the one font that I care about.
* emily is curious why you want Arial specifically
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55849 → python37Packages.rasterio: 1.0.15 -> 1.0.18 → https://git.io/fh5kC
<__monty__> Probably hates his eyes?
<iqubic> Is Arial a bad font?
<ddellacosta> I'm not sure this is necessarily a nixos issue so forgive me if I should ask elsewhere, but I got nothing and I'm a bit desperate at this point: FF and chromium both have broken (blank and way too big) save/file picker/etc. dialogs in xmonad/xfce. Has anyone seen anything like this before?
<emily> iqubic: it's semi-infamous for being a knockoff design of Helvetica
<iqubic> Ah. I see.
shibboleth has joined #nixos
<tilpner> iqubic: It should. Try it
<iqubic> Mainly I'm just running into issues with Steam Games running under proton have font issues. Basically it's a missing glyph issue.
<iqubic> Like the symbols render just fine in Emacs, but fail to show up in game.
yokyolu has quit [Ping timeout: 258 seconds]
<iqubic> And I was told that the game uses Arial as one of its fonts.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55850 → qalculate-gtk: 2.8.2 -> 2.9.0 → https://git.io/fh5kR
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> But I feel like this might just be a WINE issue as well.
zupo has joined #nixos
wedens has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55851 → python37Packages.telethon: 1.5.4 -> 1.5.5 → https://git.io/fh5k2
silver_hook has joined #nixos
yokyolu has joined #nixos
<iqubic> So yeah, this font issue is being a large pain.
dbmikus_ has joined #nixos
<Thra11> What does "cannot coerce a set to a string" mean? Or rather, why am I getting this error from make-derivation, complaining about this line: libraryPkgconfigDepends = [ qt5 ];
<symphorien> qt5 is not a library, but a attrset
<srhb> Thra11: All of those elements should ultimately be a path, and it's not.
<symphorien> you may need to use qt5.qtbase of something like that
<symphorien> note that you should not even take qt5 as argument: https://nixos.org/nixpkgs/manual/#ssec-qt-applications
<iqubic> So is there a way to configure WINE to look use other fonts on my system to find a fallback for the symbols it cannot find?
dbmikus has quit [Ping timeout: 250 seconds]
<iqubic> Because this Steam game, running under proton is giving me missing symbol issues.
_kwstas has joined #nixos
<iqubic> Like I'm not getting any game breaking errors. I'm just not seeing the symbols.
<Thra11> symphorien, srhb: Ok, thanks. I replaced qt5 with qt5Full and it seems to be slightly happier
yokyolu has quit [Ping timeout: 250 seconds]
endformationage has quit [Ping timeout: 245 seconds]
<srhb> Thra11: Read the above manual section though :)
<{^_^}> [nixpkgs] @dywedir merged pull request #55830 → slurp: 1.0 -> 1.0.1 → https://git.io/fh7pz
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fh5k1
zupo_ has joined #nixos
<iqubic> Like all of my other games work just fine. It's just this one game that has issues.
zupo has quit [Ping timeout: 246 seconds]
<Thra11> srhb: Ok. I don't quite understand what's going on on with qt5 in nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix, in the "hsqml" bit, approx line 115465.
<iqubic> Does anyone have any idea why I might be getting these font issues in Steam with Proton.
<{^_^}> [nixpkgs] @dtzWill opened pull request #55852 → elfutils: 0.175 -> 0.176 → https://git.io/fh5kQ
<averell> how could i get access to output from the selected kernelPackages in a packagke? specifically i need the binaries from kernelPackages.nvidia_x11.bin. Should I copy them to some hard-coded location in /run for example (similar to /run/opengl-driver/)?
init_6 has joined #nixos
<tilpner> averell: nix-build --no-out-link '<nixpkgs/nixos>' -A config.boot.kernelPackages.nvidia_x11.bin
<iqubic> tilpner: Do you know why I might be getting these weird font issues?
sigmundv has quit [Ping timeout: 246 seconds]
<symphorien> if you put config.boot.kernelPackages.nvidia_x11.bin in environment.systemPackages they will end up in /run/current-system/sw/bin
<tilpner> iqubic: No
<iqubic> Darn. This is so strange.
<iqubic> It works just fine on Windows.
<iqubic> Which leads me to think that the game is trying to load some Windows CoreFont and not being able to.
cyraxjoe has quit [Ping timeout: 245 seconds]
perique has joined #nixos
<iqubic> But that shouldn't prevent it from using a system font as a fallback, should it?
<tilpner> How did you install corefonts?
<iqubic> I didn't do that yet.
<iqubic> I'm going to do that when I get home from school.
<iqubic> But my point still stands. It should just look through the other fonts on my system until it finds one with the right symbol.
slyfox_ is now known as slyfox
<iqubic> I can see the symbols just fine in Emacs and in Libre Office. Just not in my game.
<averell> tilpner: yes, but i need access to those binaries in a package. depending on whatever is configured.
<averell> so all i can think of is copying them to some well-known location in the module (hardware/nvidia in this case)
<iqubic> Why do you need it in a package? What specifically are you trying to do?
<tilpner> averell: Any nvidia_x11, or the nvidia_x11 the user already selected?
ddellacosta has quit [Ping timeout: 258 seconds]
<laas> how does one use a custom fork of nixpkgs?
nschoe has quit [Ping timeout: 258 seconds]
<iqubic> I think there's a command to do that.
<iqubic> I'm not sure what it is.
<averell> it must be the one that is actually used, it provides binaries like nvidia-smi, which get mounted into a docker container (after i patch the interpreter to /lib64/ld-linux-x86-64.so.2)
<iqubic> Something like nixos-build-iso or something.
<averell> because they have dependencies on the kernel modules and libraries of that specific driver version
<tilpner> averell: Maybe just take them as an argument, and rely on the user (or a module that does it for the user) to override them correctly
<tilpner> A package can't access the NixOS configuration by itself
cyraxjoe has joined #nixos
ddellacosta has joined #nixos
<tilpner> (Technically it can, but it really shouldn't, and won't be accepted if it does)
<iqubic> tilpner: I can't think of any reason why a steam game running in proton would fail to use system fonts as a fallback.
<tilpner> I can think of one: system fonts may not be forwarded into the FHSUserEnv
<iqubic> Oh.
<tilpner> (Most likely aren't)
<iqubic> Is there a way to fix that?
<tilpner> Yes, put them in there yourself
alex`` has quit [Ping timeout: 258 seconds]
<averell> it's actually part of a docker hook, which isn't invoked by the user. i guess i could make some kind of wrapper that patches and copies them, but where do i put them? again somewhere in /run? and then I could just do that in a module config maybe?
<iqubic> tilpner: I'm using the steam client to manage starting my game via proton. Where would I move my fonts to? And for that matter, where in the filesystem are the fonts that I'd be copying?
<iqubic> See, this is why I ask for help.
alex`` has joined #nixos
init_6 has quit []
cyraxjoe has quit [Ping timeout: 244 seconds]
<tilpner> I don't know how fonts are installed manually
<tilpner> I can tell you how to install extra packages into the steam env though
<iqubic> I'd like that.
<tilpner> You would use steamPackages.steam-chrootenv.override { extraPkgs = p: with p; [ ... ]; } instead of the steam you currently use
<iqubic> I see. That makes sense. Thank you.
<iqubic> And then how do I add fonts to that?
<noonien> what does nix provide as `-j` to make?
<noonien> i'm trying to build an arm cross compilation toolchain and it seems to take ages
<noonien> while my CPU isn't used at 100%
<noonien> not even close to 30% actually
<tilpner> iqubic: You can install the fonts as packages in that list. I don't know if that'll make Steam pick them up automatically though
<camsbury> johnw: using your compileEmacsPackage to build a set of packages, then feeding those to the following: https://pastebin.com/wRUFKLME
<iqubic> tilpner: It's worth a shot isn't it?
<tilpner> I wouldn't suggest it otherwise
<tilpner> noonien: NIX_BUILD_CORES, which is set from the "cores" option in nix.conf
perique has quit [Quit: Textual IRC Client: www.textualapp.com]
rcshm has joined #nixos
<noonien> hmm, i've got `nix.maxJobs = lib.mkDefault 8;` in my configuration.nix
<noonien> is that not it?
<camsbury> the problem is that the deps of the custom packages aren't being installed before... - I thought maybe this had to do wil the order of me calling `.overrideScope`, but it seems to not exist after calling `emacsWithPackages`
<tilpner> noonien: Note that some packages call make manually, and thus might not pass NIX_BUILD_CORES
<camsbury> but thinking there may be some other issue
<johnw> I think customEmacsPackages needs to accept self: super: parameters, so that it can refer to dependencies in self/super
cyraxjoe has joined #nixos
<tilpner> laas: Use for what? Switch your entire system to it? Build one package?
<camsbury> oh nice
<camsbury> right I'll try that
Thra11 has quit [Ping timeout: 246 seconds]
<srhb> noonien: maxJobs is the number of individual nix-level package builds, not the parallelism within each build, that's nix.buildCores.
<johnw> I wish buildCores/maxJobs stole from a shared pool of available resources, based on the data dependency graph
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
judson_ has joined #nixos
<iqubic> steamPackages.steam-chrootenv.override { extraPkgs = p: with p; [ ... ]; } Is what I use?
<srhb> johnw: Agreed.
<iqubic> How do I pass fonts into there?
<johnw> sometimes everything is blocked on a single job that could be cores=20, other timse you have lots of independent, tiny jobs that should be cores=1 jobs=20
ddellacosta has quit [Ping timeout: 246 seconds]
<johnw> what I end up doing is overcommitting on both numbers, so that the majority of the time it works out, although in rare instances I end up swapping
<tilpner> iqubic: Replace the ... with a list of font packages
<camsbury> johnw: was originally doing something like https://pastebin.com/XprQmBju
<iqubic> tilpner: would p.coreFonts work?
<camsbury> where would I throw the self/super in there? `callPackage`?
zupo has joined #nixos
rcshm has quit []
<iqubic> or whatever the specific name of that is.
<tilpner> iqubic: Just corefonts
<johnw> camsbury: buildInputs = with self; [ ... my dependencies for this package ... ];
<iqubic> thanks.
<tilpner> No p., no "corefonts", no coreFonts
<johnw> you'll see instances of that in my emacs nix config
<camsbury> ah sweet
<camsbury> ty
<johnw> also, { a = a; b = b; } is the same as { inherit a b; }
judson has quit [Ping timeout: 250 seconds]
<camsbury> ty
<noonien> if i interrupt nix while it's compiling something, will it resume from where it left off?
<johnw> and since `self` already contains your own set, normally you'd just define everything as an attribute, and then use self.foo to refer to a dependency within that overlays' set
<iqubic> And that line goes into my system.environmentPackages, right?
<jeaye> __monty__: Figured it out.
<iqubic> or does it go outside that list?
<iqubic> tilpner: can you tell me where to put this config?
<jeaye> __monty__: I had to disable sandbox building. Apparently there's an issue with the AUR version of nix + sandbox.
<tilpner> iqubic: You use it in place of the steam you installed earlier. If you put it into systemPackages, remember to wrap it in parenheses
<iqubic> Cool. Thanks.
<camsbury> johnw: as a top level attribute of pkgs.emacsPackagesNg or what... not too sure about that `(pkgs.emacsPackagesNgGen pkgs.emacs).overrideScope` fn
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55853 → qownnotes: 19.2.0 -> 19.2.3 → https://git.io/fh5I2
rcshm has joined #nixos
<rcshm> hi, i was testing out nixos for raspberry pi and i followed the example and got kodi install and configured.
<rcshm> now i do not know how to remove kodi since it just takes precedence when the ui starts.
<rcshm> does anyone know how to get back to nixos display manager from kodi?
zupo has quit [Ping timeout: 259 seconds]
zupo_ has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #55748 → bbe: init at 0.2.2 → https://git.io/fh78h
<tilpner> Do you have ssh or keyboard access?
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fh5Ir
<rcshm> yes
<tilpner> Try pressing ctrl+alt+f3 and logging in
<tilpner> From there, you can edit the configuration.nix to disable kodi and rebuild
dermetfan has joined #nixos
<rcshm> this is when i am booting up?
<tilpner> I feel it should work at any point after kodi appeared too
matijja has quit [Ping timeout: 272 seconds]
<catern> imagine a world where Google used Nix instead of Portage for ChromeOS
<catern> wouldn't that have been nice?
<rcshm> thank you. let me try that.
Glider_IRC_ has joined #nixos
cryptomonad has quit [Remote host closed the connection]
Glider_IRC__ has quit [Ping timeout: 244 seconds]
<rcshm> tilpner, it works. thanks again.
<__monty__> jeaye: Oh, I had no idea. I recommend ditching pacman/aur though, just let nix manage itself.
ikitat has quit [Ping timeout: 240 seconds]
<noonien> how can i get debian's equivalent of arm-linux-gnuabihf-gcc?
civodul has joined #nixos
<tilpner> > lib.systems.examples.armv7l-hf-multiplatform.config
<{^_^}> "armv7l-unknown-linux-gnueabihf"
<tilpner> Is this close enough?
<noonien> hmm, i think it might be
schjetne has quit [Ping timeout: 272 seconds]
<noonien> so i just add `lib.systems.examples.armv7l-hf-multiplatform.config` as a package?
<tilpner> Oh, no
<noonien> armv-unknown-linux-gnueabihf did not work, armv7l-unknown-linux-gnueabihf does
<noonien> arm*
<tilpner> noonien: Use that with crossSystem = lib.systems.examples.armv7l-hf-multiplatform.config;
<tilpner> Uhh
<tilpner> noonien: Use that with crossSystem = lib.systems.examples.armv7l-hf-multiplatform.c;
<tilpner> No .c
drakonis has joined #nixos
schjetne has joined #nixos
<{^_^}> [nixpkgs] @siddharthist closed pull request #53812 → folly: 2018.10.29.00 -> 2019.01.07.00 → https://git.io/fhnI1
Xal has quit [Ping timeout: 268 seconds]
Soo_Slow has joined #nixos
Xal has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ariakenom has quit [Quit: Leaving]
lux2 has joined #nixos
lux2 is now known as luxferresum
ddellacosta has joined #nixos
iqubic has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 258 seconds]
<yl[m]> do we officially support *BSD systems?
hph^ has joined #nixos
zupo has joined #nixos
eadwu has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/0ba800c4b4b (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<catern> hmm hydra is not particularly usable from a terminal browser
<catern> can't manage to log in
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/afd19a0bcb8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<gchristensen> channel updates for everybody
ninjin has joined #nixos
hiroshi has joined #nixos
<gchristensen> I think we're through the woods, folks
<gchristensen> unless you're on nixos-unstable in which case you might still have bad kernels
ikitat has joined #nixos
<srhb> Woe is me.
<gchristensen> womp womp :)
knupfer has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
samrose has quit [Ping timeout: 245 seconds]
samrose_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55855 → python37Packages.mail-parser: 3.4.1 -> 3.9.2 → https://git.io/fh5LE
Soo_Slow has joined #nixos
samrose_ has quit [Quit: Konversation terminated!]
<betawaffle> how good is nftables support in nixos?
samrose has joined #nixos
rfold has joined #nixos
<srhb> betawaffle: There's no real module level support for it (compared to the module level iptables-based firewall) iirc.
<srhb> betawaffle: It Works Though. :)
<srhb> Or at least, it did last I tried it out.
<betawaffle> oh right, you mean it doesn't have a fancy configuration interface
<betawaffle> i'm fine with that
<srhb> Right. And also, you'll need to disable the default firewall :)
<betawaffle> (i'm seriously considering using nix for a new router)
<srhb> betawaffle: Great choice!
<tilpner> #nixos-on-your-router, if you're not there already
rfold has quit [Client Quit]
jpo-joyent[m] has joined #nixos
kisonecat has quit [Ping timeout: 272 seconds]
<Lisanna> erm...
<Lisanna> why does the nix build sandbox on one of my machines have /bin/sh in it, but on my other machine it doesn't?
<camsbury> johnw: works with the `buildInputs`! thanks for that :)
<camsbury> now I can have a reasonable time patching my emacs packages
<jpo-joyent[m]> are there signed nixos release artifacts someplace? https://nixos.org/nixos/download.html at least links to sha256sums, but they're just served from cloudfront alongside the iso they digest, so they're pretty useless from an authenticity-guarantees perspective
<{^_^}> [nixpkgs] @srhb merged pull request #55721 → haskellPackages.equivalence: dontCheck in GHC 8.6 → https://git.io/fh7qG
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fh5L7
<gchristensen> NixOS install ISOs are released automatically, which makes it tough to gpg-sign them
kisonecat has joined #nixos
<gchristensen> let's see if we can get you hashes in a different way.
<gchristensen> my computer just started calculating the diff of two install ISOs, actually, for r13y.com, so I'm likely to run out of ram and have a hard time helping for the next several minutes
<jpo-joyent[m]> no worries, take your time!
<jpo-joyent[m]> thanks for having a look :)
matijja has joined #nixos
<srhb> jpo-joyent[m]: Do you have Nix? If so, you can build your own :)
<gchristensen> which ISO do you want to look at, jpo-joyent[m]?
nschoe has joined #nixos
<jpo-joyent[m]> there's an inherent bootstrapping / trusting-trust problem with that ;)
<gchristensen> Nix itself has gpg-signed releases
Ariakenom has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
<gchristensen> jpo-joyent[m]: the minimal x86_64-linux iso should have the hashes, sha1: ff24e594845d4c76e851c884f078c8b11ef2c37d, sha-256: 27284ff3548c7c7e2b008af9f0bc5ab1278d390897362e5faab9b556f3988a1f -- based on the results here https://hydra.nixos.org/build/88839712 (clicking this button https://screenshotscdn.firefoxusercontent.com/images/ebd8dc1d-bbf1-4224-a8e1-291c91651518.png)
<jpo-joyent[m]> i saw gpg sigs for nix the package manager, but not the OS
<gchristensen> ah the ova
<jpo-joyent[m]> i don't mind starting with an old version or something if there was a signed release of it at some point
<jpo-joyent[m]> i just want something to bootstrap trust with
<gchristensen> same Details button here https://hydra.nixos.org/build/88839058 shows 527605fcd2e0a01f34b3b5a2712522a751b95c6b and 6d774e2b6bf0145eae7184b7cde1280772960b9d1322827aaeeb03df83c2fa6a
leothrix has joined #nixos
<gchristensen> I could send you a signature file for the OVA, signed with the key listed on https://nixos.org/nixos/security.html (0xFE918C3A98C1030F, also fetchable over WKD for graham@grahamc.com)
<elvishjerricco> jpo-joyent[m]: If you're interested in the hard way: Install Nix itself, which has gpg signed releases. Then disable the cache.nixos.org binary cache. Then use Nix to build the OS from scratch
<gchristensen> elvishjerricco: if I understand properly, jpo-joyent[m] doesn't distrust the cache we provide, but wants to be certain the nixos.org website isn't serving a compromised file
<elvishjerricco> gchristensen: Ah, then skip the binary cache disabling step
<gchristensen> and since the cache files are all signed, it is just the initial bootstrap of trust
<freusque> What part of the nix ecosystem understands !!! in sources at this point?
<gchristensen> not sure anything, really
<gchristensen> jpo-joyent[m]: see my note about the signature file
nschoe has quit [Ping timeout: 258 seconds]
basvandijk has joined #nixos
<freusque> thx
<{^_^}> [nixpkgs] @jsamsa opened pull request #55856 → update xhyve to tip of master → https://git.io/fh5Lb
<freusque> Lisanna are you enforcing it using --pure on both machines?
<Lisanna> freusque: I have never heard of the --pure option <.<
<Lisanna> I don't see a "--pure" option in nix-build?
<elvishjerricco> Lisanna: `nix --help-config`
<elvishjerricco> Lisanna: It's one of the options in there IIRC
<basvandijk> Twey: could you have a look at https://github.com/NixOS/nixpkgs/issues/55848? GHC expects libc++.a to be an archive while in nixpkgs it's a textual file.
<freusque> oh elvishjerricco that command... thanks. :)
<Lisanna> I only see allowed-impure-host-deps and pure-eval
<freusque> as far as I remember there was a behavior change from impure to pure by default at some point?
<freusque> not too sure about that
<samueldr> gchristensen: as far as trust is concerned, are there different properties in how hydra.nixos.org serves isos? e.g. you can download it from there and verify the hashes, but no signing AFAICT
<samueldr> (well, there is signing, but not the thing you're downloading if you're downloading the iso)
<Lisanna> freusque: the sandbox option is now on by default, if that's what you mean... I always use the sandbox
<freusque> is one machine nix, and the other NixOS?
<Lisanna> OK, I've figured it out. I was manually setting sandbox-paths differently, which was overriding the default value which contains a mapping for /bin/sh
<elvishjerricco> Yea, if the binary cache is trustworthy, and it's just the web page that's not, then you can just get the isos from the binary cache
<freusque> aha. :)
<samueldr> elvishjerricco: the iso in the binary cache would be nar'd right? how would one unnar without nix?
<elvishjerricco> Oh right. All my solutions rely on getting Nix first :P
<samueldr> I was thinking about the hydra interface which allows downloading, but it's not exactly straight from the cache
<{^_^}> [nixpkgs] @tobim opened pull request #55857 → LanguageClient-neovim: 2018-09-07 -> 0.1.140 → https://git.io/fh5Lh
<samueldr> but the hashes and files are served from a different infra (but not entirely isolated?) than the nixos.org website
timor has quit [Ping timeout: 252 seconds]
<samueldr> (I may also be missing obvious things)
<gchristensen> actually yes those two machines don't talk at all
<freusque> anyone knows the syntax for lists in nix.conf?
<gchristensen> I think a comma
<srhb> space, usually?
<gchristensen> srhb is probably right
<srhb> For substituters and keys, for instance, it's space.
<freusque> extra-sandbox-paths in instance
<freusque> this*
<gchristensen> duh. thanks, srhb :P
<srhb> freusque: I would expect space, but frankly I'm not sure.
<freusque> thank you
<jpo-joyent[m]> gchristensen: correct. under the threat model for my current goal, i am fine with trusting the nix build servers
<gchristensen> jpo-joyent[m]: is the hash on that page I linked you sufficient?
<jpo-joyent[m]> is there someplace i'm not seeing where i can get the SHA256 of resulting build artifacts directly from hydra?
<jpo-joyent[m]> err, i do not see a hash there
xkapastel has quit [Quit: Connection closed for inactivity]
<jpo-joyent[m]> apparently I'm blind, sorry!
<jpo-joyent[m]> derp
<jpo-joyent[m]> awesome, thank you! :)
kisonecat has quit [Ping timeout: 244 seconds]
<noonien> can i define 2 layers in my shell.nix?
<noonien> i want one with some packages, and another with some cross-compiled packages
<noonien> or, is there a better solution?
<gchristensen> jpo-joyent[m]: I'm glad to help!
<gchristensen> jpo-joyent[m]: if you have other questions, don't hesitate
<ikitat> nixops deploy targeting nixos requires root ssh login access?
<gchristensen> yes, ikitat
<gchristensen> unfortunately :|
<ikitat> gchristensen: thank you
<freusque> I know that I can keep environment variables using --keep with nix-shell, but is there a similar thing with nix-build?
menace has quit [Remote host closed the connection]
<gchristensen> what are you doing, freusque ? :)
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fh5tq
<freusque> I basically am writing a wrapper ontop of nix-build that allows sudo,privilgedge escalation,impacting some system files
<freusque> I want to be able to run nix-build for systems research experiments
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> :o
<gchristensen> usually people will run a VM inside the build to do that
<freusque> and CI for an experimental container runtime
<freusque> no, this is for high performance computing
<{^_^}> [nixpkgs] @vcunat pushed to release-18.09 « Merge #55852: elfutils: 0.175 -> 0.176 »: https://git.io/fh5tO
<freusque> can't do VM :)
<freusque> I need to run scientific applications that have hardware access in that build stage with no container/vm performance overhead or abstraction layer. thread pinning, fine grain resource mgt ect.
<simpson> freusque: Need or want?
<freusque> need
<simpson> Mm. What happens if this can't be done?
<freusque> I use nix-shell instead.
<freusque> :)
<gchristensen> freusque: you might want to send an email to domenkozar about what he did for Snabb
<{^_^}> [nixpkgs] @Ma27 merged pull request #55587 → New package for `yubikey-manager-qt` → https://git.io/fhQ0Z
<{^_^}> [nixpkgs] @Ma27 pushed 5 commits to master: https://git.io/fh5tG
<{^_^}> [nixpkgs] @vcunat merged pull request #55852 → elfutils: 0.175 -> 0.176 → https://git.io/fh5kQ
<gchristensen> https://www.domenkozar.com/ has his email
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55858 → python37Packages.llfuse: 1.3.5 -> 1.3.6 → https://git.io/fh5tZ
<freusque> thanks, I'll send him a line
orivej has joined #nixos
<freusque> simpson: I would like the build results to be in the store. It's more of a convenience issue, you are right. I know I can shove them there manually, it's just not ideal.
kreisys has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<{^_^}> [nixpkgs] @vcunat pushed commit from @NeQuissimus to release-18.09 « kernel: Remove 4.18.x »: https://git.io/fh5tC
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
dbmikus_ has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
averell has quit [Quit: .]
<ikitat> hrm... is nixos-rebuild switch clobbering passwords?
<ikitat> :(
<tilpner> Only if you ask it to
<ikitat> mutableUsers = false
<{^_^}> [nixpkgs] @samueldr merged pull request #55732 → all-packages.nix: move defaults to package files continues → https://git.io/fh7so
<tilpner> Did you set users.users.*.initial[Hashed]Password?
<{^_^}> [nixpkgs] @samueldr pushed 11 commits to master: https://git.io/fh5tu
<ikitat> no
<tilpner> How do you tell it's changing passwords?
o1lo01ol1o has joined #nixos
<ikitat> I can't log in
Xal has quit [Ping timeout: 258 seconds]
<ikitat> oh, my mistake
<{^_^}> [nixpkgs] @grahamc pushed to master « docs: give matomo an ID »: https://git.io/fh5t2
endformationage has joined #nixos
eadwu has quit [Quit: WeeChat 2.3]
<ikitat> Hm.. nope, not my mistake. root and my user are both locked out and it seems to be after nixos-rebuild switch
Xal has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<tilpner> Can you reproduce this, or is it just a suspicion for now?
qz has quit [Quit: WeeChat 2.4-dev]
<ikitat> tilpner: I'll try to reproduce it, spent quite a bit of time getting nixos to run in xhyve on macos
<tilpner> E.g. change the password back from a live system, reboot into installed system, log in, rebuild switch, can't login anymore?
eadwu has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ikitat> I should be able to recover and see if it happens again
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
averell has joined #nixos
* rotty has been playing the last hours with setting up a hydra instance, and is now stuck with it not respecting the base_uri setting in the config file
i1nfusion has joined #nixos
<tilpner> Are you on NixOS, rotty?
iqubic has joined #nixos
<rotty> tilpner: no, I've used the nix installer on a Debian buster instance
<ottidmes> the only way to get some Nix data from a string source, is to use fromJSON right?
_kwstas has quit [Quit: _kwstas]
<iqubic> running steam in flatpak is such a silly thing to do.
<tilpner> fromTOML too, and import if you have a file
_kwstas has joined #nixos
_kwstas has quit [Client Quit]
<iqubic> Why do these games that use Mono only work in flatpak and not in the nixPkgs version of steam?
<ottidmes> tilpner: hmm, considering what I was planning to do, I think a temp file is indeed the best way to go, thanks
<rotty> tilpner: `hydra-init` seems to have worked, the server is running, but the HTML returned just contains the host's internal IP instead of the `base_uri` specified in the config file
<iqubic> tilpner: This issue is wholly different from my my font issues.
<rotty> http://hydra.r0tty.org/, if anyone is curious
<ikitat> Ouch, booting into single user mode > Cannot open access to console, the root account is locked.
<tilpner> That's very offline right now
<rotty> (use curl, the browser will get stuck loading javascript from a 10.0.0.0/8 ip)
<iqubic> For the past few days I've been running Steam through flatpak because all the games I want to run are made in Mono and I can only get them to work in steam via flatpak.
<tilpner> Can't resolve, your DNS didn't reach me yet
<ikitat> now I'm not quite sure what I can do
<iqubic> This is the most stupid thing ever.
Mateon3 has joined #nixos
shibboleth has quit [Quit: shibboleth]
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fh5tD
<{^_^}> [nixpkgs] @ryantm merged pull request #55844 → qmapshack: 1.12.1 -> 1.12.3 → https://git.io/fh5TJ
<ikitat> So is there any way to get into rescue mode with a locked root account?
<iqubic> It's like the version of mono that the nixpkg steam gives is wrong, but somehow the flatpak version just works.
<rotty> tilpner: it would help if anyone posted a working hydra.conf with base_uri set; `doc/manual/installation.xml` and the code contained in `hydra-module.nix` seem to disagree on syntax :-(
<tilpner> Check PM
<iqubic> does anyone know what the heck is going on here?
tdbgamer has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55731 → fd: 7.2.0 -> 7.3.0 → https://git.io/fh7sB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fh5t5
<yl[m]> ikitat: your best bet is to use the iso to boot into the installation media and mount your NixOS system to passwd into it
__monty__ has quit [Quit: leaving]
<colemickens> ../../go/pkg/mod/github.com/mattn/go-sqlite3@v0.0.0-20160907162043-3fb7a0e792ed/backup.go:10:10: fatal error: sqlite3-binding.h: No such file or directory
<colemickens> Do I need to do something beyond adding `sqlite` in a nix-shell ?
<colemickens> I did so, but it still isn't finding sqlite3-binding.h inside the shell
basvandijk has quit [Ping timeout: 246 seconds]
<ikitat> yl[m]: good idea. I imagine it's not too difficult to get passwd to affect /mnt
<ikitat> not sure though
<immae> Hey there! I’m trying to understand some of the nix internals here. I created this config file: https://paste.ee/p/w1eq4 and I noticed a slight difference between `nix-env -r -i -A immaePackages -f "<nixpkgs>"` and `nix-env -r -i -f /some/path`, that is in the first situation I have dot files in the bin directory (due to wrappers), and not in the second one. Where does the difference come from and how can I
<immae> avoid them in the first situation? I would have expected both commands to have the same result
Makaveli7 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55855 → python37Packages.mail-parser: 3.4.1 -> 3.9.2 → https://git.io/fh5LE
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fh5tA
<NemesisD> is it possible to get the nix hash of an attribute in a given expression?
ddellacosta has quit [Ping timeout: 258 seconds]
<yorick> NemesisD: "${asdf.ghjkl}" ?
<NemesisD> yorick: oh, i mean from the command line
<NemesisD> like ??? --attr foo default.nix
<yorick> a string? or derivation?
ddellacosta has joined #nixos
<NemesisD> yorick: let me back up. i have an expression that creates a docker image result. by default it tags it with the hash and i need to get that programmatically. right now i'm untarring the manifest.json out of the tarball and using jq to pull the tag out but thats slow and hacky
<yorick> nix-build ??? --attr foo default.nix should give you the hash
<yorick> nix show-derivation nixpkgs.hello | jq -r 'to_entries[] | .value.outputs.out.path' if you want it without building it
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55838 → gnome3.shotwell: 0.30.1 -> 0.30.2 → https://git.io/fh5vo
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fh5tj
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55851 → python37Packages.telethon: 1.5.4 -> 1.5.5 → https://git.io/fh5k2
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fh5qJ
alex`` has quit [Ping timeout: 250 seconds]
<iqubic> So Steam is being weird and odd.
dsx has joined #nixos
WhittlesJr has quit [Quit: Page closed]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<dsx> docker network create -d ipvlan […] fails to do so with «Error response from daemon: plugin "ipvlan" not found». Am I missing something? Because docker 18.09 documentation states that ipvlan is/should be available.
<dsx> Or is it NixOS specific?
basvandijk has joined #nixos
<dsx> ipvlan kernel module is loaded
<yl[m]> ikitat: no it's not. You can use `nixos-enter` to chroot into your installation at /mnt
simukis has quit [Quit: simukis]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55842 → python37Packages.twilio: 6.23.1 -> 6.24.0 → https://git.io/fh5f7
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fh5qm
eadwu has quit [Quit: WeeChat 2.3]
phizzz has quit [Quit: leaving]
basvandijk has quit [Ping timeout: 255 seconds]
<ikitat> Cool, I'm back in. I `used passwd --root /mnt root` which did the trick
<ikitat> using nixops deploy prompted for a password and it wasn't clear what password it wanted (ssh key, sudo, root) and locked up my accounts that way
kenshinCH has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @nlewo opened pull request #55859 → dockerTools.buildImage: preserve layers ordering at image repacking → https://git.io/fh5qB