worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
AlwaysLivid has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-dev
evax has quit [Ping timeout: 240 seconds]
evax has joined #nixos-dev
ehmry has quit [*.net *.split]
tetdim has quit [*.net *.split]
tokudan has quit [*.net *.split]
hexa- has quit [*.net *.split]
thonkpod has quit [*.net *.split]
sphalerite has quit [*.net *.split]
tazjin has quit [*.net *.split]
Raito_Bezarius has quit [*.net *.split]
zimbatm has quit [*.net *.split]
teozkr_ has quit [*.net *.split]
bgamari has quit [*.net *.split]
ky0ko has quit [*.net *.split]
gchristensen has quit [*.net *.split]
samueldr has quit [*.net *.split]
disasm has quit [*.net *.split]
evanjs has quit [*.net *.split]
Bunogi has quit [*.net *.split]
julm has quit [*.net *.split]
octe has quit [*.net *.split]
obadz has quit [*.net *.split]
johnny101 has quit [*.net *.split]
Gaelan has quit [*.net *.split]
asymmetric has quit [*.net *.split]
eyJhb has quit [*.net *.split]
averell has quit [*.net *.split]
callahad87074 has quit [*.net *.split]
cransom has quit [*.net *.split]
ericnoan has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
edwtjo has quit [*.net *.split]
FireFly has quit [*.net *.split]
srk has quit [*.net *.split]
Cale has quit [*.net *.split]
hyperfekt has quit [*.net *.split]
Scriptkiddi has quit [*.net *.split]
ris has quit [*.net *.split]
edef has quit [*.net *.split]
arianvp has quit [*.net *.split]
_e has quit [*.net *.split]
delroth has quit [*.net *.split]
adisbladis has quit [*.net *.split]
pbogdan has quit [*.net *.split]
arcnmx has quit [*.net *.split]
michaelpj has quit [*.net *.split]
doronbehar has quit [*.net *.split]
Ox4A6F has quit [*.net *.split]
colemickens has quit [*.net *.split]
talyz has quit [*.net *.split]
dottedmag has quit [*.net *.split]
ChanServ has quit [*.net *.split]
avn has quit [*.net *.split]
pie_ has quit [*.net *.split]
lewo has quit [*.net *.split]
evax has quit [*.net *.split]
tv has quit [*.net *.split]
Jackneill has quit [*.net *.split]
dongcarl has quit [*.net *.split]
WilliButz has quit [*.net *.split]
abathur has quit [*.net *.split]
tilpner has quit [*.net *.split]
hplar has quit [*.net *.split]
danderson has quit [*.net *.split]
Taneb has quit [*.net *.split]
theotherjimmy[m] has quit [*.net *.split]
carter has quit [*.net *.split]
raboof has quit [*.net *.split]
jtojnar has quit [*.net *.split]
risson has quit [*.net *.split]
kloenk has quit [*.net *.split]
NinjaTrappeur has quit [*.net *.split]
globin has quit [*.net *.split]
kalbasit has quit [*.net *.split]
evils has quit [*.net *.split]
cptchaos83 has quit [*.net *.split]
bridge[evilred] has quit [*.net *.split]
puzzlewolf has quit [*.net *.split]
spacekookie has quit [*.net *.split]
andi- has quit [*.net *.split]
thefloweringash has quit [*.net *.split]
ryantm has quit [*.net *.split]
johanot has quit [*.net *.split]
Emantor has quit [*.net *.split]
harrow has quit [*.net *.split]
page has quit [*.net *.split]
lassulus has quit [*.net *.split]
grw1 has quit [*.net *.split]
lovesegfault has quit [*.net *.split]
lukegb has quit [*.net *.split]
infinisil has quit [*.net *.split]
makefu has quit [*.net *.split]
catern has quit [*.net *.split]
aszlig has quit [*.net *.split]
kraem has quit [*.net *.split]
kcalvinalvin has quit [*.net *.split]
drakonis_ has quit [*.net *.split]
jonringer_ has quit [*.net *.split]
drakonis has quit [*.net *.split]
{^_^} has quit [*.net *.split]
alunduil has quit [*.net *.split]
tom39291 has quit [*.net *.split]
angerman has quit [*.net *.split]
davidtwco has quit [*.net *.split]
tdeo has quit [*.net *.split]
das_j has quit [*.net *.split]
srhb has quit [*.net *.split]
symphorien has quit [*.net *.split]
manveru has quit [*.net *.split]
claudiii has quit [*.net *.split]
c00w has quit [*.net *.split]
aristid has quit [*.net *.split]
mjsir911 has quit [*.net *.split]
ashkitten has quit [*.net *.split]
aranea has quit [*.net *.split]
Valodim has quit [*.net *.split]
p01ar has quit [*.net *.split]
cocreature has quit [*.net *.split]
joepie91 has quit [*.net *.split]
mkaito has quit [*.net *.split]
domenkozar[m] has quit [*.net *.split]
Guest80879 has quit [*.net *.split]
Irenes[m] has quit [*.net *.split]
worldofpeace has quit [*.net *.split]
rnhmjoj has quit [*.net *.split]
jonge[m] has quit [*.net *.split]
lopsided98 has quit [*.net *.split]
Ericson2314 has quit [*.net *.split]
ghuntley has quit [*.net *.split]
flokli has quit [*.net *.split]
mingc has quit [*.net *.split]
etu has quit [*.net *.split]
V has quit [*.net *.split]
capisce has quit [*.net *.split]
kgz has quit [*.net *.split]
niksnut has quit [*.net *.split]
euank has quit [*.net *.split]
klys has quit [*.net *.split]
orivej has quit [*.net *.split]
m1cr0man has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
LnL has quit [*.net *.split]
yorick has quit [*.net *.split]
misuzu has quit [*.net *.split]
ivan has quit [*.net *.split]
xwvvvvwx has quit [*.net *.split]
ajs124 has quit [*.net *.split]
primeos has quit [*.net *.split]
Profpatsch has quit [*.net *.split]
garbas has quit [*.net *.split]
kini has quit [*.net *.split]
shlevy has quit [*.net *.split]
hl has quit [*.net *.split]
ekleog has quit [*.net *.split]
matthewbauer has quit [*.net *.split]
Dandellion has quit [*.net *.split]
timokau[m] has quit [*.net *.split]
freeman42x[m] has quit [*.net *.split]
marek has quit [*.net *.split]
Mic92 has quit [*.net *.split]
mdlayher has quit [*.net *.split]
greizgh has quit [*.net *.split]
Shados has quit [*.net *.split]
janneke has quit [*.net *.split]
taktoa[c] has quit [*.net *.split]
qyliss has quit [*.net *.split]
_scott has quit [*.net *.split]
b42 has quit [*.net *.split]
georgyo has quit [*.net *.split]
phreedom_ has quit [*.net *.split]
Valodim[m] has quit [*.net *.split]
zowoq[m] has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
gleber has quit [*.net *.split]
betawaffle has quit [*.net *.split]
jkkm has quit [*.net *.split]
cbarrett has quit [*.net *.split]
sdier has quit [*.net *.split]
aria has quit [*.net *.split]
nh2 has quit [*.net *.split]
nbp has quit [*.net *.split]
JJJollyjim has quit [*.net *.split]
danielrf[m] has quit [*.net *.split]
rycee has quit [*.net *.split]
Guest10762 has quit [*.net *.split]
codyopel has quit [*.net *.split]
jared-w has quit [*.net *.split]
prusnak has quit [*.net *.split]
thoughtpolice has quit [*.net *.split]
abbe has quit [*.net *.split]
vdemeester has quit [*.net *.split]
puck has quit [Excess Flood]
V has joined #nixos-dev
Irenes[m] has joined #nixos-dev
drakonis has joined #nixos-dev
Valodim[m] has joined #nixos-dev
alunduil has joined #nixos-dev
dongcarl has joined #nixos-dev
puck has joined #nixos-dev
angerman has joined #nixos-dev
doronbehar has joined #nixos-dev
cptchaos83 has joined #nixos-dev
jonringer_ has joined #nixos-dev
elvishjerricco has joined #nixos-dev
xwvvvvwx has joined #nixos-dev
Bunogi has joined #nixos-dev
Jackneill has joined #nixos-dev
tom39291 has joined #nixos-dev
kalbasit has joined #nixos-dev
domenkozar[m] has joined #nixos-dev
{^_^} has joined #nixos-dev
orivej has joined #nixos-dev
rajivr has joined #nixos-dev
davidtwco has joined #nixos-dev
m1cr0man has joined #nixos-dev
LnL has joined #nixos-dev
spacekookie has joined #nixos-dev
phreedom_ has joined #nixos-dev
tv has joined #nixos-dev
Guest10762 has joined #nixos-dev
WilliButz has joined #nixos-dev
drakonis_ has joined #nixos-dev
andi- has joined #nixos-dev
justanotheruser has joined #nixos-dev
octe has joined #nixos-dev
Guest80879 has joined #nixos-dev
evax has joined #nixos-dev
ehmry has joined #nixos-dev
theotherjimmy[m] has joined #nixos-dev
globin has joined #nixos-dev
abathur has joined #nixos-dev
puzzlewolf has joined #nixos-dev
zowoq[m] has joined #nixos-dev
evanjs has joined #nixos-dev
Cale has joined #nixos-dev
kini has joined #nixos-dev
disasm has joined #nixos-dev
julm has joined #nixos-dev
freeman42x[m] has joined #nixos-dev
jtojnar has joined #nixos-dev
worldofpeace has joined #nixos-dev
matthewbauer has joined #nixos-dev
aszlig has joined #nixos-dev
Shados has joined #nixos-dev
jonge[m] has joined #nixos-dev
ky0ko has joined #nixos-dev
euank has joined #nixos-dev
bridge[evilred] has joined #nixos-dev
grw1 has joined #nixos-dev
hyperfekt has joined #nixos-dev
tazjin has joined #nixos-dev
tdeo has joined #nixos-dev
delroth has joined #nixos-dev
lassulus has joined #nixos-dev
primeos has joined #nixos-dev
eyJhb has joined #nixos-dev
cransom has joined #nixos-dev
claudiii has joined #nixos-dev
_e has joined #nixos-dev
Mic92 has joined #nixos-dev
bgamari has joined #nixos-dev
Dandellion has joined #nixos-dev
Taneb has joined #nixos-dev
yorick has joined #nixos-dev
avn has joined #nixos-dev
kgz has joined #nixos-dev
capisce has joined #nixos-dev
arianvp has joined #nixos-dev
makefu has joined #nixos-dev
averell has joined #nixos-dev
qyliss has joined #nixos-dev
Raito_Bezarius has joined #nixos-dev
cocreature has joined #nixos-dev
obadz has joined #nixos-dev
tetdim has joined #nixos-dev
asymmetric has joined #nixos-dev
harrow has joined #nixos-dev
thoughtpolice has joined #nixos-dev
greizgh has joined #nixos-dev
tilpner has joined #nixos-dev
infinisil has joined #nixos-dev
talyz has joined #nixos-dev
Ericson2314 has joined #nixos-dev
hplar has joined #nixos-dev
johanot has joined #nixos-dev
Valodim has joined #nixos-dev
b42 has joined #nixos-dev
carter has joined #nixos-dev
etu has joined #nixos-dev
_scott has joined #nixos-dev
clever has joined #nixos-dev
shlevy has joined #nixos-dev
ghuntley has joined #nixos-dev
pbogdan has joined #nixos-dev
mjsir911 has joined #nixos-dev
ericnoan has joined #nixos-dev
aristid has joined #nixos-dev
codyopel has joined #nixos-dev
mingc has joined #nixos-dev
p01ar has joined #nixos-dev
prusnak has joined #nixos-dev
c00w has joined #nixos-dev
michaelpj has joined #nixos-dev
ashkitten has joined #nixos-dev
Emantor has joined #nixos-dev
manveru has joined #nixos-dev
Ox4A6F has joined #nixos-dev
garbas has joined #nixos-dev
ChanServ has joined #nixos-dev
zimbatm has joined #nixos-dev
evils has joined #nixos-dev
rycee has joined #nixos-dev
edwtjo has joined #nixos-dev
taktoa[c] has joined #nixos-dev
catern has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
dottedmag has joined #nixos-dev
mkaito has joined #nixos-dev
page has joined #nixos-dev
das_j has joined #nixos-dev
cbarrett has joined #nixos-dev
betawaffle has joined #nixos-dev
sphalerite has joined #nixos-dev
kloenk has joined #nixos-dev
nh2 has joined #nixos-dev
symphorien has joined #nixos-dev
niksnut has joined #nixos-dev
rnhmjoj has joined #nixos-dev
aranea has joined #nixos-dev
colemickens has joined #nixos-dev
danderson has joined #nixos-dev
chrisaw has joined #nixos-dev
srhb has joined #nixos-dev
raboof has joined #nixos-dev
ris has joined #nixos-dev
ajs124 has joined #nixos-dev
Profpatsch has joined #nixos-dev
timokau[m] has joined #nixos-dev
mdlayher has joined #nixos-dev
gleber has joined #nixos-dev
ivan has joined #nixos-dev
samueldr has joined #nixos-dev
teozkr_ has joined #nixos-dev
FireFly has joined #nixos-dev
joepie91 has joined #nixos-dev
lukegb has joined #nixos-dev
georgyo has joined #nixos-dev
misuzu has joined #nixos-dev
klys has joined #nixos-dev
aria has joined #nixos-dev
risson has joined #nixos-dev
marek has joined #nixos-dev
kcalvinalvin has joined #nixos-dev
johnny101 has joined #nixos-dev
flokli has joined #nixos-dev
sdier has joined #nixos-dev
Gaelan has joined #nixos-dev
nbp has joined #nixos-dev
lovesegfault has joined #nixos-dev
abbe has joined #nixos-dev
NinjaTrappeur has joined #nixos-dev
pie_ has joined #nixos-dev
lewo has joined #nixos-dev
aminechikhaoui has joined #nixos-dev
ryantm has joined #nixos-dev
thonkpod has joined #nixos-dev
srk has joined #nixos-dev
jared-w has joined #nixos-dev
vdemeester has joined #nixos-dev
hl has joined #nixos-dev
arcnmx has joined #nixos-dev
hexa- has joined #nixos-dev
ekleog has joined #nixos-dev
janneke has joined #nixos-dev
jkkm has joined #nixos-dev
lopsided98 has joined #nixos-dev
adisbladis has joined #nixos-dev
tokudan has joined #nixos-dev
gchristensen has joined #nixos-dev
kraem has joined #nixos-dev
JJJollyjim has joined #nixos-dev
callahad87074 has joined #nixos-dev
thefloweringash has joined #nixos-dev
edef has joined #nixos-dev
danielrf[m] has joined #nixos-dev
regnat has quit [Read error: Connection reset by peer]
DamienCassou has quit [Read error: Connection reset by peer]
dtz has quit [Write error: Connection reset by peer]
vaibhavsagar has quit [Write error: Connection reset by peer]
alexarice[m] has quit [Read error: Connection reset by peer]
aanderse has quit [Read error: Connection reset by peer]
ma27[m] has quit [Read error: Connection reset by peer]
Ox4A6F has quit [Remote host closed the connection]
colemickens has quit [Write error: Connection reset by peer]
michaelpj has quit [Read error: Connection reset by peer]
arcnmx has quit [Read error: Connection reset by peer]
doronbehar has quit [Write error: Connection reset by peer]
freeman42x[m] has quit [Read error: Connection reset by peer]
matthewbauer has quit [Write error: Connection reset by peer]
Dandellion has quit [Write error: Connection reset by peer]
timokau[m] has quit [Write error: Connection reset by peer]
Irenes[m] has quit [Remote host closed the connection]
Ericson2314 has quit [Write error: Connection reset by peer]
Guest80879 has quit [Write error: Connection reset by peer]
rnhmjoj has quit [Read error: Connection reset by peer]
worldofpeace has quit [Remote host closed the connection]
jonge[m] has quit [Remote host closed the connection]
domenkozar[m] has quit [Write error: Connection reset by peer]
puzzlewolf has quit [Read error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
ryantm has quit [Read error: Connection reset by peer]
jtojnar has quit [Write error: Connection reset by peer]
theotherjimmy[m] has quit [Write error: Connection reset by peer]
JJJollyjim has quit [Write error: Connection reset by peer]
Valodim[m] has quit [Write error: Connection reset by peer]
codyopel has quit [Write error: Connection reset by peer]
rycee has quit [Remote host closed the connection]
danielrf[m] has quit [Write error: Connection reset by peer]
Guest10762 has quit [Write error: Connection reset by peer]
zowoq[m] has quit [Read error: Connection reset by peer]
terrorjack has quit [Ping timeout: 244 seconds]
codyopel has joined #nixos-dev
drakonis1 has joined #nixos-dev
drakonis_ has quit [Ping timeout: 260 seconds]
terrorjack has joined #nixos-dev
aanderse has joined #nixos-dev
timokau[m] has joined #nixos-dev
danielrf[m] has joined #nixos-dev
Valodim[m] has joined #nixos-dev
bbigras has joined #nixos-dev
jonge[m] has joined #nixos-dev
thefloweringash has joined #nixos-dev
freeman42x[m] has joined #nixos-dev
emily has joined #nixos-dev
JJJollyjim has joined #nixos-dev
ryantm has joined #nixos-dev
DamienCassou has joined #nixos-dev
arcnmx has joined #nixos-dev
Dandellion has joined #nixos-dev
dtz has joined #nixos-dev
jtojnar has joined #nixos-dev
Ox4A6F has joined #nixos-dev
rycee has joined #nixos-dev
worldofpeace has joined #nixos-dev
colemickens has joined #nixos-dev
Irenes[m] has joined #nixos-dev
michaelpj has joined #nixos-dev
vaibhavsagar has joined #nixos-dev
domenkozar[m] has joined #nixos-dev
Ericson2314 has joined #nixos-dev
doronbehar has joined #nixos-dev
regnat has joined #nixos-dev
matthewbauer has joined #nixos-dev
alexarice[m] has joined #nixos-dev
ma27[m] has joined #nixos-dev
zowoq[m] has joined #nixos-dev
puzzlewolf has joined #nixos-dev
rnhmjoj has joined #nixos-dev
theotherjimmy[m] has joined #nixos-dev
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
orivej has quit [Ping timeout: 240 seconds]
<julm> has someone ever used successfully systemd's RootDirectory= with User= and ExecStartPre=+/path/to/some/program ? For me it fails with EXIT_FDS: Control process exited, code=exited, status=202/FDS
<julm> and it works without the +
orivej has joined #nixos-dev
jonringer_ has quit [Remote host closed the connection]
<julm> oh, so it works with BindReadOnlyPaths=/proc:/proc
<julm> (and User= was not part of the problem)
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-dev
<julm> hmm, with one ExecStartPre="+${pkgs.utillinux}/bin/findmnt" and one ExecStartPre="${pkgs.utillinux}/bin/findmnt", I can see that the + only gets the BindPaths=/BindReadOnlyPaths=; so in particular no MountAPIVFS= has been applied for it
justanotheruser has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-dev
orivej_ has quit [Ping timeout: 264 seconds]
<colemickens> I am not a C++ programmer. Short of learning, how else can I help this get fixed? https://github.com/NixOS/nix/issues/2238
<{^_^}> nix#2238 (by nh2, 2 years ago, open): Improve error message when missing remote building feature forbids build
<colemickens> If there's a relevant bountysource my cc is ready.
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
drakonis has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
phreedom_ has quit [Ping timeout: 240 seconds]
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
alp has joined #nixos-dev
kalbasit has quit [Ping timeout: 264 seconds]
drakonis has quit [Quit: WeeChat 2.8]
phreedom has joined #nixos-dev
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
lopsided98 has joined #nixos-dev
alp has quit [Ping timeout: 240 seconds]
spacekookie has quit [Quit: No Ping reply in 60 seconds.]
spacekookie has joined #nixos-dev
<colemickens> done; plus, I found out it's already planned for.
__monty__ has joined #nixos-dev
alp has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
alp has quit [Ping timeout: 246 seconds]
<arianvp> in nix flakes is system the build system or the target system??
<arianvp> e.g. should my cross-compiled aarch64 image go under packages.aarch64-linux or under packages.x86_64 ?
<arianvp> flakes not having a notion of cross-compilation is a bit of a shame; I think it would be nice to add.
<arianvp> (especially because those lines get more blurred with intensional store model)
<arianvp> has anybody made any scribbles about how that could look like?
alp has joined #nixos-dev
<niksnut> arianvp: both
andi- has quit [Ping timeout: 246 seconds]
andi- has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-dev
<arianvp> niksnut: does it depend on whether the build is being realised or is being built?
alp has quit [Ping timeout: 256 seconds]
<Mic92> arianvp: I think it should be possible to import nixpkgs again and pass the cross parameter
<Mic92> i.e. crossSystem
<arianvp> I currently build it using pkgsCross.armv7l.nixos { config here }
<arianvp> but I guess this has to go under the x86_64-linux system then? In the flake that defines it
<Mic92> arianvp: here it just imports nixpkgs: https://github.com/NixOS/nixpkgs/blob/master/flake.nix#L49
<Mic92> you can do (import nixpkgs { crossSystem = "<bla>"; })
alp has joined #nixos-dev
<niksnut> it's not so much that flakes don't have a notion of cross-compilation (flakes can have arbitrary outputs so you can do what you want)
<niksnut> but the 'nix' command doesn't have a notion of cross-compilation
<niksnut> commands like 'nix run' or 'nix shell' require that packages.${system} can build and execute on the local system
orivej_ has quit [Ping timeout: 246 seconds]
<arianvp> gotcha
<arianvp> niksnut: is it correct that --flake and --build-host cannot be used together currently in nixos-rebuild ?
<niksnut> IIRC that's right
drakonis1 has quit [Ping timeout: 256 seconds]
teto has joined #nixos-dev
<arianvp> can I inspect a flake in nix repl?
<{^_^}> nix#3803 (by Mic92, 2 weeks ago, open): Nix repl does not work with flakes
drakonis1 has joined #nixos-dev
<arianvp> ah. but the workaround works
<arianvp> how do I apply an overlay to the nixpkgs input?
<arianvp> I see i can set overlays as outputs; but i dont understand how I apply them to modify the nixpkgs package set in flakes
<niksnut> import nixpkgs { system = "..."; overlays = [ ... ]; }
<arianvp> but how does that work? nixpkgs is not a path but an attrset
<arianvp> (it is working; but I thought i just dont understand how)
<niksnut> sneakily, it's *also* a path since it contains an outPath attribute
<arianvp> ah; sneaky
<arianvp> is outPath set by flakes itself?
<arianvp> (as I dont see it in flakes.nix on nixpkgs)
<niksnut> this is a bit hacky though, it would probably be better if nixpkgs had an output denoting the function that generates the packages set
<niksnut> arianvp: yes
<arianvp> so something that is subject to change? (I guess many things are)
<niksnut> well, the outPath thing is unlikely to be removed because you need a way to get the source tree of a flake (e.g. in 'src = self;')
teto has quit [Ping timeout: 240 seconds]
<arianvp> ah yeh
<arianvp> i guess many will accidentally type ./. instead of src = self though
<arianvp> (I did)
<niksnut> well, that's not wrong
<niksnut> though it could cause the source to be copied again...
<arianvp> well; I guess self will not contain any paths that are not part of the git repo right?
<arianvp> unlike ./.
<niksnut> that also applies to ./.
<niksnut> since evaluation takes place on the "clean" source tree
<arianvp> hmm? cool
<arianvp> so no more need for gitignoreSource and friends?
<niksnut> right
teto has joined #nixos-dev
justanotheruser has joined #nixos-dev
<ma27[m]> can anyone with some darwin hardware take a look at this?
orivej has joined #nixos-dev
<infinisil> ma27[m]: You didn't link it :)
<ma27[m]> ohhh
<ma27[m]> wait a sec
<ma27[m]> grabs a new mate
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
<Ericson2314> ma27: this is a spurious error we've been getting for a while
<Ericson2314> there is a mac at work I SSH too, but I've been completely unable to figure it out
<Ericson2314> (and sorry cause it's a work computer I've been unable to give you access)
<Ericson2314> *I'd be unable
<Ericson2314> basically what's happpening is there is this impure derrivation reading a file that just got written too, but Nix returns the same hash as before
<Ericson2314> perhaps this is some filesystem race condition, or perhaps Nix has some derivation failure caching that is impeding retrying
<ma27[m]> I see, thanks for the clarification
<Mic92> ma27[m]: You can use github actions with the tmate action to access a macOS.
<gchristensen> whew that is cool
<Mic92> gchristensen: indeed. This should become an IRC bot!
<Mic92> !giveme-mac
<gchristensen> I have a little bit of glue code to create a spot-market Packet server that I wanted to hook up to IRC, but I chickened out :)
alp has quit [Ping timeout: 264 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
drakonis has joined #nixos-dev
<ryantm> So... is texlive ridiculous, or is it ridiculous? `curl https://cache.nixos.org/0d0p2m27smgbhcj5zsf8hx9s6lcxvxwk.narinfo`
<infinisil> ryantm: I can recommend only adding the packages that you need :)
<infinisil> Oh and scheme-small
<infinisil> ryantm: E.g. for my bachelor thesis it looked like this: https://github.com/Infinisil/arvy/blob/master/thesis/default.nix#L8
<ryantm> infinisil: Isn't it possible to make a derivation that doesn't require downloading every single reference separately?
<infinisil> It would be possible yeah (by making sure allowSubsitutes isn't set to false for the combined result)
<infinisil> allowSubstitutes*
<ryantm> It's like a bunch of small files, so the overhead is dominating, I think.
<infinisil> Yeah probably
<infinisil> (also need to make sure hydra builds scheme-full and co.)
<niksnut> ryantm: btw you can also get this info using nix path-info, e.g. nix path-info --store https://cache.nixos.org -rsS /nix/store/0d0p2m27smgbhcj5zsf8hx9s6lcxvxwk-texlive-combined-full-2019
<Mic92> ryantm: you may have luck with https://tectonic-typesetting.github.io/en-US/
<Mic92> It uses xelatex so. I had some weird conference templates that needed pdflatex instead.
<ryantm> Well, texlive.combined.scheme-full worked, it just takes way longer than say downloading texlive-latex-extra on Ubuntu, so I was looking into what's going on.
kalbasit has joined #nixos-dev
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
cole-h has joined #nixos-dev
abathur has quit [Quit: abathur]
<samueldr> domenkozar[m]: wrong tab complete? otherwise I don't know why you linked the security section to me
evanjs has joined #nixos-dev
julm has quit [Ping timeout: 256 seconds]
julm has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis2 has joined #nixos-dev
drakonis1 has quit [Read error: Connection reset by peer]
drakonis2 has quit [Read error: Connection reset by peer]
drakonis2 has joined #nixos-dev
drakonis_ has quit [Ping timeout: 272 seconds]
<matthewbauer> niksnut: could we add an "outputSystem" attr to derivation so that Nix knows whether a derivation is runnable? So cross-compilation would be `system != outputSystem`. If it's unset, just assume `system == outputSystem`.
<matthewbauer> I guess you know if something is executable if it fails execute, but this gives a little more friendly error message.
drakonis2 has quit [Client Quit]
julm has quit [Quit: leaving]
julm has joined #nixos-dev
teto has quit [Ping timeout: 265 seconds]
cole-h has quit [Quit: Goodbye]
orivej has quit [Quit: No Ping reply in 180 seconds.]
lovesegfault has quit [Quit: WeeChat 2.8]
orivej has joined #nixos-dev
abathur has joined #nixos-dev
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
tilpner has quit [Quit: tilpner]
evanjs has joined #nixos-dev
lovesegfault has joined #nixos-dev
<Ericson2314> matthewbauer: what about derivations that don't produce machine code?
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
<matthewbauer> Ericson2314: we could set `outputSystem = "*"` for that. it's not really known ahead of time by mkDerivation though, the closest thing we have is "dontAddHostSuffix"
<matthewbauer> I'm not sure how often we'd want to run something that doesn't produce machine. Even if it's like for instance a bash script, it will most likely have dependencies on machine code.
<Ericson2314> matthewbauer: i guess what I'm getting at relates the forAllSystems stuff i brought up before
<Ericson2314> where the produced data runs is very important, but to me it's less a fundamental property of derivations (like output) than how I want to look up a derivation
<Ericson2314> was your plan supposed to be a Nix thing or Nixpkgs thing?
<Ericson2314> * (like build system)
orivej has quit [Ping timeout: 256 seconds]
<matthewbauer> this would be for Nix, and Nixpkgs would just set it to `outputSystem = if dontAddHostSuffix then "*" else stdenv.hostPlatform.system;`
<matthewbauer> there are some weird cases where like "dev" doesn't really care what system it runs on, but then "out" does, so perhaps it should be parametrized
<matthewbauer> i think allowedReferences does something similar
<matthewbauer> or maybe not - you can't have allowed references for just one of your outputs
<Ericson2314> matthewbauer: but what does nix do with this information?
<matthewbauer> Ericson2314: you would get an error when you do nix run similar to how you get "a 'x86_64-linux' with features {} is required to build '...', but I am a 'x86_64-darwin' with features {}" when building
<matthewbauer> there's room for further integration with cross compilation too
orivej has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
<Ericson2314> oh i really don't want Nix to know about overloads
<Ericson2314> so you are saying it would give that error for `nix run`?
<matthewbauer> Ericson2314: flakes already knows about overlays
<Ericson2314> they do?!?
<matthewbauer> it seems better than know about libc or nixpkgs internals
<matthewbauer> it looks like "overlay" and "overlays" don't actually do anything right now though
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos-dev
<samueldr> matthewbauer: tip for matrix, when sending multiline messages with code, send the explanatory line separate from the code, otherwise it's lost in the translation on IRC https://logs.nix.samueldr.com/nixos-dev/2020-07-29#1596050909-1596049964;
<samueldr> well, not exactly lost, but people may think the link is only the code :)
<matthewbauer> samueldr: thanks!
<matthewbauer> samueldr: i didn't realize matrix was not sending it directly to irc
<samueldr> for the kind of long messages it does, generally it wouldn't be great
<samueldr> but if it at least split the "one line of text, followed by a code block" into distinct parts it would be great
<ajs124> matthewbauer: it's a setting of the bridge. defaults to something like 3 or 4 lines.
alp has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
alp has quit [Ping timeout: 246 seconds]
teto has joined #nixos-dev
<lopsided98> Could someone perhaps provide a better explanation of how runtime dependencies work in Nix to help settle the debate in #94108?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/94108 (by lopsided98, 23 hours ago, open): python3Packages.wxPython_4_0: remove unused dependencies
alp has joined #nixos-dev
alp has quit [Ping timeout: 240 seconds]
alp has joined #nixos-dev
phreedom has quit [Ping timeout: 240 seconds]
__monty__ has quit [Quit: leaving]
phreedom has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
<ryantm> lopsided98: I think the Python ecosystem behaves differently from mkDerivation, but when it gets compiled down to a Nix derivation, the only things available will be things that are referred to by their full store path.
<ryantm> I mean, in the realized derivation, the only things available will be...
teto has quit [Read error: Connection reset by peer]
tdeo has quit [Read error: Connection reset by peer]
tdeo has joined #nixos-dev