From 91dc2b5cffef8c9a87625091a060c9058236ea3b Mon Sep 17 00:00:00 2001 From: Derek Belrose Date: Sun, 31 Dec 2023 10:23:34 -0500 Subject: [PATCH] Fix Rust related inputs Rust related inputs for `rust` and `rust-toolchain` include an extra `inputs.` This removes them and fixes the-nix-way/dev-templates#33 --- rust-toolchain/flake.nix | 2 +- rust/flake.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-toolchain/flake.nix b/rust-toolchain/flake.nix index 5d5cc5f..72484c2 100644 --- a/rust-toolchain/flake.nix +++ b/rust-toolchain/flake.nix @@ -2,7 +2,7 @@ description = "A Nix-flake-based Rust development environment"; inputs = { - inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz"; + nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz"; rust-overlay = { url = "github:oxalica/rust-overlay"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/rust/flake.nix b/rust/flake.nix index bc10e5b..94dbbe0 100644 --- a/rust/flake.nix +++ b/rust/flake.nix @@ -2,7 +2,7 @@ description = "A Nix-flake-based Rust development environment"; inputs = { - inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz"; + nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz"; rust-overlay = { url = "github:oxalica/rust-overlay"; inputs.nixpkgs.follows = "nixpkgs";