blob: fca52a619043fc5adba0ed25f5c75bf108ec7665 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ stdenv, lib, makeWrapper, bc }:
stdenv.mkDerivation {
name = "sfttime";
phases = [ "installPhase" "fixupPhase" ];
buildInputs = [ makeWrapper ];
installPhase = ''
install -D ${./sfttime.sh} $out/bin/sfttime
wrapProgram $out/bin/sfttime \
--prefix PATH : ${lib.makeBinPath [ bc ]}
'';
}
|