mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
icewm: enable on darwin
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com> XXX Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
parent
14aac472ad
commit
55bd133882
1 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
gccStdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
cmake,
|
cmake,
|
||||||
expat,
|
expat,
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
pkg-config,
|
pkg-config,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
gccStdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "icewm";
|
pname = "icewm";
|
||||||
version = "3.7.5";
|
version = "3.7.5";
|
||||||
|
|
||||||
|
@ -99,6 +99,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
"-DCFGDIR=/etc/icewm"
|
"-DCFGDIR=/etc/icewm"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
env.NIX_CFLAGS_COMPILE = lib.optionalString gccStdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE";
|
||||||
|
|
||||||
# install legacy themes
|
# install legacy themes
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} \
|
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} \
|
||||||
|
@ -123,6 +125,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
'';
|
'';
|
||||||
license = licenses.lgpl2Only;
|
license = licenses.lgpl2Only;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue