Commit Graph

2063 Commits

Author SHA1 Message Date
github-actions[bot]
bcc2c688c6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/79bb4155141a5e68f2bdee2bf6af35b1d27d3a1d' (2024-03-18)
  → 'github:NixOS/nixpkgs/5710127d9693421e78cca4f74fac2db6d67162b1' (2024-03-19)
2024-03-19 18:31:28 +00:00
github-actions[bot]
86839949c3 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6af7e814afb3b62171eee1edc31989ee61528d25' (2024-03-17)
  → 'github:NixOS/nixpkgs/79bb4155141a5e68f2bdee2bf6af35b1d27d3a1d' (2024-03-18)
2024-03-18 18:31:48 +00:00
github-actions[bot]
ddf96a02fa flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6af7e814afb3b62171eee1edc31989ee61528d25' (2024-03-17)
  → 'github:NixOS/nixpkgs/79bb4155141a5e68f2bdee2bf6af35b1d27d3a1d' (2024-03-18)
2024-03-18 18:31:48 +00:00
DavHau
f017de2de4 mkDerivation: stop depending on all core modules
mkDerivation should be minimal, but currently it always pulls in modules like `lock` and `paths` etc. despite those not being needed for many instances, like when mkDerivation is imported by a dependency.

Modules like pip which do need some of these core modules, now need to directly depend on them.

This will remove a bunch of unneeded options which currently pollute the manual.

The remaining core dependencies of mkDerivation are now: deps, env, ui
2024-03-18 11:15:30 +00:00
github-actions[bot]
c4e13905aa flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9af9c1c87ed3e3ed271934cb896e0cdd33dae212' (2024-03-15)
  → 'github:NixOS/nixpkgs/6af7e814afb3b62171eee1edc31989ee61528d25' (2024-03-17)
2024-03-17 18:29:58 +00:00
github-actions[bot]
c9a58c5d4a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9af9c1c87ed3e3ed271934cb896e0cdd33dae212' (2024-03-15)
  → 'github:NixOS/nixpkgs/6af7e814afb3b62171eee1edc31989ee61528d25' (2024-03-17)
2024-03-17 18:29:58 +00:00
DavHau
f15cc37662 mkDerivation/builtins-derivation: refactor: implementation.nix -> default.nix 2024-03-17 22:55:10 +07:00
DavHau
6bbac51494 python/pdm: hide groups as implementation detail
The most important feature of the groups module was the overriding which is a separate module now. Therefore removing the fact that groups are used from the docs to decrease the API surface to maintain.

Instead render the override and overrideAll options in the manual of pdm correctly by setting `overrideType`.
2024-03-17 15:48:07 +00:00
DavHau
41a1973ed3 groups: remove options overrides and overrideAll
...since those are now managed by the dedicated overrides module
2024-03-17 14:37:33 +00:00
DavHau
86e4b94689 docs/overrides: explain how to find options 2024-03-17 14:34:12 +00:00
DavHau
b6e6d36f9d docs: init overrides 2024-03-17 09:27:24 +00:00
DavHau
1e50686303 overrides/python: init opencv-python 2024-03-17 09:01:20 +00:00
DavHau
87c725e8db python: remove catchConflicts = false overrides
Those are not needed anymore since the hook has been improved in nixpkgs
2024-03-17 07:32:33 +00:00
DavHau
b8d00b7c98 docs: update module system intro 2024-03-17 06:04:46 +00:00
github-actions[bot]
6edfbb2c0b flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b1d47989352fcb722a1f19295a9461ed1ef8435a' (2024-03-15)
  → 'github:NixOS/nixpkgs/9af9c1c87ed3e3ed271934cb896e0cdd33dae212' (2024-03-15)
2024-03-16 18:32:59 +00:00
github-actions[bot]
bfbe286c72 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b1d47989352fcb722a1f19295a9461ed1ef8435a' (2024-03-15)
  → 'github:NixOS/nixpkgs/9af9c1c87ed3e3ed271934cb896e0cdd33dae212' (2024-03-15)
2024-03-16 18:32:59 +00:00
github-actions[bot]
aa1bff0183 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/db001797591bf76f7b8d4c4ed3b49233391e0c97' (2024-03-14)
  → 'github:NixOS/nixpkgs/b1d47989352fcb722a1f19295a9461ed1ef8435a' (2024-03-15)
2024-03-15 18:32:55 +00:00
github-actions[bot]
9000c66381 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/db001797591bf76f7b8d4c4ed3b49233391e0c97' (2024-03-14)
  → 'github:NixOS/nixpkgs/b1d47989352fcb722a1f19295a9461ed1ef8435a' (2024-03-15)
2024-03-15 18:32:55 +00:00
github-actions[bot]
5c2548faf1 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4008381882569ab4773f2ba0d7b7bbde8f665672' (2024-03-13)
  → 'github:NixOS/nixpkgs/db001797591bf76f7b8d4c4ed3b49233391e0c97' (2024-03-14)
2024-03-14 19:06:01 +00:00
github-actions[bot]
2a71dfbf2e flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4008381882569ab4773f2ba0d7b7bbde8f665672' (2024-03-13)
  → 'github:NixOS/nixpkgs/db001797591bf76f7b8d4c4ed3b49233391e0c97' (2024-03-14)
2024-03-14 19:06:01 +00:00
github-actions[bot]
086e2ea920 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7eeacecff44e05a9fd61b9e03836b66ecde8a525' (2024-03-12)
  → 'github:NixOS/nixpkgs/4008381882569ab4773f2ba0d7b7bbde8f665672' (2024-03-13)
2024-03-13 19:29:02 +00:00
github-actions[bot]
f3ef498e04 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7eeacecff44e05a9fd61b9e03836b66ecde8a525' (2024-03-12)
  → 'github:NixOS/nixpkgs/4008381882569ab4773f2ba0d7b7bbde8f665672' (2024-03-13)
2024-03-13 19:29:02 +00:00
DavHau
b727a07775 override: unify overriding across modules
Add options `overrides.${name}` and `overrideAll` to all language modules that manage a dependency tree.

This is done in a backward compatible fashion. Old options for overriding dependencies continue working, though those are not displayed in the manual anymore.

For the following modules the manual now suggest using the new unified override options:
- for pip: use `pip.overrides` and `pip.overrideAll` instead of  `pip.drvs`
- for nodejs-granular-v3: use `nodejs-granular-v3.overrides` and `nodejs-granular-v3.overrideAll` instead of `nodejs-granular-v3.deps`
- `php-granular`: use `php-granular.override` and `php-granular.overrideAll` instead of `php-granular.deps`
2024-03-13 14:25:41 +07:00
github-actions[bot]
cd782df677 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8c4e5e571696d4c476881cf90257c3dd0e66b0dd' (2024-03-11)
  → 'github:NixOS/nixpkgs/7eeacecff44e05a9fd61b9e03836b66ecde8a525' (2024-03-12)
2024-03-12 18:32:58 +00:00
github-actions[bot]
156b4cc1f7 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8c4e5e571696d4c476881cf90257c3dd0e66b0dd' (2024-03-11)
  → 'github:NixOS/nixpkgs/7eeacecff44e05a9fd61b9e03836b66ecde8a525' (2024-03-12)
2024-03-12 18:32:58 +00:00
DavHau
63ab24d893 docs: refine public/experimental
Move some barely used modules to the experimental section to reduce surface.
Instead of the separate dev-shell module the nodejs package should have a devShell subattribute.
2024-03-12 11:25:12 +00:00
DavHau
45d941d49f docs: don't strip foreign module options
previously the options of other imported modules were not shown which gave an incomplete picture. For example the docs page for the `pip` module did not show the options prefixed with `mkDerivation` which are accepted and needed by the pip module.
It's better to have everything on one page for each module.
2024-03-12 11:05:59 +00:00
DavHau
ba4be52cdf ci: build website only on x86_64-linux to reduce build time
The website builds really slow on other platforms due to the buildbot remote builder setup.
2024-03-12 10:08:01 +00:00
DavHau
211528826c cleanup core options
- don't import eval-cache and flags modules by default (those have never been used so far)
- mark options of package-func as internal. Those are for maintainers only and don't need to be rendered by default
2024-03-12 09:41:59 +00:00
DavHau
a1d2290029 docs: fix template attr in examples readme 2024-03-12 07:33:46 +00:00
DavHau
bb13da673a checks.nix-unit: use nix-unit from nixpkgs 2024-03-12 07:09:04 +00:00
github-actions[bot]
84b7f8e7a9 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f945939fd679284d736112d3d5410eb867f3b31c' (2024-03-07)
  → 'github:NixOS/nixpkgs/8c4e5e571696d4c476881cf90257c3dd0e66b0dd' (2024-03-11)
2024-03-12 07:09:04 +00:00
github-actions[bot]
3a340fa1d5 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f945939fd679284d736112d3d5410eb867f3b31c' (2024-03-07)
  → 'github:NixOS/nixpkgs/8c4e5e571696d4c476881cf90257c3dd0e66b0dd' (2024-03-11)
2024-03-12 07:09:04 +00:00
dependabot[bot]
44ca3f4504 chore(deps): bump cachix/install-nix-action from 25 to 26
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](6004951b18...8887e596b4)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 21:39:07 +00:00
DavHau
63c9f51a43 pdm: add test for jupyterlab 2024-03-11 14:24:27 +00:00
DavHau
deb4c98014 docs: fix links to examples 2024-03-11 10:41:05 +00:00
DavHau
42838c5909 examples: cleanup and rename to simplify
- name example more consistently, eg. `{language}-packaging-{feature}` or `{language}-local-development-{feature}`
- move some examples to the modules integration tests directory instead as their purpose was mainly testing and they weren't good example
- module owned checks: import via flake if available
2024-03-09 04:45:59 +00:00
github-actions[bot]
32e62d56b0 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/58ae79ea707579c40102ddf62d84b902a987c58b' (2024-03-06)
  → 'github:NixOS/nixpkgs/f945939fd679284d736112d3d5410eb867f3b31c' (2024-03-07)
2024-03-07 18:33:48 +00:00
github-actions[bot]
80b26e6fdb flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/58ae79ea707579c40102ddf62d84b902a987c58b' (2024-03-06)
  → 'github:NixOS/nixpkgs/f945939fd679284d736112d3d5410eb867f3b31c' (2024-03-07)
2024-03-07 18:33:48 +00:00
DavHau
3b9e0780a0 docs: separate public and internal modules 2024-03-07 08:51:00 +00:00
github-actions[bot]
1633930077 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fa9a51752f1b5de583ad5213eb621be071806663' (2024-03-02)
  → 'github:NixOS/nixpkgs/58ae79ea707579c40102ddf62d84b902a987c58b' (2024-03-06)
2024-03-07 05:55:44 +00:00
github-actions[bot]
c22e492c65 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fa9a51752f1b5de583ad5213eb621be071806663' (2024-03-02)
  → 'github:NixOS/nixpkgs/58ae79ea707579c40102ddf62d84b902a987c58b' (2024-03-06)
2024-03-07 05:55:44 +00:00
DavHau
5f6c966ab3 update-flake: fix to work with multiple directories once 2024-03-07 05:22:52 +00:00
github-actions[bot]
4ced9f942b flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ebe6e807793e7c9cc59cf81225fdee1a03413811' (2024-02-29)
  → 'github:NixOS/nixpkgs/fa9a51752f1b5de583ad5213eb621be071806663' (2024-03-02)
2024-03-04 18:31:45 +00:00
github-actions[bot]
dadf8bee15 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ec869190b56a1b4677d24a8bdbcfe80ccea2ece6' (2024-03-01)
  → 'github:NixOS/nixpkgs/fa9a51752f1b5de583ad5213eb621be071806663' (2024-03-02)
2024-03-03 18:30:43 +00:00
github-actions[bot]
effd30d890 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8520c158aee718c6e87b56881105fc4223c3c723' (2024-02-27)
  → 'github:NixOS/nixpkgs/ec869190b56a1b4677d24a8bdbcfe80ccea2ece6' (2024-03-01)
2024-03-01 18:36:26 +00:00
github-actions[bot]
a87faedc63 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d53c2037394da6fe98decca417fc8fda64bf2443' (2024-02-28)
  → 'github:NixOS/nixpkgs/ebe6e807793e7c9cc59cf81225fdee1a03413811' (2024-02-29)
2024-02-29 18:34:56 +00:00
github-actions[bot]
91f90515a2 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f63ce824cd2f036216eb5f637dfef31e1a03ee89' (2024-02-24)
  → 'github:NixOS/nixpkgs/d53c2037394da6fe98decca417fc8fda64bf2443' (2024-02-28)
2024-02-28 18:32:22 +00:00
DavHau
e8f018187c fix collision issue with deps.bash 2024-02-28 07:08:39 +00:00
github-actions[bot]
06675abc58 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2a34566b67bef34c551f204063faeecc444ae9da' (2024-02-25)
  → 'github:NixOS/nixpkgs/8520c158aee718c6e87b56881105fc4223c3c723' (2024-02-27)
2024-02-27 18:55:11 +00:00