Commit Graph

10 Commits

Author SHA1 Message Date
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Yueh-Shun Li
91b3db1309 treewide: fix sourceRoot for fetchgit-based src
According to Nixpkgs manual[1] and NixOS 23.11 Release Note[2], the
`sourceRoot` attribute passed to `stdenv.mkDerivation` should be
specified as `"${src.name}"` or `"${src.name}/subdir"` when `src` is
produced using `fetchgit`-based fetchers.

`sourceRoot = "source"` or `sourceRoot = "source/subdir"` is based on
the assumption that the `name` attribute of these pre-unpacked fetchers
are always `"source"`, which is not the case. Expecting constant `name`
also makes the source FODs prone to irrelevent hashes during version
bumps.

[1]: https://nixos.org/manual/nixpkgs/unstable/#var-stdenv-sourceRoot
[2]: https://nixos.org/manual/nixos/stable/release-notes#sec-release-23.11
2024-03-09 07:53:25 +08:00
R. Ryantm
7bd7a27f2b c2fmzq: 0.4.17 -> 0.4.18 2024-01-28 13:55:17 +00:00
R. Ryantm
60b6d5ff92 c2fmzq: 0.4.16 -> 0.4.17 2023-12-31 05:52:08 +00:00
R. Ryantm
c4b20bb40e c2fmzq: 0.4.15 -> 0.4.16 2023-12-25 12:31:28 +00:00
R. Ryantm
97fccdce1e c2fmzq: 0.4.9 -> 0.4.15 2023-12-13 11:54:15 +00:00
Emery Hemingway
6df86cc655 c2nim: move out of nimPackages 2023-11-28 16:48:10 +02:00
R. Ryantm
bc62d817b5 c2fmzq: 0.4.8 -> 0.4.9 2023-10-27 13:45:00 +00:00
Henri Menke
6a874bbdbc
nixos/c2fmzq-server: add test
Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-10-26 17:27:53 +02:00
Henri Menke
356a40ad14
c2FmZQ: init at 0.4.8
Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-10-26 17:27:50 +02:00