uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
23
pkgs/tools/nix/nix-output-monitor/default.nix
Normal file
23
pkgs/tools/nix/nix-output-monitor/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
haskell,
|
||||
expect,
|
||||
haskellPackages,
|
||||
installShellFiles,
|
||||
}: let
|
||||
inherit (haskell.lib.compose) justStaticExecutables overrideCabal;
|
||||
overrides = {
|
||||
passthru.updateScript = ./update.sh;
|
||||
testTarget = "unit-tests";
|
||||
buildTools = [installShellFiles];
|
||||
postInstall = ''
|
||||
substitute "exe-sh/nom-build" "$out/bin/nom-build" \
|
||||
--replace 'unbuffer' '${expect}/bin/unbuffer' \
|
||||
--replace 'nom' "$out/bin/nom"
|
||||
chmod a+x $out/bin/nom-build
|
||||
installShellCompletion --zsh --name _nom-build completions/completion.zsh
|
||||
'';
|
||||
};
|
||||
in
|
||||
justStaticExecutables
|
||||
(overrideCabal overrides
|
||||
(haskellPackages.callPackage ./generated-package.nix {}))
|
||||
Loading…
Add table
Add a link
Reference in a new issue