mirror of
https://github.com/vale981/phoebe
synced 2025-03-04 17:31:41 -05:00

* Services that need password files will automatically depend on the appropriate NixOps key service as necessary. * New `sourcedFile` option for Rails applications to load a Bash script just before starting the Rails service. Useful for setting secret environment variables.
21 lines
318 B
Nix
21 lines
318 B
Nix
{ pkgs ? import <nixpkgs> { }
|
|
, ...
|
|
}:
|
|
|
|
pkgs.stdenvNoCC.mkDerivation rec {
|
|
name = "phoebe-${version}";
|
|
version = "0.1";
|
|
src = ./.;
|
|
|
|
phases =
|
|
[ "unpackPhase"
|
|
"installPhase"
|
|
"fixupPhase"
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -rp bin modules lib $out/
|
|
chmod 0555 $out/bin/*
|
|
'';
|
|
}
|