about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-05-05 05:25:35 +0300
committerVika <vika@fireburn.ru>2022-05-05 05:25:35 +0300
commit0679de841840c74ab49f54905783fac1faf028e1 (patch)
tree34f5818a48574bac41268338cc762310bfd018ea
parente983c7dda20c625951ec3c5ca945205e9cbd11e2 (diff)
downloadkittybox-0679de841840c74ab49f54905783fac1faf028e1.tar.zst
flake.nix: use rustc from nixpkgs on release builds
-rw-r--r--flake.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 6c08dab..5405622 100644
--- a/flake.nix
+++ b/flake.nix
@@ -210,8 +210,7 @@
   in {
     packages = let
       naersk-lib = naersk.lib.${system}.override {
-        rustc = pkgs.rust-bin.nightly.latest.minimal;
-        cargo = pkgs.rust-bin.nightly.latest.minimal;
+        inherit (pkgs) rustc cargo;
       };
     in {
       kittybox = pkgs.callPackage packages.kittybox { inherit naersk-lib; };