1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

packaging-nix: disable hardening cxx flags in devShells

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
This commit is contained in:
Philipp Jungkamp 2023-06-13 10:47:51 +02:00
parent bca7f70cc2
commit 7742a5f5b8

View file

@ -117,20 +117,19 @@
devShells = forSupportedSystems (
system: let
pkgs = pkgsFor system;
shellHook = ''
[ -z "$PS1" ] || exec $SHELL
'';
shellHook = ''[ -z "$PS1" ] || exec "$SHELL"'';
hardeningDisable = ["all"];
in rec {
default = full;
minimal = pkgs.mkShell {
inherit shellHook;
inherit shellHook hardeningDisable;
name = "minimal";
inputsFrom = [pkgs.villas-minimal];
};
full = pkgs.mkShell {
inherit shellHook;
inherit shellHook hardeningDisable;
name = "full";
inputsFrom = [pkgs.villas];
};