Commit Graph

1276 Commits

Author SHA1 Message Date
waalge
c8ce959207 Add docs: shoe horn 'populate projects.toml' into nix_system section 2023-01-14 11:58:38 +00:00
waalge
f06925610b fix: precommit hook for mdbook failing appropriately 2023-01-14 11:44:37 +00:00
waalge
b48cde9ec9 bad commit? 2023-01-14 11:41:52 +00:00
waalge
7a3e7af2cc add pre-commit hook for book 2023-01-14 11:39:56 +00:00
waalge
e156d5d19f mdbook builds 2023-01-13 17:22:58 +00:00
rubyowo
898440d4f5
fix: typo in a file name in a comment (#453) 2023-01-11 16:44:26 +03:00
DavHau
87c3724e8c
Merge pull request #452 from max-privatevoid/flake-parts-projects-default-name
flake-parts: set default project name based on attribute name
2023-01-11 09:08:10 +08:00
Max
0b1dd7625a examples: don't set project name explicitly 2023-01-11 01:47:04 +01:00
Max
3c59158fe8 flake-parts: set default project name based on attribute name 2023-01-11 01:33:32 +01:00
DavHau
9f6911c78d
Merge pull request #447 from hsjobeki/fix/typo-example
examples: fix small typo
2023-01-02 20:05:34 +08:00
hsjobeki
49a2d7679f examples: fix small typo 2023-01-02 13:01:31 +01:00
DavHau
b056366e94
Merge pull request #444 from oati/haskell-overrides
haskell: add zlib override
2023-01-02 19:18:11 +08:00
DavHau
29a8ace020
Merge pull request #445 from oati/flake-parts-project-version
flake-parts: add `version` option to the `project` submodule
2023-01-02 19:17:04 +08:00
DavHau
618758ddbd
Merge pull request #439 from oati/haskell-add-constraints
haskell builder: add a `--constraint` to `configureFlags` for each dependency
2023-01-02 17:29:53 +08:00
DavHau
c71ce49fe3
Update default.nix 2023-01-02 17:29:29 +08:00
Yusuf Bera Ertan
7ca3383c2c
Merge pull request #434 from zainab-ali/main 2022-12-30 16:32:53 +03:00
Erin
37c7fdecc0 haskell: add zlib override 2022-12-29 21:43:18 -06:00
Erin
f77b4f4622 haskell builder: add a --constraint to configureFlags for each dependency 2022-12-29 21:01:48 -06:00
DavHau
4be2700076
Merge pull request #438 from hsjobeki/fix/format
chore: add formatting of python
2022-12-30 10:25:09 +08:00
Erin Kim
b76b2367c5 add version option to the project submodule 2022-12-29 00:46:18 -06:00
DavHau
97a7712e18 nodejs: add electron hashes for 11.5.0 2022-12-29 11:47:57 +08:00
hsjobeki
9e59ded1f9 format: all python files 2022-12-28 20:42:14 +01:00
hsjobeki
cad5005cab add: python formatting 2022-12-28 20:41:52 +01:00
DavHau
40eb491b8a fix: unbound variable in .#test-examples 2022-12-28 15:27:06 +08:00
DavHau
0073d6db66 chore: allow running tests-examples against different version of nix 2022-12-28 14:19:57 +08:00
DavHau
a3a6da166f
Merge pull request #435 from happysalada/add_electron
chore: nodejs: add electron 19.1.9
2022-12-27 00:18:34 +08:00
happysalada
3ba597f116 chore: nodejs: add electron 19.1.9 2022-12-26 08:42:38 -05:00
zainab-ali
427258be09 Add PLTADDONDIR environment variable to racket binaries.
The PLTADDONDIR contains user-specific Racket configuration:
https://docs.racket-lang.org/reference/Filesystem.html#%28idx._%28gentag._356._%28lib._scribblings%2Freference%2Freference..scrbl%29%29%29

For example, is used by `raco` to install and locate a user’s `raco-commands`.

For the builder, it defaults to the user’s home directory
`$TMP_RACO_HOME`. The built `raco` binary, however, defaults to the
homeless shelter. This means that the built `raco` can't locate any
`raco-commands` in packages installed by the builder.

This commit creates a PLTADDONDIR directory structure in `etc` and
sets it as an environment variable to all binaries. The paths in
`config.rkdt` also point to this directory structure.
2022-12-25 13:39:42 +00:00
DavHau
850d8b1cb6 chore: nodejs: add electron 21.3.3 2022-12-21 20:39:30 +07:00
Yusuf Bera Ertan
39c64b454e
Merge pull request #432 from nix-community/refactor/use-mkshell-rust 2022-12-21 05:10:22 +03:00
Yusuf Bera Ertan
faa2b46f46
feat: generate shell for each package but make default the combined shell 2022-12-21 05:01:18 +03:00
Yusuf Bera Ertan
0176f85f80
refactor: remove devshell externals 2022-12-21 00:24:19 +03:00
Yusuf Bera Ertan
b679bb78f5
refactor: use nixpkgs' mkShell for rust devshells, dont create separate shells for each package 2022-12-21 00:23:52 +03:00
DavHau
5fef684214 package-json: enable --force by default 2022-12-20 14:02:15 +07:00
Yusuf Bera Ertan
2d7d68505c
Merge pull request #430 from nix-community/feat/make-crane-default 2022-12-18 03:33:49 +03:00
Yusuf Bera Ertan
a24fb71c40
docs: update docs for rust subsystem 2022-12-18 03:17:28 +03:00
Yusuf Bera Ertan
80ff2b4a86
feat(rust): change default builder to crane 2022-12-18 03:17:28 +03:00
Yusuf Bera Ertan
1cbc3aac3e
fix: use correct toolchain packages for rust_set-rust-toolchain example 2022-12-18 03:03:16 +03:00
Yusuf Bera Ertan
4ed4a2958a
fix(rust): add rustToolchain to passthru 2022-12-18 02:53:35 +03:00
Yusuf Bera Ertan
96d43a95a2
fix(rust): correct linemd overrides 2022-12-18 02:37:00 +03:00
Yusuf Bera Ertan
6460f3f0ee
fix(rust): correct overrideAttrs behaviour 2022-12-18 02:13:24 +03:00
Yusuf Bera Ertan
59de99b3be
fix(rust): make overrideAttrs work properly (fixes #392) 2022-12-17 15:16:30 +03:00
DavHau
6a0ab9411b
Merge pull request #428 from nix-community/improvements
fix: functions.translators: dream2nixConfig not loaded
2022-12-16 14:15:09 +07:00
DavHau
c0515e3816 fix: functions.translators: dream2nixConfig not loaded 2022-12-16 13:38:36 +07:00
DavHau
56e9439b04 fix: allow builders to get pkgs via build args
This allows to specify builder modules where the module itself doesn't require pkgs.
2022-12-16 08:38:46 +07:00
DavHau
95103a203a chore: pure translator template: simplify comment 2022-12-16 08:37:43 +07:00
DavHau
7acc54602b
Merge pull request #427 from nix-community/cleanup
Cleanup
2022-12-16 07:54:37 +07:00
DavHau
8032f96d8e chore: remove some more lib // builtins 2022-12-16 07:42:04 +07:00
DavHau
9d01389c49 chore: simplify config.lib // builtins 2022-12-15 19:58:21 +07:00
DavHau
c38d013134 fix: utils.override: replace builtins.functionArgs -> lib.functionArgs 2022-12-15 19:48:00 +07:00