Fix substituteInPlace invocation

This commit is contained in:
Bryan Bennett 2023-12-21 11:34:32 -05:00
parent c420800367
commit ee3b429285
No known key found for this signature in database
GPG key ID: EE149E4215408DE9

View file

@ -16,7 +16,7 @@ buildDunePackage {
src = ./.;
duneVersion = "3";
postPatch = ''
substituteInPlace --replace "flake_env" "$out/bin/flake_env" direnvrc
substituteInPlace direnvrc --replace "flake_env" "$out/bin/flake_env"
'';
postInstall = ''
install -m400 -D direnvrc $out/share/flake_env/direnvrc