about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorArnout Engelen <arnout@bzzt.net>2022-11-23 13:18:53 +0100
committerArnout Engelen <arnout@bzzt.net>2022-11-23 13:18:53 +0100
commitd0ebe6b8763154152e7729e8f4fccb7c9fd064f9 (patch)
tree120b5d00b427ecb948e6a8a5d6bd4dbb45b11664 /pkgs/applications/misc
parent20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8 (diff)
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
Diffstat (limited to 'pkgs/applications/misc')
-rwxr-xr-xpkgs/applications/misc/jekyll/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/misc/jekyll/update.sh b/pkgs/applications/misc/jekyll/update.sh
index 528f1062c733f..bc3c0d5248b08 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