mirror of
https://github.com/nix-community/naersk
synced 2024-11-10 06:04:17 +00:00
add overlay
A convenience utility
This commit is contained in:
parent
a82fd7dc31
commit
d5a23213d5
2 changed files with 6 additions and 0 deletions
|
@ -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
4
overlay.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
final: prev:
|
||||
{
|
||||
naersk = prev.callPackage ./. {};
|
||||
}
|
Loading…
Reference in a new issue