bf07e6e0c0
This works with --pure now so it doesn't depend on having anything installed outside of the nix-shell shebang anymore.
7 lines
264 B
Bash
Executable file
7 lines
264 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -E "with import ./nix {}; mkShell { nativeBuildInputs = [ cacert cargo (import (builtins.fetchTarball https://github.com/kolloch/crate2nix/archive/0.8.0.tar.gz) {}) ]; }"
|
|
set -e
|
|
|
|
cargo fetch --locked
|
|
crate2nix generate
|