blob: 83092b26c1432b58033730d0643a4ede8c96b5ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
source common.sh
file=./add.sh
path=$($nixstore --add $file)
echo $path
hash=$($nixstore -q --hash $path)
echo $hash
test "$hash" = "sha256:$($nixhash --type sha256 --base32 $file)"
|