My nix-darwin and NixOS config
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: update pds-landing package to include unpacked source

+33
+33
modules/server/pds-landing/default.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + path ? ./., 5 + }: 6 + 7 + stdenv.mkDerivation { 8 + pname = "pds-landing"; 9 + version = "1.0.0"; 10 + 11 + src = path; 12 + 13 + # Unpack the source, then copy everything to output 14 + phases = [ 15 + "unpackPhase" 16 + "installPhase" 17 + ]; 18 + 19 + installPhase = '' 20 + mkdir -p $out 21 + # Copy all files from the unpacked source 22 + cp -r . $out/ 23 + # Remove .DS_Store files if present 24 + find $out -name ".DS_Store" -delete 25 + ''; 26 + 27 + meta = with lib; { 28 + description = "Ewan's personal PDS (Personal Data Server) landing page"; 29 + homepage = "https://pds.ewancroft.uk"; 30 + license = licenses.agpl3Only; 31 + platforms = platforms.all; 32 + }; 33 + }