Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alex D
GHC
Commits
c902f56b
Commit
c902f56b
authored
Aug 01, 2019
by
Krzysztof Gogolewski
Committed by
Marge Bot
Aug 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove build.nix.sh
This file refers to shell.nix, which was removed in
430e6fed
and
c00d2f59
.
parent
93bed40a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
34 deletions
+0
-34
build.nix.sh
build.nix.sh
+0
-34
No files found.
build.nix.sh
deleted
100755 → 0
View file @
93bed40a
#!/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
/.."
\
"
$@
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment