Commit Graph

2182 Commits

Author SHA1 Message Date
purepani
4710341e67 python/pdm: Fixes order of build inputs in devShell so that the path to
path to the interpreter is correct.
2024-03-29 02:50:26 +00:00
github-actions[bot]
a49444a5ef flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/07262b18b97000d16a4bdb003418bd2fb067a932' (2024-03-25)
  → 'github:NixOS/nixpkgs/72c6ed328aa4e5d9151b1a512f6ad83aca7529fa' (2024-03-28)
2024-03-28 18:37:45 +00:00
github-actions[bot]
d651069ba1 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/07262b18b97000d16a4bdb003418bd2fb067a932' (2024-03-25)
  → 'github:NixOS/nixpkgs/72c6ed328aa4e5d9151b1a512f6ad83aca7529fa' (2024-03-28)
2024-03-28 18:37:45 +00:00
purepani
e22815e5f1 overrides/python: Adds qt support for opencv 2024-03-28 21:02:44 +07:00
github-actions[bot]
aeed2baa96 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c726225724e681b3626acc941c6f95d2b0602087' (2024-03-25)
  → 'github:NixOS/nixpkgs/07262b18b97000d16a4bdb003418bd2fb067a932' (2024-03-25)
2024-03-27 18:32:06 +00:00
github-actions[bot]
fe4ff06ff9 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c726225724e681b3626acc941c6f95d2b0602087' (2024-03-25)
  → 'github:NixOS/nixpkgs/07262b18b97000d16a4bdb003418bd2fb067a932' (2024-03-25)
2024-03-27 18:32:06 +00:00
github-actions[bot]
7935452a7c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e1d501922fd7351da4200e1275dfcf5faaad1220' (2024-03-23)
  → 'github:NixOS/nixpkgs/c726225724e681b3626acc941c6f95d2b0602087' (2024-03-25)
2024-03-26 18:32:29 +00:00
github-actions[bot]
c64dcd613b flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e1d501922fd7351da4200e1275dfcf5faaad1220' (2024-03-23)
  → 'github:NixOS/nixpkgs/c726225724e681b3626acc941c6f95d2b0602087' (2024-03-25)
2024-03-26 18:32:29 +00:00
DavHau
6ddb9a7f5e override/python: fix devShells for nvidia packages 2024-03-26 05:53:26 +00:00
DavHau
306e5bff07 pythonEnv: init
Add experimental one-liner command to create python environments.

```command
$ nix run github:nix-community/dream2nix#__pythonEnv requests whisper-ctranslate2
...

$ python -c "import requests; print('imported requests')"
imported requests

$ whisper-ctranslate2 --version
whisper-ctranslate2 0.4.1
```
2024-03-26 05:03:45 +00:00
DavHau
beceb215cc examples/python: fix apache-airflow example 2024-03-25 06:15:31 +00:00
DavHau
e25aceb07a fetchPipMetadata: fix build of mitmproxy 2024-03-25 06:15:31 +00:00
DavHau
060ca6c38a filter-pypi-responses.py: format 2024-03-25 06:15:31 +00:00
github-actions[bot]
455170b457 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7872526e9c5332274ea5932a0c3270d6e4724f3b' (2024-03-19)
  → 'github:NixOS/nixpkgs/e1d501922fd7351da4200e1275dfcf5faaad1220' (2024-03-23)
2024-03-25 06:15:31 +00:00
github-actions[bot]
90e6508c68 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7872526e9c5332274ea5932a0c3270d6e4724f3b' (2024-03-19)
  → 'github:NixOS/nixpkgs/e1d501922fd7351da4200e1275dfcf5faaad1220' (2024-03-23)
2024-03-25 06:15:31 +00:00
Robert Hensing
d623e6ec21 mkDerivation: fix typo in checkFlags 2024-03-22 21:02:23 +07:00
github-actions[bot]
45ec75f466 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5710127d9693421e78cca4f74fac2db6d67162b1' (2024-03-19)
  → 'github:NixOS/nixpkgs/7872526e9c5332274ea5932a0c3270d6e4724f3b' (2024-03-19)
2024-03-20 18:31:59 +00:00
github-actions[bot]
2e34911290 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5710127d9693421e78cca4f74fac2db6d67162b1' (2024-03-19)
  → 'github:NixOS/nixpkgs/7872526e9c5332274ea5932a0c3270d6e4724f3b' (2024-03-19)
2024-03-20 18:31:59 +00:00
github-actions[bot]
057505151f 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]
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