Commit graph

294 commits

Author SHA1 Message Date
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
Nicolas Mattia
1e4b63a406 Split config out of default 2019-11-18 14:58:25 +01:00
Nicolas Mattia
737e66e399
Merge pull request #36 from nmattia/nm-copy-bins-iff
Only copy bins if out exists
2019-11-14 15:01:34 +01:00
Nicolas Mattia
df1480816e Only copy bins if out exists 2019-11-14 14:57:45 +01:00
Nicolas Mattia
c98ca5675e
Merge pull request #35 from nmattia/nm-compress
Compress target by default
2019-11-13 16:31:32 +01:00
Nicolas Mattia
deb09d67e6 Compress target by default 2019-11-13 16:31:13 +01:00
Nicolas Mattia
f17317465e
Merge pull request #33 from nmattia/nm-bas-cleanup-2
Clean up, take 2
2019-10-30 17:43:00 +01:00
Nicolas Mattia
2b5696830f Remove silly names and set proper package name and version 2019-10-30 17:42:44 +01:00
Nicolas Mattia
b5fa169655 Remove unused parameters 2019-10-30 15:25:41 +01:00
Nicolas Mattia
62e215b90a Add CI badge 2019-10-30 15:20:47 +01:00
Nicolas Mattia
4dd9dc45bd Cleanup preBuild 2019-10-30 15:12:59 +01:00
Bas van Dijk
9ed75a8286
Merge pull request #31 from nmattia/patched-sources
Copy paths from the [patch] section into the dummy-src
2019-10-29 15:27:10 +01:00
Bas van Dijk
59921aa707 Copy paths from the [patch] section into the dummy-src
This allows users to override the source of crates using:

```
[patch.crates-io]
bar = { path = 'my/local/bar' }
```
2019-10-29 14:57:28 +01:00
Nicolas Mattia
0327d6a66a Fix missing name 2019-10-29 13:31:22 +01:00
Nicolas Mattia
4ca875a820
Merge pull request #30 from Profpatsch/master
default.nix: improve derivation names a bit
2019-10-29 13:20:51 +01:00
Philip Patsch
3f04e344ec default.nix: improve derivation names a bit 2019-10-27 23:10:29 +01:00
Nicolas Mattia
68c1c2b2b6
Merge pull request #29 from nmattia/nm-fix-config
Fix typo when copying config
2019-10-16 15:49:38 +02:00
Nicolas Mattia
afcccb2f63 Fix typo when copying config 2019-10-16 14:47:47 +02:00
Nicolas Mattia
1a0d3039f2
Merge pull request #28 from nmattia/nm-config-when
dummySrc: only create config file when config exists
2019-10-14 12:35:06 +02:00
Nicolas Mattia
db7b28ab9e dummySrc: only create config file when config exists 2019-10-14 12:31:46 +02:00
Nicolas Mattia
6102ec576d
Merge pull request #27 from nmattia/nm-fix-single-step
Drop singleStep attr when calling build.nix
2019-10-14 10:48:06 +02:00
Nicolas Mattia
6b78252c24 Drop singleStep attr when calling build.nix 2019-10-14 10:25:48 +02:00
Nicolas Mattia
8de3731ba9
Merge pull request #26 from nmattia/nm-simple-single-step
Simplify configuration for single step build
2019-10-11 13:21:20 +02:00
Nicolas Mattia
816b15c73a Simplify configuration for single step build 2019-10-10 18:50:03 +02:00
Nicolas Mattia
f7cd599852
Merge pull request #25 from nmattia/nm-fix-no-config
Don't import src in store for pathExists
2019-10-10 15:23:24 +02:00
Nicolas Mattia
1a3ede8a56 Don't import src in store for pathExists 2019-10-10 14:07:19 +02:00
Bas van Dijk
0e700a5c16
Merge pull request #24 from basvandijk/remove-build-scripts-during-dummyfication
Remove build scripts during dummyfication
2019-10-09 16:35:15 +02:00