updated uv
This commit is contained in:
parent
54f967505e
commit
f1f705de7c
3 changed files with 22 additions and 20 deletions
|
@ -27,11 +27,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733873195,
|
"lastModified": 1733951607,
|
||||||
"narHash": "sha256-dTosiZ3sZ/NKoLKQ++v8nZdEHya0eTNEsaizNp+MUPM=",
|
"narHash": "sha256-CN6q6iCzxI1gkNyk4xLdwaMKi10r7n+aJkRzWj8PXwQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "f26aa4b76fb7606127032d33ac73d7d507d82758",
|
"rev": "6e5b2d9e8014b5572e3367937a329e7053458d34",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -7,11 +7,11 @@
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "uv-bin";
|
pname = "uv-bin";
|
||||||
version = "0.5.6";
|
version = "0.5.8";
|
||||||
|
|
||||||
src = fetchTarball {
|
src = fetchTarball {
|
||||||
url = "https://github.com/astral-sh/uv/releases/download/${version}/uv-x86_64-unknown-linux-gnu.tar.gz";
|
url = "https://github.com/astral-sh/uv/releases/download/${version}/uv-x86_64-unknown-linux-gnu.tar.gz";
|
||||||
sha256 = "1xh8r00a1zrafil105x9bhlhnniawqh9hmb5pv1y2amn1m1gpqbf";
|
sha256 = "1akyn28x8hgyi9l588vcscs7z72g8zhgia1h2jr5d3rrjdnxssrh";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -21,6 +21,7 @@ def main() -> int:
|
||||||
|
|
||||||
built_packages_paths = []
|
built_packages_paths = []
|
||||||
for package in packages.get("x86_64-linux").keys():
|
for package in packages.get("x86_64-linux").keys():
|
||||||
|
try:
|
||||||
out_path = (
|
out_path = (
|
||||||
sp.check_output(
|
sp.check_output(
|
||||||
[
|
[
|
||||||
|
@ -29,14 +30,15 @@ def main() -> int:
|
||||||
f".#{package}",
|
f".#{package}",
|
||||||
"--no-link",
|
"--no-link",
|
||||||
"--print-out-paths",
|
"--print-out-paths",
|
||||||
]
|
],
|
||||||
)
|
)
|
||||||
.decode("utf-8")
|
.decode("utf-8")
|
||||||
.strip()
|
.strip()
|
||||||
)
|
)
|
||||||
built_packages_paths.append(out_path)
|
built_packages_paths.append(out_path)
|
||||||
|
|
||||||
print("\n".join(built_packages_paths))
|
print("\n".join(built_packages_paths))
|
||||||
|
except sp.CalledProcessError as err:
|
||||||
|
print(f"Failed building package {package}")
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue