devos/overlays/nixFlakes.nix

13 lines
282 B
Nix
Raw Normal View History

final: prev: {
nixFlakes = final.nix.overrideAttrs
(self:
let
oldPatches = self.patches or [ ];
in
{
patches = oldPatches ++ [
../pkgs/tools/package-management/nix/0001-nix-command-and-flakes-by-default.patch
];
});
}