aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2022-11-29 21:26:41 +0000
committerAlex <alex@adnab.me>2022-11-29 21:26:41 +0000
commit448dcc5cf4685f6a321b84ba1aa38e560f63a90a (patch)
tree5318ef82fd95e007e6738cce58fd22c9f446a886 /default.nix
parent280330ac72a12fbfb9c22018bb33d5a490c7a016 (diff)
parent60c26fbc628d7b450ae39214b578ab6a30583d5c (diff)
downloadgarage-448dcc5cf4685f6a321b84ba1aa38e560f63a90a.tar.gz
garage-448dcc5cf4685f6a321b84ba1aa38e560f63a90a.zip
Merge pull request 'Make repository into a Nix flake' (#424) from nix-remove-system into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/424
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/default.nix b/default.nix
index 60a85e2f..1791b3c6 100644
--- a/default.nix
+++ b/default.nix
@@ -11,14 +11,14 @@ let
build_debug_and_release = (target: {
debug = (compile {
- inherit target git_version;
+ inherit system target git_version pkgsSrc cargo2nixOverlay;
release = false;
}).workspace.garage {
compileMode = "build";
};
release = (compile {
- inherit target git_version;
+ inherit system target git_version pkgsSrc cargo2nixOverlay;
release = true;
}).workspace.garage {
compileMode = "build";
@@ -39,7 +39,7 @@ in {
};
test = {
amd64 = test (compile {
- inherit git_version;
+ inherit system git_version pkgsSrc cargo2nixOverlay;
target = "x86_64-unknown-linux-musl";
features = [
"garage/bundled-libs"
@@ -52,7 +52,7 @@ in {
};
clippy = {
amd64 = (compile {
- inherit git_version;
+ inherit system git_version pkgsSrc cargo2nixOverlay;
target = "x86_64-unknown-linux-musl";
compiler = "clippy";
}).workspace.garage {