mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-28 14:50:55 +01:00
26 lines
558 B
Nix
26 lines
558 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
let
|
|
deps = import ./compose.nix {};
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "polr";
|
|
version = "2.3.0b";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cydrobolt";
|
|
repo = "polr";
|
|
rev = "6e7353825711fa5c42c6ec3522254c6875be8dd7";
|
|
sha256 = "sha256-3yeoQDOzhD8lhAyrh3Ag+PSxHzIVaWuSmOIXlX7gYRE=";
|
|
};
|
|
|
|
patches = [ ./createsuperuser.patch ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/
|
|
cp -R . $out/
|
|
cp $out/.env.setup $out/.env
|
|
cp -r ${deps}/vendor/ $out/vendor/
|
|
'';
|
|
}
|
|
|