We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c74b48c commit 415d82cCopy full SHA for 415d82c
nix/std/cells/julia2nix/packages/default.nix
@@ -87,9 +87,7 @@ in
87
inherit src;
88
name = "julia-wrapped-julia2nix";
89
package = cell.lib.julia-wrapped {
90
- extraInstallPhase = ''
91
- export nixpkgs-prefetch=${inputs.nixpkgs-lock.outPath}"
92
- '';
+ makeWrapperArgs = [ "--set NIX_PATH nixpkgs=${inputs.nixpkgs-lock.outPath}" ];
93
extraBuildInputs = with inputs.nixpkgs; [
94
alejandra
95
nixUnstable
@@ -113,7 +111,7 @@ in
113
111
name = "julia2nix-write-all-systems";
114
112
runtimeInputs = [ cell.packages.build-project ];
115
text = ''
116
- export NIX_PATH=${inputs.main.inputs.nixpkgs-lock.outPath}
+ export NIX_PATH=${inputs.nixpkgs-lock.outPath}
117
julia ${std.incl self [ "testenv" ]}/testenv/writejulia2nix.jl
118
'';
119
};
0 commit comments