Skip to content

Commit

Permalink
rev only
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Jan 2, 2024
1 parent 68a9923 commit 442fad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/patch-flakes.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
$file_contents = file_get_contents('./flake.nix');
$new_content_with_ref = preg_replace('/(ihp\.url = \")(.+)(\")/', '$1github:' . $argv[2] . '?ref=' . $argv[1] . '&rev=' . $argv[3] . '$3', $file_contents);
$new_content_with_ref = preg_replace('/(ihp\.url = \")(.+)(\")/', '$1github:' . $argv[2] . '?rev=' . $argv[3] . '$3', $file_contents);
$new_content_with_ref = str_replace("p.ihp", "p.ihp wreq mmark mmark-ext strip-ansi-escape stripe-signature stripe-concepts http-conduit aeson-casing tz tagsoup ihp-zip minio-hs hs-brotli wai-middleware-brotli fakedata jwt ihp-openai ihp-graphql unordered-containers minimorph", $new_content_with_ref);
$new_content_with_ref = str_replace("# Native dependencies, e.g. imagemagick", "nodejs imagemagick elmPackages.elm", $new_content_with_ref);
file_put_contents('./flake.nix', $new_content_with_ref);
Expand Down

0 comments on commit 442fad4

Please sign in to comment.