mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-27 02:52:02 +03:00
12 lines
191 B
Bash
12 lines
191 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -eu
|
||
|
|
||
|
scriptDir=$(dirname "$0")
|
||
|
cd "${scriptDir}"
|
||
|
|
||
|
craneOverride="--override-input crane ../.."
|
||
|
|
||
|
# Try fetching the git verision of cargo
|
||
|
nix build ${craneOverride} .#cargo-git
|