summaryrefslogtreecommitdiffstats
path: root/nix/default.nix
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2022-04-12 08:15:13 +0200
committerGitHub <noreply@github.com>2022-04-12 08:15:13 +0200
commitac3c09066b461d5e66bb5447741878b8a3a94642 (patch)
tree4bbd6d6a783f713b7f2304bbdff178b0b4b2ebb0 /nix/default.nix
parent0531a13fc5d24fe8884a5b4fed6cfd538d8c16a7 (diff)
fix: `rust-toolchain` -> `rust-toolchain.toml` (#1313)
The new location has been stable for a year, by now peoples toolchains should have been able to catch up.
Diffstat (limited to 'nix/default.nix')
-rw-r--r--nix/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nix/default.nix b/nix/default.nix
index b01ec11b7..c1d5a8868 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -40,7 +40,7 @@ flake-utils.lib.eachSystem [
src = pkgs.nix-gitignore.gitignoreSource ignoreSource root;
- rustToolchainToml = pkgs.rust-bin.fromRustupToolchainFile ../rust-toolchain;
+ rustToolchainToml = pkgs.rust-bin.fromRustupToolchainFile (src + "/rust-toolchain.toml");
cargoLock = {
lockFile = builtins.path {
path = ../Cargo.lock;
@@ -158,7 +158,6 @@ in rec {
meta
;
};
-
defaultPackage = packages.zellij;
# nix run