Commit Graph

1442 Commits

Author SHA1 Message Date
Arnout Engelen
a54969c218
Document how to drop PHP target-dir attribute
Fixes #491 by documenting how to use flake `packageOverrides`
to drop the attribute
2023-03-25 11:16:34 +01:00
DavHau
7f422cf4f3
Merge pull request #490 from raboof/document-adding-projects.toml-to-git
Document adding `project.toml` to git more explicitly
2023-03-17 19:47:28 +07:00
Arnout Engelen
0987c82ee2
Document adding project.toml to git more explicitly
Easy to miss for beginning users :)
2023-03-17 11:25:46 +01:00
DavHau
b33c9b858d
Merge pull request #489 from raboof/document-inspecting-generic-lockfile
Document inspecting the generic lockfile
2023-03-17 17:15:47 +07:00
Arnout Engelen
88b0e94dfa
Document inspecting the generic lockfile 2023-03-17 09:25:32 +01:00
DavHau
b33fb62466
Merge pull request #486 from phaer/merge-v1
v1: merge attrs-from-nixpkgs into nixpkgs-override
2023-03-17 12:36:02 +07:00
phaer
0007206ea1 feat: merge attrs-from-... into nixpkgs-overrides 2023-03-15 14:12:48 +01:00
DavHau
1d36c7f3ce
Merge pull request #485 from nix-community/merge-v1
Init module system based dream2nix (towards V1 API)
2023-03-13 19:53:45 +07:00
DavHau
e8e2978bd4 chore(v1/drvs): update json cache files 2023-03-13 13:38:35 +07:00
DavHau
2404e5e449 fix(v1/eval-cache): several fixes 2023-03-13 13:36:52 +07:00
DavHau
fe667757c8 chore(v1/docs): add doc comments to some flake-parts modules 2023-03-13 12:46:11 +07:00
DavHau
7f2d9e53fa fix(format): reformat write-dependency-tree.py 2023-03-13 12:46:11 +07:00
DavHau
182cdf306d fix(v1/packages): update FOD hashes for all python packages 2023-03-13 12:46:11 +07:00
DavHau
969847352f fix(v1/packages): only output for x86_64-linux 2023-03-13 12:46:11 +07:00
DavHau
d152844a15 fix(fetchPythonRequirements): output sorted dict 2023-03-13 12:46:11 +07:00
DavHau
600a2cbecc chore(formatting): reformat v1 code - python files 2023-03-13 12:46:11 +07:00
DavHau
d96e7234e3 chore(formatting): format v1 code with alejandra 2023-03-13 12:46:11 +07:00
DavHau
3cf6d7fcac chore(formatting): use alejandra from nixpkgs 2023-03-13 12:46:11 +07:00
DavHau
ac63eb584f feat: integrate v1 into top-level fake 2023-03-13 12:46:11 +07:00
DavHau
93102e5fdf feat(mach-nix): init module nixpkgs-overrides 2023-03-13 12:46:11 +07:00
DavHau
6210b38ef3 chore: switch nixpkgs to nixos-22.11 and update FOD hashes 2023-03-13 12:46:11 +07:00
phaer
71c396138c feat(mach-nix): use drv-parts for dependencies. 2023-03-13 12:46:11 +07:00
phaer
52a6fc802a style(mach-nix): add makeModuleFromDerivation 2023-03-13 12:46:11 +07:00
phaer
d1ff045a1b style(mach-nix): manualSetupDeps -> mkWheelDist 2023-03-13 12:46:11 +07:00
phaer
173d76b688 feat(mach-nix): wip, split nixpkgsAttrs -> module 2023-03-13 12:46:11 +07:00
phaer
169da1c545 style(mach-nix): refactor wheel preparation 2023-03-13 12:46:11 +07:00
phaer
61c0f29e86 style(mach-nix): reorder, consolidate distDir...
..naming, inline isWheel
2023-03-13 12:46:11 +07:00
phaer
6fd4c8a93b chore(mach-nix): inline only use of getDistDir 2023-03-13 12:46:11 +07:00
DavHau
c04a8a7ea7 chore: adapt to apache-airflow to new interface 2023-03-13 12:46:11 +07:00
DavHau
30e04b5316 feat(mach-nix): cache dependency tree 2023-03-13 12:46:11 +07:00
DavHau
faec8a4156 feat: add buildPythonPackage module 2023-03-13 12:46:11 +07:00
DavHau
39cc8d24f4 update FOD hash of apache-airflow 2023-03-13 12:46:11 +07:00
DavHau
2cdc1aa0e0 feat: use dependency tree only for sdist builds 2023-03-13 12:46:11 +07:00
DavHau
8ea18aa69a fix(python): nativeBuildInputs not applied 2023-03-13 12:46:11 +07:00
phaer
123e6cfe7a wip: use new drv-parts mkDerivation interface 2023-03-13 12:46:11 +07:00
phaer
b2024ad22e move dependency analysis to fetch-python-reqs...
..to require only one IFD
2023-03-13 12:46:11 +07:00
phaer
e5a8cd6e69 chore, mach-nix-xs: use dict for dep tree 2023-03-13 12:46:11 +07:00
phaer
5427ea668e fetch-python-requirements: make more robust...
...and handle packages which might not even contain
a PKG_INFO. They could still include requirements.txt, otherwise
no dependencies are assumed.
2023-03-13 12:46:11 +07:00
phaer
724ed96702 use drv-parts.derivationFromModules for deps 2023-03-13 12:46:11 +07:00
phaer
907f9a9003 proof-of-concept: granular python builder 2023-03-13 12:46:11 +07:00
DavHau
05f35fcbb7 chore: add comments to packages.nix 2023-03-13 12:46:11 +07:00
DavHau
8759480041 feat(mkDerivation-based): use mkDerivation-based helper from drv-parts 2023-03-13 12:46:11 +07:00
DavHau
51c92b53b4 feat: update drv-parts (package-func) 2023-03-13 12:46:11 +07:00
DavHau
9cdf46c3da feat: add integration for buildPythonPackage 2023-03-13 12:46:11 +07:00
DavHau
7e72557a5d feat: update drv-parts with public.name etc. 2023-03-13 12:46:11 +07:00
DavHau
4ac734d6f9 feat: update drv-parts with namespaced pkg-funcs 2023-03-13 12:46:11 +07:00
phaer
9ed740937e feat: re-implement fetch-python-requirements...
in python. This canonicalizes package name with the official
`packaging` package and handels TLS ca certificates, so that
pip does not need --trusted-host args anymore.
2023-03-13 12:46:11 +07:00
DavHau
d3a15ccda7 feat: init fetchPythonRequirements 2023-03-13 12:46:11 +07:00
DavHau
9806104d2b feat: init docs (WIP) 2023-03-13 12:46:11 +07:00
DavHau
484a95ef9d fix(writers): fix some bugs 2023-03-13 12:46:11 +07:00