From d0ebe6b8763154152e7729e8f4fccb7c9fd064f9 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Wed, 23 Nov 2022 13:18:53 +0100 Subject: [PATCH] jekyll: force ruby platform when updating dependencies Fixes #202506 where an updated jekyll couldn't be used because the platform-specific and ruby version of the nokogiri dependency got confused. Inspiration for this fix from https://github.com/nix-community/bundix/issues/88 --- pkgs/applications/misc/jekyll/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/jekyll/update.sh b/pkgs/applications/misc/jekyll/update.sh index 528f1062c733..bc3c0d5248b0 100755 --- a/pkgs/applications/misc/jekyll/update.sh +++ b/pkgs/applications/misc/jekyll/update.sh @@ -9,7 +9,7 @@ readonly BASEDIR="$(dirname $(readlink -f $0))" for directory in "basic" "full"; do pushd "$BASEDIR/$directory" rm -f Gemfile.lock gemset.nix - bundix --magic + BUNDLE_FORCE_RUBY_PLATFORM=true bundix --magic rm -rf .bundle vendor popd done