nixpkgs/pkgs/by-name/wa/waf/hook.nix
Alyssa Ross 3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00

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