add overlay

A convenience utility
This commit is contained in:
zimbatm 2020-07-03 09:52:18 +02:00 committed by Nicolas Mattia
parent a82fd7dc31
commit d5a23213d5
2 changed files with 6 additions and 0 deletions

View file

@ -8,5 +8,7 @@
in {
# Naersk is not a package, not an app, not a module... It's just a Library
lib = forAllSystems (system: nixpkgs.legacyPackages."${system}".callPackage ./default.nix {});
# Useful when composing with other flakes
overlay = import ./overlay.nix;
};
}

4
overlay.nix Normal file
View file

@ -0,0 +1,4 @@
final: prev:
{
naersk = prev.callPackage ./. {};
}