diff --git a/default.nix b/default.nix index 93a8474..08a7788 100644 --- a/default.nix +++ b/default.nix @@ -1,17 +1,25 @@ { pkgs ? import {} }: -pkgs.stdenv.mkDerivation rec { - name= "site-musique"; +pkgs.python3.pkgs.buildPythonPackage rec { + pname= "site-musique"; + version = "1.0"; inherit (pkgs) stdenv; src = ./.; - installPhase = '' - mkdir -p $out/ - cp -R . $out/ + propagatedBuildInputs = [ pkgs.python3.pkgs.django_2_2 pkgs.python3.pkgs.pillow ]; + + postFixup = '' + wrapPythonProgramsIn $out/bin/manage.py + #HACK wrapper breaks django manage.py + sed -i "$out/bin/.manage.py-wrapped" -e ' + 0,/sys.argv\[0\].*;/s/sys.argv\[0\][^;]*;// + ' ''; + doCheck = false; + meta = { description = "Site de présentation de l'association Musique Fraternité de Meyenheim"; homepage = https://musique-meyenheim.fr; diff --git a/site_statique/templates/site_statique/salle.html b/site_statique/templates/site_statique/salle.html index a1fec7f..b8e343a 100644 --- a/site_statique/templates/site_statique/salle.html +++ b/site_statique/templates/site_statique/salle.html @@ -68,30 +68,6 @@ - -
-
-
-
-

Contact

-
-

Céline TREHIOU

-
-
- -

07 68 40 11 38

-
- -
- -

Mme TREHIOU Céline
4 rue St Michel
68890 MEYENHEIM

-
-
-
-
{% include "contact.html" with responsable="Céline TREHIOU" email="salle@musique-meyenheim.fr" adresse="Mme TREHIOU Céline
4 rue St Michel
68890 MEYENHEIM" %} {% endblock %} diff --git a/templates/footer.html b/templates/footer.html index 69f2cce..2f9127c 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,4 +1,4 @@ -