Skip to content

Commit

Permalink
WIP how to get cross-rs functional without rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
crisbour committed Feb 12, 2025
1 parent cf6f9fa commit cad4f29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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];};

Expand All @@ -139,6 +140,7 @@
# TODO Add nixGlOverlay only to non NixOS
nixGlOverlay
deploy-rs-cache-enable
rustOverlay
#nurOverlay
];
extraSpecialArgs = {
Expand Down

0 comments on commit cad4f29

Please sign in to comment.