Skip to content
Permalink
Browse files

Merge #616

616: Fix gac-new when used in overlay mode r=kreisys a=NinjaTrappeur

`gac new` is currently failing when used from within an overlay. 

We are now explicitly referring to the `iohk-ops` root directory.

Co-authored-by: Félix Baylac-Jacqué <felix@alternativebit.fr>
  • Loading branch information...
iohk-bors and NinjaTrappeur committed Jun 10, 2019
2 parents 7e39e05 + b37dbfe commit ed5af66c3ed67bfb3b34388760ab3e2d957696a1
Showing with 1 addition and 1 deletion.
  1. +1 −1 gac-new.sh
@@ -3,7 +3,7 @@
set -eo pipefail

# Make sure that we are using `find`/`xargs` from GNU and not the (gasp) BSD version 😒
PATH=$(nix-build -E "(import ./. {}).pkgs.findutils" --no-out-link)/bin:$PATH
PATH=$(nix-build -E "(import ${gacroot:?} {}).pkgs.findutils" --no-out-link)/bin:$PATH

case "$1" in
-h | --help | help )

0 comments on commit ed5af66

Please sign in to comment.
You can’t perform that action at this time.