Skip to content

Commit

Permalink
devenv-run-tests: fix path to nix
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Jun 13, 2024
1 parent 51ab1a3 commit d7fec54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ pkgs.rustPlatform.buildRustPackage {

postInstall = ''
wrapProgram $out/bin/devenv --set DEVENV_NIX ${inputs.nix.packages.${pkgs.stdenv.system}.nix} --prefix PATH ":" "$out/bin:${inputs.cachix.packages.${pkgs.stdenv.system}.cachix}/bin"
# TODO: problematic for our library...
wrapProgram $out/bin/devenv-run-tests --set DEVENV_NIX ${inputs.nix.packages.${pkgs.stdenv.system}.nix} --prefix PATH ":" "$out/bin:${inputs.cachix.packages.${pkgs.stdenv.system}.cachix}/bin"
'';
}

0 comments on commit d7fec54

Please sign in to comment.