Skip to content

Commit

Permalink
change klayout derivation (again) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Oct 29, 2023
1 parent 0aabb3a commit 4e5d3bb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions nix/klayout.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
}:

with pkgs; let
rev = "6a36bfa7c04f55bd732f8e0f91b553c8f9cebed7";
in gccStdenv.mkDerivation {
rev = "8212b7cefd5b774f82f53cf9080ffc109f1e66ea";
in clangStdenv.mkDerivation {
name = "klayout";

src = fetchFromGitHub {
owner = "KLayout";
repo = "klayout";
rev = "${rev}";
sha256 = "sha256-fjKxQ3oVtnFwzLeeE6kN0jKE5PIfBZubTF54KO+k/DE=";
sha256 = "sha256-QvEoXKJ9sH5WIarYPsYEWwoFwA/pZa2etegA+AD8rPo=";
};

postPatch = ''
Expand Down Expand Up @@ -79,6 +79,7 @@ in gccStdenv.mkDerivation {

buildPhase = ''
mkdir -p $out/lib
echo "Using $NIX_BUILD_CORES threads…"
./build.sh\
-option -j$NIX_BUILD_CORES\
-without-qtbinding\
Expand All @@ -104,4 +105,4 @@ in gccStdenv.mkDerivation {
'' else '''';

dontInstall = true; # "Installation" already happens as part of "build.sh"
}
}

0 comments on commit 4e5d3bb

Please sign in to comment.