diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-07 16:58:28 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-07 16:59:02 +0200 |
commit | 395d39c80c4281840755e54eec65bcf157eae509 (patch) | |
tree | 6d2e4841d72584196c1780648755fa6c8e199fc5 /pkgs/standalone_pkgs.nix | |
parent | pkgs/stalwart-mail-patched: Use different native-ca-roots patch (diff) | |
download | nixos-server-395d39c80c4281840755e54eec65bcf157eae509.zip |
pkgs/stalwart-mail-patched/spamfilter: Provide infrastructure to update it
Otherwise, this package will never be updated.
Diffstat (limited to 'pkgs/standalone_pkgs.nix')
-rw-r--r-- | pkgs/standalone_pkgs.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/standalone_pkgs.nix b/pkgs/standalone_pkgs.nix new file mode 100644 index 0000000..1eeaad3 --- /dev/null +++ b/pkgs/standalone_pkgs.nix @@ -0,0 +1,11 @@ +# `nix-update` wants a entry point similar to `release.nix`. +# This means that we have to fetch our dependencies on our own. +{}: let + get = input: import (builtins.fetchTree input.locked).outPath {}; + + lock = (builtins.fromJSON (builtins.readFile ../flake.lock)).nodes; + pkgs = get lock.nixpkgs; + pkgsUnstable = get lock.nixpkgs-unstable; + nixLib = get lock.library; +in + import ./default.nix {inherit pkgs pkgsUnstable nixLib;} |