# Pastebin 6QoXFDqA dotenv-lines = splitString "\n" ( removeSuffix "\n" ( readFile (./.. + "/secrets/${environment}.env"))); envVars = listToAttrs (map (e: { name = replaceStrings ["export "] [""] (elemAt e 0); value = replaceStrings ["\"" "''"] ["" ""] (elemAt e 1); }) (map (l: splitString "=" (removeSuffix "\n" l)) dotenv-lines));