<fresheyeball>
is there a way to have a systemd service more than once?
<fresheyeball>
let's say I want to run two gitlab instances on one box
<b42>
yay, python3 nixops \o/
<infinisil>
fresheyeball: Generic methods for multiple same services include creating multiple units like `gitlab-foo` and `gitlab-bar`, or using systemd service templates like `gitlab@`
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
<infinisil>
See `man systemd.service` for the latter
mbrgm_ is now known as mbrgm
<infinisil>
Usually NixOS modules don't support either though
<infinisil>
(so they'd have to be adjusted)
<gchristensen>
the next nixops release will be Python 3 =) thank you aminechikhaoui and other contributors =)
<infinisil>
And usually you'd want to use the former way for NixOS modules
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixops] @grahamc pushed 3 commits to partially-apply-doshitan-1238-part-2: https://git.io/Jv2b4
<fresheyeball>
infinisil: what is a systemd service template?
<{^_^}>
[nixops] @grahamc opened pull request #1241 → Partially apply @doshitan's #1238 ... part 2 → https://git.io/Jv2bB
<infinisil>
fresheyeball: See the man page I referred to
<{^_^}>
[nixpkgs] @yegortimoshenko pushed 2 commits to release-20.03: https://git.io/Jv2bM
<infinisil>
Oh forgot about containers
<{^_^}>
[nixpkgs] @yegortimoshenko merged pull request #80900 → nixos/acme: Must-Staple and extra flags → https://git.io/Jv0HB
<{^_^}>
[nixpkgs] @yegortimoshenko pushed 3 commits to master: https://git.io/Jv2b7
malSet has joined #nixos
vidbina has quit [Ping timeout: 268 seconds]
werner291 has quit [Quit: werner291]
ddellacosta has quit [Ping timeout: 258 seconds]
work_ has joined #nixos
cvasic has joined #nixos
<cvasic>
was anyone else having a problem with cache.nixos.org for a minute?
xkapastel has quit [Quit: Connection closed for inactivity]
<cvasic>
i got a 503 backend unavailable, connection timeout. not sure if it was a configuration problem for me, if the server was overloaded for a second or what
<cvasic>
seems to be working now though
ddellacosta has joined #nixos
mexisme has joined #nixos
mexisme_ has quit [Ping timeout: 240 seconds]
cvasic has quit [Remote host closed the connection]
sigmundv has joined #nixos
sigmundv__ has quit [Ping timeout: 255 seconds]
mexisme has quit [Quit: WeeChat 2.7.1]
mexisme has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
Rusty1 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jv2Nl
<{^_^}>
[nixpkgs] @volth opened pull request #81584 → quaternion: fix build with config.allowAliases=false → https://git.io/Jv2hz
wiml has quit [Quit: wiml]
<jackdk>
I am trying to call pypi2nix inside a runCommand, because I want a rough equivalent to callCabal2nix for a development shell I am building. however, I get a no such file/directory error because "nix-shell" can't be found in that environment. what am I doing wrong?
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chagra has quit [Ping timeout: 255 seconds]
<{^_^}>
[nixpkgs] @volth opened pull request #81585 → hydra: fix build with config.allowAliases=false → https://git.io/Jv2hi
<lovesegfault>
I have a strong theory that the new date library it uses is the culprit
<cole-h>
I do. That could be it.
<lovesegfault>
That's it then
<lovesegfault>
I even know what the issue is
<cole-h>
Running `Waybar v0.9.0-44-ga555a72 (Jan 17 2020, branch 'master')` if it helps
<lovesegfault>
let's see if my fix works
<bdju>
I just remembered I forgot to come back to troubleshoot the luajit update failure stuf f, but now I'm about to go to bed... Here's a paste of some stuff in case it helps, I'll be back tomorrow. https://paste.debian.net/hidden/c1d5e6d5/
<li_matrix>
is there a nix2 equivalent to `nix-store --query --requisites` ?
vidbina has quit [Ping timeout: 256 seconds]
butterthebuddha has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
palo has quit [Quit: WeeChat 2.6]
palo has joined #nixos
zupo has joined #nixos
<cole-h>
lovesegfault: I think I'll just open a PR against my nixpkgs and you can tell me if it works or not before I open it against the main repo. I don't have any way to test it x)
<lovesegfault>
cole-h: if you give me a patch in the next ~30min I can test it
<lovesegfault>
I'm just watching my show before zz
palo1 has joined #nixos
<cole-h>
Easily done. Sec
<{^_^}>
[nixpkgs] @vbgl opened pull request #81588 → satallax: use GCC 8 → https://git.io/Jv2ji
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
kvda has joined #nixos
<li_matrix>
found it : nix show-derivation, although the output is json, but thats even better
<clever>
li_matrix: there is also `nix-store --query --binding out` which can query any single field of the drv
<energizer`>
am i reading it right, that `humanize` is a package that's failing to be installed because one of its deps isn't in its buildInputs?
<clever>
energizer`: its trying to do network during a build, which isnt allowed
<energizer`>
clever: i think it's trying to do network because it wants to install a dependency that's missing
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<energizer`>
so i'm trying to provide that dependency in advance so it won't go looking for it on the internet
<clever>
ive not done much python in nix, so i dont know the correct way to fix it
<mjrosenb>
well, that makes sense. nix-build does the same thing that I consider wrong that happens when I run cabal configure in nix-shell and fails to install.
<{^_^}>
[nixpkgs] @FRidh pushed commit from @r-ryantm to staging « modemmanager: 1.12.4 -> 1.12.6 »: https://git.io/Jvae0
<{^_^}>
[nixpkgs] @cole-h opened pull request #81594 → waybar,howard-hinnant-date: allow access to zoneinfo → https://git.io/Jvae2
<cole-h>
cc lovesegfault ^
<lovesegfault>
cole-h: reviewing
<mjrosenb>
ok, I think what I really want is I want to know what chain of dependencies there were between the top-level package, and a particular library that it pulled in.
<cole-h>
Make sure I didn't mess anything up between now and 30 minutes ago :P
mexisme has quit [Ping timeout: 272 seconds]
<lovesegfault>
cole-h: Added one small comment
<lovesegfault>
you added tzdata to waybar, where it isn't needed (since only date needs it, and waybar already depends on date)
<cole-h>
lovesegfault: Ah right, it's unnecessary because hhdate pulls it in
<cole-h>
:)
<lovesegfault>
yep :)
<cole-h>
Guess I can change the commit and PR title too lol
<lovesegfault>
👍
<cole-h>
I love that GitHub shows all the force-pushes, so everybody can see my mistakes (/s)
<cole-h>
Speaking of help... If I want to use `allowUnfree`, can I just do `nixpkgs.allowUnfree = true;`, or is there something else?
<cole-h>
I'd like to delete my one line `config.nix`
<li_matrix>
etu: thats because nixos is the best distro
<lovesegfault>
cole-h: you need both, sadly
<lovesegfault>
nixpkgs.allowUnfree lets you have unfree pkgs in the system env
<lovesegfault>
in the config.nix it's for the user's env
<lovesegfault>
IMO setting it systemwide should be enough
<lovesegfault>
but it ain't
<cole-h>
Darn
<cole-h>
It gets annoying having to tab through `config.nix` and `conf` (where I store all my configurations managed with Nix/hm)
<lovesegfault>
I'll be honest I haven't looked at my config.nix in a loooon time
<lovesegfault>
it just says allowUnfree
aborsu has quit [Quit: aborsu]
fusion809 has joined #nixos
<cole-h>
I think I'll follow what you did: put it in a `modules` dir instead
<energizer`>
hrm. this situation where i need to clone an old nixpkgs in order to use a single old package..not diggin it
<lovesegfault>
cole-h: I really like my setup
<cole-h>
I'm curious how you put your system and home config into the same git repo. Do you symlink them in or something? Or do you do the opposite and symlink them out?
<cole-h>
(generalizing symlink to cover Nix dealing with files as well)
<lovesegfault>
Look at `sync` on the root of the repo
<lovesegfault>
that little script rsyncs everything in place
<lovesegfault>
and then my configuration.nix/home.nix looks like this: { imports = [ ./system/machines/HOSTNAME.nix ]; }
<lovesegfault>
or { imports = [ ./home/machines/HOSTNAME.nix ]; }
<lovesegfault>
(respectively)
<cole-h>
Ah, I think I understand now. That's pretty smart.
<cole-h>
I'll have to revisit that when I finally do jump ship
<lovesegfault>
The nicest thing is I can build all my machines in one place
<lovesegfault>
and then nix copy to them
<cole-h>
So kinda like a budget nixops
<lovesegfault>
Yeah, want to try nixops some day
<cole-h>
(unrelated: too bad ofborg doesn't un-tag reviewers when they're no longer necessary... :( )
<lovesegfault>
just haven't had time
<lovesegfault>
ofborg just always tags the maintainers
<lovesegfault>
no mater what
<lovesegfault>
s/mater/matter/
<cole-h>
I mean ma27 is a given because he's the maintainer of this, but there're also waybar people tagged because I touched it when it was unnecessary
<lovesegfault>
Oh, I see what you mean
<lovesegfault>
yes, that is indeed a bummer
<cole-h>
Sorry Florian and Synthetica 😬
peelz has quit [Quit: Leaving]
CMCDragonkai2 has joined #nixos
<cole-h>
Alright, I'm out, see you guys later :)
CMCDragonkai has quit [Ping timeout: 265 seconds]
CMCDragonkai2 is now known as CMCDragonkai
<lovesegfault>
o/
lovesegfault has quit [Quit: WeeChat 2.7.1]
fusion809 has quit [Remote host closed the connection]
<CRTified>
And if you have any questions, you can ask me :)
hyper_ch has quit [Ping timeout: 255 seconds]
v88m has quit [Ping timeout: 256 seconds]
chumpasaurus has joined #nixos
iqubic` has joined #nixos
<chumpasaurus>
is it just me or is everyone with i915 on 5.4 getting GPU/machine hangs/freezes with "i915 0000:00:02.0: GPU HANG: ecode 9:4:0xee18c77b, in X [1546], hang on vcs0" now?
<domenkozar[m]>
energizer`: it's LRU for cachix
jojojojojo has quit [Remote host closed the connection]
cyphase has quit [Quit: cyphase.com]
malSet has joined #nixos
<energizer`>
domenkozar[m]: nice, that's what i hoped :-)
<domenkozar[m]>
I'll clarify on the page
jojojojojo has joined #nixos
iqubic has quit [Ping timeout: 256 seconds]
sgrunert has quit [Remote host closed the connection]
v88m has joined #nixos
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « clickhouse: link with lld »: https://git.io/JvaUh
justanotheruser has quit [Ping timeout: 255 seconds]
<flodeskum>
Hey, is there no way to enable non-patched binaries in NixOS? I use Bazel/Pants extensively and they don't work in NixOS since they download and execute their own binaries.
<flodeskum>
I tried using steam-run but that did not work either.
iyzsong has joined #nixos
<flodeskum>
I'm loving the declarative config in NixOS but this unfortunately has become a dealbreaker for using it :(
<LinuxHackerman>
flodeskum: you can build user-namespace-based chroot envs like that made by steam-run using buildFHSUserEnv
<LinuxHackerman>
with libraries and tools that you specify, rather than just what steam distributes
hmpffff has quit [Quit: nchrrrr…]
smatting has quit [Ping timeout: 256 seconds]
smatting has joined #nixos
<LinuxHackerman>
or run debian in a container :p
<flodeskum>
LinuxHackerman: Let's say I've got home-manager to manage all the tools/dotfiles I use, can I use buildFHSUserEnv to build a environment that includes all the tools/settings/dotfiles I have set up in home-manger so that I can use the environment just like I would use it without the custom environment?
<CRTified>
evils, I had a single GPU system for a while (with xen as hypervisor and on arch), but it was pretty fragile. If you have a recent intel GPU, you might try playing with iGVT-g, as there is an option for it in nixos
karantan has joined #nixos
werner291 has quit [Quit: werner291]
<evils>
CRTified: ryzen 2700
<flodeskum>
Yeah, I was thinking about running it in a container. But it requires setting up a bunch of volume-mounts to keep state between invocations. Not super awful but not great.
hmpffff has joined #nixos
<CRTified>
evils, and about the WX3100: I use it as my secondary gpu, so Xorg did not want to pick it up correctly. Had to add the BusID in the deviceSection option, and set videoDrivers to amdgpu. I also had to declare xrandrHeads, but that is probably because I use a DP MST-Hub for my screens
<CRTified>
evils, passing the primary GPU should be possible nonetheless, but you might ask for that in a VFIO community, as that's not really nixOS specific. I do not have any usable experience with that, but I know that you basically have to remove the device from the kernel prior to starting the VM (and this probably kills Xorg and child processes)
hmpffff has quit [Client Quit]
dragonriver has joined #nixos
noudle has quit []
<evils>
it's been a few months, but i think the only trouble i've had was having to set the videoDrivers as well, got picked up just fine as the only GPU (multi head so ofc i had to set xrandrHeads, though that's since switched to being managed by sway)
<evils>
CRTified: passing the only GPU seems like a fairly uncommon setup and fairly complex, so i'm kinda hoping to run into someone that has a nixos config for it :P
chreekat has quit [Ping timeout: 240 seconds]
chreekat has joined #nixos
lurkless has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
dragonriver has quit [Quit: Leaving]
<CRTified>
evils, as far as I know it is an imperative thing to handle that (you basically use the sysfs to unbind the devices from the amdgpu module and attach it to vfio-pci), so you'd probably need to wait for a long time to find such a config ;)
zupo has quit [Ping timeout: 255 seconds]
zupo has joined #nixos
markus1189 has quit [Ping timeout: 256 seconds]
veske has joined #nixos
veske2 has joined #nixos
<LinuxHackerman>
flodeskum: I'm not sure, I haven't used home-manager extensively myself
Acou_Bass has joined #nixos
<{^_^}>
[nixpkgs] @layus opened pull request #81608 → dafny: pin z3 and Boogie version → https://git.io/JvaLZ
orivej has joined #nixos
markus1189 has joined #nixos
worldofpeace has quit [Quit: killed]
emily has quit [Quit: killed]
bohan[m] has quit [Quit: killed]
fgaz has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
eddyb has quit [Quit: killed]
ZerataX has quit [Quit: killed]
domenkozar[m] has quit [Quit: killed]
siraben has quit [Quit: killed]
bennofs[m] has quit [Quit: killed]
Victor[m] has quit [Quit: killed]
david-sawatzke[m has quit [Quit: killed]
unclechu has quit [Quit: killed]
spacekitteh[m] has quit [Quit: killed]
pheoxy has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
jtojnar has quit [Quit: killed]
florianjacob has quit [Quit: killed]
Notkea[m] has quit [Quit: killed]
vaibhavsagar has quit [Quit: killed]
sebass[m] has quit [Quit: killed]
MerlinGttlinger[ has quit [Quit: killed]
mkg20001 has quit [Quit: killed]
aterius has quit [Quit: killed]
Valodim[m] has quit [Quit: killed]
mica[m] has quit [Quit: killed]
yoho[m] has quit [Quit: killed]
tbenst[m] has quit [Quit: killed]
st3r4g[m] has quit [Quit: killed]
abbec has quit [Quit: killed]
deepchange[m] has quit [Quit: killed]
cornu has quit [Quit: killed]
thequux[m] has quit [Quit: killed]
musicmatze has quit [Quit: killed]
loyon[m] has quit [Quit: killed]
Guest97578 has quit [Quit: killed]
rendeko[m] has quit [Quit: killed]
goibhniu has quit [Quit: killed]
danielrf[m] has quit [Quit: killed]
webdavis has quit [Quit: killed]
philipp[m] has quit [Quit: killed]
hpfr[m] has quit [Quit: killed]
Dandellion has quit [Quit: killed]
mt[m] has quit [Quit: killed]
quiet_laika[m] has quit [Quit: killed]
nilsirl[m] has quit [Quit: killed]
phittacus has quit [Quit: killed]
grin[m] has quit [Quit: killed]
rycee has quit [Quit: killed]
schmittlauch[m] has quit [Quit: killed]
kaychaks[m] has quit [Quit: killed]
marijan[m] has quit [Quit: killed]
arcnmx has quit [Quit: killed]
cyberwolf[m] has quit [Quit: killed]
dpc has quit [Quit: killed]
pinage404[m] has quit [Quit: killed]
wakest[m] has quit [Quit: killed]
frhun has quit [Quit: killed]
puzzlewolf has quit [Quit: killed]
f0i[m] has quit [Quit: killed]
slabity has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
balsoft has quit [Quit: killed]
Pasha[m] has quit [Quit: killed]
grahamc[m] has quit [Quit: killed]
index-0[m] has quit [Quit: killed]
jamiemagee has quit [Quit: killed]
qqlq has quit [Quit: killed]
kraem[m] has quit [Quit: killed]
ngerstle[m] has quit [Quit: killed]
sreybastien[m] has quit [Quit: killed]
sehqlr[m] has quit [Quit: killed]
Smith[m] has quit [Quit: killed]
softinio[m] has quit [Quit: killed]
srid[m] has quit [Quit: killed]
nrdxp[m] has quit [Quit: killed]
wildtrees[m] has quit [Quit: killed]
gsals[m] has quit [Quit: killed]
Gaz[m]1 has quit [Quit: killed]
atopuzov[m] has quit [Quit: killed]
imj[m] has quit [Quit: killed]
Nyanloutre[m] has quit [Quit: killed]
layus[m] has quit [Quit: killed]
tek[m] has quit [Quit: killed]
timokau[m] has quit [Quit: killed]
wjjunyor[m] has quit [Quit: killed]
kriteus[m] has quit [Quit: killed]
killercup[m] has quit [Quit: killed]
gnxlxnxx[m] has quit [Quit: killed]
chvp has quit [Quit: killed]
ksixty has quit [Quit: killed]
v88m has quit [Read error: Connection reset by peer]
bricewge has quit [Quit: killed]
bserckx[m] has quit [Quit: killed]
Minijackson[m] has quit [Quit: killed]
leons has quit [Quit: killed]
bachp has quit [Quit: killed]
colemickens has quit [Quit: killed]
abbradar[m] has quit [Quit: killed]
DenisLehmann[m] has quit [Quit: killed]
rihardsk[m] has quit [Quit: killed]
pwaller[m] has quit [Quit: killed]
truby has quit [Quit: killed]
bb010g has quit [Quit: killed]
dyon[m] has quit [Quit: killed]
jbbr[m] has quit [Quit: killed]
l_inus[m] has quit [Quit: killed]
gotofail[m] has quit [Quit: killed]
petersjt014[m] has quit [Quit: killed]
geemili has quit [Quit: killed]
aquarial has quit [Quit: killed]
tobia_[m] has quit [Quit: killed]
joelwallis1[m] has quit [Quit: killed]
jonreeve[m] has quit [Quit: killed]
val2229[m] has quit [Quit: killed]
rnhmjoj has quit [Quit: killed]
WillW has quit [Quit: killed]
mupf[m] has quit [Quit: killed]
pinion[m] has quit [Quit: killed]
Zero-ghost[m] has quit [Quit: killed]
haslersn has quit [Quit: killed]
the_pumpkin_man[ has quit [Quit: killed]
tlater[m] has quit [Quit: killed]
Leira[m] has quit [Quit: killed]
wedens[m] has quit [Quit: killed]
li_matrix has quit [Quit: killed]
keithy[m] has quit [Quit: killed]
simbergm has quit [Quit: killed]
nocoolnametom has quit [Quit: killed]
contrun[m] has quit [Quit: killed]
ongy[m] has quit [Quit: killed]
quidel[m] has quit [Quit: killed]
blitzclone_ has quit [Quit: killed]
jschievink has quit [Quit: killed]
tokudan[m] has quit [Quit: killed]
xavierm02 has quit [Quit: killed]
pantomath[m] has quit [Quit: killed]
edomfjp[m]1 has quit [Quit: killed]
bobvanderlinden_ has quit [Quit: killed]
Ovsyanka[m] has quit [Quit: killed]
gcoakes[m] has quit [Quit: killed]
alexarice[m] has quit [Quit: killed]
MilkManzJourDad4 has quit [Quit: killed]
xavierzwirtz[m] has quit [Quit: killed]
neonfuz2 has quit [Quit: killed]
pkolloch[m] has quit [Quit: killed]
dot-product[m] has quit [Quit: killed]
isgy[m] has quit [Quit: killed]
TroelsAgergaardJ has quit [Quit: killed]
maralorn has quit [Quit: killed]
dreadward[m] has quit [Quit: killed]
mmatthieu has quit [Quit: killed]
Sisyphe[m] has quit [Quit: killed]
mykiwi has quit [Quit: killed]
risebell[m] has quit [Quit: killed]
RainDroppz[m] has quit [Quit: killed]
dtz11 has quit [Quit: killed]
rgb[m] has quit [Quit: killed]
iceychris[m] has quit [Quit: killed]
gilescope[m] has quit [Quit: killed]
matthewbauer has quit [Quit: killed]
sterninator3000[ has quit [Quit: killed]
zml[m] has quit [Quit: killed]
makaveli[m] has quit [Quit: killed]
hiroshi[m]1 has quit [Quit: killed]
Guest2075611 has quit [Quit: killed]
akapaka[m] has quit [Quit: killed]
atemu12[m] has quit [Quit: killed]
wak-work11111 has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
Irenes[m] has quit [Quit: killed]
alienpirate5 has quit [Quit: killed]
ma27[m] has quit [Quit: killed]
GerdFlaig[m] has quit [Quit: killed]
nolan_d has quit [Quit: killed]
DanP[m] has quit [Quit: killed]
aanderse has quit [Quit: killed]
xa0[m] has quit [Quit: killed]
boogiewoogie[m] has quit [Quit: killed]
chris| has quit [Quit: killed]
pingveno[m] has quit [Quit: killed]
morgib[m] has quit [Quit: killed]
LinuxHackerman has quit [Quit: killed]
Criena has quit [Quit: killed]
Keith[m] has quit [Quit: killed]
HailSagan[m] has quit [Quit: killed]
kdedev[m] has quit [Quit: killed]
VaNilLa[m] has quit [Quit: killed]
evanjsx[m] has quit [Quit: killed]
gallible[m] has quit [Quit: killed]
fstamour[m] has quit [Quit: killed]
nbathum[m] has quit [Quit: killed]
shizonic111 has quit [Quit: killed]
arianvp[m] has quit [Quit: killed]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
malSet has joined #nixos
<Taneb>
Is it possible to have a multi-page collection of HTML pages as a Hydra build product?
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has quit [Quit: WeeChat 2.7.1]
LinuxHackerman has joined #nixos
<LinuxHackerman>
evils: CRTified: you can also prevent the driver from being loaded in the first place in order to pass through the VM
<LinuxHackerman>
as long as you're fine with only accessing the host via SSH or similar
<CRTified>
Ah, of course - in that case, the setup is similar to passing a second GPU
<evils>
LinuxHackerman: that's kinda my intended application, thanks
<evils>
i do seem to recall there being an issue with the motherboard requiring a video output in order to boot, can't recall how that actually interfered with things
cosimone has joined #nixos
<CRTified>
The mainboard/bios/uefi section of the boot process might need one, but that is given if you have a GPU available. It will be attached to vfio-pci only when the kernel is loaded, so that's the first moment where problems _might_ start
sgraf has joined #nixos
Criena has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 opened pull request #81610 → nixos/zfs: continue trimming also if one pool fails → https://git.io/Jvatc
<evils>
so how does one stop the driver from being loaded (just not setting videoDrivers seems like something that could get "fixed")
<CRTified>
evils, it should be sufficient to add them to boot.blacklistedKernelModules, and add vfio-pci.ids=$PCI_IDs to boot.kernelParams
<CRTified>
(of course, you also need vfio_pci in boot.kernelModules)
<CRTified>
And if you want to prevent the kernel from touching it at all, you might also need video=efifb:off in boot.kernelParams. I had to add it because elsewise the GPU is in a state where the windows driver does not want to initialize it (but that might be nvidia-related)
<LinuxHackerman>
you don't even need to specify the IDs for vfio as long as you load the module iirc, qemu will automatically bind the driver to the device
wedens[m] has joined #nixos
<wedens[m]>
depends on the device. some additional massaging might be required to dynamically change driver
kleisli has quit [Ping timeout: 256 seconds]
<wedens[m]>
e.g. amd gpu
<wedens[m]>
also you shouldn't really need to blacklist anything
<CRTified>
wedens[m], but it looks like evils does not want to switch the driver at all, so that should not require any driver change
<arianvp[m]>
(it's an URL that nix uses internally I think to fetch source tarballs)
<gchristensen>
arianvp[m]: nice
<gchristensen>
oops, aranea
Neo-- has quit [Ping timeout: 272 seconds]
kenran has joined #nixos
malSet has joined #nixos
vimal2012 has joined #nixos
veske has joined #nixos
veske2 has joined #nixos
vimal2012 has left #nixos [#nixos]
<kenran>
This is a very simple to answer question most likely, but I have tried to google different things and just couldn't find the "solution": I have a nix expression `release.nix` that I want to call like `nix-build release.nix`. Inside, there's `{ pkgsPath ? <nixpkgs> }:`, and now I wish to pass the pkgsPath argument instead of using the default value. How do I do this?
<Taneb>
I think that's "nix-build release.nix --argstr pkgsPath /path/to/nixpkgs"
<kenran>
oh wait, is it --arg? How did I miss this? ...
<kenran>
Taneb: thanks, one of those should work fine! I must have overlooked it twice when searching the manpage
<{^_^}>
[nixpkgs] @AndersonTorres opened pull request #81615 → Update mednafen and mednaffe → https://git.io/JvaqD
<evanjs>
gchristensen: intermittent problems with GitHub for the last few days for me. Though doesn’t look like the status page showed anything for this morning 🤔
<{^_^}>
[nixpkgs] @veprbl pushed to release-20.03 « blender: fix enableNumpy option, enable it unconditionally »: https://git.io/JvaOB
<karantan>
@etu ok so I can add export FOO=bar to .envrc file. But what if I don't want to add this information to git repository? I already have .envrc in my tig repo. I have `use nix` in this file.
sigmundv has joined #nixos
captn3m0 has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
captn3m0 has joined #nixos
gustavderdrache has joined #nixos
lorimer has joined #nixos
sgrunert has quit [Remote host closed the connection]
teto has joined #nixos
malSet has joined #nixos
<etu>
karantan: direnv is bash, you can read from files there
karantan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kenran has quit [Ping timeout: 240 seconds]
<srk>
armv6/armv7 for small channels would be nice
<srk>
for rpi & tons of other SBCs
<gchristensen>
luckily the newer RPis are all aarch64, though not the zero
<srk>
yeah
<makefu>
RISC-V seems to be all the hype these days
<srk>
not a lot of boards tho :)
Tucky has quit [Quit: WeeChat 2.7.1]
<atemu12[m]>
<gchristensen "luckily the newer RPis are all a"> Yeah but I think most of us still have older raspis lying around that they'd like to have assimilated ;)
<gchristensen>
are those armv7l?
<srk>
I have like 10 of them :D
<srk>
v6 as well
<srk>
pi1
<gchristensen>
v6, woof
<atemu12[m]>
I think the Pi 1 is v6 actually
<atemu12[m]>
yeah
<CRTified>
atemu12[m]: I would love to revive my Pi1 :-)
<gchristensen>
it is hard enough getting a system to buildfor armv7l
<srk>
without toolchain it is
<srk>
if you need to bootstrap yourself it's very painful as the machines are often not powerful enough
<manveru>
i still have raspian on my pi1 because i couldn't get a build of nixos back then...
<makefu>
CRTified: i have built a working image for the Pi1 once and nover updated since
<thefloweringash>
I found an old armv5te around (“sheevaplug”) and thought it’d be funny to put nixos on it, and it works! Cross compilation is pretty close to being a reasonable option
Uniaika has joined #nixos
<gchristensen>
wow nice
erasmas has joined #nixos
<Uniaika>
Hi, I had a "stack smashing" issue the other day. The issue was fixed by unsetting LD_LIBRARY_PATH. Everything works perfectly now :)
Uniaika has left #nixos [#nixos]
<simpson>
Exciting. I think that we should do more cross-compiling to ARM; I know it's not aesthetically popular, but it gives us access to that older hardware.
<atemu12[m]>
<thefloweringash "I found an old armv5te around (“"> Yeah I was able to bootstrap my Pi 2 by cross-compiling too, there's an arm Nixpkgs fork from around a year ago that worked for me
<atemu12[m]>
I then let it realise a 19.09 system for a week or two and I think it actually built one
maddo has joined #nixos
<simpson>
I need to do more of this. Once I'm finished with my x86 hardware, I have so many boxes of ARM hardware.
<atemu12[m]>
I couldn't get go to realise though and that's when I gave up
<thefloweringash>
I think go works now. There were two bugs getting in the way when I was looking. One was fixed upstream and the other was a flakey test I disable.
<atemu12[m]>
Yeah, it was a test that failed IIRC
<thefloweringash>
While we’re all excited, shameless plug: #76812
waleee-cl has quit [Quit: Connection closed for inactivity]
chloekek has quit [Quit: WeeChat 2.7]
dingenskirchen has quit [Remote host closed the connection]
karantan has joined #nixos
<atemu12[m]>
I let it realise both 19.09 and unstable a month or so ago since it was just sitting around doing nothing but both failed to realise their kernel unfortunately, something about the logitech_hid module IIRC. Has anyone experienced something like that before?
<worldofpeace>
(the backport PR) nixos: Update brave from 1.3.118 to 1.4.95 (on master) brave: 1.3.118 -> 1.4.95
chloekek has joined #nixos
<worldofpeace>
the latter commit message is correct per the contribution guidelines (pkgname: old_verison -> new_version)
<romildo>
In nix how can a sequence of two single quotes be written in a string literal delimited by double single quotes? That is, I want '' inside a literal string like ''a_string_literal''
<aranea>
How can I print the value of a config option? I'm aware of nixos-option, but that also prints a bunch of extra info I don't need, so its output isn't really useful for scripting.
<romildo>
adisbladis, I need a string containing the quotes among its characters. Something like the following after evaluation: "good''boy", which has 9 characters.
<gustavderdrache>
> "foo\"bar"
<{^_^}>
"foo\"bar"
<aranea>
I've tried various incantations, in particular with nix-instantiate --eval, but I can't seem to get it right.
malSet has quit [Read error: Connection reset by peer]
<romildo>
gustavderdrache, i need _two_ single quotes, not _one_ double quote.
malSet has joined #nixos
<gustavderdrache>
oh!
<gustavderdrache>
darn my stupid proportional font
xantoz_ has joined #nixos
<gustavderdrache>
> ''${"''"}''
<{^_^}>
"''"
<gustavderdrache>
i know there's an escape for it but i can't for the life of me remember how to ask {^_^} about it
<GrimSleepless>
worldofpeace: it shouldn't could you add the comment to the PR. I will fix it later today! :) That would be great!
<GrimSleepless>
worldofpeace: Not to forget it is my first backport! :D
<romildo>
gustavderdrache, thanks
<gustavderdrache>
,quote''
<gustavderdrache>
... no?
gagbo has quit [Ping timeout: 260 seconds]
chagra has joined #nixos
<gustavderdrache>
,quote'
<gustavderdrache>
well i tried
<aswanson>
is there a good way to look at the source of a nixos module from nixos? I've just been heading to github whenever I need to do some troubleshooting...
<worldofpeace>
GrimSleepless: I did this 👍️
<cinimod_>
I have tried `splitmix = self.haskell.lib.doJailbreak (hsuper.callHackage "splitmix" "0.0.3" {});` and also `jailbreak = true;` but I still get `Setup: Encountered missing dependencies: random >=1.0 && <1.2` :(
drakonis has joined #nixos
<aranea>
aswanson: Well, you should have a copy of the entire nixpkgs tree your system is currently using at /nix/var/nix/profiles/per-user/root/channels/nixos/ .
<aswanson>
aranea: sure, is there an easy way to query against that somehow? I know that you can do `nix edit nixpkgs.hello` if you want to see the default.nix of a package, is there a something similar for a module?
ashkitten has joined #nixos
<betaboon>
anyone familiar with the nixos-installer-tests ?
srid has joined #nixos
brano543 has joined #nixos
<GrimSleepless>
worldofpeace: Thank you! :+1
kenran has joined #nixos
<infinisil>
,escape'' gustavderdrache
<{^_^}>
gustavderdrache: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<gustavderdrache>
d'oh
<gustavderdrache>
infinisil++ for being the keeper of knowledge :)
<brano543>
Hello, does anyone have experience with using the systemd from nixpkgs? I am having using it as everytime I try to start my service I get error "Unit sysinit.target not found.". The default systemd packaged with my distribution works with the service.
<atemu12[m]>
<aswanson "aranea: sure, is there an easy w"> You can see where an individual option is declared with `nixos-option` and there was a way to get the exact line number with `nix repl` somehow but I don't remember how unfortunately
<mdash>
fresheyeball: probably you'd compose together the args to mkShell
lovesegfault has quit [Quit: WeeChat 2.7.1]
orivej has joined #nixos
energizer` has joined #nixos
kleisli has quit [Ping timeout: 256 seconds]
lovesegfault has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
zupo has joined #nixos
nwops has joined #nixos
zeta_0 has joined #nixos
<nwops>
I am trying to follow the article here https://nixos.wiki/wiki/Packaging/Ruby for building ruby apps. What do I do once the default.nix, shell.nix and gemset.nix are created. How do I actually distribute my app to others? What files do I give them?
flodeskum has joined #nixos
emacsomancer has quit [Quit: WeeChat 2.7.1]
emacsomancer has joined #nixos
<zeta_0>
i am going to try out node2nix, but i was wondering if their is a link somewhere that has a default.nix/shell.nix example for using node with nix-shell?
<zeta_0>
maybe node development is done differently with nix(i'm reading the instructions right now)
alexherbo2 has quit [Ping timeout: 255 seconds]
alexherbo29 is now known as alexherbo2
<infinisil>
nwops: You can also publish a Nix cache with prebuilt derivations, e.g. with https://cachix.org/
<mdash>
zeta_0: well, what do you want to do with it
o1lo01ol1o has quit [Ping timeout: 260 seconds]
noam has joined #nixos
noam_ has joined #nixos
<CRTified>
disasm, ah, thanks :) You are right, it looks unmaintained - but the source is short and looked fine to me, so I guess I'll use it until I have time to write an alternative :)
CRTified has quit [Quit: Gateway shutdown]
<zeta_0>
mdash: i'm trying out node2nix for the 1st time to do some development with node(for the 1st time as well). Anyways, in most projects i start off with a default.nix file and place the associated configuration for my language, i just wanted to see a default.nix example, so i can see how most people develop with node in a nix-shell?
noam_ has quit [Client Quit]
noam has quit [Client Quit]
mexisme has joined #nixos
CRTified has joined #nixos
<zeta_0>
mdash: i'm reading the instructions for node2nix right now, so hopefully the instructions clarify this
<{^_^}>
[nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/Jva4Z
<nwops>
infinisil, ok about to push to cachix do I need the -E portion (nix-build -E '((import <nixpkgs> {}).callPackage (import ./default.nix) { })' --keep-failed) or can I just use nix-build | cachix push <namespace>
<infinisil>
nwops: Well of course you wouldn't import it again, but rather "wrap" the existing thing, replacing `import ./default.nix` with it
<infinisil>
nwops: Or alternatively move the whole default.nix to a different file and use `import ./other-file.nix` in default.nix instead
<infinisil>
`import <path>` is the same as the contents of the file at that path
<nwops>
I must be doing something wrong then. Is this a standard practice?
<infinisil>
Using callPackage with another file? Yeah that's rather standard
teto has quit [Quit: WeeChat 2.7.1]
domogled has joined #nixos
<infinisil>
The instructions you read just don't mention it
orivej has quit [Ping timeout: 240 seconds]
<infinisil>
(as in, they only mention using callPackage with -E on the command line, but that's not really good practise)
<infinisil>
Although I personally wrote this thing, which I should probably change:
<infinisil>
,callPackage
<{^_^}>
If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<nwops>
Ha! well the questions I have are gaps that need to be filled in. Good article otherwise.
justanotheruser has quit [Ping timeout: 260 seconds]
opthomasprime has quit [Remote host closed the connection]
opthomasprime has joined #nixos
<dashkal>
I'm playing around with HIE. Following the nix instructions at https://github.com/Infinisil/all-hies, adapted for home-manager, and I get a very unexpected error: tar: Unknown option 'strip-components' (see "tar --help"). Any suggestions on where to look?
<selfsymmetric-pa>
https://cache.nixos.org/ says that cache.nixos is up, but does not give an information about potential degraded performance, or details of expected normal performance.
<infinisil>
dashkal: I guess you're not on NixOS right?
<dashkal>
I am on nixos.
<infinisil>
Huh
<dashkal>
tracking nixos-unstable
<infinisil>
Oh
<infinisil>
dashkal: What's the output of `tar --version`
<infinisil>
I think Nix might use the `tar` from your PATH for doing its thing
<dashkal>
toybox 0.8.2
<infinisil>
Yeah so that's the reason
<selfsymmetric-pa>
At this rate my build will take many hours just to pull the packages.
<infinisil>
I'm not sure why Nix isn't wrapped with gnutar though
<infinisil>
Because then this wouldn't be happening
<selfsymmetric-pa>
Back of the envelope suggests about 20 hours to build, at the current rate.
<dashkal>
Yeah, that's what confused me. Nothing in that snippet cared about where tar came from. I was expecting nix to manage its own tar.
flodeskum has joined #nixos
<niksnut>
the tar dependency is gone in 2.4 btw
<infinisil>
Ah nice
<infinisil>
I guess the best way to fix this for now is with an overlay that wraps nix with tar
<dashkal>
I can't even get gnutar into my main profile, since it conflicts with toybox.
maljub01[m] has joined #nixos
ixxie has quit [Ping timeout: 260 seconds]
flodeskum has quit [Remote host closed the connection]
<infinisil>
Well the hack isn't very obvious, and it shouldn't be a problem unless you need to do further overrides to the nix derivation
justanotheruser has joined #nixos
<dashkal>
Can you help me understand why that's considered a hack? My limited understanding of overlays and // suggests that's an entirely reasonable way to define an overlay to me.
<infinisil>
dashkal: The problems stems from the fact that nix has multiple outputs, one of which is `nix.man`. By just assigning `nix = symlinkJoin { ... }` you only create a single-output derivation, the default output being `nix.out` or `nix` directly
<dashkal>
And... no change :P Though I suppose I could just install hie via configuration.nix now.
<dashkal>
My configuration nix has got out of hand. Time to modularize
<infinisil>
By doing `nix = super.nix // symlinkJoin { ... }` all the `man`, and other outputs are preserved, only the default output (which is the attrset itself) is overridden
<dashkal>
Ok, so I did understand what was happening technically. What I don't follow is where that'll cause trouble.
<infinisil>
dashkal: What's the exact error with the updated overlay?
<dashkal>
Exactly the same error
<infinisil>
I can build a (minimal) nixos system with that without problems
<dashkal>
tar: Unknown option 'strip-components' (see "tar --help")
<infinisil>
Oh I thought you meant the `man` error
<infinisil>
Did you rebuild with the overlay applied to your configuration.nix now?
<dashkal>
I made the updated edit to my /etc/nixos/configuration.nix. rebuilt with nixos-rebuild switch. Then ran home-manager switch. Got the tar error again.
<dashkal>
So I suspect the issue is home-manager is doing a bad, not nix itself.
<infinisil>
Oh, you might have to restart the nix daemon
<dashkal>
ahh
<infinisil>
Although that should happen automatically
kahiru has quit [Ping timeout: 265 seconds]
<infinisil>
Oh wait
<infinisil>
My mistake
<dashkal>
sudo systemctl restart nix-daemon.service did not fix it.
<drakonis>
this is the takeaway from arch and gentoo
<mehlon>
I mean, being able to set up anbox and virtualbox and binfmt by adding a single line to a configuration file?
<mehlon>
you can't beat that
<dashkal>
Heh, I'm still doing the learning so I know those incantations.
kvda has joined #nixos
<dashkal>
I've followed a recipe once to get virtualbox running. But I don't yet understand it.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dashkal>
Utterly failed to get the container style nixops working last attempt. Will try again when I'm more literate.
<{^_^}>
[mobile-nixos] @samueldr pushed 3 commits to master: https://git.io/JvaRK
<infinisil>
lovesegfault: It's not easily possible (though I'd like to do a PR to nixpkgs to allow for that), but you can hack around it with something like this (adjusted, originally from gchristensen): https://paste.infinisil.com/sY8_0nQd70.nix
nwops has quit [Quit: nwops]
<infinisil>
That creates a derivation from a shell.nix that you can `nix-build`, resulting in something that has as runtime dependencies all dependencies of the shell
<infinisil>
You can `nix-copy-closure` this too then
malSet has quit [Ping timeout: 265 seconds]
<dashkal>
In case you're off doing something else by the time this finishes, thank you, infinisil.
<infinisil>
Np :D
lovesegfault has quit [Ping timeout: 260 seconds]
lovesegfault has joined #nixos
<xa0[m]>
hey, "tests" are that trick the nginx module does to fail to build if the config is invalid, right?
<andi->
Not really, tests are most likely VM tests that are executed on hydra.
<andi->
But the kind you mentioned are also common (these days).
<xa0[m]>
damn. what is that nginx sorcery then? i'd like to apply it to haproxy
<andi->
xa0[m]: it is "simple" it is a script that just runs nginx check on some input file and then produces the input as output
<andi->
if that check script fails there is no config so the build of the system config fails.
<infinisil>
It's just a function that takes a string (the nginx config) and produces a derivation that contains that string as its result, but while checking to make sure it's correct first
<infinisil>
This function is then called by the nginx module to manifest its config file
<xa0[m]>
gotcha. i think i get the idea. i'll see if i can apply that
<xa0[m]>
thanks both :)
justanotheruser has quit [Ping timeout: 255 seconds]
<{^_^}>
[mobile-nixos-website] @samueldr pushed to master « Fix weird hanging sentence in February round-up. »: https://git.io/Jva0f
selfsymmetric-pa has quit [Remote host closed the connection]
<lovesegfault>
andi-: Who maintains NixOS's kernel pkgs?
<lovesegfault>
I want to add the nouveau patches in
kahiru has quit [Ping timeout: 256 seconds]
<samueldr>
lovesegfault: Nequissimus on github has been handling all the updates for a while
<samueldr>
though for adding patches and stuff, I don't know that we have one contact point
<andi->
lovesegfault: what makes these patches desireable? Are they upstreamed already?
<lovesegfault>
They are not upstreamed
o1lo01ol1o has joined #nixos
<lovesegfault>
Without them any GPU in the pascal line does not work on a laptop
kahiru has joined #nixos
<lovesegfault>
Like _at all_
<lovesegfault>
With them they mostly _just work_
kleisli has joined #nixos
<lovesegfault>
There's a small caveat where gdm is too slow to boot and that florbs shit up
<lovesegfault>
but if you're not using gdm then you're golden!
<andi->
The FOSS guy in me: well thats NVIDIA's problem ;) How about you submit them upstream and if/until they merge it we could carry them if they are of good enough quality?
<lovesegfault>
Sure, they come from karolherbst over in #nouveau fwiw
<samueldr>
well, that's nouveau's problem, I assume nvidia drivers works fine when not using nouveau
<lovesegfault>
"fine"
<colemickens>
depending on what your definition of "fine" is
<andi->
yeah, he has been doing most of the noveau stuff... I guess they'll be upstreamed then? :)
<samueldr>
though, with that said, I don't think this should be in nixpkgs
<lovesegfault>
andi-: one of them yes
<andi->
what is holding back the other one?
<lovesegfault>
the other he doesn't know because it's a PCIe bug (apparently) and upstream doesn't want to merge it until they understand it better
<samueldr>
or if it is, not as a default applied patch set
__monty__ has quit [Quit: leaving]
<andi->
Carrying a patch that upstream doesn't want has the risk of always having to maintain it... or to suddenly drop hardware support (which is probably worse then no support at all)
<samueldr>
alternatively could be part of nixos-hardware
corvid has quit [Remote host closed the connection]
chloekek has quit [Ping timeout: 260 seconds]
* colemickens
likes that idea
<lovesegfault>
Anyway, with those patches I now have mixed-dpi multi-monitor sway working perfectly over my nvidia & intel gpus
<andi->
nice
<colemickens>
lovesegfault btw, would these make my desktop with a 1080 usable? This XPS is nearly useless and I'm thinking of dual-booting my gaming desktop again for a better dev machine... but I am not willing to give up sway
<lovesegfault>
I also have proper powering off of the gpu when on battery, etc
<lovesegfault>
colemickens: is a 1080 pascal?
<lovesegfault>
IIRC it was maxell
<lovesegfault>
*maxwel
<lovesegfault>
**maxwell?!
<colemickens>
idk, a quick Google makes it seem like 1080 was the first Pascal, so maybe I would benefit!
<lovesegfault>
You would!
gustavderdrache has quit [Quit: Leaving.]
<colemickens>
Cool. Are you interested in pushing that into nixos-hardware?
<colemickens>
If not, I can, or I can just copy it into my config and carry it too.
<lovesegfault>
Normally I'd say "I ain't doing a lick more work" but I want to get my commit bit so I'll go make a PR in nixos-hardware
* lovesegfault
grumbles
<lovesegfault>
I don't use nixos-hardware, I just maintain my own thing... I should change that
mehlon has quit [Quit: Leaving]
fendor has quit [Quit: Leaving]
Neo-- has quit [Ping timeout: 256 seconds]
vidbina has quit [Ping timeout: 256 seconds]
<colemickens>
lovesegfault mind if I PM, want to ask more questions about this and it feels OT
<colemickens>
or I'll just ask you in chat
xkapastel has quit [Quit: Connection closed for inactivity]
lovesegfault has quit [Ping timeout: 256 seconds]
<dashkal>
Build successful. Sweet. Now to figure out how to test if it worked.
lovesegfault has joined #nixos
<xa0[m]>
heyo
<xa0[m]>
how do i get runCommand able to access /var/lib
<xa0[m]>
(i know this is a bad idea but i want to anyway)
<clever>
xa0[m]: why do you need to?
<xa0[m]>
i don't, but i'd like to for the purposes of this config file checker
<clever>
xa0[m]: the config file should be in the nix store
<xa0[m]>
because it's way easier than purifying the rest of the stack
<xa0[m]>
it is.
<xa0[m]>
the stuff in /var/lib is certificate keys
<clever>
xa0[m]: ${/var/lib/foo.txt} would read the current value, at the time you ran nix-build
<xa0[m]>
can that be done for an entire directory tree, though?
alexherbo2 has quit [Ping timeout: 265 seconds]
<clever>
xa0[m]: ${/var/lib/foo} will copy the entire dir to the store
tilpner_ has joined #nixos
<xa0[m]>
that sounds like a bad idea, for keys
tilpner has quit [Ping timeout: 260 seconds]
<clever>
xa0[m]: thats why its better to do it in a pure manner from nix
<energizer`>
i have a lockfile, but using it means compiling packages that nixpkgs already has. is there an established practice for dealing with this situation? should i override the lockfile with nixpkgs' versions, or suck it up and wait three hours?
<colemickens>
lockfile?
<energizer`>
specifies pinned versions and hashes, such as Cargo.lock or poetry.lock
ottidmes has joined #nixos
<energizer`>
converted to nix with naersk and poetry2nix, respectively
<mdash>
energizer`: typically i just build what the lockfile specifies, it's usually not a big deal
<lovesegfault>
I'll second mdash
<mdash>
obviously if you're trying to minimize disk footprint it might be worth the effort
<lovesegfault>
if you really care set up your own binary cache, cc. cachix.org
<ottidmes>
I am trying to fix a package of mine but I am getting: cp: cannot create regular file 'dotnet_modules/Microsoft.CSharp.dll': Permission denied, with cp ${dotnet-sdk}/shared/Microsoft.NETCore.App/*/Microsoft.CSharp.dll dotnet_modules, in my postInstall
<ottidmes>
This worked in the past, so I am having trouble understanding what goes wrong at the moment
<energizer`>
mdash: lovesegfault: ok
o1lo01ol1o has quit [Remote host closed the connection]
nerdmaxx has quit [Quit: Lost terminal]
<{^_^}>
[nixpkgs] @jtojnar pushed commit from @worldofpeace to master « pipewire: format »: https://git.io/JvaE2
<ottidmes>
Figured out my issue, apparently they added the postInstall hook, which in the past was missing for that particular package, so I ran it twice, causing it to try and copy over a file that was readonly (considering I copied it form the /nix/store).