Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436754 - dev-lua/luarocks - configure should not set --force-config
Summary: dev-lua/luarocks - configure should not set --force-config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Matti Bickel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-01 08:14 UTC by Larik Ishkulov
Modified: 2013-05-19 22:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Removes --force-config (luarocks-remove-force-config.patch,534 bytes, patch)
2013-04-18 02:03 UTC, Bob Corsaro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Larik Ishkulov 2012-10-01 08:14:25 UTC
luarocks is confgured with --force-config which prevents it from using user config file.


http://www.luarocks.org/en/Installation_instructions_for_Unix
    --force-config	 Use a single config location. Do not use the $LUAROCKS_CONFIG variable or the user's home directory. Useful to avoid conflicts when LuaRocks is embedded within an application.

Force-config should be used for system instalation.

Reproducible: Always
Comment 1 Larik Ishkulov 2012-10-01 08:17:01 UTC
> Force-config should be used for system instalation.


Force-config shouldn't be used for system instalation.
Comment 2 Bob Corsaro 2013-04-18 02:03:19 UTC
Created attachment 345846 [details, diff]
Removes --force-config

--force-config causes luarocks path to exclude locally installed rocks. Modern versions of luarocks install globally by default, so there is no longer any reason to use this flag.
Comment 3 Matti Bickel (RETIRED) gentoo-dev 2013-05-19 22:13:49 UTC
I've removed the option in 2.0.12. Sorry it took so long.