Merge pull request #3 from ryanorendorff/qsys

Add libXi dependency to enable Platform Designer
This commit is contained in:
Travis Whitaker 2020-10-27 23:33:56 -07:00 committed by GitHub
commit 24bf1627ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 5 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
result

View File

@ -13,7 +13,7 @@ Simply import the top-level expression for the desired Quartus version. For
example, to build the Lite Edition of Quartus Prime 18:
```
$ nix build "(import ./lite18.nix)"
$ nix-build -E "(import ./lite18.nix)"
```
To install the same version:

View File

@ -2,7 +2,7 @@
, nukeReferences, glibcLocales, libfaketime, coreutils, gnugrep, gnused, proot
# Runtime dependencies
, zlib, glib, libpng12, freetype, libSM, libICE, libXrender, fontconfig
, libXext, libX11, libXtst, gtk2, bzip2, libelf
, libXext, libX11, libXtst, gtk2, bzip2, libelf, libXi
}:
{ baseName
@ -68,6 +68,7 @@ let
pkgsi686Linux.xorg.libXrender pkgsi686Linux.fontconfig.lib
pkgsi686Linux.xorg.libXext pkgsi686Linux.xorg.libX11 pkgsi686Linux.xorg.libXtst
pkgsi686Linux.gtk2 pkgsi686Linux.bzip2.out pkgsi686Linux.libelf
pkgsi686Linux.xorg.libXi
pkgsi686Linux.stdenv.cc.cc.lib
];
@ -75,7 +76,7 @@ let
runtimeLibPath64 =
stdenv.lib.makeLibraryPath
[ zlib glib libpng12 freetype libSM libICE libXrender fontconfig.lib
libXext libX11 libXtst gtk2 bzip2.out libelf
libXext libX11 libXtst gtk2 bzip2.out libelf libXi
stdenv.cc.cc.lib
];

View File

@ -3,7 +3,7 @@
, requireFile
# Runtime libraries:
, zlib, glib, libpng12, freetype, libSM, libICE, libXrender, fontconfig
, libXext, libX11, libXtst, gtk2, bzip2, libelf
, libXext, libX11, libXtst, gtk2, bzip2, libelf, libXi
}:
let
@ -16,7 +16,7 @@ let
nukeReferences glibcLocales libfaketime coreutils gnugrep gnused proot
# Runtime libraries:
zlib glib libpng12 freetype libSM libICE libXrender fontconfig
libXext libX11 libXtst gtk2 bzip2 libelf;
libXext libX11 libXtst gtk2 bzip2 libelf libXi;
};
mkCommonQuartus = srcAttrs: