<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos/nixpkgs.git/pkgs/build-support/binary-cache, branch master</title>
<subtitle>Nix Packages collection</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/'/>
<entry>
<title>treewide: run nixfmt 1.0.0</title>
<updated>2025-07-24T11:55:40+00:00</updated>
<author>
<name>Wolfgang Walther</name>
<email>walther@technowledgy.de</email>
</author>
<published>2025-07-22T13:19:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=5a0711127cd8b916c3d3128f473388c8c79df0da'/>
<id>5a0711127cd8b916c3d3128f473388c8c79df0da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mkBinaryCache: add missing .nar extension</title>
<updated>2025-03-08T10:50:37+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2025-03-08T10:49:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=18e84362b63808822ff4069465857449fd7a1efd'/>
<id>18e84362b63808822ff4069465857449fd7a1efd</id>
<content type='text'>
Flagged in https://github.com/NixOS/nixpkgs/pull/376365#discussion_r1976613767.

This now properly restores the .nar extension.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Flagged in https://github.com/NixOS/nixpkgs/pull/376365#discussion_r1976613767.

This now properly restores the .nar extension.
</pre>
</div>
</content>
</entry>
<entry>
<title>mkBinaryCache: support different compression methods: xz (default), zstd, none</title>
<updated>2025-02-04T13:49:39+00:00</updated>
<author>
<name>thomasjm</name>
<email>tom@codedown.io</email>
</author>
<published>2025-01-05T08:24:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=00a218abb2d469f2a4cd4b2721b24b0dcfdb8cd1'/>
<id>00a218abb2d469f2a4cd4b2721b24b0dcfdb8cd1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mkBinaryCache: process items in parallel</title>
<updated>2025-01-23T02:38:35+00:00</updated>
<author>
<name>Tom McLaughlin</name>
<email>tom@codedown.io</email>
</author>
<published>2025-01-04T10:33:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=f702ebf5940b25b2349e021efc26357334ec76f5'/>
<id>f702ebf5940b25b2349e021efc26357334ec76f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mkBinaryCache: fix FileHashes</title>
<updated>2024-12-22T00:00:10+00:00</updated>
<author>
<name>Ryan Trinkle</name>
<email>ryan@trinkle.org</email>
</author>
<published>2024-12-21T23:57:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=173de320197ba97f2daf46b7d229055cd3732df4'/>
<id>173de320197ba97f2daf46b7d229055cd3732df4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: format all inactive Nix files</title>
<updated>2024-12-10T19:26:33+00:00</updated>
<author>
<name>Silvan Mosberger</name>
<email>silvan.mosberger@tweag.io</email>
</author>
<published>2024-12-10T19:26:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=4f0dadbf38ee4cf4cc38cbc232b7708fddf965bc'/>
<id>4f0dadbf38ee4cf4cc38cbc232b7708fddf965bc</id>
<content type='text'>
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
    result/bin/apply-formatting $NIXPKGS_PATH
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
    result/bin/apply-formatting $NIXPKGS_PATH
</pre>
</div>
</content>
</entry>
<entry>
<title>pkgs/build-support: refactor drvs using `__structuredAttrs = true`</title>
<updated>2023-10-04T16:37:00+00:00</updated>
<author>
<name>Maximilian Bosch</name>
<email>maximilian@mbosch.me</email>
</author>
<published>2023-09-28T17:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=c8f5c30c37e60d2c96c525d9df0917f852e7f5ad'/>
<id>c8f5c30c37e60d2c96c525d9df0917f852e7f5ad</id>
<content type='text'>
Derivations affected by this patch set `__structuredAttrs = true;` and
provide their own `builder`, i.e. it's necessary to `source .attrs.sh`.

Rather than adding even more `if`-`source` monstrums, I decided to
modify all of those derivations to use `buildCommand` or `runCommand`,
without `builder` being set.

Then, `$stdenv/setup` is sourced already and as a result it's safe to
assume that `NIX_ATTRS_JSON_FILE`/`NIX_ATTRS_SH_FILE` point to a usable
location both in a build and a shell session.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Derivations affected by this patch set `__structuredAttrs = true;` and
provide their own `builder`, i.e. it's necessary to `source .attrs.sh`.

Rather than adding even more `if`-`source` monstrums, I decided to
modify all of those derivations to use `buildCommand` or `runCommand`,
without `builder` being set.

Then, `$stdenv/setup` is sourced already and as a result it's safe to
assume that `NIX_ATTRS_JSON_FILE`/`NIX_ATTRS_SH_FILE` point to a usable
location both in a build and a shell session.
</pre>
</div>
</content>
</entry>
<entry>
<title>binary-cache: use lib.makeBinPath</title>
<updated>2023-06-29T22:42:14+00:00</updated>
<author>
<name>Sandro Jäckel</name>
<email>sandro.jaeckel@gmail.com</email>
</author>
<published>2023-06-29T22:42:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=88888899e5327c11b28afaa3bc64171f9ac8203e'/>
<id>88888899e5327c11b28afaa3bc64171f9ac8203e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce mkBinaryCache function</title>
<updated>2023-02-08T00:16:07+00:00</updated>
<author>
<name>Tom McLaughlin</name>
<email>tom@codedown.io</email>
</author>
<published>2022-10-04T04:06:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=d1a2a16a3a0220e8f571c07001a2ada4a664c492'/>
<id>d1a2a16a3a0220e8f571c07001a2ada4a664c492</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
