aboutsummaryrefslogtreecommitdiff
path: root/modules/pkgs/rdsdump/default.nix
blob: 0efe0335f687daa601af7514d224a994210e9a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ stdenv, bash, ... }:

stdenv.mkDerivation {
  name = "rdsdump";
  buildInputs = [ bash ];
  phases = [ "installPhase" ];
  installPhase = ''
    mkdir -p $out/bin
    cp -a ${./rdsdump.bash} $out/bin/rdsdump
    chmod +x $out/bin/rdsdump
    patchShebangs $out/bin/rdsdump
  '';
}