From 415d82ce8dd9ffd3fa328b241caba23bbf5465c2 Mon Sep 17 00:00:00 2001 From: guangtao Date: Mon, 30 Oct 2023 14:12:49 -0700 Subject: [PATCH] chore: fix path --- nix/std/cells/julia2nix/packages/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nix/std/cells/julia2nix/packages/default.nix b/nix/std/cells/julia2nix/packages/default.nix index 7c58478..14c0a4c 100644 --- a/nix/std/cells/julia2nix/packages/default.nix +++ b/nix/std/cells/julia2nix/packages/default.nix @@ -87,9 +87,7 @@ in inherit src; name = "julia-wrapped-julia2nix"; package = cell.lib.julia-wrapped { - extraInstallPhase = '' - export nixpkgs-prefetch=${inputs.nixpkgs-lock.outPath}" - ''; + makeWrapperArgs = [ "--set NIX_PATH nixpkgs=${inputs.nixpkgs-lock.outPath}" ]; extraBuildInputs = with inputs.nixpkgs; [ alejandra nixUnstable @@ -113,7 +111,7 @@ in name = "julia2nix-write-all-systems"; runtimeInputs = [ cell.packages.build-project ]; text = '' - export NIX_PATH=${inputs.main.inputs.nixpkgs-lock.outPath} + export NIX_PATH=${inputs.nixpkgs-lock.outPath} julia ${std.incl self [ "testenv" ]}/testenv/writejulia2nix.jl ''; };