diff options
author | Robin Gloster <mail@glob.in> | 2016-03-01 22:47:29 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-03-01 22:47:29 +0000 |
commit | 4c9c4c4dcdf406adb235682ab4d50985513f92e3 (patch) | |
tree | 194c2bf5497307273f1a7d591aae74e5c69f8c48 /pkgs/applications | |
parent | 33f7d0b3f690837cf57eb039a05f6133b3f1b48e (diff) |
redmine: disable format hardening
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/version-management/redmine/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/redmine/default.nix b/pkgs/applications/version-management/redmine/default.nix index 3a8df10f16617..982dcb1d56bfa 100644 --- a/pkgs/applications/version-management/redmine/default.nix +++ b/pkgs/applications/version-management/redmine/default.nix @@ -11,6 +11,8 @@ in stdenv.mkDerivation rec { sha256 = "0x0zwxyj4dwbk7l64s3lgny10mjf0ba8jwrbafsm4d72sncmacv0"; }; + hardening_format = false; + # taken from redmine (2.5.1-2~bpo70+3) in debian wheezy-backports # needed to separate run-time and build-time directories patches = [ @@ -18,6 +20,7 @@ in stdenv.mkDerivation rec { ./2004_FHS_plugins_assets.patch ./2003_externalize_session_config.patch ]; + postPatch = '' substituteInPlace lib/redmine/plugin.rb --replace "File.join(Rails.root, 'plugins')" "ENV['RAILS_PLUGINS']" substituteInPlace lib/redmine/plugin.rb --replace "File.join(Rails.root, 'plugins', id.to_s, 'db', 'migrate')" "File.join(ENV['RAILS_PLUGINS'], id.to_s, 'db', 'migrate')" |