Update xK
This commit is contained in:
parent
8a97713fa1
commit
8e0826b8b3
|
@ -5,6 +5,7 @@
|
|||
pkgs.stdenv.mkDerivation rec {
|
||||
_pname = "xK";
|
||||
pname = pkgs.lib.strings.toLower _pname;
|
||||
_version = pkgs.lib.strings.fileContents (src + "/xK-version");
|
||||
version = "master";
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
|
@ -98,6 +99,13 @@ pkgs.stdenv.mkDerivation rec {
|
|||
preBuild = ''
|
||||
make
|
||||
'';
|
||||
|
||||
ldflags = [ "-X 'main.projectVersion=${_version}'" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/man/man1
|
||||
mv xS.1 $out/share/man/man1
|
||||
'';
|
||||
};
|
||||
|
||||
# While we can't include them in this derivation, we can link to them.
|
||||
|
|
Loading…
Reference in New Issue