<{^_^}>
#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?
<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."
<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
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 :-).
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
<{^_^}>
[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 :(
<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
<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>
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?)
<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>
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?
<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?
<{^_^}>
[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>
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?
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
<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>
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
<{^_^}>
[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
<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?
<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...
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
<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
<{^_^}>
[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 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>
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)
<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?
<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>
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 ; )
<{^_^}>
[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
<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?
<simpson>
NemesisD: Some other package may have polluted the environment with another Python. Try calling the executable from the withPackages invocation:
<__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>
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?
<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
<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.
<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
<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.
<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
<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>
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
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
<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 ;)
<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
<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
<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
<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?
<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.
<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>
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?
<{^_^}>
[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
<{^_^}>
[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 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
<{^_^}>
[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