Skip to content

A peer-to-peer stack for code collaboration

Use STACK_IN_NIX_EXTRA_ARGS

Julian K. Arni83e9b937b004
diff --git a/nix/shell.nix b/nix/shell.nix
index 3670f94..af35b22 100644
--- a/nix/shell.nix
+++ b/nix/shell.nix
@@ -21,20 +21,20 @@ stdenv.mkDerivation {
shellHook = ''
export PATH=$PATH:`stack path --local-bin`:$PWD/bin
export RADPATH=$PWD/rad
- export STACK_ARGS="--silent --system-ghc --no-nix-pure --nix-packages 'zlib fzf moreutils'"
+ export STACK_IN_NIX_EXTRA_ARGS="--system-ghc --no-nix-pure --nix-packages 'zlib fzf moreutils'"
export IS_NIX_SHELL="true"
export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive";
eval $(grep export ${ghc}/bin/ghc)
alias check="pushd $PWD && ./scripts/check-fmt.sh && hlint . && popd"
alias mkdocs="pushd $PWD/docs && make html && popd"
- alias sb="stack build --fast $STACK_ARGS"
- alias se="stack exec $STACK_ARGS"
- alias sbs="stack build --fast $STACK_ARGS radicle:exe:radicle-server"
- alias sbrad="stack build --fast $STACK_ARGS radicle:exe:radicle"
- alias st="stack test --fast $STACK_ARGS"
- alias sts="stack test --fast $STACK_ARGS radicle:spec"
- alias str="stack test --fast $STACK_ARGS radicle:spec --ta '--pattern \"Radicle source file tests\"'"
- alias server="stack exec $STACK_ARGS radicle-server -- "
- alias rad="stack exec --silent $STACK_ARGS radicle -- rad/repl.rad"
+ alias sb="stack build --fast"
+ alias se="stack exec"
+ alias sbd="stack build --fast radicle:exe:radicle-daemon"
+ alias sbrad="stack build --fast radicle:exe:radicle"
+ alias st="stack test --fast"
+ alias sts="stack test --fast radicle:spec"
+ alias str="stack test --fast radicle:spec --ta '--pattern \"Radicle source file tests\"'"
+ alias server="stack exec radicle-server -- "
+ alias rad="stack exec --silent radicle -- rad/repl.rad"
'';
}