summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnixpkgs-pin (renamed from nixos-pin)4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos-pin b/nixpkgs-pin
index 7ff2c6a..bca1dee 100755
--- a/nixos-pin
+++ b/nixpkgs-pin
@@ -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";