aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2021-06-30 08:03:07 +0200
committerGitHub <noreply@github.com>2021-06-30 08:03:07 +0200
commit69eb65403ad3e877300a7c0c96411d9d9e27dc69 (patch)
tree2a866d6a61f35ac00a01da9a3cf929e7359c49d2
parentc92fbdb654df15a658db857f0c025fa64e7092c9 (diff)
parent2200f315daff989a974ed4fac445f90a06d55e81 (diff)
Merge pull request #4963 from matthewbauer/cross-fix
Restrict jobs built on hydra
-rw-r--r--flake.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 999028ec2..5430d3904 100644
--- a/flake.nix
+++ b/flake.nix
@@ -385,7 +385,7 @@
buildStatic = nixpkgs.lib.genAttrs linux64BitSystems (system: self.packages.${system}.nix-static);
buildCross = nixpkgs.lib.genAttrs crossSystems (crossSystem:
- nixpkgs.lib.genAttrs linux64BitSystems (system: self.packages.${system}."nix-${crossSystem}"));
+ nixpkgs.lib.genAttrs ["x86_64-linux"] (system: self.packages.${system}."nix-${crossSystem}"));
# Perl bindings for various platforms.
perlBindings = nixpkgs.lib.genAttrs systems (system: self.packages.${system}.nix.perl-bindings);
@@ -395,7 +395,7 @@
# the installation script.
binaryTarball = nixpkgs.lib.genAttrs systems (system: binaryTarball nixpkgsFor.${system} nixpkgsFor.${system}.nix nixpkgsFor.${system});
- binaryTarballCross = nixpkgs.lib.genAttrs systems (system: builtins.listToAttrs (map (crossSystem: {
+ binaryTarballCross = nixpkgs.lib.genAttrs ["x86_64-linux"] (system: builtins.listToAttrs (map (crossSystem: {
name = crossSystem;
value = let
nixpkgsCross = import nixpkgs {
@@ -549,6 +549,8 @@
stripAllList = ["bin"];
strictDeps = true;
+
+ hardeningDisable = [ "pie" ];
};
} // builtins.listToAttrs (map (crossSystem: {
name = "nix-${crossSystem}";