make update-crates pure

This works with --pure now so it doesn't depend on having anything
installed outside of the nix-shell shebang anymore.
This commit is contained in:
Daiderd Jordan 2020-05-24 19:23:52 +02:00
parent 29de5c6134
commit bf07e6e0c0
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -E "with import <nixpkgs> {}; mkShell { nativeBuildInputs = [ (import (builtins.fetchTarball https://github.com/kolloch/crate2nix/archive/0.8.0.tar.gz) {}) ]; }"
#!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