From cad4f29531266801e6c6def7d259ee11fd20ae86 Mon Sep 17 00:00:00 2001 From: Cristi Bourceanu Date: Wed, 12 Feb 2025 19:43:31 +0000 Subject: [PATCH] WIP how to get cross-rs functional without rustup --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 24ef681..6bebea5 100644 --- a/flake.nix +++ b/flake.nix @@ -101,7 +101,7 @@ }; }; - outputs = { self, nixpkgs, home-manager, deploy-rs, alacritty-theme, nixgl, ... }@inputs: + outputs = { self, nixpkgs, home-manager, deploy-rs, alacritty-theme, nixgl, rust-overlay, ... }@inputs: # Remove polybar-pipewire overlay let inherit (self) outputs; @@ -126,6 +126,7 @@ (self: super: { deploy-rs = { inherit (pkgs) deploy-rs; lib = super.deploy-rs.lib; }; }) ]; }; + rustOverlay = {...}: {nixpkgs.overlays = [ rust-overlay.overlays.default ]; }; matlabOverlay = { ... }: { nixpkgs.overlays = [inputs.nix-matlab.overlay]; }; #nurOverlay = { lib, ... }: {nixpkgs.overlays = [nur.overlay];}; @@ -139,6 +140,7 @@ # TODO Add nixGlOverlay only to non NixOS nixGlOverlay deploy-rs-cache-enable + rustOverlay #nurOverlay ]; extraSpecialArgs = {