package.nix: add missing gawk

fixes https://github.com/nix-community/nixos-generators/issues/356
This commit is contained in:
Jörg Thalheim 2024-08-12 08:28:14 +02:00 committed by mergify[bot]
parent a12a28f636
commit a220fc3a6e

View File

@ -5,6 +5,7 @@
coreutils, coreutils,
findutils, findutils,
lib, lib,
gawk,
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "nixos-generate"; name = "nixos-generate";
@ -14,6 +15,6 @@ stdenv.mkDerivation {
installFlags = ["PREFIX=$(out)"]; installFlags = ["PREFIX=$(out)"];
postFixup = '' postFixup = ''
wrapProgram $out/bin/nixos-generate \ wrapProgram $out/bin/nixos-generate \
--prefix PATH : ${lib.makeBinPath [jq coreutils findutils]} --prefix PATH : ${lib.makeBinPath [jq coreutils findutils gawk]}
''; '';
} }