diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2019-08-01 00:52:09 +0200 |
---|---|---|
committer | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2019-08-01 00:52:09 +0200 |
commit | 93f1e0ff7576197d193d55b6d82ebc81967e8fe9 (patch) | |
tree | f84085eb8641e8b45e2ff386cb146426838a7694 | |
parent | 5e04841c4641e2249066614065053166657e3eb4 (diff) | |
download | haskell-93f1e0ff7576197d193d55b6d82ebc81967e8fe9.tar.gz |
Remove build.nix.shwip/no-build-nix
This file refers to shell.nix, which was removed in
430e6fedfda and c00d2f59d.
-rwxr-xr-x | build.nix.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/build.nix.sh b/build.nix.sh deleted file mode 100755 index 088202665f..0000000000 --- a/build.nix.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env nix-shell -#! nix-shell -i bash shell.nix - -# This script sets up the build environment by invoking nix-shell shell.nix -# and then runs the hadrian executable. - -function rl { - TARGET_FILE="$1" - - cd "$(dirname "$TARGET_FILE")" - TARGET_FILE="$(basename "$TARGET_FILE")" - - # Iterate down a (possible) chain of symlinks - while [ -L "$TARGET_FILE" ] - do - TARGET_FILE="$(readlink "$TARGET_FILE")" - cd "$(dirname "$TARGET_FILE")" - TARGET_FILE="$(basename "$TARGET_FILE")" - done - - # Compute the canonicalized name by finding the physical path - # for the directory we're in and appending the target file. - PHYS_DIR="$(pwd -P)" - RESULT="$PHYS_DIR/$TARGET_FILE" - echo "$RESULT" -} - -absoluteRoot="$(dirname "$(rl "$0")")" -echo $absoluteRoot -cd "$absoluteRoot" - -hadrian \ - --directory="$absoluteRoot/.." \ - "$@" |