select-shell: Fix breakage with previous shell.nix change
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
# BUG: If this is enabled the devshell depends on clan_cli building successfully
|
||||
# source_up
|
||||
source_up
|
||||
|
||||
watch_file flake-module.nix shell.nix default.nix
|
||||
|
||||
|
||||
@@ -22,9 +22,13 @@ mkShell {
|
||||
] ++ devshellTestDeps;
|
||||
|
||||
shellHook = ''
|
||||
export PATH=$(pwd)/bin:$PATH
|
||||
export GIT_ROOT="$(git rev-parse --show-toplevel)"
|
||||
export PKG_ROOT="$GIT_ROOT/pkgs/clan-cli"
|
||||
|
||||
# Add clan command to PATH
|
||||
export PATH="$PKG_ROOT/bin":"$PATH"
|
||||
|
||||
# Needed for impure tests
|
||||
ln -sfT ${clan-cli.nixpkgs} clan_cli/nixpkgs
|
||||
ln -sfT ${clan-cli.nixpkgs} "$PKG_ROOT/clan_cli/nixpkgs"
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user