diff --git a/examples/overlays/devenv.nix b/examples/overlays/devenv.nix new file mode 100644 index 000000000..b19c11f8e --- /dev/null +++ b/examples/overlays/devenv.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: + +{ + packages = [ pkgs.rust-bin.stable.latest.default ]; +} diff --git a/examples/overlays/devenv.yaml b/examples/overlays/devenv.yaml new file mode 100644 index 000000000..81e68cd8c --- /dev/null +++ b/examples/overlays/devenv.yaml @@ -0,0 +1,9 @@ +inputs: + nixpkgs: + url: github:NixOS/nixpkgs/nixpkgs-unstable + rust-overlay: + url: github:oxalica/rust-overlay +allowUnfree: true +overlays: + rust-overlay: + - default \ No newline at end of file