Add unstable overlay
This commit is contained in:
parent
1ffd0463bd
commit
49838d3808
@ -34,8 +34,6 @@
|
|||||||
overlays = with inputs;
|
overlays = with inputs;
|
||||||
[
|
[
|
||||||
nix-matlab.overlay
|
nix-matlab.overlay
|
||||||
# my-inputs.overlays.my-overlay
|
|
||||||
# TODO: add unstable here
|
|
||||||
];
|
];
|
||||||
|
|
||||||
snowfall = {
|
snowfall = {
|
||||||
|
@ -47,7 +47,7 @@ config, ... }: {
|
|||||||
# neocmakelsp # cmake
|
# neocmakelsp # cmake
|
||||||
|
|
||||||
# Rust setup
|
# Rust setup
|
||||||
rustc
|
unstable.rustc
|
||||||
rustfmt
|
rustfmt
|
||||||
cargo
|
cargo
|
||||||
clippy
|
clippy
|
||||||
|
17
overlays/unstable/default.nix
Normal file
17
overlays/unstable/default.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Snowfall Lib provides access to your current Nix channels and inputs.
|
||||||
|
#
|
||||||
|
# Channels are named after NixPkgs instances in your flake inputs. For example,
|
||||||
|
# with the input `nixpkgs` there will be a channel available at `channels.nixpkgs`.
|
||||||
|
# These channels are system-specific instances of NixPkgs that can be used to quickly
|
||||||
|
# pull packages into your overlay.
|
||||||
|
#
|
||||||
|
# All other arguments for this function are your flake inputs.
|
||||||
|
{ nixpkgs-unstable, ... }:
|
||||||
|
final: prev: {
|
||||||
|
# unstable = nixpkgs-unstable.legacyPackages.${prev.system};
|
||||||
|
# use this variant if unfree packages are needed:
|
||||||
|
unstable = import nixpkgs-unstable {
|
||||||
|
system = prev.system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user