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:
parent
bca7f70cc2
commit
7742a5f5b8
1 changed files with 4 additions and 5 deletions
|
@ -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];
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue