Commit graph

320 commits

Author SHA1 Message Date
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
Nicolas Mattia
4f1f7581f8 Forward system argument in tests 2019-10-08 10:19:35 +02:00
Bas van Dijk
d1b03d167c Don't bring clang and LLVM into scope 2019-10-08 09:53:28 +02:00
Nicolas Mattia
06af67108c Make tar non-verbose 2019-10-06 20:12:12 +02:00
Nicolas Mattia
99512691b4
Merge pull request #16 from nmattia/nm-cargo-release
Bunch of improvements
2019-09-22 17:26:32 +02:00
Nicolas Mattia
c7d2337880 Create logRun in configurePhase 2019-09-17 12:27:53 +02:00
Nicolas Mattia
6c072bd0ed Use cargo_release arg list for --release 2019-09-11 13:45:06 +02:00
Bas van Dijk
df0c276e7a Use the cargoTestCommands specified by the user for building the deps 2019-09-09 11:21:51 +02:00
Bas van Dijk
2791c3bd52 Use cargo build --out-dir instead of cargo install
Since we don't use cargo install anymore we go back to building the
workspace instead of building each crate separately.
2019-09-04 17:36:40 +02:00
Bas van Dijk
21850b632a Run cargo clippy for the deps 2019-09-04 12:15:15 +02:00
Bas van Dijk
e98ef6b715 Run cargoBuild and cargoTest per crate 2019-09-04 12:14:36 +02:00
Bas van Dijk
d7e6f3780f Disable building docs per crate because that's slower apparently
TODO: find out why this is the case.
2019-09-04 11:05:19 +02:00
Bas van Dijk
8e0af29278 Pass through the builtDependencies
So that it's easy to reference them which is handy during debugging.
2019-09-04 10:42:49 +02:00