1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/stdenv/generic
Adam Joseph 607d59fa9e check-meta.nix: make non-source consistent with documentation
The documentation for `meta.sourceProvenance` in
`doc/stdenv/meta.chapter.md` says: "the `meta.sourceProvenance`
attribute should be a list containing one or more value..."

Let's update check-meta.nix to require that `meta.sourceProvenance` is
a list, as the documentation says, rather than a single element.

Adding two extra keystrokes `[` and `]` when filling out this field is
an insignificant burden for package authors, and being able to assume
that the `meta.sourceProvenance` field is always a list greatly
simplifies any code that acts on the value of this field.

Since `meta.sourceProvenance` was just merged a few hours ago now is
the easiest time to fix this: nobody is using the feature yet.
2023-01-01 18:21:11 -08:00
..
builder.sh
check-meta.nix check-meta.nix: make non-source consistent with documentation 2023-01-01 18:21:11 -08:00
common-path.nix stdenv/common-path.nix: move to stdenv/generic/ 2022-07-29 18:24:00 -04:00
default-builder.sh
default.nix stdenv.tests: Add succeedOnFailure 2022-11-14 19:03:35 +01:00
make-derivation.nix splice.nix: start deprecating nativeDrv and crossDrv 2022-11-19 00:04:54 +02:00
setup.sh stdenv: fix succeedOnFailure 2022-11-12 19:25:14 +01:00