a webring manager, I guess
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
436 B

{ sources ? import ./nix/sources.nix
, pkgs ? import sources.nixpkgs {} }:
pkgs.stdenv.mkDerivation rec {
name = "perihelion";
version = "0.2.0";
src = ./.;
nativeBuildInputs = with pkgs; [ racket ];
# https://github.com/NixOS/nixpkgs/issues/11698
buildPhase = ''
raco exe --gui -o ${name} main.rkt
'';
installPhase = ''
mkdir -p $out/bin
cp -f ${name} $out/bin
cp -rf $src/static $out/static
'';
}