mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 03:03:42 +00:00
3df6bb2c85
Conflicts: pkgs/applications/blockchains/polkadot/default.nix
23 lines
448 B
Nix
23 lines
448 B
Nix
{ lib
|
|
, stdenv
|
|
, pkgs
|
|
, makeSetupHook
|
|
, waf
|
|
}:
|
|
|
|
makeSetupHook {
|
|
name = "waf-setup-hook";
|
|
|
|
substitutions = {
|
|
# Sometimes the upstream provides its own waf file; in order to honor it,
|
|
# waf is not inserted into propagatedBuildInputs, rather it is inserted
|
|
# directly
|
|
inherit waf;
|
|
};
|
|
|
|
meta = {
|
|
description = "Setup hook for using Waf in Nixpkgs";
|
|
inherit (waf.meta) maintainers platforms broken;
|
|
};
|
|
} ./setup-hook.sh
|