Commit graph

178 commits

Author SHA1 Message Date
Nicolas Mattia
222cac5b0d Improve documentation on 'allowFun' parameters 2020-02-10 12:53:55 +01:00
Nicolas Mattia
362405f643 Document environment variables 2020-02-10 12:53:55 +01:00
Nicolas Mattia
a6c2a9515c Log configuration options in build 2020-02-10 12:53:55 +01:00
Nicolas Mattia
6a33730b34 Document and format config.nix 2020-02-10 12:53:55 +01:00
Nicolas Mattia
92432c40d9 Disable --locked by default 2020-02-10 12:53:55 +01:00
Nicolas Mattia
45bee2e6b5 Refactor config.nix for cargo options 2020-02-10 12:53:55 +01:00
Nicolas Mattia
4225dfaff9 Add support for new lockfile format 2020-02-07 17:35:30 +01:00
Nicolas Mattia
8e62f75f9f Indent CODEOWNERS 2020-02-02 18:04:15 +01:00
Nicolas Mattia
99de8049b2 Add CODEOWNERS 2020-02-02 17:59:27 +01:00
Nicolas Mattia
4bf8891948
Merge pull request #59 from nmattia/nm-fix-build-rs
Ensure build.rs is rebuilt if necessary
2020-02-02 14:35:21 +01:00
Nicolas Mattia
81a3ad4bf9 Ensure build.rs is rebuilt if necessary 2020-02-02 13:41:23 +01:00
Nicolas Mattia
52a4a55ba8
Merge pull request #57 from nmattia/nm-build-build-deps
Ensure build-dependencies are built
2020-01-21 14:47:04 +01:00
Nicolas Mattia
6eea568200 Ensure build-dependencies are built
This adds a dummy `build.rs` in `dummy-src` to ensure build dependencies are built.
2020-01-21 14:14:31 +01:00
Nicolas Mattia
b54750c073
Merge pull request #55 from jD91mZM2/flake
Basic flake.nix
2020-01-20 18:03:49 +01:00
jD91mZM2
620d8043ad
Basic flake.nix 2020-01-15 20:41:43 +01:00
Nicolas Mattia
efafcff2c5
Merge pull request #54 from nmattia/nm-rust-analyzer
Add support for wildcard members and int fields in manifests
2020-01-14 20:27:23 +01:00
Nicolas Mattia
32a63fd415
Merge pull request #52 from pikajude/so-copy
Exclude .so files from exe copy
2020-01-14 20:26:25 +01:00
Nicolas Mattia
b0756e84cf Implement toToml for 'int' 2020-01-14 19:52:10 +01:00
Nicolas Mattia
560601e3ab Expand wildcard members in manifests 2020-01-14 19:50:32 +01:00
Jude Taylor
14bde013f1 exclude shared object files from exe copy 2020-01-14 10:26:41 -08:00
Nicolas Mattia
be6d7bfe61
Merge pull request #51 from nmattia/nm-dup-git-deps
Fix failure on duplicate git dependencies
2020-01-10 12:19:00 +01:00
Nicolas Mattia
32b0dd73d9 Fix failure on duplicate git dependencies
The git dependencies were indexed by crate name, which is an issue if a dependency is imported through git at various commits. Moreover, if a crate is imported several time at _the same commit_, it is now unpacked only once.
2020-01-10 11:52:24 +01:00
Nicolas Mattia
548f0aa936
Merge pull request #49 from nmattia/nm-disable-doc
Disable doDoc by default
2019-12-19 12:08:11 +01:00
Nicolas Mattia
f5dce6453d Disable doDoc by default
The documentation building step takes a fair bit of time and most users
won't care about it. By default we turn it off.
2019-12-19 10:59:02 +01:00
Nicolas Mattia
d509c82968
Merge pull request #46 from nmattia/nm-git-dep
Add support for git dependencies.
2019-12-17 18:42:52 +01:00
Nicolas Mattia
34fdc35088 Document git dependency related code 2019-12-17 17:20:47 +01:00
Nicolas Mattia
cfbaf2a6f2 Clean up git dependency code 2019-12-17 17:03:10 +01:00
Nicolas Mattia
e994e8692f Improve git dependency support 2019-12-17 16:55:52 +01:00
Nicolas Mattia
863d0e0f3b Update README 2019-12-16 10:34:38 +01:00
Nicolas Mattia
a0fb5eaa29 Regenerate README 2019-12-16 10:33:10 +01:00
Nicolas Mattia
47b22494d9 Add experimental support for git dependencies 2019-12-16 10:33:10 +01:00
Nicolas Mattia
279fe46216 Regenerate README 2019-12-16 10:32:44 +01:00
Nicolas Mattia
e5315b5372 Set doDoc = doCheck = false for docparse 2019-12-16 10:32:44 +01:00
Nicolas Mattia
b9310fdcf7 Add global cargo options to config 2019-12-16 10:32:44 +01:00
Nicolas Mattia
551a2a6339
Merge pull request #47 from nmattia/nm-nuke-Xfor
Remove useless functions
2019-12-15 10:58:14 +01:00
Nicolas Mattia
dc21c17d58 Remove useless functions 2019-12-13 17:57:23 +01:00
Nicolas Mattia
b3b328b088
Merge pull request #44 from nmattia/nm-doc-config
Document configuration
2019-12-02 20:51:28 +01:00
Nicolas Mattia
1d18095496 Generate configuration documentation from code 2019-12-02 20:30:50 +01:00
Nicolas Mattia
cd6d9bcec3 Add basic documentation parser 2019-12-02 16:44:45 +01:00
Nicolas Mattia
2c6c9ddc46 Add script/test 2019-12-02 16:42:05 +01:00
Nicolas Mattia
cfcc58495d Add MIT license 2019-12-01 14:07:23 +01:00
Nicolas Mattia
7f30aa64ce
Merge pull request #41 from nmattia/nm-restricted-eval
Fix evaluation for restrict-eval
2019-11-21 15:47:10 +01:00
Nicolas Mattia
ad0580c8d8 Split source between src and root 2019-11-21 15:46:20 +01:00
Nicolas Mattia
5958f39351 Use builtins.pathExists when applicable 2019-11-21 10:34:35 +01:00
Nicolas Mattia
568c3db8f3 Don't use builtins.fetchurl 2019-11-21 10:34:16 +01:00
Nicolas Mattia
8563f1fef2
Merge pull request #40 from nmattia/nm-no-git-deps
Make limitations more visible
2019-11-20 12:10:49 +01:00
Nicolas Mattia
c94b773f62 Make limitations more visible 2019-11-20 12:10:01 +01:00
Nicolas Mattia
ccc838126d
Merge pull request #14 from zimbatm/nixpkgs-fmt
format with nixpkgs-fmt
2019-11-20 11:18:09 +01:00
zimbatm
9a72012540
stylistic changes
these are not mandated by nixpkgs-fmt
2019-11-19 20:12:42 +00:00
zimbatm
d11a8a036c
format nix code with nixpkgs-fmt v0.6.1 2019-11-19 20:12:36 +00:00