about summary refs log tree commit diff
path: root/pkgs/larbs-scripts/bare.nix
blob: 05f27c9c25ea4afc1e9d652d7d1c7dd4c9ba287f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, callPackage }:
let
  voidrice = callPackage ../voidrice.nix { };
in
  stdenv.mkDerivation {
    name = "bare";
    src = voidrice;

    installPhase = ''
      mkdir -p $out/bin
      for f in `ls -p ${voidrice}/.local/bin | grep -v /`; do
        cp ${voidrice}/.local/bin/$f $out/bin
      done
    '';

    meta = {
      description = "bare";
      homepage = "https://github.com/LukeSmithXYZ/voidrice";
    };
  }