-
-
Save LnL7/0cae01a283754c36f95cc8d6ea94a3df 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
{ pkgs ? import ./. { | |
overlays = [ | |
(self: super: | |
{ | |
callPackage = f: args: | |
let | |
drv = super.runCommandNoCC "hello-override" {} '' | |
mkdir $out | |
substitute ${f}/default.nix $out/default.nix \ | |
--replace 2.10 2.11 \ | |
--replace 0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i 0000000000000000000000000000000000000000000000000000 | |
''; | |
in | |
if f == ./pkgs/applications/misc/hello | |
then super.callPackage (import drv) args | |
else super.callPackage f args; | |
}) | |
]; | |
} | |
}: | |
pkgs.callPackage ./pkgs/applications/misc/hello {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment