diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-17 09:49:18 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-17 12:26:19 +0900 |
| commit | 33855381422932a208fa412bd4a96c0905aafdf1 (patch) | |
| tree | 070feaa36174174fb52ebdbfc76bd24d41a71084 /options.nix | |
| parent | 24618ab9a1524e8b8986a9bf67667288e642fcf1 (diff) | |
nix: clean up flake outputs
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'options.nix')
| -rw-r--r-- | options.nix | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/options.nix b/options.nix index 5bad55d7..d9ccfb7a 100644 --- a/options.nix +++ b/options.nix @@ -1,17 +1,8 @@ +packages: { lib, pkgs, ... }: let inherit (lib) types mkOption mkEnableOption; - fortify = pkgs.pkgsStatic.callPackage ./package.nix { - inherit (pkgs) - bubblewrap - xdg-dbus-proxy - glibc - zstd - gnutar - coreutils - ; - }; in { @@ -21,13 +12,13 @@ in package = mkOption { type = types.package; - default = fortify; + default = packages.${pkgs.system}.fortify; description = "The fortify package to use."; }; fsuPackage = mkOption { type = types.package; - default = pkgs.callPackage ./cmd/fsu/package.nix { inherit fortify; }; + default = packages.${pkgs.system}.fsu; description = "The fsu package to use."; }; |
