<LnL>
it doesn't have anything to do with the current evalution
<LnL>
heh, --option restrict-eval true would solve this because builtins.getEnv is disabled then
<LnL>
but that also disables ~/.config/nixpkgs, so probably not what you want in this case
<LnL>
I think this should be a builtin, the environment variable has a different meaning
<johnw>
well, here's another oddity with developPackage
<johnw>
if the haskell package's name (z3) is the same as a nixpkgs name (z3), developPackage will ignore the local .cabal file, and try to install hackage's z3
<johnw>
s/install/build
<johnw>
so much for name based smarts
periklis has joined #nix-darwin
__Sander__ has joined #nix-darwin
periklis has quit [Read error: Connection reset by peer]
contrapumpkin has quit [Ping timeout: 268 seconds]
__Sander__ has quit [Ping timeout: 240 seconds]
__Sander__ has joined #nix-darwin
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru>
LnL: restrict-eval still works if you add ~/.config/nixpkgs via -I i think
<LnL>
no, resolving ~/.config/nixpkgs uses builtins.getEnv "HOME"
<manveru>
oh... TIL :)
<LnL>
or do you mean if you import config yourself?
<manveru>
yeah
<manveru>
you can pass it as argument to the nixpkgs call, no?
<LnL>
that works fine if it's in NIX_PATH
<LnL>
but the default loading of config/overlays in your home will be disabled
<manveru>
as it should... :)
<manveru>
i still think sandbox, restrict-eval, and allow-import-from-derivation should be the defaults
<LnL>
indeed, but that's probably not what he wanted
<manveru>
true
nD5Xjz has quit [Ping timeout: 244 seconds]
nD5Xjz has joined #nix-darwin
periklis has joined #nix-darwin
philr has joined #nix-darwin
copumpkin has joined #nix-darwin
periklis` has joined #nix-darwin
periklis has quit [Ping timeout: 240 seconds]
alexteves has joined #nix-darwin
periklis` has quit [Ping timeout: 248 seconds]
Sonarpulse has joined #nix-darwin
cbarrett has quit [Ping timeout: 256 seconds]
ilovezfs_ has quit [Ping timeout: 256 seconds]
dmj` has quit [Ping timeout: 256 seconds]
adelbertc has quit [Ping timeout: 256 seconds]
cstrahan_ has quit [Ping timeout: 256 seconds]
yastero has quit [Ping timeout: 256 seconds]
eacameron has quit [Ping timeout: 256 seconds]
cbarrett has joined #nix-darwin
Sonarpulse has quit [Ping timeout: 276 seconds]
cbarrett has quit [Changing host]
cbarrett has joined #nix-darwin
ilovezfs_ has joined #nix-darwin
adelbertc has joined #nix-darwin
dmj` has joined #nix-darwin
eacameron has joined #nix-darwin
cstrahan_ has joined #nix-darwin
yastero has joined #nix-darwin
__Sander__ has quit [Quit: Konversation terminated!]
philr has quit [Ping timeout: 260 seconds]
Sonarpulse has joined #nix-darwin
Sonarpulse has quit [Ping timeout: 264 seconds]
FRidh has quit [Quit: Konversation terminated!]
Sonarpulse has joined #nix-darwin
sivteck has joined #nix-darwin
sivteck has quit [Quit: Buhbye]
szicari has quit [Ping timeout: 265 seconds]
szicari has joined #nix-darwin
Lisanna has joined #nix-darwin
Lisanna has quit [Ping timeout: 240 seconds]
philr has joined #nix-darwin
hsribei has quit [Quit: Connection closed for inactivity]