diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-05-20 22:35:25 +0200 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-05-20 22:35:25 +0200 |
| commit | 2e300b08ee2697656a76b4c95a4c66039510a239 (patch) | |
| tree | 36996b3ab8ae6161e0d466b6f5233f0066af0ac2 /flake.nix | |
| parent | 98080b79cfbac8f4a7c17af91e697ae84278f8ab (diff) | |
Self-Package stalwart
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -70,10 +70,14 @@ treefmtExtract = name: (builtins.mapAttrs (_system: conf: conf."${name}") (treefmtStuff)); in { - packages."x86_64-linux".full-iso = self.nixosConfigurations.full-iso.config.system.build.isoImage; - packages."x86_64-linux".bulwark = - nixpkgs.legacyPackages."x86_64-linux".callPackage ./packages/bulwark/package.nix - { }; + packages = let system = "x86_64-linux"; pkgs = import nixpkgs {inherit system;}; in { + ${system} = { + full-iso = self.nixosConfigurations.full-iso.config.system.build.isoImage; + bulwark = pkgs.callPackage ./packages/bulwark/package.nix {}; + stalwart = pkgs.callPackage ./packages/stalwart/package.nix {}; + stalwart-cli = pkgs.callPackage ./packages/stalwart-cli/package.nix {}; + }; + }; # for `nix fmt` formatter = treefmtExtract "formatter"; # for `nix flake check` |
