diff options
Diffstat (limited to 'modules/private/websites/connexionswing')
-rw-r--r-- | modules/private/websites/connexionswing/app/connexionswing.json | 14 | ||||
-rw-r--r-- | modules/private/websites/connexionswing/app/default.nix | 7 |
2 files changed, 5 insertions, 16 deletions
diff --git a/modules/private/websites/connexionswing/app/connexionswing.json b/modules/private/websites/connexionswing/app/connexionswing.json deleted file mode 100644 index 7d792ae..0000000 --- a/modules/private/websites/connexionswing/app/connexionswing.json +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | { | ||
2 | "tag": "ed58743-master", | ||
3 | "meta": { | ||
4 | "name": "connexionswing", | ||
5 | "url": "ssh://gitolite@git.immae.eu/perso/Immae/Projets/Connexionswing", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "git": { | ||
9 | "url": "ssh://gitolite@git.immae.eu/perso/Immae/Projets/Connexionswing", | ||
10 | "rev": "ed5874396d35766e0810a6d4e78e1a8f6b170835", | ||
11 | "sha256": "1cjjl24j5di7f9xagm3xk2y80jga6kf3q9zws185jkrwwp3xmfhf", | ||
12 | "fetchSubmodules": true | ||
13 | } | ||
14 | } | ||
diff --git a/modules/private/websites/connexionswing/app/default.nix b/modules/private/websites/connexionswing/app/default.nix index 37ce42d..31e88db 100644 --- a/modules/private/websites/connexionswing/app/default.nix +++ b/modules/private/websites/connexionswing/app/default.nix | |||
@@ -1,12 +1,15 @@ | |||
1 | { environment ? "prod" | 1 | { environment ? "prod" |
2 | , varDir ? "/var/lib/connexionswing_${environment}" | 2 | , varDir ? "/var/lib/connexionswing_${environment}" |
3 | , secretsPath ? "/var/secrets/webapps/${environment}-connexionswing" | 3 | , secretsPath ? "/var/secrets/webapps/${environment}-connexionswing" |
4 | , composerEnv, fetchurl, fetchgit, mylibs }: | 4 | , composerEnv, fetchurl, fetchgit, sources }: |
5 | let | 5 | let |
6 | app = composerEnv.buildPackage ( | 6 | app = composerEnv.buildPackage ( |
7 | import ./php-packages.nix { inherit composerEnv fetchurl fetchgit; } // | 7 | import ./php-packages.nix { inherit composerEnv fetchurl fetchgit; } // |
8 | mylibs.fetchedGitPrivate ./connexionswing.json // | ||
9 | rec { | 8 | rec { |
9 | pname = "connexionswing"; | ||
10 | name = "${pname}-${version}"; | ||
11 | version = sources.websites-connexionswing-app.version; | ||
12 | src = sources.websites-connexionswing-app; | ||
10 | noDev = (environment == "prod"); | 13 | noDev = (environment == "prod"); |
11 | preInstall = '' | 14 | preInstall = '' |
12 | export SYMFONY_ENV="${environment}" | 15 | export SYMFONY_ENV="${environment}" |