diff options
author | Ben Sima <ben@bsima.me> | 2020-10-28 21:53:37 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-10-28 21:53:37 -0400 |
commit | e6ab3878bd4307f86200ddf0bfbe415fbf09fb92 (patch) | |
tree | 64a893acf594f2929230db0f96ce2473a322433d | |
parent | a46e6aec3e52dfe422f927d2e4c66de15a9ad90c (diff) |
rename nixos-pin
-rwxr-xr-x | nixpkgs-pin (renamed from nixos-pin) | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/env bash function usage { - echo "usage: nixos-pin <hash>" + echo "usage: nixpkgs-pin <hash>" echo "where <hash> is a git sha from the nixpkgs repo" exit 1 } @@ -12,7 +12,7 @@ url="https://github.com/NixOS/nixpkgs/archive/$1.tar.gz" hash=$(nix-prefetch-url --unpack $url) cat <<EOF -# generated with ~/bin/nixos-pin +# generated with ~/bin/nixpkgs-pin { url = "$url"; sha256 = "$hash"; |