2012-07-09 19:41:43 +00:00
|
|
|
source common.sh
|
|
|
|
|
|
|
|
clearStore
|
|
|
|
|
|
|
|
hash=$(nix-hash --flat --type sha256 ./fetchurl.nix)
|
|
|
|
|
2012-09-11 23:14:15 +00:00
|
|
|
outPath=$(nix-build ./fetchurl.nix --argstr filename $(pwd)/fetchurl.nix --argstr sha256 $hash --no-out-link)
|
2012-07-09 19:41:43 +00:00
|
|
|
|
|
|
|
cmp $outPath fetchurl.nix
|