-
-
Save euank/fc4aaaf5003b729a7daa262ab90061a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
myOverlay = (self: super: { | |
# Some totally new package | |
my-package-name = super.callPackage /path/to/my/pkg/default.nix; | |
# And you can override existing keys if you want, or refer to packages in the parent overlay | |
vim = super.neovim; | |
}); | |
in | |
{ | |
nixpkgs.overlays = [ myOverlay ]; | |
environment.systemPackages = with pkgs; [ my-package-name vim ]; | |
# ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment