From 863332738c66fdae5f8294fe2c7d0fb4ce3fee5f Mon Sep 17 00:00:00 2001 From: D Anzorge Date: Wed, 27 Jul 2022 21:58:46 +0200 Subject: [PATCH] nix: unpin nonflake nixpkgs --- nix/module.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/nix/module.nix b/nix/module.nix index 1cd9e4eff..66cbc4034 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -1,14 +1,2 @@ {pkgs, ...}@args: - import ./moduleInner.nix (args // ( - let - pinnedPkgs = import (pkgs.fetchFromGitHub { - owner = "NixOS"; - repo = "nixpkgs"; - rev = "914ef51ffa88d9b386c71bdc88bffc5273c08ada"; - sha256 = "sha256-A+oT+aQGhW5lXy8H0cqBLsYtgcnT5glmGOXWQDcGw6I="; - }) { - # we need to inherit config to propagate allowUnfree settings (which - # are needed for bookwyrm) - inherit (pkgs) system config; - }; - in { bookwyrm = pinnedPkgs.callPackage ./default.nix { };})) \ No newline at end of file + import ./moduleInner.nix (args // ({ bookwyrm = pkgs.callPackage ./default.nix { };})) \ No newline at end of file