Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions nixos/modules/installer/tools/nix-fallback-paths.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
x86_64-linux = "/nix/store/0bvxg6fr61zrlhi93azhp8yfhb5rcrs9-nix-2.28.5";
i686-linux = "/nix/store/m5na49mxl4xpcs3xh086s5v08jqjhbmb-nix-2.28.5";
aarch64-linux = "/nix/store/95rhdhjfwbi7ilwy5j0knj1852p7x6c6-nix-2.28.5";
riscv64-linux = "/nix/store/cqiiv36c773023p6lp9h4ff57fjlzisk-nix-riscv64-unknown-linux-gnu-2.28.5";
x86_64-darwin = "/nix/store/xiw5636h616yi3balx96pmdk6b052rhk-nix-2.28.5";
aarch64-darwin = "/nix/store/sax8chv80d9fy4s0y3ahsr9y4kc2f0ib-nix-2.28.5";
x86_64-linux = "/nix/store/x30lnlgk1s16rynrfslbf8phr6h6rqf2-nix-2.31.2";
i686-linux = "/nix/store/ix94q6rrdg6cr4893cjpzdbmibhlm0dv-nix-2.31.2";
aarch64-linux = "/nix/store/xnybj9lk0kwvmr2va253avanq7m3cpyg-nix-2.31.2";
riscv64-linux = "/nix/store/33as1vqp8mq36nr5bb5gr7ziw1nf4q1v-nix-riscv64-unknown-linux-gnu-2.31.2";
x86_64-darwin = "/nix/store/b9dvary8rcljj7ajv1x64hwwch4cvyvp-nix-2.31.2";
aarch64-darwin = "/nix/store/lvv1j8qbrvlnl3aagcjrhf42d458zgb5-nix-2.31.2";
}
6 changes: 4 additions & 2 deletions pkgs/by-name/ni/nix-serve/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
fetchFromGitHub,
bzip2,
nix,
perl,
makeWrapper,
nixosTests,
}:

let
rev = "a7e046db4b29d422fc9aac60ea6b82b31399951a";
sha256 = "sha256-6ZQ0OLijq6UtOtUqRdFC19+helhU0Av6MvGCZf6XmcQ=";
inherit (nix.libs) nix-perl-bindings;
in

stdenv.mkDerivation {
Expand All @@ -31,11 +33,11 @@ stdenv.mkDerivation {
install -Dm0755 nix-serve.psgi $out/libexec/nix-serve/nix-serve.psgi

makeWrapper ${
nix.perl-bindings.perl.withPackages (p: [
perl.withPackages (p: [
p.DBDSQLite
p.Plack
p.Starman
nix.perl-bindings
nix-perl-bindings
])
}/bin/starman $out/bin/nix-serve \
--prefix PATH : "${
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/package-management/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ lib.makeExtensible (
latest = self.nix_2_31;

# Read ./README.md before bumping a major release
stable = addFallbackPathsCheck self.nix_2_28;
stable = addFallbackPathsCheck self.nix_2_31;
}
// lib.optionalAttrs config.allowAliases (
lib.listToAttrs (
Expand Down
12 changes: 0 additions & 12 deletions pkgs/tools/package-management/nix/modular/packaging/components.nix
Original file line number Diff line number Diff line change
Expand Up @@ -151,18 +151,6 @@ let
];
separateDebugInfo = !stdenv.hostPlatform.isStatic;
hardeningDisable = lib.optional stdenv.hostPlatform.isStatic "pie";
env =
prevAttrs.env or { }
// lib.optionalAttrs (
stdenv.isLinux
&& !(stdenv.hostPlatform.isStatic && stdenv.system == "aarch64-linux")
&& !(
stdenv.buildPlatform.config != stdenv.hostPlatform.config
&& stdenv.hostPlatform.system == "powerpc64-linux"
)
&& !(stdenv.system == "loongarch64-linux")
&& !(stdenv.hostPlatform.useLLVM or false)
) { LDFLAGS = "-fuse-ld=gold"; };
};

mesonLibraryLayer = finalAttrs: prevAttrs: {
Expand Down
3 changes: 2 additions & 1 deletion pkgs/tools/package-management/nix/tests.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
};
}
// lib.optionalAttrs stdenv.hostPlatform.isLinux {
nixStatic = pkgsStatic.nixVersions.${self_attribute_name};
# unfortunally nixpkgs pkgsStatic is too often broken including the dependency closure of nix
# nixStatic = pkgsStatic.nixVersions.${self_attribute_name};

# Basic smoke tests that needs to pass when upgrading nix.
# Note that this test does only test the nixVersions.stable attribute.
Expand Down
Loading