Commit Graph

222 Commits

Author SHA1 Message Date
Adrian Gierakowski
f621753b76 flatten_references_graph: remove unused fixture and all real /nix/store paths from tests 2024-11-12 08:41:23 +00:00
Adrian Gierakowski
5b4a8db4d9 build-support/docker: customisable layering strategy
Allow customisation of the algorithm used to convert nix references
graph (created from docker image contents) to docker layers.

A collection of building blocks (python functions) is provided, which
use can assembled into a processing pipeline by specifying a list of
operations (and their initial arguments) via a nix list.

Nix references graph if first converted into a python igraph.Graph
object (with each vertex representing a nix path), which is then fed
into the user defined pipeline. Each stage in the pipeline represents a
function call, with initial arguments specified by the user in nix, and
the last argument being the result of the previous stage in the pipeline
(or the initial Graph object). Each step of the pipeline is expected to
produce a data structure consisting of arbitrarily  nested lists/dicts
with Graph objects (representing docker layers) at it's leafs. The
result of the last stage in the pipeline is recursively flattened (with
each dict converted into list of values), until a flat list of Graphs
remains. This is then output as a json array of arrays (each Graph
converted into an array of paths).

This functionality is made available via new `layeringPipeline` argument
to the `streamLayeredImage`/`buildLayeredImage` functions. The default
value of the argument has been chosen to to preserve current layering
behaviour.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-11-09 16:21:48 +00:00
Nick Cao
011f48fb22
fluent-bit: 3.1.9 -> 3.1.10 (#354664) 2024-11-09 10:35:45 -05:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
R. Ryantm
cf772c1b56 fluent-bit: 3.1.9 -> 3.1.10 2024-11-09 02:03:04 +00:00
Nikolay Korotkiy
c89cc9e33f
flashmq: 1.17.2 → 1.17.3 2024-11-08 18:49:31 +04:00
Aleksana
93c031a666
florist: init at 24.2 (#350193) 2024-11-05 12:07:23 +08:00
Lutz Berger
bdef0396f5 florist: init at 24.2 2024-11-04 13:16:02 +01:00
R. Ryantm
5f51b9d6ac flawz: 0.2.2 -> 0.3.0 2024-11-04 02:36:18 +00:00
R. Ryantm
e9a7eb4bcc flashmq: 1.17.1 -> 1.17.2 2024-11-03 05:13:57 +00:00
Aleksana
8012498109
flexget: 3.11.48 -> 3.11.49 (#350509) 2024-10-29 18:19:37 +08:00
Rick van Schijndel
7387d4446b
flawz: fix cross-compilation (#351144) 2024-10-28 21:22:44 +01:00
Aleksana
8dccb0def3
flent: fix build (#351169) 2024-10-28 20:36:23 +08:00
Alyssa Ross
c6e6d1edd6 flatpak: enable debug info 2024-10-28 08:34:29 +01:00
Aleksana
758d99d4cc
flclash: init at 0.8.66 (#351318) 2024-10-28 11:38:45 +08:00
wxt
254ddffa98
flent: 2.1.1 -> 2.2.0 2024-10-27 22:32:41 +08:00
wxt
8a432a45a3
flent,http-getter: nixfmt 2024-10-27 22:32:39 +08:00
wxt
1984e1cab9
flent,http-getter: move to by-name 2024-10-27 22:32:39 +08:00
dr56ekgbb
ef08fafbea flclash: init at 0.8.66 2024-10-26 18:34:19 +08:00
R. Ryantm
145fd69e94 flarectl: 0.105.0 -> 0.108.0 2024-10-26 08:20:13 +00:00
techknowlogick
4f2e5ffc7c flyctl: move to pkgs/by-name 2024-10-25 12:33:42 -04:00
Sergei Zimmerman
96c7d09ed7 flawz: fix cross-compilation
Use emulation to build man pages and completions when available.
2024-10-25 13:50:08 +03:00
Sergei Zimmerman
eee5863a7d flawz: reformat 2024-10-25 13:34:25 +03:00
Peder Bergebakken Sundt
49e28ceafc flexget: 3.11.48 -> 3.11.49
Changelog: https://github.com/Flexget/Flexget/releases/tag/v3.11.49
2024-10-22 18:10:28 +02:00
Peder Bergebakken Sundt
3fd22459cd flexget: 3.11.46 -> 3.11.48
Changelog: https://github.com/Flexget/Flexget/releases/tag/v3.11.48
2024-10-17 16:18:07 +02:00
Marcus Ramberg
b755388e12
fluxcd: 2.3.0 -> 2.4.0 (#345690) 2024-10-09 10:27:12 +02:00
R. Ryantm
ed4895b4d0 fluent-bit: 3.1.8 -> 3.1.9 2024-10-04 22:08:34 +02:00
h7x4
8f55b011e0
treewide: add meta.changelog (#346488)
* guix: add meta.changelog

* zile: add meta.changelog

* zoom: add meta.changelog

* zotify: add meta.changelog

* zpaqfranz: add meta.changelog

* zunit: add meta.changelog

* zxwing-cpp: add meta.changelog

* zxpy: add meta.changelog

* zydis: add meta.changelog

* zziplib: add meta.changelog

* j: add meta.changelog

* kyua: add meta.changelog

* json2ts: add meta.changelog

* igir: add meta.changelog

* ios-webkit-debug-proxy: add meta.changelog

* gpaste: add meta.changelog

* polkit_gnome: add meta.changelog

* papers: add meta.changelog

* libmsgraph: add meta.changelog

* quadrapassel: add meta.changelog

* gnome-nibbles: add meta.changelog

* decibels: add meta.changelog

* libgedit-amtk: add meta.changelog

* simple-scan: add meta.changelog

* gnome-klotski: add meta.changelog

* gnome-sound-recorder: add meta.changelog

* gnome-remote-desktop: add meta.changelog

* gnome-robots: add meta.changelog

* gnome-shell-extensions: add meta.changelog

* gnome-panel: add meta.changelog

* gnome-session: add meta.changelog

* gnome-keyring: add meta.changelog

* devhelp: add meta.changelog

* libgnome-keyring: add meta.changelog

* ghex: add meta.changelog

* gnome-connections: add meta.changelog

* lightsoff: add meta.changelog

* gnome-flashback: add meta.changelog

* livi: add meta.changelog

* mutter: add meta.changelog

* hitori: add meta.changelog

* gnome-initial-setup: add meta.changelog

* gnome-bluetooth: add meta.changelog

* gnome-shell: add meta.changelog

* gnome-sudoku: add meta.changelog

* ideamaker: add meta.changelog

* i2p: add meta.changelog

* lms: add meta.changelog

* adwaita-icon-theme: add meta.changelog

* gnome-applets: add meta.changelog

* flac123: add meta.changelog

* flaca: add meta.changelog

* flameshot: add meta.changelog

* flaresolverr: add meta.changelog

* a52dec: add meta.changelog

* hexbinhex: add meta.changelog

* dwl: add meta.changelog

* msolve: add meta.changelog

* jcli: add meta.changelog

* nmap: add meta.changelog

* nmapsi4: add meta.changelog

* labctl: add meta.changelog

* _1oom: add meta.changelog

* libipuz: add meta.changelog

* metacity: add meta.changelog

* sushi: add meta.changelog

* rygel: add meta.changelog

* zenity: add meta.changelog

* crosswords: add meta.changelog

* gnome-mahjongg: add meta.changelog

* alacarte: add meta.changelog

* loupe: add meta.changelog

* cheese: add meta.changelog

* atomix: add meta.changelog

* swell-foop: add meta.changelog

* alfis: add meta.changelog

* aperture: add meta.changelog

* atomic-swap: add meta.changelog

* besu: add meta.changelog

* bisq: add meta.changelog

* bitcoin-abc: add meta.changelog

* bitcoin-knots: add meta.changelog

* bitcd: add meta.changelog

* btcdeb: add meta.changelog

* btcpayserver: add meta.changelog

* 86box: add meta.changelog

* darling: add meta.changelog

* dosbox: add meta.changelog

* firebird-emu: add meta.changelog

* maiko: add meta.changelog

* accerciser: add meta.changelog

* adwaita-icon-theme-legacy: add meta.changelog

* dconf-editor: add meta.changelog

* eog: add meta.changelog

* evolution-data-server: add meta.changelog

* file-roller: add meta.changelog

* four-in-a-row: add meta.changelog

* gdm: add meta.changelog

* geary: add meta.changelog

* gitg: add meta.changelog

* gnome2048: add meta.changelog

* gnome-backgrounds: add meta.changelog

* gnome-text-editor: add meta.changelog

* gnome-tour: add meta.changelog

* gnome-user-share: add meta.changelog

* gxml: add meta.changelog

* tali: add meta.changelog

* totem: add meta.changelog

* mobile-broadband-provider-info: add meta.changelog

* avr: add meta.changelog

* brev-cli: add meta.changelog

* juce: add meta.changelog

* loc: add meta.changelog

* resholve: add meta.changelog

* rpiboot: add meta.changelog

* gerbera: add meta.changelog

* kdocker: add meta.changelog

* pmenu: add meta.changelog

* advancecomp: add meta.changelog

* adriconf: add meta.changelog

* interception-tools: add meta.changelog

* nabi: add meta.changelog

* gorilla-cli: add meta.changelog

* heygpt: add meta.changelog

* 6tunnel: add meta.changelog

* aria2: add meta.changelog

* logmein-hamachi: add meta.changelog

* maphosts: add meta.changelog

* qcal: add meta.changelog

* adreaper: add meta.changelog

* aflplusplus: add meta.changelog

* aide: add meta.changelog

* cameradar: add meta.changelog

* wpscan: add meta.changelog

* aha: add meta.changelog

* xcat: add meta.changelog
2024-10-04 22:35:12 +03:00
nixpkgs-merge-bot[bot]
e1519f351c
flarectl: 0.104.0 -> 0.105.0 (#345756) 2024-10-01 20:53:18 +00:00
R. Ryantm
7d89dcaeb2 flarectl: 0.104.0 -> 0.105.0 2024-10-01 19:04:33 +00:00
h7x4
0da9641c50
flatpak: Don't propagate $TZDIR into sandbox (#343704) 2024-10-01 19:32:32 +02:00
superherointj
477fb8c931 fluxcd: fix update script breakage caused by #341924 2024-10-01 09:04:31 -03:00
superherointj
b1332733d4 fluxcd: 2.3.0 -> 2.4.0
Release: https://github.com/fluxcd/flux2/releases/tag/v2.4.0
2024-10-01 08:35:40 -03:00
superherointj
edfec4fee3 fluxcd/update-script: add double quotes to prevent globbing and word splitting
Eliminates tooling warnings.
2024-10-01 08:35:21 -03:00
superherointj
e9fade465f fluxcd/update-script: use nix hash convert
Eliminates deprecation warning of former pattern.
2024-10-01 08:34:18 -03:00
Artturin
63fa53d97c treewide: reformat files which need reformatting after
`treewide: replace stdenv.is with stdenv.hostPlatform.is`
2024-09-25 00:04:39 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
97c17485d9 flexget: 3.11.45 -> 3.11.46 2024-09-23 09:41:12 +00:00
claes
a9dcd648d5 flatpak: Don't propagate /etc/zoneinfo into sandbox 2024-09-22 19:11:23 +02:00
seth
801d1d4450
flatpak: use $TZDIR for zoneinfo
Fixes #238386
2024-09-21 17:45:02 -04:00
Franz Pletz
ecc84ee17d
fluent-bit: 3.1.7 -> 3.1.8 (#342446) 2024-09-17 15:01:32 +02:00
R. Ryantm
f185333baa fluent-bit: 3.1.7 -> 3.1.8 2024-09-17 04:26:25 +00:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
Masum Reza
ac315662d2
flexget: 3.11.43 -> 3.11.45 (#341123) 2024-09-16 17:59:01 +05:30
nicoo
4538b56ab5 fluxcd: sha256hash 2024-09-15 11:25:25 +02:00
R. Ryantm
8565e8cd24 flarectl: 0.103.0 -> 0.104.0 2024-09-13 22:42:51 +00:00
Peder Bergebakken Sundt
86df4f6a36 flexget: 3.11.43 -> 3.11.45
Changelog: https://github.com/Flexget/Flexget/releases/tag/v3.11.45
2024-09-12 16:18:06 +02:00
Weijia Wang
9e3d9582b7
flameshot: 12.1.0-unstable-2024-08-02 -> 12.1.0-unstable-2024-09-01 (#339506) 2024-09-11 00:47:45 +02:00
Funkeleinhorn
4b632e63b4
flashprog: add funkeleinhorn as maintainer 2024-09-07 14:33:33 +02:00
Thiago Kenji Okada
57088c1b9d
flet-client-flutter: 0.22.1 -> 0.24.1 (#339837) 2024-09-06 14:42:15 +01:00