Commit Graph

2182 Commits

Author SHA1 Message Date
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
github-actions[bot]
02a61c9aeb flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f63ce824cd2f036216eb5f637dfef31e1a03ee89' (2024-02-24)
  → 'github:NixOS/nixpkgs/2a34566b67bef34c551f204063faeecc444ae9da' (2024-02-25)
2024-02-26 18:30:19 +00:00
DavHau
87969620a1 jobs: update nixpkgs daily 2024-02-24 14:09:08 +00:00
DavHau
887022b8c1 update nixpkgs:
- downgrade mitmproxy to avoid breakage
- add test for pip lock script
- fix bug in flake compat implementation (https://github.com/nix-community/flake-compat/pull/4#issuecomment-1950301370)
- small fix in docs for lock and eval-cache
- fix lock refresh script: don't swallow errors
2024-02-24 13:47:45 +00:00
DavHau
3308e05808 pdm: add rudimentary devShell
Also fix lock script to not swallow error messages
2024-02-20 11:53:54 +00:00
DavHau
5a5ae25b04 fetching: set shallow=true for all fetchGit calls
This should lead to better performance
Also set allRefs=true in some places, as this reduces the risk of running into issues with older nix versions
2024-02-18 14:08:51 +07:00
Johannes Kirschbauer
3065f50344 nodejs: handle more npm dependency types 2024-02-16 09:44:32 +00:00
Johannes Kirschbauer
eed2342f7f nodejs: move installation into derivation module 2024-02-16 03:59:35 +00:00
Johannes Kirschbauer
8a040b7a96 nodejs: add simple nextjs example 2024-02-15 07:22:18 +00:00
Johannes Kirschbauer
10b523238c nodejs: move outputs in seperate module files 2024-02-15 06:42:10 +00:00
Arnout Engelen
367e7fcc98 Getting started docs
I always forget how to get going with dream2nix, and while this
page doesn't contain much more than you'd already find in the
examples, I do think it's a good starting point for allowing
people to start more confidently.
2024-02-09 20:33:18 +07:00
DavHau
936208ae7d Revert "update nixpkgs"
This reverts commit 1c2b47f042.
2024-02-06 19:44:35 +07:00
DavHau
1c2b47f042 update nixpkgs 2024-02-05 14:53:35 +00:00
DavHau
16f2c654c6 pdm: stop using config.deps.python3 in favor of config.deps.python 2024-01-24 08:09:56 +00:00
DavHau
0a30902e27 pdm: fix various bugs
- default to correct version of setuptools from lock file
- better default for python3 set in dream2nix.core.paths
2024-01-24 07:29:32 +00:00
Jairo Llopis
233c4d8106 fix(nodejs-package-json-v3): remove duplicate dependency 2024-01-23 20:32:36 +07:00
Vincent Vanlaer
eb3b7028d5 pip: allow git+ssh dependencies 2024-01-23 20:31:31 +07:00
Herman Fries
774019d486 lock: Extend environment instead of replacing it
This allows running impure commands, that rely on user's configuration. E.g. to access a private gitlab project.
2024-01-20 02:05:05 +00:00
Johannes Kirschbauer
bf07b8fb37 add filesystem test 2024-01-19 12:02:18 +00:00
Johannes Kirschbauer
df26fb319f simplify graph methods & add more tests for fileSystem 2024-01-19 12:02:18 +00:00
DavHau
4f2a64a66f nodejs-v3-builder: ensure top-level config is exported 2024-01-18 13:22:00 +00:00
Johannes Kirschbauer
a27d3894ae
Feat/group pkgs versions (#757)
* add derived graph

* rework graph sanitizing based on list keys

* figure out details for builder

* format stuff!

* try get groups working

* nodejs: fixups for new v3 builder

Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com>

---------

Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
2024-01-18 19:56:00 +07:00
Johannes Kirschbauer
57fd52adcd run install scripts: init
add option: 'trustedDeps'. Only install scripts of explizit added dependencies are run.
In the future there may be wildcards to allow running all install scripts
2024-01-18 09:15:06 +00:00
f
0af1c36d17 change empty string to empty array 2024-01-17 12:56:20 +07:00
phaer
3fc4a2ad97 pdm: only default to given python3 in overrideAll. 2024-01-17 12:50:16 +07:00
dependabot[bot]
5fd5e3ea18 chore(deps): bump cachix/install-nix-action from 24 to 25
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](7ac1ec2549...6004951b18)

---
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-01-15 21:50:53 +00:00
Johannes Kirschbauer
8300ad2d78 add custom unpackPhase from the original nodejs builder
- [x] examples still build
2024-01-12 17:03:39 +07:00
DavHau
00f1223642 pdm: default to setuptools as build system
This is the upstream default, so it doesn't hut to just include it everywhere
2024-01-08 15:45:18 +00:00
DavHau
ca706acbad pdm: lock fully, remove --refresh
--refresh only works well with already existing lock files
2024-01-08 22:41:18 +07:00
DavHau
0fb528d452 pdm: refresh pdm.lock on 'nix run .#{package}.lock' 2024-01-07 17:40:55 +00:00
DavHau
28f44827e4 fix(pip): prevent conflict if setuptools is runtime dependency 2024-01-07 13:33:48 +00:00
DavHau
935df57a46 pip: add test can-build-setuptools
to ensure that a setuptools dependency doesn't raise a collision
2024-01-07 13:00:47 +00:00