about summary refs log tree commit diff
path: root/modules/common
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-05-06 18:55:06 +0300
committerAzat Bahawi <azat@bahawi.net>2023-05-06 18:55:06 +0300
commit8f7371998f813857f25afef4160075665f924ab7 (patch)
tree7bffc723cbed32ab8aacae2feaf60de039bd3ff3 /modules/common
parent2023-05-04 (diff)
2023-05-06
Diffstat (limited to 'modules/common')
-rw-r--r--modules/common/common/nix/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/common/common/nix/default.nix b/modules/common/common/nix/default.nix
index 723a2b8..0c49034 100644
--- a/modules/common/common/nix/default.nix
+++ b/modules/common/common/nix/default.nix
@@ -4,7 +4,7 @@
   lib,
   localUsername ? lib.my.username,
   pkgs,
-  pkgsPR,
+  pkgsPr,
   this,
   ...
 }:
@@ -25,7 +25,7 @@ with lib; {
         repo = "nixpkgs";
         inherit rev hash;
       });
-    pkgsPR = pr: pkgsRev "refs/pull/${toString pr}/head";
+    pkgsPr = pr: pkgsRev "refs/pull/${toString pr}/head";
   };
 
   nix = let
@@ -38,6 +38,7 @@ with lib; {
         "flakes"
         "nix-command"
         "recursive-nix"
+        "repl-flake"
       ];
       keep-derivations =
         if this.isHeadful
@@ -115,7 +116,7 @@ with lib; {
             ]);
         });
 
-        inherit (pkgsPR "228852" "sha256-NKZySJ3IVMMeSmpc1zYwse52kxGg0dIrsHTMcO8a73Y=") soju;
+        inherit (pkgsPr "228852" "sha256-NKZySJ3IVMMeSmpc1zYwse52kxGg0dIrsHTMcO8a73Y=") soju;
       }
       // (with super; let
         np = nodePackages;

Consider giving Nix/NixOS a try! <3