Compilation Nix

This commit is contained in:
nyanloutre 2018-10-28 16:15:56 +01:00
parent 1212a03441
commit 39525735f7
1 changed files with 22 additions and 0 deletions

22
default.nix Normal file
View File

@ -0,0 +1,22 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation rec {
name= "site-musique";
inherit (pkgs) stdenv;
src = ./.;
installPhase = ''
mkdir -p $out/
cp -R . $out/
'';
meta = {
description = "Site de présentation de l'association Musique Fraternité de Meyenheim";
homepage = https://musique-meyenheim.fr;
maintainers = with stdenv.lib.maintainers; [ nyanloutre ];
license = stdenv.lib.licenses.cc-by-nc-sa-40;
platforms = stdenv.lib.platforms.all;
};
}