nix: dont include experimental
feature on all-features builds
this is just future infra for it Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
7009f56a7a
commit
a1bfd7a018
1 changed files with 30 additions and 10 deletions
40
flake.nix
40
flake.nix
|
@ -122,8 +122,12 @@
|
|||
default = scopeHost.main;
|
||||
all-features = scopeHost.main.override {
|
||||
all_features = true;
|
||||
# this is non-functional on nix for some reason
|
||||
disable_features = ["hardened_malloc"];
|
||||
disable_features = [
|
||||
# this is non-functional on nix for some reason
|
||||
"hardened_malloc"
|
||||
# dont include experimental features
|
||||
"experimental"
|
||||
];
|
||||
};
|
||||
hmalloc = scopeHost.main.override { features = ["hardened_malloc"]; };
|
||||
|
||||
|
@ -131,8 +135,12 @@
|
|||
oci-image-all-features = scopeHost.oci-image.override {
|
||||
main = scopeHost.main.override {
|
||||
all_features = true;
|
||||
# this is non-functional on nix for some reason
|
||||
disable_features = ["hardened_malloc"];
|
||||
disable_features = [
|
||||
# this is non-functional on nix for some reason
|
||||
"hardened_malloc"
|
||||
# dont include experimental features
|
||||
"experimental"
|
||||
];
|
||||
};
|
||||
};
|
||||
oci-image-hmalloc = scopeHost.oci-image.override {
|
||||
|
@ -174,8 +182,12 @@
|
|||
name = "${binaryName}-all-features";
|
||||
value = scopeCrossStatic.main.override {
|
||||
all_features = true;
|
||||
# this is non-functional on nix for some reason
|
||||
disable_features = ["hardened_malloc"];
|
||||
disable_features = [
|
||||
# this is non-functional on nix for some reason
|
||||
"hardened_malloc"
|
||||
# dont include experimental features
|
||||
"experimental"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -199,8 +211,12 @@
|
|||
value = scopeCrossStatic.oci-image.override {
|
||||
main = scopeCrossStatic.main.override {
|
||||
all_features = true;
|
||||
# this is non-functional on nix for some reason
|
||||
disable_features = ["hardened_malloc"];
|
||||
disable_features = [
|
||||
# this is non-functional on nix for some reason
|
||||
"hardened_malloc"
|
||||
# dont include experimental features
|
||||
"experimental"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -228,8 +244,12 @@
|
|||
(scopeHostStatic.overrideScope (final: prev: {
|
||||
main = prev.main.override {
|
||||
all_features = true;
|
||||
# this is non-functional on nix for some reason
|
||||
disable_features = ["hardened_malloc"];
|
||||
disable_features = [
|
||||
# this is non-functional on nix for some reason
|
||||
"hardened_malloc"
|
||||
# dont include experimental features
|
||||
"experimental"
|
||||
];
|
||||
};
|
||||
}));
|
||||
devShells.no-features = mkDevShell
|
||||
|
|
Loading…
Add table
Reference in a new issue