Skip to content

Commit

Permalink
Up
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir committed Jan 5, 2025
1 parent 95c3562 commit b316f2d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 19 deletions.
3 changes: 1 addition & 2 deletions pkgs/gemini/gplaces/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
pkg-config,
curl,
openssl,
memstreamHook,
}:

stdenv.mkDerivation (finalAttrs: {
Expand All @@ -25,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
curl
openssl
] ++ lib.optional stdenv.isDarwin memstreamHook;
];

makeFlags = [ "VERSION=${finalAttrs.version}" ];

Expand Down
3 changes: 1 addition & 2 deletions pkgs/gemini/tom/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
pkg-config,
makeWrapper,
lua5_3,
memstreamHook,
zlib,
}:

Expand Down Expand Up @@ -34,7 +33,7 @@ stdenv.mkDerivation {
buildInputs = [
lua5_3
zlib
] ++ lib.optional stdenv.isDarwin memstreamHook;
];

installPhase = ''
install -Dm644 *.so *.lua -t $out/share/lua
Expand Down
2 changes: 0 additions & 2 deletions pkgs/osm/smrender/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
cairo,
librsvg,
darwin,
memstreamHook,
testers,
}:

Expand All @@ -34,7 +33,6 @@ stdenv.mkDerivation (finalAttrs: {
]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Foundation
memstreamHook
];

passthru.tests.version = testers.testVersion {
Expand Down
3 changes: 0 additions & 3 deletions pkgs/suckless/chibicc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
memstreamHook,
}:

stdenv.mkDerivation (finalAttrs: {
Expand All @@ -16,8 +15,6 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-sGSPQv9JPXTnyv+7CnmzWq1objCJRctK4wKII8GM26s=";
};

buildInputs = lib.optional stdenv.isDarwin memstreamHook;

installPhase = ''
install -Dm755 chibicc -t $out/bin
'';
Expand Down
16 changes: 6 additions & 10 deletions pkgs/suckless/farbfeld-utils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
SDL,
ghostscript,
sqlite,
memstreamHook,
}:

stdenv.mkDerivation {
Expand All @@ -24,15 +23,12 @@ stdenv.mkDerivation {
rm ff-vccapture.c ff-xcapture.c ff-xdraw.c ff-xwin.c
'';

buildInputs =
[
libGL
SDL
ghostscript
sqlite
]
++ lib.optional stdenv.isLinux libX11
++ lib.optional stdenv.isDarwin memstreamHook;
buildInputs = [
libGL
SDL
ghostscript
sqlite
] ++ lib.optional stdenv.isLinux libX11;

buildPhase = ''
runHook preBuild
Expand Down

0 comments on commit b316f2d

Please sign in to comment.