mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-25 18:10:37 +00:00
Compare commits
21 Commits
master
...
staging-ni
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bfb1407c0e | ||
|
|
8ae3eff700 | ||
|
|
a96ab25d1d | ||
|
|
44bed8fa8b | ||
|
|
a051724bdf | ||
|
|
815d4b5a60 | ||
|
|
9bd363e27a | ||
|
|
5a187f6052 | ||
|
|
a3a1e84bd9 | ||
|
|
e29345d5be | ||
|
|
d13e8c8662 | ||
|
|
42351f6971 | ||
|
|
9eb9dda021 | ||
|
|
15f04744d9 | ||
|
|
4b309135ab | ||
|
|
1c34bdfe4c | ||
|
|
27ffce9d57 | ||
|
|
6b905e28e3 | ||
|
|
4a2acc3c76 | ||
|
|
5cc1bf9715 | ||
|
|
2ce153e20d |
@@ -583,6 +583,13 @@ stdenv.mkDerivation rec {
|
||||
url = "https://git.savannah.gnu.org/cgit/grub.git/patch/?id=ac1512b872af8567b408518a7efa01607a0219ae";
|
||||
hash = "sha256-deyp6Yatlgv86bYMt7WcWhKg8J6StDPUEy4UPHqJYIc=";
|
||||
})
|
||||
# Required to build grub2_efi with GCC 16, or fails with "error: 'regparm'
|
||||
# attribute ignored [-Werror=attributes]"
|
||||
(fetchpatch {
|
||||
name = "gcc16_make_regparm_attribute_more_conditional.patch";
|
||||
url = "https://git.savannah.gnu.org/cgit/grub.git/patch/?id=9922ed133c2c754ec9f37198da2b3e3e8a4fd5ff";
|
||||
hash = "sha256-V2vffDxL/qQ14YN5scc3CFPBFBWvkh57dc5/hWd/6F4=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch =
|
||||
|
||||
@@ -34,6 +34,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
patches = [
|
||||
./nix-store-date.patch
|
||||
|
||||
# GCC 16's unused variable analysis is more advanced than previous
|
||||
# versions, and detects that these variables are unused.
|
||||
# https://github.com/wolfcw/libfaketime/pull/528
|
||||
(fetchpatch {
|
||||
name = "libfaketime-silence-unused-variable-warning.patch";
|
||||
url = "https://github.com/wolfcw/libfaketime/commit/712733e5f01e45372f3160cfdbcfd91520cb093d.patch";
|
||||
hash = "sha256-Gu13gFhgvkncj8aowAnSRbHbUCctF5sakbX4uRwdy+A=";
|
||||
})
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
(fetchpatch {
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
replaceVarsWith,
|
||||
runtimeShell,
|
||||
installShellFiles,
|
||||
lib,
|
||||
}:
|
||||
replaceVarsWith {
|
||||
name = "nixos-build-vms";
|
||||
pname = "nixos-build-vms";
|
||||
version = lib.trivial.release;
|
||||
|
||||
src = ./nixos-build-vms.sh;
|
||||
|
||||
|
||||
@@ -8,9 +8,11 @@
|
||||
stateDirectory ? "/var/lib/nixos-containers",
|
||||
nixosTests,
|
||||
path,
|
||||
lib,
|
||||
}:
|
||||
replaceVarsWith {
|
||||
name = "nixos-container";
|
||||
pname = "nixos-container";
|
||||
version = lib.trivial.release;
|
||||
dir = "bin";
|
||||
isExecutable = true;
|
||||
src = ./nixos-container.pl;
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
util-linuxMinimal,
|
||||
}:
|
||||
replaceVarsWith {
|
||||
name = "nixos-enter";
|
||||
pname = "nixos-enter";
|
||||
version = lib.trivial.release;
|
||||
src = ./nixos-enter.sh;
|
||||
|
||||
replacements = {
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
nixosTests,
|
||||
}:
|
||||
replaceVarsWith {
|
||||
name = "nixos-install";
|
||||
pname = "nixos-install";
|
||||
version = lib.trivial.release;
|
||||
|
||||
src = ./nixos-install.sh;
|
||||
|
||||
replacements = {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "ruff";
|
||||
version = "0.15.22";
|
||||
version = "0.16.0";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -24,12 +24,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
owner = "astral-sh";
|
||||
repo = "ruff";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-pa42J3M5iwSjfnuatqOOR9DEqzyVtdBbMk6JIRbu12Q=";
|
||||
hash = "sha256-H9ZcqMzPiu2ACyzlYNStKHAX71u9FCTEYwpKqwJcg/E=";
|
||||
};
|
||||
|
||||
cargoBuildFlags = [ "--package=ruff" ];
|
||||
|
||||
cargoHash = "sha256-jDm0pIrq09ETU+djMLsKSFZJzRx0lKSUx6kjJ4hAkvE=";
|
||||
cargoHash = "sha256-T3bWSLScIXgXXoGaogTF1N+jG0yFhAqxbZxQE12mkR8=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "scdoc";
|
||||
version = "1.11.4";
|
||||
version = "1.11.5";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~sircmpwn";
|
||||
repo = "scdoc";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-gldCHzLigeLKDFDcE3TYrNOEWoSt/uYIg9aTg6wwW54=";
|
||||
hash = "sha256-Tjafa7m+YcUTryYHnW2EF0yaXPRc3uNzWdeEucCdEso=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -37,6 +37,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cmake
|
||||
];
|
||||
cmakeFlags = [
|
||||
# GCC 16 warns that various uses of `fmt` in value.hpp are used
|
||||
# uninitialized. This may be a true failure, but it does not seem like a
|
||||
# major concern, so we silence it for now.
|
||||
# https://github.com/ToruNiina/toml11/issues/313
|
||||
(lib.cmakeFeature "CMAKE_CXX_FLAGS" "-Wno-error=maybe-uninitialized")
|
||||
(lib.cmakeBool "TOML11_BUILD_TOML_TESTS" finalAttrs.finalPackage.doCheck)
|
||||
];
|
||||
checkInputs = [
|
||||
|
||||
Reference in New Issue
Block a user