Commit graph

320 commits

Author SHA1 Message Date
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
zimbatm
4f1f9a0a94
use let .. in instead of with blocks
A personal stylistic preference
2019-11-19 19:35:30 +00:00
Nicolas Mattia
6def798b78
Merge pull request #38 from nmattia/nm-path-or-attrs
Allow attribute set _or_ path in buildPackage
2019-11-19 13:09:32 +01:00
Nicolas Mattia
9763b010d5
Merge pull request #37 from nmattia/nm-move-config-out
Refactor configuration
2019-11-18 18:17:45 +01:00
Nicolas Mattia
0d6443d1bb Mention attribute set or path in README 2019-11-18 18:17:25 +01:00
Nicolas Mattia
4714fb8ac1 Allow path or attrset as arguments 2019-11-18 17:52:11 +01:00
Nicolas Mattia
79ccb516e9 Split build and build-plan configuration 2019-11-18 16:41:28 +01:00
Nicolas Mattia
9829b21bc1 Make all build.nix arguments mandatory 2019-11-18 16:16:46 +01:00
Nicolas Mattia
115b63b554 Re indent 2019-11-18 14:59:14 +01:00