mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 03:03:42 +00:00
Merge pull request #204676 from figsoda/patsh
This commit is contained in:
commit
49526acb78
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user