-
-
Save betaboon/89e82c1cc477c5601a0bfa81a1c26c5a to your computer and use it in GitHub Desktop.
nix-overlay
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
{ config, pkgs, ... }: | |
{ | |
nixpkgs.overlays = [ | |
(import ./my-overlay.nix) | |
]; | |
environment.systemPackages = [ | |
myPackage | |
]; | |
} |
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
self: super: | |
{ | |
myPackage = super.callPackage ./my-package.nix; | |
} |
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
{ stdenv, ... }: | |
stdenv.mkDerivation rec { | |
name = "my-package-${version}"; | |
version = "1.0"; | |
src = /path/to/my/packages/source; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment