devos/overlays/nixFlakes.nix
Timothy DeHerrera 95c6ee0368
nix: fix #126
* Update the readme to pull from cachix first, so users don't have to
  build nix.
* Pull `nixFlakes` from override for slightly newer ui, and consistency
  for users who change the nixos flake ref to something newer.
2021-02-17 14:15:43 -07:00

12 lines
287 B
Nix

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