mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-29 10:42:21 +03:00
6f7504ad93
Callers should use `mkLib` with an instantiation of `pkgs` instead of using `crane.lib.${system}` directly
13 lines
301 B
Bash
Executable File
13 lines
301 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
scriptDir=$(dirname "$0")
|
|
cd "${scriptDir}"
|
|
|
|
nixpkgsOverride="$(../../ci/ref-from-lock.sh ../../test#nixpkgs)"
|
|
craneOverride="--override-input crane ../.. --override-input nixpkgs ${nixpkgsOverride}"
|
|
|
|
# Try fetching the git verision of cargo
|
|
nix build ${craneOverride} .#cargo-git
|