diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-11T22·53-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-11T22·53-0400 |
commit | 04559a0d45ad02fc760b09132cca0d875af035e5 (patch) | |
tree | d7de1301fa9753467781dfc5d931959fcfae34bf /tests/fetchurl.nix | |
parent | e4d6bcb6cdc34d204ccf49e137dd5070f664c523 (diff) | |
parent | eae802459d7639a69baec555264f394adad043c0 (diff) |
Merge branch 'master' of github.com:NixOS/nix into no-manifests
Diffstat (limited to 'tests/fetchurl.nix')
-rw-r--r-- | tests/fetchurl.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fetchurl.nix b/tests/fetchurl.nix new file mode 100644 index 000000000000..2abcc039a832 --- /dev/null +++ b/tests/fetchurl.nix @@ -0,0 +1,6 @@ +{ filename, sha256 }: + +import <nix/fetchurl.nix> { + url = "file://${filename}"; + inherit sha256; +} |