Merge pull request #204676 from figsoda/patsh

This commit is contained in:
Sandro 2022-12-05 21:40:29 +01:00 committed by GitHub
commit 49526acb78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,8 @@
}:
let
# copied from flake.nix
# tests require extra setup with nix
custom = runCommand "custom" { } ''
mkdir -p $out/bin
touch $out/bin/{'foo$','foo"`'}
@ -29,6 +31,7 @@ rustPlatform.buildRustPackage rec {
checkInputs = [ custom ];
# see comment on `custom`
postPatch = ''
for file in tests/fixtures/*-expected.sh; do
substituteInPlace $file \