mirror of
https://github.com/divnix/digga.git
synced 2024-11-23 20:22:04 +03:00
chore: flakes support arrived in nixStable, no more
patched nix. Leave commented overlay as example
This commit is contained in:
parent
b824eb5e5d
commit
f025da4b55
@ -91,7 +91,7 @@
|
||||
# Dependency Groups - Style
|
||||
checksInputs = { inherit nixpkgs; digga = self; };
|
||||
jobsInputs = { inherit nixpkgs; digga = self; };
|
||||
devShellInputs = { inherit nixpkgs latest devshell; };
|
||||
devShellInputs = { inherit nixpkgs devshell; };
|
||||
|
||||
# .. we hope you like this style.
|
||||
# .. it's adopted by a growing number of projects.
|
||||
|
@ -1,3 +1,4 @@
|
||||
{ inputs }: {
|
||||
patchedNix = import ./nix-patched.nix { inherit inputs; };
|
||||
# Example:
|
||||
#patchedNix = import ./nix-patched.nix { inherit inputs; };
|
||||
}
|
||||
|
@ -3,14 +3,16 @@ final: prev: {
|
||||
|
||||
__dontExport = true;
|
||||
|
||||
# Example:
|
||||
#
|
||||
# Use pinned version to guarantee reproducability
|
||||
# with this fast moving target. Flipside: not store
|
||||
# efficient.
|
||||
nixStable = inputs.latest.legacyPackages.${prev.system}.nixStable;
|
||||
#nixUnstable = inputs.nix.packages.${prev.system}.nix;
|
||||
|
||||
nixos-rebuild = prev.nixos-rebuild.override {
|
||||
nix = final.nixStable;
|
||||
};
|
||||
#nixos-rebuild = prev.nixos-rebuild.override {
|
||||
# nix = final.nixUnstable;
|
||||
#};
|
||||
|
||||
# check if we need to override more stuff ourthe patched nix
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user