diff options
author | Alex Auvolat <alex@adnab.me> | 2022-11-16 22:21:24 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-11-16 23:25:34 +0100 |
commit | e76dba9561128fb8eb26820214a3d103e7f5f9d1 (patch) | |
tree | b596eb5228a26604c303cef07df6042a44dc7ae0 /default.nix | |
parent | bcc97724707aaa39fd64490cdd81aa5073285f33 (diff) | |
download | garage-e76dba9561128fb8eb26820214a3d103e7f5f9d1.tar.gz garage-e76dba9561128fb8eb26820214a3d103e7f5f9d1.zip |
Make repository into a Nix flake
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 8 |
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 { |