about summary refs log tree commit diff
path: root/corepkgs/fetchurl/fetchurl.fix
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/fetchurl/fetchurl.fix')
-rw-r--r--corepkgs/fetchurl/fetchurl.fix9
1 files changed, 9 insertions, 0 deletions
diff --git a/corepkgs/fetchurl/fetchurl.fix b/corepkgs/fetchurl/fetchurl.fix
new file mode 100644
index 000000000000..a3b3d46e10e9
--- /dev/null
+++ b/corepkgs/fetchurl/fetchurl.fix
@@ -0,0 +1,9 @@
+Function(["url", "hash"],
+  Package(
+    [ ("build", Relative("fetchurl/fetchurl.sh"))
+    , ("url", Var("url"))
+    , ("hash", Var("hash"))
+    , ("name", BaseName(Var("url")))
+    ]
+  )
+)