Skip to content

Commit 415d82c

Browse files
committed
chore: fix path
1 parent c74b48c commit 415d82c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

nix/std/cells/julia2nix/packages/default.nix

+2-4
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ in
8787
inherit src;
8888
name = "julia-wrapped-julia2nix";
8989
package = cell.lib.julia-wrapped {
90-
extraInstallPhase = ''
91-
export nixpkgs-prefetch=${inputs.nixpkgs-lock.outPath}"
92-
'';
90+
makeWrapperArgs = [ "--set NIX_PATH nixpkgs=${inputs.nixpkgs-lock.outPath}" ];
9391
extraBuildInputs = with inputs.nixpkgs; [
9492
alejandra
9593
nixUnstable
@@ -113,7 +111,7 @@ in
113111
name = "julia2nix-write-all-systems";
114112
runtimeInputs = [ cell.packages.build-project ];
115113
text = ''
116-
export NIX_PATH=${inputs.main.inputs.nixpkgs-lock.outPath}
114+
export NIX_PATH=${inputs.nixpkgs-lock.outPath}
117115
julia ${std.incl self [ "testenv" ]}/testenv/writejulia2nix.jl
118116
'';
119117
};

0 commit comments

Comments
 (0)