summaryrefslogtreecommitdiff
path: root/pkgs/webapps/rompr/default.nix
blob: 2accf00c6015fe4cee39e1a3d414e653c4d69721 (plain) (blame)
1
2
3
4
5
6
7
8
{ varDir ? "/var/lib/rompr", stdenv, mylibs }:
stdenv.mkDerivation (mylibs.fetchedGithub ./rompr.json // {
  installPhase = ''
        cp -a . $out
        ln -sf ${varDir}/prefs $out/prefs
        ln -sf ${varDir}/albumart $out/albumart
  '';
})