mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-22 23:17:15 +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
|