mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
3d33f6253c
The following steps need to be done before running the script: 1. Copy Gemfile from new Redmine version to the Redmine folder in Nixpkgs 2. Manually modify the database lines in Gemfile and just include the gems for the supported databases (diff the two files). Signed-off-by: Felix Singer <felixsinger@posteo.net>
18 lines
411 B
Bash
Executable File
18 lines
411 B
Bash
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell --pure -i bash -p cacert bundix
|
|
|
|
# Do these steps before running this script:
|
|
# 1. Copy Gemfile from new Redmine version to this folder
|
|
# 2. Manually modify the database lines in Gemfile (diff the two files, it's obvious)
|
|
|
|
pkg_dir="$(dirname "$0")"
|
|
cd ${pkg_dir}
|
|
|
|
for file in "gemset.nix" "Gemfile.lock"; do
|
|
if [ -f ${file} ]; then
|
|
rm ${file}
|
|
fi
|
|
done
|
|
|
|
bundix -l
|