Use flake compat to provide the nix flakes dev shell to non flake users (#2926)

* Use flake compat to provide the nix flakes dev shell to non flake users

* Move shell.nix to .nix sub folder
This commit is contained in:
Timon
2025-07-24 21:48:57 +00:00
committed by GitHub
parent f184e4aab2
commit 45bd031a36
4 changed files with 49 additions and 85 deletions
+3
View File
@@ -24,6 +24,9 @@
inputs.nixpkgs.follows = "nixpkgs";
};
flake-utils.url = "github:numtide/flake-utils";
# This is used to provide a identical development shell at `shell.nix` for users that do not use flakes
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
};
outputs = { nixpkgs, nixpkgs-unstable, rust-overlay, flake-utils, ... }: