mirror of
https://github.com/Kindelia/Kind2.git
synced 2024-09-11 07:15:45 +03:00
build kind-scm-deb with nix
This commit is contained in:
parent
436b11d2fa
commit
b46c7986b2
24
flake.nix
24
flake.nix
@ -8,7 +8,7 @@
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
version = "1.0.95";
|
||||
version = "1.0.104";
|
||||
in
|
||||
{
|
||||
packages.kind-scm =
|
||||
@ -33,6 +33,28 @@
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
packages.kind-scm-deb =
|
||||
pkgs.stdenv.mkDerivation {
|
||||
pname = "kind-scm-deb";
|
||||
version = version;
|
||||
|
||||
src = self;
|
||||
|
||||
buildInputs = [ pkgs.chez-racket pkgs.chez-exe pkgs.libuuid pkgs.dpkg ];
|
||||
|
||||
buildPhase = ''
|
||||
cd bin/scm
|
||||
make deb
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp bin/kind-scm_1.0.1-0_amd64.deb $out
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
/*packages.kind-js =
|
||||
pkgs.stdenv.mkDerivation {
|
||||
pname = "kind-js";
|
||||
|
Loading…
Reference in New Issue
Block a user