diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-23 18:13:06 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-23 18:13:37 +0900 |
| commit | 8bf162820b291cc3889fd05f4ba7cd4fcbc1d15d (patch) | |
| tree | 53b44cc353629e300d6096345ea0e8cfcc64595f /flake.nix | |
| parent | dccb3666080686da73159680590352c23cf69c4f (diff) | |
nix: separate fsu from package
This appears to be the only way to build them with different configuration. This enables static linking in the main package.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -87,6 +87,10 @@ ''; fortify = callPackage ./tests/fortify { inherit system self; }; + race = callPackage ./tests/fortify { + inherit system self; + withRace = true; + }; } ); @@ -98,7 +102,10 @@ in { default = self.packages.${system}.fortify; - fortify = pkgs.callPackage ./package.nix { }; + fortify = pkgs.pkgsStatic.callPackage ./package.nix { + inherit (pkgs) bubblewrap xdg-dbus-proxy glibc; + }; + fsu = pkgs.callPackage ./cmd/fsu/package.nix { inherit (self.packages.${system}) fortify; }; dist = pkgs.runCommand "${fortify.name}-dist" { inherit (self.devShells.${system}.default) buildInputs; } |
