-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
i encountered error when nix run
is called with the flake
seems like #4844 relates to the error below?
nix log output
> nix log --repair --debug --print-build-logs --verbose -- github:jesseduffield/lazygit |& wl-copy
evaluating file '<nix/derivation-internal.nix>'
evaluating derivation 'github:jesseduffield/lazygit#packages.x86_64-linux.default'...
using cache entry 'file:{"name":"source","store":"/nix/store","url":"https://api.github.com/repos/jesseduffield/lazygit/commits/HEAD"}' -> '{"etag":"W/\"8a72f43b339b5f39823e3e3e7ddae4066bc9b407fa09a00674a21978f44dec3c\"","storePath":"c8w5brrgl00jq9gjgvyj8f9i78z52z3m-source","url":"https://api.github.com/repos/jesseduffield/lazygit/commits/HEAD"}'
performing daemon worker op: 11
acquiring write lock on '/nix/var/nix/temproots/319196'
performing daemon worker op: 1
using cache entry 'file:{"name":"source","store":"/nix/store","url":"https://api.github.com/repos/jesseduffield/lazygit/commits/HEAD"}' -> '{"etag":"W/\"8a72f43b339b5f39823e3e3e7ddae4066bc9b407fa09a00674a21978f44dec3c\"","url":"https://api.github.com/repos/jesseduffield/lazygit/commits/HEAD"}', '/nix/store/c8w5brrgl00jq9gjgvyj8f9i78z52z3m-source'
HEAD revision for 'github:jesseduffield/lazygit/HEAD' is 60a7d6ac573fc5e102f5b8975fa9064560f2aee7
using cache entry 'gitRevToTreeHash:{"rev":"60a7d6ac573fc5e102f5b8975fa9064560f2aee7"}' -> '{"treeHash":"fa3e587f81fc897ebf46da7052c1224ca96692d8"}'
using cache entry 'gitRevToLastModified:{"rev":"60a7d6ac573fc5e102f5b8975fa9064560f2aee7"}' -> '{"lastModified":1759929123}'
got tree '«github:jesseduffield/lazygit/60a7d6ac573fc5e102f5b8975fa9064560f2aee7»/' from 'github:jesseduffield/lazygit/60a7d6ac573fc5e102f5b8975fa9064560f2aee7'
evaluating file '«github:jesseduffield/lazygit/60a7d6ac573fc5e102f5b8975fa9064560f2aee7»/flake.nix'
using cache entry 'fetchToStore:{"fingerprint":"60a7d6ac573fc5e102f5b8975fa9064560f2aee7","method":"nar","name":"source","path":"/","store":"/nix/store"}' -> '{"storePath":"p6142g3sm3rvsw0bx345nj2ymy2mp5nh-source"}'
performing daemon worker op: 11
performing daemon worker op: 1
using cache entry 'fetchToStore:{"fingerprint":"60a7d6ac573fc5e102f5b8975fa9064560f2aee7","method":"nar","name":"source","path":"/","store":"/nix/store"}' -> 'null', '/nix/store/p6142g3sm3rvsw0bx345nj2ymy2mp5nh-source'
store path cache hit for '«github:jesseduffield/lazygit/60a7d6ac573fc5e102f5b8975fa9064560f2aee7»/'
performing daemon worker op: 26
evaluating file '/nix/store/p6142g3sm3rvsw0bx345nj2ymy2mp5nh-source/flake.nix'
performing daemon worker op: 19
old lock file: {
"nodes": {
"flake-compat": {
"locked": {
"lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"revCount": 69,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1754487366,
"narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1756217674,
"narHash": "sha256-TH1SfSP523QI7kcPiNtMAEuwZR3Jdz0MCDXPs7TS8uo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4e7667a90c167f7a81d906e5a75cba4ad8bee620",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1753579242,
"narHash": "sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "0f36c44e01a6129be94e3ade315a5883f0228a6e",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1754340878,
"narHash": "sha256-lgmUyVQL9tSnvvIvBp7x1euhkkCho7n3TMzgjdvgPoU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "cab778239e705082fe97bb4990e0d24c50924c04",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-compat": "flake-compat",
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs",
"systems": "systems",
"treefmt-nix": "treefmt-nix"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1755934250,
"narHash": "sha256-CsDojnMgYsfshQw3t4zjRUkmMmUdZGthl16bXVWgRYU=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "74e1a52d5bd9430312f8d1b8b0354c92c17453e5",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
}
},
"root": "root",
"version": 7
}
computing lock file node ''
computing input 'flake-compat'
keeping existing input 'flake-compat'
computing lock file node 'flake-compat'
computing input 'flake-parts'
keeping existing input 'flake-parts'
computing lock file node 'flake-parts'
computing input 'flake-parts/nixpkgs-lib'
keeping existing input 'flake-parts/nixpkgs-lib'
computing lock file node 'flake-parts/nixpkgs-lib'
computing input 'nixpkgs'
keeping existing input 'nixpkgs'
computing lock file node 'nixpkgs'
computing input 'systems'
keeping existing input 'systems'
computing lock file node 'systems'
computing input 'treefmt-nix'
keeping existing input 'treefmt-nix'
computing lock file node 'treefmt-nix'
computing input 'treefmt-nix/nixpkgs'
keeping existing input 'treefmt-nix/nixpkgs'
computing lock file node 'treefmt-nix/nixpkgs'
new lock file: {
"nodes": {
"flake-compat": {
"locked": {
"lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"revCount": 69,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1754487366,
"narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1756217674,
"narHash": "sha256-TH1SfSP523QI7kcPiNtMAEuwZR3Jdz0MCDXPs7TS8uo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4e7667a90c167f7a81d906e5a75cba4ad8bee620",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1753579242,
"narHash": "sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "0f36c44e01a6129be94e3ade315a5883f0228a6e",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1754340878,
"narHash": "sha256-lgmUyVQL9tSnvvIvBp7x1euhkkCho7n3TMzgjdvgPoU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "cab778239e705082fe97bb4990e0d24c50924c04",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-compat": "flake-compat",
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs",
"systems": "systems",
"treefmt-nix": "treefmt-nix"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1755934250,
"narHash": "sha256-CsDojnMgYsfshQw3t4zjRUkmMmUdZGthl16bXVWgRYU=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "74e1a52d5bd9430312f8d1b8b0354c92c17453e5",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
}
},
"root": "root",
"version": 7
}
trying flake output attribute 'packages.x86_64-linux.default'
trying flake output attribute 'defaultPackage.x86_64-linux'
using cached attrset attribute ''
using cached string attribute 'packages.x86_64-linux.default.type'
using cached string attribute 'packages.x86_64-linux.default.drvPath'
performing daemon worker op: 1
using cached list of strings attribute 'packages.x86_64-linux.default.meta.outputsToInstall'
got build log for 'github:jesseduffield/lazygit#packages.x86_64-linux.default' from 'daemon'
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/j7pdzc5z4xf4yvm10bwn9immcfi6zbhr-p6142g3sm3rvsw0bx345nj2ymy2mp5nh-source
source root is p6142g3sm3rvsw0bx345nj2ymy2mp5nh-source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Building subPackage .
go: go.mod requires go >= 1.25.0 (running go 1.24.5; GOTOOLCHAIN=local)
Originally posted by @minhtrancccp in #4826 (comment)
Metadata
Metadata
Assignees
Labels
No labels