about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/edef/fetchGoModule.nix24
-rw-r--r--users/edef/loxy.nix2
2 files changed, 1 insertions, 25 deletions
diff --git a/users/edef/fetchGoModule.nix b/users/edef/fetchGoModule.nix
deleted file mode 100644
index e49a5e3a1c5e..000000000000
--- a/users/edef/fetchGoModule.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ pkgs, ... }:
-
-{ path, version, sha256 }:
-
-(pkgs.fetchurl {
-  name = "source";
-  url = "https://proxy.golang.org/${path}/@v/v${version}.zip";
-  inherit sha256;
-
-  recursiveHash = true;
-  downloadToTemp = true;
-
-  postFetch = ''
-    unpackDir="$TMPDIR/unpack"
-    mkdir "$unpackDir"
-    cd "$unpackDir"
-
-    mv "$downloadedFile" "$TMPDIR/src.zip"
-    unpackFile "$TMPDIR/src.zip"
-    mv "$unpackDir/${path}@v${version}" "$out"
-  '';
-}).overrideAttrs ({ nativeBuildInputs ? [], ... }: {
-  nativeBuildInputs = nativeBuildInputs ++ [ pkgs.unzip ];
-})
diff --git a/users/edef/loxy.nix b/users/edef/loxy.nix
index 71750fc45a91..d1399f3ea947 100644
--- a/users/edef/loxy.nix
+++ b/users/edef/loxy.nix
@@ -2,7 +2,7 @@
 
 let
 
-  inherit (depot.users.edef) fetchGoModule;
+  inherit (depot.nix) fetchGoModule;
 
 in