about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-03-21 18:27:00 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-03-21 18:27:00 +0100
commit9ce153517db3686909579b16f238a75d9e5cf3ba (patch)
tree60c53c21de61a629721aa805e636642d1b6c843a /modules
parent01be47adb11d48482a14df8b5a2580f2e5dfb4b5 (diff)
aszlig/profiles: Use full source info for nix-repl
Using overrideDerivation on fetchFromGitHub is going to only override
the attributes from fetchzip, because fetchFromGitHub isn't directly
overridable.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules')
-rw-r--r--modules/user/aszlig/profiles/base.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/user/aszlig/profiles/base.nix b/modules/user/aszlig/profiles/base.nix
index 907831ab..b729efbd 100644
--- a/modules/user/aszlig/profiles/base.nix
+++ b/modules/user/aszlig/profiles/base.nix
@@ -88,10 +88,12 @@ in {
         # XXX: As of edolstra/nix-repl@8a2f5f0, this won't build with
         #      nixUnstable (version 1.12pre4509_69f28eb).
         nix-repl = pkgs.nix-repl.overrideDerivation (drv: {
-          src = lib.overrideDerivation drv.src (lib.const {
+          src = pkgs.fetchFromGitHub {
+            owner = "edolstra";
+            repo = "nix-repl";
             rev = "e37bca136eb58cc156f88cc8aa8e7bf47ed31d42";
             sha256 = "1myqffvhklqvab3plcy5xmg51fdfncj2wibchxw80pb13wq21r71";
-          });
+          };
         });
         uqm = pkgs.uqm.override {
           use3DOVideos = true;