about summary refs log tree commit diff
path: root/pkgs/larbs-scripts/bare.nix
blob: 5e0e9bf64727bc8a25ac0e5c216d9dc0aef136b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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
      rm $out/bin/slider
    '';

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