Compare commits
No commits in common. "2c369943e7c1633cfacdf1a8f5e1059fac50d6cf" and "bd5feb8353314421ce72498fa0ba73965156d349" have entirely different histories.
2c369943e7
...
bd5feb8353
@ -8,5 +8,5 @@ before_script:
|
||||
- mkdir -p ~/.config/nixpkgs
|
||||
|
||||
script:
|
||||
- nix build -f ./release.nix --option trusted-public-keys "masser-ebook-manager.cachix.org-1:mtFSkQ2MO5MvjUpulZoFKjKUIa8g8CTcdPVuJaPKS1w= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" --option binary-caches "https://masser-ebook-manager.cachix.org https://cache.nixos.org" ghc.backend ghc.frontend
|
||||
- nix build -f ./release.nix --option trusted-public-keys "masser-ebook-manager.cachix.org-1:mtFSkQ2MO5MvjUpulZoFKjKUIa8g8CTcdPVuJaPKS1w= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" --option binary-caches "https://masser-ebook-manager.cachix.org https://cache.nixos.org" ghcjs.frontend
|
||||
- nix-build ./release.nix --option trusted-public-keys "masser-ebook-manager.cachix.org-1:mtFSkQ2MO5MvjUpulZoFKjKUIa8g8CTcdPVuJaPKS1w= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" --option binary-caches "https://masser-ebook-manager.cachix.org https://cache.nixos.org" -A ghc.backend -A ghc.frontend
|
||||
- nix-build ./release.nix --option trusted-public-keys "masser-ebook-manager.cachix.org-1:mtFSkQ2MO5MvjUpulZoFKjKUIa8g8CTcdPVuJaPKS1w= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" --option binary-caches "https://masser-ebook-manager.cachix.org https://cache.nixos.org" -A ghcjs.frontend
|
||||
|
@ -9,8 +9,7 @@ import Dhall (Interpret)
|
||||
data Pg = Pg { username :: Text
|
||||
, password :: Text
|
||||
, host :: Text
|
||||
, database :: Text
|
||||
, migrations :: Text }
|
||||
, database :: Text }
|
||||
deriving (Show, Generic)
|
||||
|
||||
data Store = Filestore { path :: Text }
|
||||
|
@ -1,7 +0,0 @@
|
||||
{ database : { username : Text
|
||||
, password : Text
|
||||
, host : Text
|
||||
, database : Text
|
||||
, migrations : Text }
|
||||
, store : { path : Text }
|
||||
}
|
@ -4,7 +4,5 @@
|
||||
, password = "password"
|
||||
, host = "hostname"
|
||||
, database = "ebook"
|
||||
, migrations = "./migrations"
|
||||
}
|
||||
store = { path = "/tmp/store" }
|
||||
}
|
||||
|
@ -1,8 +0,0 @@
|
||||
\(conf : ./config/Configuration.dhall)
|
||||
->
|
||||
''
|
||||
flyway.locations=filesystem:${conf.database.migrations}/
|
||||
flyway.url=jdbc:postgresql://${conf.database.host}/${conf.database.database}
|
||||
flyway.user=${conf.database.username}
|
||||
flyway.password=${conf.database.password}
|
||||
''
|
Loading…
Reference in New Issue
Block a user