fix(satosa): Make the package reproductible

This commit is contained in:
Tom Hubrecht 2023-09-27 22:38:29 +02:00
parent 0d1d20d83c
commit 51880388ec

View file

@ -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 <nixpkgs> { };
default = let pkgs = import sources.nixos-unstable { };
in import ./package {
inherit pkgs;
inherit (pkgs) lib;