diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-04 02:06:19 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-04 02:06:19 -0400 |
| commit | a3206d45d6fe161091d008d39ec86a2263d95446 (patch) | |
| tree | 14ddb02de6f8760758d8ecc63df7f961a6dcfb78 /Propellor/Property/Docker | |
| parent | 49383915e73e0082d4050359378002b6f2d277f7 (diff) | |
redo a change I lost somewhere
fixes ghc spain in i386 container on amd64 host
Diffstat (limited to 'Propellor/Property/Docker')
| -rw-r--r-- | Propellor/Property/Docker/Shim.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Propellor/Property/Docker/Shim.hs b/Propellor/Property/Docker/Shim.hs index 01c2b22f..c2f35d0c 100644 --- a/Propellor/Property/Docker/Shim.hs +++ b/Propellor/Property/Docker/Shim.hs @@ -3,7 +3,7 @@ -- -- Note: This is currently Debian specific, due to glibcLibs. -module Propellor.Property.Docker.Shim (setup, file) where +module Propellor.Property.Docker.Shim (setup, cleanEnv, file) where import Propellor import Utility.LinuxMkLibs @@ -44,6 +44,9 @@ setup propellorbin dest = do modifyFileMode shim (addModes executeModes) return shim +cleanEnv :: IO () +cleanEnv = void $ unsetEnv "GCONV_PATH" + file :: FilePath -> FilePath -> FilePath file propellorbin dest = dest </> takeFileName propellorbin |
