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 let
inherit (lib) mkDefault mkEnableOption mkIf mkOption types; inherit (lib) mkDefault mkEnableOption mkIf mkOption types;
@ -20,7 +20,7 @@ in {
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = let pkgs = import <nixpkgs> { }; default = let pkgs = import sources.nixos-unstable { };
in import ./package { in import ./package {
inherit pkgs; inherit pkgs;
inherit (pkgs) lib; inherit (pkgs) lib;