aboutsummaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix22
1 files changed, 21 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 624a060a..60611a0d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -74,7 +74,7 @@
touch $out
'';
- nixos-tests = callPackage ./test.nix { inherit self home-manager; };
+ nixos-tests = callPackage ./test.nix { inherit system self home-manager; };
}
);
@@ -95,6 +95,26 @@
buildInputs = with nixpkgsFor.${system}; self.packages.${system}.fortify.buildInputs;
};
+ fhs = nixpkgsFor.${system}.buildFHSEnv {
+ pname = "fortify-fhs";
+ inherit (self.packages.${system}.fortify) version;
+ targetPkgs =
+ pkgs: with pkgs; [
+ go
+ gcc
+ pkg-config
+ acl
+ wayland
+ wayland-scanner
+ wayland-protocols
+ xorg.libxcb
+ ];
+ extraOutputsToInstall = [ "dev" ];
+ profile = ''
+ export PKG_CONFIG_PATH="/usr/share/pkgconfig:$PKG_CONFIG_PATH"
+ '';
+ };
+
withPackage = nixpkgsFor.${system}.mkShell {
buildInputs =
with nixpkgsFor.${system};