Commit graph

132 commits

Author SHA1 Message Date
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
Bas van Dijk
a9cade2ca2 Remove build scripts during dummyfication
Otherwise builds fail with an error like:

Compiling simple-dep v0.1.0 (/private/var/folders/5h/b11m6fxj2tqgbxwz5bgjy42c0000gn/T/nix-build-some-name.drv-0/dummy-src)
error: couldn't read build.rs: No such file or directory (os error 2)
2019-10-09 16:33:27 +02:00
Nicolas Mattia
e344a3a480
Merge pull request #23 from nmattia/nm-fix-cargotomls
Properly fixup cargo tomls for dep build
2019-10-09 11:47:04 +02:00
Nicolas Mattia
566c70a395 Properly fixup cargo tomls for dep build 2019-10-09 10:37:22 +02:00
Nicolas Mattia
c006f86e9d Add tests for binaries 2019-10-09 10:34:29 +02:00
Nicolas Mattia
0b89694709 Cleanup 2019-10-09 10:34:16 +02:00
Nicolas Mattia
02f4e34a2b
Merge pull request #21 from nmattia/nm-fix-tests
Fix tests
2019-10-08 11:20:59 +02:00
Nicolas Mattia
933c81beaa Disable failing tests 2019-10-08 11:20:30 +02:00
Nicolas Mattia
f61d6f441a Use rust stable 2019-10-08 11:20:30 +02:00
Bas van Dijk
caf3bb63dd
Merge pull request #20 from basvandijk/add-circle-ci
Add .circleci/config.yml
2019-10-08 11:13:27 +02:00
Bas van Dijk
b7af218ef8 Add .circleci/config.yml 2019-10-08 11:10:28 +02:00
Nicolas Mattia
bf5b0ae9b0
Merge pull request #19 from nmattia/nm-forward-system
Forward system argument in tests
2019-10-08 10:47:48 +02:00
Nicolas Mattia
e3715ccf5f
Merge pull request #18 from basvandijk/remove-clang
Don't bring clang and LLVM into scope
2019-10-08 10:20:43 +02:00