summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-09-21 15:44:03 +0200
committersternenseemann <git@lukasepple.de>2020-09-21 16:14:15 +0200
commitc4f6d7266137b3aa316ff39a72fbe1fdd99d7374 (patch)
treeabe961d54602c81f2614cbb262f09a9521433fee
parent1d36edc7883dc9b9461b4e3248a596c4b0279b50 (diff)
chore(default.nix): pin nixpkgs to fork with libscryp-kdf
-rw-r--r--default.nix2
-rw-r--r--nixpkgs-pinned.nix6
2 files changed, 7 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index fa2ae65..15808ba 100644
--- a/default.nix
+++ b/default.nix
@@ -1,4 +1,4 @@
-{ pkgs ? (import <nixpkgs> {})
+{ pkgs ? (import ./nixpkgs-pinned.nix { })
 , scryptSalt ? null
 , apiTokens ? null
 }:
diff --git a/nixpkgs-pinned.nix b/nixpkgs-pinned.nix
new file mode 100644
index 0000000..b7021d6
--- /dev/null
+++ b/nixpkgs-pinned.nix
@@ -0,0 +1,6 @@
+import (builtins.fetchTarball {
+  # nixpkgs master 2020-09-15 + scrypt with libscrypt-kdf
+  # pin should go to fork only temporarily
+  url = "https://github.com/sternenseemann/nixpkgs/archive/scrypt-1.3.1.tar.gz";
+  sha256 = "1knvly4w76wb5favmqzz2g4iihqcic757ly20lfxr14yr1ihcmhy";
+})