forked from M-Labs/zynq-rs
mkbootimage: replace deprecated --replace
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
propagatedBuildInputs = [pkgs.libelf pkgs.pcre];
|
||||
patches = [ ./mkbootimage-elf-use-ph.diff ];
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace "git rev-parse --short HEAD" "echo nix"
|
||||
substituteInPlace Makefile --replace-fail "git rev-parse --short HEAD" "echo nix"
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
Reference in New Issue
Block a user