Nixpkgs version
Steps to reproduce
-
Create a file named nix-static.nix that contains this Nix expression:
# This file is dedicated to the public domain using 🅭🄍1.0:
# <https://creativecommons.org/publicdomain/zero/1.0>.
let
# This is the tip of the master branch at the moment.
nixpkgsCommit = "17f6bd177404d6d43017595c5264756764444ab8";
nixpkgsTarball = builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/${nixpkgsCommit}.tar.gz";
sha256 = "1nwqbj0bmhdqf34d0y6qbpnwqa9bkhlqd03ffv60yami7fppnyb6";
};
pkgs = import nixpkgsTarball { };
in
pkgs.nixStatic
-
Try to build that Nix expression by running this command:
nix-build <path to nix-static.nix>
Can Hydra reproduce this build failure?
Hydra doesn’t try to build the package.
EDIT: Now that this pull request has been merged, we’ll have to wait in order to see if Hydra is going to reproduce this build failure.
EDIT 2: Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/304563644
Relevant log output
I tried pasting the log here, but GitHub gave me this error: “Field can not be longer than 65536 characters”.
I’ve uploaded the log here: <https://gist.github.com/Jayman2000/c4b71ada8063968c199f242e7135653e>.
Additional context
You need to use the staging branch in order to reproduce this bug. You can’t use the master branch at the moment because this other bug hasn’t been fixed in the master branch yet.
EDIT: Now that this pull request has been merged, you can now reproduce this bug using the master branch.
System metadata
- system:
"x86_64-linux"
- host os:
Linux 6.14.11, NixOS, 25.05 (Warbler), 25.05.805977.88983d4b665f
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.28.4
- channels(root):
"nixos-25.05"
- nixpkgs:
/nix/store/fw0ra797qv90xhr2033xbjlxv0520zaw-nixos-25.05/nixos
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Nixpkgs version
Steps to reproduce
Create a file named
nix-static.nixthat contains this Nix expression:Try to build that Nix expression by running this command:
Can Hydra reproduce this build failure?
Hydra doesn’t try to build the package.EDIT: Now that this pull request has been merged, we’ll have to wait in order to see if Hydra is going to reproduce this build failure.EDIT 2: Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/304563644
Relevant log output
Additional context
You need to use thestagingbranch in order to reproduce this bug. You can’t use themasterbranch at the moment because this other bug hasn’t been fixed in themasterbranch yet.EDIT: Now that this pull request has been merged, you can now reproduce this bug using the
masterbranch.System metadata
"x86_64-linux"Linux 6.14.11, NixOS, 25.05 (Warbler), 25.05.805977.88983d4b665fyesyesnix-env (Nix) 2.28.4"nixos-25.05"/nix/store/fw0ra797qv90xhr2033xbjlxv0520zaw-nixos-25.05/nixosNotify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.