worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-inf
cosimone has quit [Ping timeout: 268 seconds]
lord| has quit [Ping timeout: 246 seconds]
mbrgm_ has joined #nixos
lord| has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
acarrico has quit [Ping timeout: 264 seconds]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
NeoCron has quit [Remote host closed the connection]
acarrico has joined #nixos
Dotz0cat has joined #nixos
Dotz0cat_ has quit [Ping timeout: 272 seconds]
danielrf[m] has quit [Quit: authenticating]
danielrf[m] has joined #nixos
werner291 has quit [Quit: werner291]
Zer000 has quit [Quit: Leaving]
veleiro has joined #nixos
LnL has quit [Quit: exit 1]
LnL has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
mkaito has quit [Quit: WeeChat 3.0]
sss2 has quit [Read error: Connection reset by peer]
sss2 has joined #nixos
cole-h has quit [Ping timeout: 256 seconds]
rajivr has joined #nixos
jumper149 has quit [Quit: WeeChat 2.9]
fuzzypixelz_ has joined #nixos
fuzzypixelz has quit [Ping timeout: 240 seconds]
fuzzypixelz_ is now known as fuzzypixelz
Lord_of_Life_ has joined #nixos
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
ris has quit [Ping timeout: 246 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<colemickens> Can I patch a flake input on the fly? I am writing a repro for something and showing that a patch against nixpkgs doesn't fix the issue.
xcmw has joined #nixos
eacameron has joined #nixos
<eacameron> I'd like to set up a cachix cache for some ARM builds via GitHub actions. Does anyone know how any part of that sentence might work?
<simpson> Two of the three parts of that are straightforward. https://github.com/cachix/cachix-action is the GH Action which you'll want.
<simpson> The trickier part would be ARM builds, since those would have to be cross and I don't know how cross-compilation works on GH Actions.
marcusr has quit [Read error: Connection reset by peer]
marcusr has joined #nixos
<eacameron> simpson: Thanks! I read somewhere about setting up qemu as an ARM remote builder... maybe I can do that somehow
<simpson> eacameron: No worries. Good luck.
<infinisil> eacameron: qemu might not work in GH actions since they don't have kvm afaik
<qyliss> you can do qemu without kvm but it's slow
<simpson> But...it's Somebody Else's Slow. So maybe it's acceptable.
jonringer has quit [Remote host closed the connection]
tsrt^ has quit []
h0m1 has quit [Ping timeout: 268 seconds]
growpotk- has joined #nixos
vs^ has joined #nixos
h0m1 has joined #nixos
fuzzypixelz has quit [Quit: fuzzypixelz]
sangoma has joined #nixos
<bqv> colemickens: I really don't like that trick anymore. WOP has an open issue on nixos/nix for doing it in a more builtin way, which I was going to try and implement, but I got somewhat discouraged
<colemickens> bqv it didn't feel nice to reach into legacyPackages and then artifically reconstruct it like that :)
<colemickens> bqv: but I appreciated having the example for what I'm doing
<bqv> Heh, yeah..
<colemickens> I like flake.nix for being able to provide a single file basically-guaranteed repro of certain types of issues, and I wanted to take it a step further and show that it repro'd even with a custom-patched nixpkgs.
<colemickens> It would be cool if that were built in.
<bqv> nix#3920
<{^_^}> https://github.com/NixOS/nix/issues/3920 (by worldofpeace, 18 weeks ago, open): Support flake references to patches
<colemickens> excellent, thanks. I was looking on nixpkgs, but it makes sense that it needs to be in nix.
<bqv> I made a tiny start in #4123, which has been dry for 2mth, so I lost interest in investing any work because I presumed it'd be ignored :p
<{^_^}> https://github.com/NixOS/nixpkgs/pull/4123 (by falsifian, 6 years ago, merged): krb5: Update to 12.2.2. (Please test before merging.)
<bqv> Er, nix#4123
<{^_^}> https://github.com/NixOS/nix/issues/4123 (by brennantaylor, 10 weeks ago, closed): Can't install jetbrains products on darwin because nixpkgs.jetbrains.jdk not available on x86_64-darwin
<bqv> ... nix#4153
<{^_^}> https://github.com/NixOS/nix/pull/4153 (by bqv, 9 weeks ago, open): Allow a "file" libfetcher type for plain files
patagonicus9 has joined #nixos
patagonicus has quit [Ping timeout: 260 seconds]
patagonicus9 is now known as patagonicus
growpotk- has quit [Ping timeout: 240 seconds]
sigmundv_ has joined #nixos
mumuluxi_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
wucke13 has quit [Quit: ZNC 1.7.5 - https://znc.in]
tarruda1 has quit [Ping timeout: 260 seconds]
sigmundv has quit [Ping timeout: 256 seconds]
joesventek has quit [Quit: Quit]
mumuluxi has joined #nixos
dstzd has quit [Quit: ZNC - https://znc.in]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
wucke13 has joined #nixos
dstzd has joined #nixos
dstzd has quit [Client Quit]
joesventek has joined #nixos
dstzd has joined #nixos
joesventek has quit [Client Quit]
ManiacOfMadness has quit [Ping timeout: 268 seconds]
dstzd has quit [Client Quit]
m0rphism has quit [Ping timeout: 246 seconds]
KarlJoad` has quit [Quit: ERC (IRC client for Emacs 27.1)]
aleph- has quit [Ping timeout: 272 seconds]
rprije has joined #nixos
aleph- has joined #nixos
g-w1 has joined #nixos
<g-w1> how can I define a custom cargo package in home-manager? currently this does not work? https://i.imgur.com/ryHlhPG.png
dstzd has joined #nixos
dstzd has quit [Client Quit]
dstzd has joined #nixos
<colemickens> g-w1: you're close
dstzd has quit [Client Quit]
<g-w1> I dont have with pkgs; got it
<colemickens> sounds like you got it :)
eyJhb has quit [Ping timeout: 240 seconds]
srk has quit [Remote host closed the connection]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
eyJhb has joined #nixos
eyJhb has joined #nixos
srk has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tarruda1 has joined #nixos
xcmw has joined #nixos
<bqv> The uk government uses guix. Awesome!
sefu has joined #nixos
joesventek has joined #nixos
LnL- has joined #nixos
LnL- has quit [Changing host]
LnL- has joined #nixos
joesventek has quit [Client Quit]
LnL has quit [Ping timeout: 264 seconds]
<worldofpeace> bqv: that's sad... someone should really actually be looking at useful things ☹️ good that you haven't invested more tho, I'm not sure that would be a good idea judging u have no idea if anything is going to come out of it
zie has quit [Quit: ZNC 1.8.1 - https://znc.in]
<worldofpeace> [worldofpeaces fades into a mist]
zie has joined #nixos
dstzd has joined #nixos
dstzd has quit [Client Quit]
<bqv> Yeah
<g-w1> now I get this error: the lock file /build/source/Cargo.lock needs to be updated but --frozen was passed to prevent this
<g-w1> why does Cargo.lock need to be updated, when I run cargo build locally, it doesn't
Supersonic112 has joined #nixos
<g-w1> seems like the problem in this, but cant figure out what in the blog post solved it. is there an easy solution? https://hadean.com/blog/managing-rust-dependencies-with-nix-part-ii/
Supersonic has quit [Ping timeout: 256 seconds]
Supersonic112 is now known as Supersonic
nikivi has joined #nixos
SomeoneSerge has joined #nixos
monokrome has quit [Quit: WeeChat 2.8]
joesventek has joined #nixos
sigmundv_ has quit [Ping timeout: 256 seconds]
pjt_tmp has joined #nixos
dstzd has joined #nixos
endformationage has quit [Quit: WeeChat 2.9]
sefu has quit [Ping timeout: 245 seconds]
sefu[m] has joined #nixos
<SomeoneSerge> Hmm, why there's no $out/include in nixpkgs#boost?
<SomeoneSerge> I've got FindBoost.cmake failing even with a hint -DBOOST_LIBRARYDIR=$(nix eval --raw nixpkgs#boost)/lib, and I'm thinking maybe it's because there's no headers, but idk
Rusty1 has quit [Quit: WeeChat 2.3]
jlamothe has quit [Ping timeout: 240 seconds]
mounty has quit [Ping timeout: 260 seconds]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
noneucat has joined #nixos
noneucat has left #nixos [#nixos]
noneucat has joined #nixos
<jdnixx[m]> so the staging branch
<jdnixx[m]> I'm guessing it means not necessarily working anything right? just piecemeal work on individual features/packages before moving to master correct
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/a3a3dda3bac (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
daf64 has joined #nixos
<sphalerite> jdnixx[m]: it's mostly about things that cause mass rebuilds, and thus would block nixos-unstable for unnecessarily long if they were merged directly to master.
<daf64> what is the best way to make local modifications to a nix package?
<supersandro2000> Adding an overlay
palo1 has joined #nixos
<daf64> is that complicated?
<jdnixx[m]> sphalerite: oooh ok cool
<jdnixx[m]> I was gonna try & build this directly
<{^_^}> #104810 (by Thra11, 3 weeks ago, merged): Plasma 5.20
<jdnixx[m]> to try it out early
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
<Ke> are we going to get linux-5.10 to 20.09 in coming weeks?
daf64 has quit [Remote host closed the connection]
<supersandro2000> daf64: not really. It is less work than working nixpkgs
waleee-cl has quit [Quit: Connection closed for inactivity]
berberman has joined #nixos
berberman_ has quit [Ping timeout: 260 seconds]
geekthattweaks has joined #nixos
mrt[m]1 has left #nixos ["User left"]
stoile has quit [Ping timeout: 240 seconds]
Chiliparrot has joined #nixos
cfricke has joined #nixos
bitmapper has quit [Quit: Connection closed for inactivity]
cfricke has quit [Client Quit]
Darkmatter66 has joined #nixos
cfricke has joined #nixos
cole-h has joined #nixos
CMCDragonkai2 has joined #nixos
turlando has joined #nixos
mallox has joined #nixos
<raboof> simpson: eacameron: I heard GH Actions allow plugging in you own build machines, I wonder if you could plug in an ARM machine - https://docs.github.com/en/free-pro-team@latest/actions/hosting-your-own-runners/about-self-hosted-runners
vidbina has joined #nixos
asheshambasta has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
turlando has quit [Ping timeout: 240 seconds]
stoile has joined #nixos
Darkmatter66 has quit [Ping timeout: 272 seconds]
cr4y1 has joined #nixos
Darkmatter66 has joined #nixos
astylian has joined #nixos
davidv7 has quit [Remote host closed the connection]
davidv7 has joined #nixos
Darkmatter66 has quit [Ping timeout: 272 seconds]
turlando has joined #nixos
cfricke has quit [Quit: WeeChat 3.0]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9a5a4c70531 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
tarruda1 has quit [Remote host closed the connection]
civodul has joined #nixos
cyphase has quit [Ping timeout: 240 seconds]
SomeoneSerge has quit [Ping timeout: 240 seconds]
mounty has joined #nixos
sss2 has quit [Quit: Leaving]
cyphase has joined #nixos
zupo has joined #nixos
zupo has quit [Client Quit]
Chiliparrot has quit [Quit: Textual IRC Client: www.textualapp.com]
cfricke has joined #nixos
aszlig has quit [Quit: leaving]
zupo has joined #nixos
dstzd has quit [Quit: ZNC - https://znc.in]
dstzd has joined #nixos
ctp88 has joined #nixos
aszlig has joined #nixos
ctp88 has quit [Remote host closed the connection]
CMCDragonkai2 has quit [Ping timeout: 240 seconds]
zuh0 has quit [Quit: Idle for 30+ days]
dxb[m] has quit [Quit: Idle for 30+ days]
porphyrogenetos has quit [Quit: Idle for 30+ days]
pinpox has quit [Quit: The Lounge - https://thelounge.chat]
berber has quit [Quit: The Lounge - https://thelounge.chat]
berber has joined #nixos
pinpox has joined #nixos
aszlig has quit [Quit: leaving]
aszlig has joined #nixos
neiluj has joined #nixos
drewc has quit [Ping timeout: 265 seconds]
drewc has joined #nixos
nly has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/af5b6f9ffdb (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9a5a4c70531 (from 12 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
SomeoneSerge has joined #nixos
thc202 has joined #nixos
neiluj has quit [Ping timeout: 264 seconds]
proofofkeags_ has joined #nixos
proofofkeags has quit [Remote host closed the connection]
ece has quit [Quit: Ping timeout (120 seconds)]
__monty__ has joined #nixos
ece has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noonien2 has joined #nixos
chacki[m] has joined #nixos
noonien has quit [Read error: Connection reset by peer]
noonien2 is now known as noonien
<SomeoneSerge> re: findboost.cmake; just realized it's not about boost specifically - I checked out derivations boost.dev, libGLU, libGL, freeglut - all have /lib but not /include
<SomeoneSerge> I'm obviously misunderstanding the purpose of those derivations, but then what is it...
Darkmatter66 has joined #nixos
tarruda1 has joined #nixos
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
AlpineLlama has joined #nixos
<SomeoneSerge> also... I still feel unconfident about using nix to build things that are to be deployed to non-nix systems; I understand it's not the main purpose, but it's obviously a thing that some people would want to do
<SomeoneSerge> but there seem to be many details that need to be payed attention to, like RUNPATHs
<SomeoneSerge> Anyone aware of posts or talks sharing such experiences?
neiluj has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
zupo has joined #nixos
neiluj has quit [Client Quit]
<DigitalKiwi> what's a non-nix system
tarruda1 has quit [Read error: Connection reset by peer]
<SomeoneSerge> A system that doesn't have nix installed. I.e. say I'd like to use nix in CI to provide a reproducible toolchain&c, but build for a user that doesn't have nix
<SomeoneSerge> Naturally I'd want a way to "export" the closure of the built thing
<SomeoneSerge> Under some assumptions, buildDockerImage could be a solution
<SomeoneSerge> (assuming user is ok with docker images as artifacts)
<SomeoneSerge> Then I'd be curious how people automate such builds and push to registries
cole-h has quit [Quit: Goodbye]
<DigitalKiwi> i have nix on my phone i don't know what a system without nix is ;D
<SomeoneSerge> :)))
ManiacOfMadness has joined #nixos
<sphalerite> SomeoneSerge: there's also https://github.com/matthewbauer/nix-bundle
<sphalerite> it requires user namespace support though I think
<SomeoneSerge> DigitalKiwi: there are silly people in this world that are not yet ready to use nix; imagine you had to build for them)
<SomeoneSerge> sphalerite: thanks, I'll take a look!
Mateon2 has joined #nixos
<SomeoneSerge> Also, I understand that shipping executables is much easier problem than shipping libraries?
Mateon1 has quit [Ping timeout: 260 seconds]
Mateon2 is now known as Mateon1
joedevivo has joined #nixos
englishm has joined #nixos
ocharles has joined #nixos
manveru has joined #nixos
ocharles is now known as Guest98308
dvim has joined #nixos
rpgwaiter has joined #nixos
heatm1s3r has joined #nixos
kristjansson has joined #nixos
ynotperez has joined #nixos
jkkm has joined #nixos
ongy[m] has quit [Changing host]
ongy[m] has joined #nixos
ongy[m] has joined #nixos
pointfree has joined #nixos
taktoa[c] has joined #nixos
victorbjelkholm has joined #nixos
mgsk has joined #nixos
valwal_ has joined #nixos
dani- has joined #nixos
srhb has joined #nixos
ghuntley has joined #nixos
OCCASVS__ has joined #nixos
kozowu has joined #nixos
CustosLimen has joined #nixos
jmeredith has joined #nixos
sneakweb_ has joined #nixos
typetetris has joined #nixos
jackdk has joined #nixos
agander_m has joined #nixos
abbe has joined #nixos
hugolgst has joined #nixos
zimbatm_ is now known as zimbatm
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pjt_tmp has quit [Ping timeout: 256 seconds]
wnklmnn has joined #nixos
abathur has quit [Read error: Connection reset by peer]
abathur has joined #nixos
Nafai has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9aea0b292ab (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
Nafai has joined #nixos
c_wraith has quit [Ping timeout: 240 seconds]
<supersandro2000> ,channel
<{^_^}> supersandro2000: Did you mean channels?
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
<supersandro2000> Where are the new PRs notifcations?
cosimone has joined #nixos
c_wraith has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nickli has joined #nixos
qwsd has joined #nixos
nature has joined #nixos
<Nickli> are the AMDGPU drivers in 20.09 repo old? tried starting a steam game that it needed atleast amd_drm..v.3.x.x
m0rphism has joined #nixos
respawn_ has joined #nixos
<Ke> drm is a part of the kernel, unless it's libdrm they mean
<Nickli> is it just to install it for it to start working (libdrm that is)
<SomeoneSerge> re: /include OMG! Sometimes derivations have .dev output in addition to default .out
<SomeoneSerge> That was the obvious thing I was missing
<Ke> it's a bit complicated, occasionally drm things require you to update kernel, kernel headers and libdrm
<Ke> each component needs to be sufficiently new
<Ke> on other side mesa and llvm need to be recent enough and maybe some other stuff too
<Nickli> where can find info on how to configure it?
<SomeoneSerge> One more: .out is not always the default, sometimes default is .bin
xantoz has quit [Ping timeout: 240 seconds]
turlando has quit [Ping timeout: 265 seconds]
<sphalerite> SomeoneSerge: yep. The first output in the outputs list is the default one
orivej has joined #nixos
<SomeoneSerge> sphalerite: good, I see now
spudly1 has quit [Ping timeout: 264 seconds]
sangoma has quit [Ping timeout: 246 seconds]
sangoma has joined #nixos
spudly1 has joined #nixos
upupbb-user1 has joined #nixos
<upupbb-user1> eh
upupbb-user1 has quit [Client Quit]
vs^ has quit []
davidv7_ has joined #nixos
davidv7 has quit [Ping timeout: 240 seconds]
<siraben> Is NixOS weekly a pretty good source of information?
rprije has quit [Ping timeout: 246 seconds]
ManiacOfMadness has quit [Read error: Connection reset by peer]
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
tarruda1 has joined #nixos
oxalica has quit [Quit: oxalica]
Darkmatter66 has quit [Ping timeout: 272 seconds]
oxalica has joined #nixos
tarruda1 has quit [Read error: Connection reset by peer]
tarruda1 has joined #nixos
OCCASVS__ has quit [Quit: Connection closed for inactivity]
s1341 has joined #nixos
werner291 has joined #nixos
tarruda1 has quit [Read error: Connection reset by peer]
jmeredith has quit [Quit: Connection closed for inactivity]
rb2k has quit [Read error: Connection reset by peer]
tarruda1 has joined #nixos
noneucat has left #nixos ["User left"]
noneucat has joined #nixos
davidv7_ has quit [Remote host closed the connection]
davidv7 has joined #nixos
davidv7_ has joined #nixos
temp_kiwi has quit [Remote host closed the connection]
davidv7 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9aea0b292ab (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
noudle has joined #nixos
a64 has joined #nixos
gustavderdrache has joined #nixos
msouval has quit [Remote host closed the connection]
floscr has joined #nixos
philr has quit [Ping timeout: 258 seconds]
<floscr> Whats the best way to clone & build multiple repositories of mine that already have got a shell.nix file ?
<floscr> So my wished worklfow would be: Hack in local repo -> push changes -> update nix-channel (or sha in nixos config) -> rebuild nixos config -> built bin is accesible to user
nownpl has quit [Disconnected by services]
nue1 has joined #nixos
ezioedithore has quit [Ping timeout: 265 seconds]
aswanson has joined #nixos
fendor has joined #nixos
nue1 has quit [Quit: WeeChat 2.9]
g-w1 has left #nixos ["WeeChat 3.1-dev"]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 260 seconds]
werner292 is now known as werner291
floscr has quit [Quit: WeeChat 2.7.1]
fuzzypixelz has joined #nixos
SomeoneSerge has quit [Ping timeout: 256 seconds]
ManiacOfMadness has joined #nixos
ece has quit [Ping timeout: 240 seconds]
ezioedithore has joined #nixos
nly has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
a64 has quit [Remote host closed the connection]
ManiacOfMadness has quit [Read error: No route to host]
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bf05444d01e (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<ronny> anyone aware of a howto fr using nix to make automatically tested modules for nixos configuration (i have a old compartmentalized systems etup and i want to create unittests for the modules as i expand them with additional features)
wnklmnn has quit [Quit: Leaving]
jlamothe has joined #nixos
<hpfr> slack flatpak broken for anyone else?
bitmapper has joined #nixos
<Henson> I'm trying to make a system able to run nixos-install without needing an internet connection. There's the texinfo package whose build dependencies are required (one of the texinfo-6.5.tar.xz files) that are not being included when I add texinfo into the environment.systemPackages list. Is there some way I can make these build dependencies be included in the installer so they're present when...
<Henson> nixos-install is run?
waleee-cl has joined #nixos
<Henson> make a system -> make an ISO install image
zupo has joined #nixos
mconnolly has joined #nixos
fuzzypixelz has quit [Quit: fuzzypixelz]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 268 seconds]
werner292 is now known as werner291
orivej has quit [Ping timeout: 260 seconds]
SomeoneSerge has joined #nixos
jonringer has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
fuzzypixelz has joined #nixos
respawn_ has quit [Quit: Leaving]
vidbina has joined #nixos
<Ke> if I create a system as a store on an another system, can I enable that system on another system after having copied the closure?
<Ke> assuming I don't have that nixpkgs or the config
sangoma has quit [Ping timeout: 240 seconds]
thibm has joined #nixos
<sphalerite> Ke: yep. nix-env -p /nix/var/nix/profiles/system --set /nix/store/… && /nix/var/nix/profiles/system/bin/switch-to-configuration switch
fendor_ has joined #nixos
<Ke> nice, thanks
fendor has quit [Ping timeout: 246 seconds]
<Ke> I added pbp config as a derivation to my router's config
rb2k has joined #nixos
rb2k has quit [Read error: Connection reset by peer]
rb2k_ has joined #nixos
<sphalerite> Ke: https://git.sr.ht/~linuxhackerman/nix-config/tree/master/item/install-nixos.sh I use this script to install systems built on my laptop on remote machines with a variety of methods
<sphalerite> well, where "variety of methods" is "nixos-install" and "basically what nixos-rebuild does"
fendor_ is now known as fendor
sangoma has joined #nixos
<Ke> sphalerite: never seen that ;& syntax, cool to know, but so unidiomatic
jmeredith has joined #nixos
<eacameron> Are "eth*" devices always wired ethernet connections?
<wucke13> How can one join an array together with a the result of a map operation as `srcs`? `srcs = [ ... ] ++ map (.. )` yields `can not coerece a set to a string`.
<wucke13> Followup: why is `[ fetchurl { ... }]` a string, not a list/array of ...?
<thibm> wucke13: you need parenthesis inside []
<wucke13> eacameron: Per default naming scheme as per freedesktop "Predictable Network Interface Names", yes
<eacameron> wucke13: Awesome. Thanks!
<wucke13> eacameron: IIRC everything starting with `e` actually is meant to be a ethernet device
<eacameron> wucke13: Oh huh! Good to know.
<wucke13> However, `eth*` indicates that said freedesktop standard was NOT used.
<wucke13> Otherwise it would be more like `enp1s0` or similar
<wucke13> thibm: Thank you!
<wucke13> thibm: Why is that?
<eacameron> LilleCarl: LOL
<wucke13> LilleCarl++ :D
<{^_^}> LilleCarl's karma got increased to 1
<thibm> wucke13: [ fetchurl { } ] is a list with 2 elements: first is fetchurl, second is {}. [ (fetchurl {}) ] is a list with 1 element
<thibm> because of operators/syntax precedence
<wucke13> Ah yes, that makes totally sence. Thanks!
werner292 has joined #nixos
<thibm> yw, it's a common gotcha ;)
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
Graypup_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
fuzzypixelz has quit [Quit: fuzzypixelz]
Graypup_ has joined #nixos
qwsd has quit [Ping timeout: 272 seconds]
rb2k_ has quit [Read error: Connection reset by peer]
rb2k has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
<SomeoneSerge> I'll proceed with silly questions... say I want to build a python wheel using nix toolchain:)
<SomeoneSerge> Out of the box I'll get a bunch of " undefined symbol: ..."
<SomeoneSerge> How do people properly do that
<tpw_rules> what do you mean by build a wheel?
<tpw_rules> like you have a wheel and you want to include it in python in nix?
bvdw has quit [Read error: Connection reset by peer]
ManiacOfMadness has joined #nixos
bvdw has joined #nixos
bvdw has quit [Remote host closed the connection]
<tpw_rules> that's a harder way of doing things. you should write a nix derivation to build the module from source
<SomeoneSerge> There's a 3rd party library with pybind11, cmakelists and setup.py
<SomeoneSerge> It builds an .so that can be imported in python interpreter
<SomeoneSerge> I'd like to use nix to run the cmake build and provide other deps
<SomeoneSerge> But in the end I want to produce a .whl that can be used on systems that don't have nix
<tpw_rules> i don't think that's possible
<SomeoneSerge> Well, it already does half of the job - it builds the .so:)
<tpw_rules> as it sounds like you found out the .so contains the paths to the needed libraries on a nix system. they're not there on a non-nix system
<SomeoneSerge> Except it has the RPATHs set to /nix/store
<SomeoneSerge> tpw_rules: exactly
<siraben> Has anyone built the Four Color theorem in Nix?
<tpw_rules> you could use patchelf to rewrite the RPATH but then it wouldn't work on nix. and i don't know how you would calculate the RPATHS needed
<SomeoneSerge> tpw_rules: yeah, I actually haven't yet tried that - I probably should
<SomeoneSerge> I just thought I'd ask if anyone here already approached this
<simpson> siraben: What's your actual use case? I mean, okay, if you need to actually 4-color a planar graph in Nix, then okay, but it seems unlikely. (TBH I want to say that it's NP-hard, but I might be wrong.)
<siraben> simpson: I mean, the mechanized proof of the four color theorem in Nix
<siraben> like building and checking the actual proof
<tpw_rules> sounds like it's just for fun
<siraben> yeah just for fun
<siraben> plus why not have it in nixpkgs :P
<siraben> wound be under coqModules
<siraben> would*
<simpson> siraben: Ah, I see. Sorry, I misunderstood.
<tpw_rules> so you just wnat to package a coq program?
<siraben> simpson: no worries
fuzzypixelz has joined #nixos
<siraben> tpw_rules: yeah, I'll look and see how it's done in nixpkgs atm
ddellacosta has joined #nixos
<siraben> shouldn't be too bad, mathcomp is already there
Ikosit has left #nixos ["User left"]
veleiro has quit [Ping timeout: 240 seconds]
ManiacOfMadness has quit [Ping timeout: 268 seconds]
mallox has quit [Quit: WeeChat 3.0]
rb2k_ has joined #nixos
rb2k has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<lukegb> SomeoneSerge: I think this is pretty similar to how people "usually" package this kind of software, which is usually to set the rpath to something $ORIGIN-relative and make sure all the needed sos are in that directory
<Henson> I'm trying to get some file paths to be included in a derivation. I know there's buildEnv that takes a list of packages, but you can't specify paths there. I know you can specify paths in environment.etc.<name>source and have them included. But is there another way like buildEnv that would make a directory of paths appear in /etc, for example?
werner292 has joined #nixos
<Henson> the reason I'm asking is because I'm trying to get the build dependencies of the texinfo package included in a ISO install image, so it doesn't need an internet connection to build. I've managed to get it to work using environment.etc.<name>source = texinfo.src, but wonder if there's a more elegant way of doing it
growpotkin has joined #nixos
xelxebar has quit [Remote host closed the connection]
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
duairc has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
kirelagin has joined #nixos
cantstanya has quit [Ping timeout: 240 seconds]
nbp has quit [Ping timeout: 260 seconds]
est31 has quit [Ping timeout: 240 seconds]
duairc has joined #nixos
<SomeoneSerge> lukegb: you lost me... by $ORIGIN, in this case, you mean /nix/store/... or empty string/removed rpath?
nbp has joined #nixos
growpotkin has quit [Ping timeout: 240 seconds]
est31 has joined #nixos
cantstanya has joined #nixos
<lukegb> SomeoneSerge: actually $ORIGIN probably isn't useful here since it's not the binary you're messing with, but it's a magic variable that can be put in the rpath
growpotkin has joined #nixos
Dotz0cat_ has joined #nixos
<fuzzypixelz> do we have ready-to-use templates built into nix-shell?
<fuzzypixelz> for example `nix-shell --template python`
cfricke has quit [Quit: WeeChat 3.0]
<fuzzypixelz> would simply create a shell.nix file with generic config
cr4y1 has quit [Ping timeout: 246 seconds]
Dotz0cat has quit [Ping timeout: 240 seconds]
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
vidbina has joined #nixos
ManiacOfMadness has joined #nixos
<qyliss> bqv: IIRC just one person who works at gov.uk uses Guix
<qyliss> they started a discussion about using it more widely but it was rejected
meh` has joined #nixos
tarruda1 has quit [Ping timeout: 264 seconds]
werner291 has quit [Ping timeout: 260 seconds]
tarruda1 has joined #nixos
<Henson> looks like linkFarm might be what I'm looking for
<thibm> Henson: you still need to "put somewhere" linkFarm's result in the iso's system
tarruda1 has quit [Read error: Connection reset by peer]
<Henson> thibm: yes
<acowley> I wanted to override a derivation in an imported nixpkgs, but the derivation is created with a helper function, and I want to override the arguments passed to that helper function. If I use pkgs.deriv.meta.position, I get a path to that helper function, but the path has a line number suffix. E.g. "/blah/pkgs/helper.nix:33". Is there a builtin for removing the line number suffix?
<acowley> I know I can do it with with splitString and elemAt.
<abathur> fuzzypixelz: not that I'm aware of, though it sounds like a nice idea :)
<thibm> acowley: are you trying to automate that?
<acowley> thibm: Just wondering if there's an already-defined function in lib somewhere that I've not found
<acowley> thibm: Though the idiom does seem useful as more and more helper functions are used in nixpkgs!
<thibm> acowley: not that I'm aware of. Look at <nixpkgs>/lib/strings.nix for this kind of stuff
<esotericn> is it possible to print in a nix expression for debug purposes?
<acowley> I feel like if we're adding extra info to paths, it would be good if that was done with a purpose-built data structure with associated functions for working with it.
<infinisil> esotericn: You can print values with `builtins.trace <value to print> <result>`
<thibm> acowley: maybe, but normally one does not directly access to the file like this but instead uses attributes. Not sure what you are trying to do
<thibm> acowley: IMHO, position is here to help human debug
davidv7_ has quit [Quit: Konversation terminated!]
asheshambasta has quit [Ping timeout: 272 seconds]
tarruda1 has joined #nixos
zeorin has joined #nixos
davidv7 has joined #nixos
BlessJah has quit [Ping timeout: 256 seconds]
tarruda1 has quit [Ping timeout: 240 seconds]
tarruda1 has joined #nixos
BlessJah has joined #nixos
fuzzybear3965 has joined #nixos
<fuzzybear3965> I have a question about building a NixOS ISO.
<fuzzybear3965> Is this a good place to ask?
<thibm> yes
<fuzzybear3965> thibm Okay. I'm going to do it, then.
<fuzzybear3965> I want to build a NixOS iso that I can use as a development machine.
<fuzzybear3965> I want to version control its configuration and possibly layer on top of it to fork out a few different development environments for different contexts (work vs. personal vs. golang project vs. node project).
<fuzzybear3965> I tried following the instructions at https://nixos.wiki/wiki/Creating_a_NixOS_live_CD to build an iso and they worked great.
<fuzzybear3965> However, I have a couple of questions after this.
<Nickli> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
<fuzzybear3965> Nickli Are you recommending a different channel?
<Nickli> no i was curious which all they were
<fuzzybear3965> Ahhh
<fuzzybear3965> 1. It seems I've created an installation ISO, not a "live"/frozen OS. Is it possible to remove the installation stuff from the build?
bzl has quit [Remote host closed the connection]
<fuzzybear3965> The iso was bootable with qemu so I feel like I'm off to a good start.
<lassulus> yes, instead of importing <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
<fuzzybear3965> Oh, about question 1. The reason it seems like an "installation ISO" is because of the bootloader:
<fuzzybear3965> lassulus Oh, thanks! What should I import?
<lassulus> import <nixpkgs/nixos/modules/installer/cd-dvd/iso-image.nix>
<lassulus> accidently copied a newline, so it got sended early
<fuzzybear3965> No stress.
<fuzzybear3965> Ohh! I'll try that!
<fuzzybear3965> Thanks!
<lassulus> there is also nixos-generators: which I build to abstract this a little: https://github.com/nix-community/nixos-generators
<lassulus> you can also try out your config in a vm before building a iso (which takes a while)
<fuzzybear3965> lassulus That looks like just what I want, haha.
<fuzzybear3965> Okay, let me try it the slow, naive way.
<fuzzybear3965> Then I'll try yours.
<lassulus> alright :)
werner291 has joined #nixos
<fuzzybear3965> lassulus
<fuzzybear3965> Something like this?
<fuzzybear3965> { nixpkgs ? <nixpkgs>, system ? "x86_64-linux" }:
<fuzzybear3965> };
<lassulus> not sure what you mean?
<fuzzybear3965> ```
<fuzzybear3965> ```
<fuzzybear3965> Agh, I'm in webchat.freenode.net and <shift>-space doesn't seem supported.
<lassulus> maybe a public pastebin service would be better, multiple lines are detected as spamming by irc
<fuzzybear3965> lassulus I'm running `nixos-build custom-iso.nix` with https://hastebin.com/kubijogoza.kotlin .
<fuzzybear3965> as `custom-iso.nix` .
<fuzzybear3965> I'm importing `cd-dvd/iso-image` instead of `cd-dvd/installation-cd-minimal.nix`.
tarruda1 has quit [Read error: Connection reset by peer]
<fuzzybear3965> At the end I call `buildIsoImage`.
<lassulus> the }; on line 12 off?
<lassulus> but thats more or less what nixos-generators does
tarruda1 has joined #nixos
<fuzzybear3965> The }; on l12 terminates the function declared on l4.
<fuzzybear3965> At least `nixos-build` just terminated having had generated an iso.
<lassulus> ah, it terminates the thing from 4, just got confused by the indent :D
meh` has quit [Ping timeout: 268 seconds]
sigmundv_ has joined #nixos
<Henson> I'm doing something similar at the moment, and found that building config.system.build.toplevel instead of config.system.build.isoImage quickly gives you a directory with the system contents, if that's of any use while tuning the system configuration.
<pinpox> Any recommendations for nextcluod alternatives that would run well on a low powered nixos server? I don't use 90% of nextcluods features and the performance is not very good. Basically some easy way to have documents and picuters availabe on all my machines as a mount
<fuzzybear3965> lassulus It's built an installation iso! https://pasteboard.co/JG8sPLz.png .
<fuzzybear3965> lassulus Is this actually an installation ISO or is that just bad bootloader text?
<fuzzybear3965> Henson Oh, that's smart.
<lassulus> fuzzybear3965: thats the iso, it looks like the installation iso, but has less stuff available
<lassulus> I guess installer is a default name somewhere
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bf05444d01e (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<lassulus> isoImage.appendToMenuLabel is set to Installer by default
<lassulus> so you could change that
<fuzzybear3965> lassulus I think it's an installer... It has `nixos-install` and `nixos-generate-config`.
<fuzzybear3965> Noted about the `GRUB` menu label.
Darkmatter66 has joined #nixos
<simpson> fuzzybear3965: Those are standard utilities; they aren't specific to installation environments.
<fuzzybear3965> simpson It's expected that those will be in non-installation environments?
<lassulus> yes
<fuzzybear3965> Oh, okay.
<fuzzybear3965> lassulus Time to try your `nixos-generators`.
<fuzzybear3965> My `iso` is ~300 MiB.
<fuzzybear3965> TinyCore linux is ~12 MiB.
<fuzzybear3965> I did add `tmux` and `vim` to the `cd-dvd/iso-image.nix` packages.
<lassulus> yes, nixos is kinda bloated^wfully featured even in its minimal settings
<fuzzybear3965> But, what are some things that I can do to shrink the size of my OS?
magma has joined #nixos
<lassulus> uhm, thats a good question, there is an endaeavour every now and then to achieve that
<fuzzybear3965> lassulus Is it possible to use nixos to create something without grub (use the EFI partition for booting) and vmlinuz ?
<fuzzybear3965> *without grub and only vmlinuz?
<fuzzybear3965> Something like: `Use NixOS to build a tiny ISO`.
<lassulus> not exactly sure what vmlinuz does, but you can disable grub. for very very minimal systems (even without systemd) there is not-os
ris has joined #nixos
<lassulus> but all the cool config options are not available there
<fuzzybear3965> lassulus Do you know of any repos/projects that have published <config>.nix for review?
<fuzzybear3965> I just built `<nixpkg/nixos>/release-small` and it was ~300 MiB, too............
vidbina has quit [Ping timeout: 256 seconds]
<lassulus> yeah, it won't get under 300 without ripping out some parts
<lassulus> but not sure how to do that tbh, never did it :D
<lassulus> I guess disabling the manuals etc can help
<fuzzybear3965> One thing I'm not interested in having is `nix` in my result.
<fuzzybear3965> I don't want a package manager in my produced ISO. It should be self-contained and immutable.
<fuzzybear3965> But, I can play around with that later.
<lassulus> hmm, maybe you can use the dockerTools to build a minimal system and try to actually boot it? :D but thats just a quick idea
<thibm> fuzzybear3965: maybe take a look at how dockerTools works, it should be similar to what you're trying to do
<fuzzybear3965> lassulus The main feature of your generators is the fan-out, right?
<fuzzybear3965> I can build for any environment?
<fuzzybear3965> lassulus and thibm dockerTools, huh? Deal! Thanks!
<lassulus> yes, you just have config.nix with your stuff and nixos-generators does the imports for you and outputs the right file
<thibm> you'll need more stuff to get a full OS, but that may be simpler that starting from NixOS and removing parts. Look at not-os too, like lassulus said
<fuzzybear3965> Ohhh, `not-os` was the name of a project.
<thibm> yes
<fuzzybear3965> I thought lassulus meant "the output is not an OS" :').
<fuzzybear3965> Oh, yeah! https://github.com/cleverca22/not-os
cognemo has quit [Quit: cognemo]
<fuzzybear3965> Thanks thibm and lassulus. You two have been really helpful.
<fuzzybear3965> I don't have any more questions, now, so I'm going to walk away and play around and read.
<lassulus> alright, good luck and have fun1 ;)
<fuzzybear3965> It's a lot of fun, haha.
<fuzzybear3965> My gf doesn't understand why, though.....
cognemo has joined #nixos
Guest98308 has quit [Changing host]
Guest98308 has joined #nixos
Guest98308 is now known as ocharles
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
oida has quit [Ping timeout: 240 seconds]
ece has joined #nixos
nature has quit [Quit: WeeChat 3.0]
rattboi has joined #nixos
lunik1 has quit [Read error: Connection reset by peer]
lunik1 has joined #nixos
LnL- is now known as LnL
noudle has quit []
evanjs has quit [Ping timeout: 272 seconds]
oida has joined #nixos
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
fuzzybear3965 has quit [Ping timeout: 245 seconds]
ece has quit [Quit: The Lounge - https://thelounge.chat]
ece has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
simba1 has joined #nixos
astylian has quit [Ping timeout: 258 seconds]
berberman_ has joined #nixos
berberman has quit [Ping timeout: 258 seconds]
vidbina has joined #nixos
tarruda1 has quit [Read error: Connection reset by peer]
cemd has joined #nixos
betaboon has quit [Quit: ZNC - https://znc.in]
betaboon has joined #nixos
<eyJhb> What is the best way to run e.g. https://github.com/tweag/gomod2nix using nix-shell?
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
mkaito has quit [Quit: WeeChat 3.0]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/39fe2fc4dc4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<eyJhb> ping adisbladis :D
m0rphism has quit [Quit: WeeChat 2.7.1]
tarruda1 has joined #nixos
<zeorin> Hello all. I'm on 20.09 and I've just installed Mullvad VPN. The version in 20.09 is out of date, so I thought I'd use the unstable channel's version. In my configuration.nix I disabled the mullvad-vpn service and imported the unstable one, and switched to the unstable client application. But I'm getting the following error when trying to rebuild:
<zeorin> error: The option `systemd.services.mullvad-daemon.startLimitBurst' defined in `/nix/var/nix/profiles/per-user/root/channels/unstable/nixos/modules/services/networking/mullvad-vpn.nix' does not exist.
tejing has quit [Quit: WeeChat 2.9]
astylian has joined #nixos
noneucat has left #nixos ["User left"]
leo60228 has quit [Ping timeout: 240 seconds]
leo60228 has joined #nixos
<eyJhb> Trying to do this atm. - https://termbin.com/ocgt , but I get `error: attempt to call something which is not a function but a string with context, at`
sss2 has joined #nixos
tarruda1 has quit [Read error: Connection reset by peer]
sss2 has quit [Remote host closed the connection]
sss2 has joined #nixos
evanjs has joined #nixos
cyphase has quit [Ping timeout: 272 seconds]
tarruda1 has joined #nixos
zeorin has quit [Ping timeout: 245 seconds]
tarruda1 has quit [Read error: Connection reset by peer]
mconnolly has quit [Quit: WeeChat 2.9]
xcmw has joined #nixos
meh` has joined #nixos
mkaito has joined #nixos
evanjs has quit [Ping timeout: 240 seconds]
evanjs- has joined #nixos
KarlJoad has joined #nixos
<KarlJoad> Is there any way to only run checkPhase when performing a `nix-build`, but not when doing a `nix-shell`?
cr4y1 has joined #nixos
orivej has joined #nixos
zeorin has joined #nixos
<zeorin> I fixed my build error by also updating to the unstable systemd. I'm not sure that's really a smart move, given that it's a pretty core part of the system. I'm assuming that if I'm looking at using unstable's systemd I might be better off just switching to the unstable channel outright.
cole-h has joined #nixos
<zeorin> Unfortunately after fixing the build error it still doesn't work. I'll live with Mullvad nagging me about a new version of their app for the time being.
cole-h has quit [Client Quit]
cole-h has joined #nixos
gerschtli has quit [Quit: WeeChat 2.9]
gerschtli has joined #nixos
tarruda1 has joined #nixos
m0rphism has joined #nixos
<cemd> zeorin, you could just update mullvad-vpn by using overlays
<zeorin> I'm afraid my nix-foo isn't good enough yet to go that far on my own. Would you be able to give me a few pointers?
<zeorin> I know what overlays are, and I'm using one already
<zeorin> Just not sure what I should put in my mullvad overlay
hexa- has quit [Quit: WeeChat 2.9]
hexa- has joined #nixos
<cemd> zeorin, I assume you use this service definition from 20.09. https://github.com/NixOS/nixpkgs/blob/20.09/nixos/modules/services/networking/mullvad-vpn.nix
kirelagin has quit [Ping timeout: 260 seconds]
<gerschtli> hey, i have a infinite recursion problem in my nixos config. I try to prepend a string to an existing option like `path.to.option = "prefix " + config.path.to.option;`. Does anyone have an idea, how to solve my problem?
<zeorin> cemd yeah
<andi-> gerschtli: can't do that
<gerschtli> andi-: really? damn, I hoped there were a way I didn't thought of..
<cemd> It uses mullvad-vpn from pkgs set. If you update that mullvad-vpn package instead of service definition, you will probably have it updated.
<cemd> zeorin
geekthattweaks has quit [Quit: Connection closed for inactivity]
tejing has joined #nixos
<lukegb> gerschtli: if you're defining the option (or it's a type of separatedStrings, like lines; commas; envVar), then you might be able to mkBefore
<lukegb> but it depends on what you're doing
astylian has quit [Ping timeout: 260 seconds]
wnklmnn has joined #nixos
zeorin15 has joined #nixos
zeorin has quit [Ping timeout: 245 seconds]
<zeorin15> cemd that worked. Why would using a `(self: super: { mullvad-vpn = unstable.mullvad-vpn; })` overlay work when just putting `unstable.mullvad-vpn` in `environment.systemPackages` not work?
tsrt^ has joined #nixos
<Duponin> Hi, I'm currently working with the pkg `_389-ds-base`. It's outdated (366 days) and lacks of the CLI tools. Should I create a new pkg for the scripts or these should be bundled with the `_389-ds-base` pkg?
madonius[m] has joined #nixos
<cemd> That's because environment.systemPackages is for user space but the services can use anything other then what available. So by default the package from 20.09 not the unstable
<cemd> Zeroin15
<cemd> zeroin15
<cemd> Maybe someone explain it in more nix way :D but I hope you got the point. Zeorin15
andreas303 has quit [Remote host closed the connection]
rprije has joined #nixos
<zeorin15> Right, I think I get it. Without the overlay, the service file is referencing the 20.09 daemon (which gets built, too), but the client that I can launch in my desktop is the unstable one, which doesn't work with the 20.09 daemon
<zeorin15> Thanks!
zeorin15 is now known as zeorin
andreas303 has joined #nixos
<cemd> You are right, zeorin. your welcome :D
mounty has quit [Ping timeout: 256 seconds]
mkaito has quit [Quit: WeeChat 3.0]
shibboleth has joined #nixos
zeorin has quit [Ping timeout: 245 seconds]
cyphase has joined #nixos
<pingiun> I need to use the bnx driver for my network card, and want to do a nfsroot boot, so the driver has to be available in stage1. I am using https://github.com/alexandergall/nixos-pxe-installer/ to generate an image, it sets some kernel options too. but this driver needs to load firmware, so if I set the CONFIG_BNX2 option it's not enough. how do I make sure the firmware can be loaded in initrd?
<pingiun> I already tried to set FW_LOADER n, but this gives me an error: error: option not set correctly: FW_LOADER (wanted 'n', got 'y')
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tarruda1 has quit [Read error: Connection reset by peer]
simba1 has quit [Ping timeout: 264 seconds]
tarruda1 has joined #nixos
xcmw has joined #nixos
<gerschtli> lukegb: I want to redefine this option, to be concise it is ExecStart of a systemd service
xcmw has quit [Client Quit]
fuiltilt has joined #nixos
fuzzypixelz has quit [Quit: fuzzypixelz]
zaeph has quit [Ping timeout: 265 seconds]
fuzzypixelz has joined #nixos
fuzzypixelz has quit [Remote host closed the connection]
fuzzypixelz has joined #nixos
zaeph has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9232d4168e2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
thibm has quit [Quit: WeeChat 2.6]
vidbina has quit [Ping timeout: 272 seconds]
mkaito has joined #nixos
mkaito has joined #nixos
philr has joined #nixos
hnOsmium0001 has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
vidbina has joined #nixos
<pingiun> I think I may have found the answer with EXTRA_FIRMWARE_DIR ${pkgs.firmwareLinuxNonfree} and EXTRA_FIRMWARE bnx2/bnx2-mips-09-6.2.1b.fw
<colemickens> this is surprising: v
<pingiun> btw is there any way to speed up kernel builds? now it has to rebuild everything every time
da_dada has joined #nixos
dadada_ has quit [Ping timeout: 260 seconds]
lunik1 has quit [Quit: :x]
vidbina has quit [Ping timeout: 264 seconds]
lunik1 has joined #nixos
cosimone has quit [Quit: cosimone]
tarruda1 has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
anderslundstedt has quit [Ping timeout: 246 seconds]
tarruda1 has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
mounty has joined #nixos
<aterius> I use earlyoom
neiluj has joined #nixos
neiluj has joined #nixos
neiluj has quit [Changing host]
anderslundstedt has joined #nixos
Darkmatter66 has quit [Ping timeout: 240 seconds]
Darkmatter66 has joined #nixos
__monty__ has quit [Quit: leaving]
<rb2k_> jtojnar thanks for the quick reviews btw :)
da_dada has quit [Ping timeout: 256 seconds]
da_dada has joined #nixos
TonyTheLion has quit [Ping timeout: 265 seconds]
<jtojnar> rb2k_: that CMake module issue makes no sense to me
<rb2k_> I am trying to play around with different cmake flags
<jtojnar> usually, the CMake modules are just picked up automatically from CMAKE_MODULE_PATH
<jtojnar> * usually, the CMake modules are just picked up automatically from CMAKE_PREFIX_PATH
<jtojnar> which the setup hook sets
<rb2k_> yeah, something is odd
orivej has quit [Ping timeout: 256 seconds]
TonyTheLion has joined #nixos
leungbk has joined #nixos
wnklmnn has quit [Quit: Leaving]
<adisbladis> eyJhb: Pong?
<adisbladis> eyJhb: `pkgs2 = import <nixpkgs> { overlays = [ "${gomod2nix}/overlay.nix"]; };` is wrong
<adisbladis> Should be something like
<adisbladis> `pkgs2 = import <nixpkgs> { overlays = [ (import "${gomod2nix}/overlay.nix") ]; };`
eyJhb has quit [Quit: Clever message]
eyJhb has joined #nixos
aswanson has quit [Quit: aswanson]
Rusty1 has joined #nixos
fendor has quit [Remote host closed the connection]
<bqv> qyliss: oh, ok
<eyJhb> I keep getting `error: The option `nodes.srtutti.configuration.security.acme.certs.dsg.eyjhb.dk.extraDomainNames' does not exist. Definition values:` on the latest unstable channel. Any ideas why? I just enabled enableACME = true; in a virtualHosts entry on my server
<eyJhb> Not sure how to fix it
<bqv> adisbladis: #107284
tarruda1 has quit [Read error: Connection reset by peer]
<{^_^}> https://github.com/NixOS/nixpkgs/pull/107284 (by r3v2d0g, 2 days ago, open): emacs: replace 'emacs.nativeComp' in wrapper with 'nativeComp'
<eyJhb> Found the issue I think
amir has quit [Read error: Connection reset by peer]
amir has joined #nixos
<adisbladis> bqv: Thanks
o1lo01ol1o has joined #nixos
<nhs> What is the best way to add a global environment variable during a nix build? I want to create some localEnv package that essentially adds to stdenv so that all dependent derivations have the localEnv environment available to them. i.e. localEnv sets MY_LOCAL_FLAG=1 and dependent derivations can reference that environment variable
<nhs> I've done some research, but I'm not sure what the standard way to do this is, override stdenv userHooks? Override mkDerivation to add some extra envs? What would be the most robust solution?
oxalica has quit [Ping timeout: 240 seconds]
xcmw has joined #nixos
oxalica has joined #nixos
<madonius[m]> Hi
<madonius[m]> currently I am trying to setup some containers on a machine. yet somehow I am not able to find a documentation on how to do that in 20.09
<madonius[m]> (disclaimer: I a total newb on nixos)
<madonius[m]> there is virtualisation.oci-containers,
<madonius[m]> virtualisation.containers,…
<viric> the nixos manual explains nixos containers
<madonius[m]> yes it does but very briefly
<madonius[m]> or am I missing something
sangoma has quit [Ping timeout: 260 seconds]
sangoma has joined #nixos
<madonius[m]> I would like to know what my configuration options are
sangoma has quit [Client Quit]
<infinisil> madonius[m]: Do you know about https://search.nixos.org/options or `man configuration.nix`?
<eyJhb> Hmm, I got my site running with nginx+acme now. but I get `curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number` when I try to curl it
<madonius[m]> No I did not know about the search
<madonius[m]> thanks infinisil
acarrico has quit [Remote host closed the connection]
<cemd> eyJhb, your ssl certificate is wrong. You probably should retry it again.
leotaku_ has quit [Ping timeout: 260 seconds]
morr has quit [Quit: WeeChat 2.9]
leungbk has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
morr has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Darkmatter66 has quit [Ping timeout: 246 seconds]
leotaku has joined #nixos
SomeoneSerge has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
cosimone has quit [Quit: cosimone]
cr4y1 has quit [Quit: WeeChat 2.9]
<madonius[m]> Is there a way to tell a machine on boot to automatically consume the configuration file at `/etc/nixos/configuration.nix`?
<madonius[m]> I am deploying a RaspberryPi and would like to avoid having to attach a keyboard an a mouse on boot
<madonius[m]> * I am deploying a RaspberryPi and would like to avoid having to attach a keyboard an a mouse on first boot