From 51880388ec1af5f50d250953a6cadc301da0717f Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Wed, 27 Sep 2023 22:38:29 +0200 Subject: [PATCH] fix(satosa): Make the package reproductible --- machines/compute01/satosa/module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/machines/compute01/satosa/module.nix b/machines/compute01/satosa/module.nix index 65e590e..f9738da 100644 --- a/machines/compute01/satosa/module.nix +++ b/machines/compute01/satosa/module.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, pkgs, sources, ... }: let inherit (lib) mkDefault mkEnableOption mkIf mkOption types; @@ -20,7 +20,7 @@ in { package = mkOption { type = types.package; - default = let pkgs = import { }; + default = let pkgs = import sources.nixos-unstable { }; in import ./package { inherit pkgs; inherit (pkgs) lib;