creduce: migrate to by-name

This commit is contained in:
Xiangyan Sun
2026-05-08 21:25:19 -07:00
parent 30b6d6393a
commit 3e46802cf5
3 changed files with 7 additions and 9 deletions

View File

@@ -4,13 +4,15 @@
fetchFromGitHub,
cmake,
makeWrapper,
llvm,
libclang,
llvmPackages_18,
flex,
zlib,
perlPackages,
util-linux,
}:
let
llvmPackages = llvmPackages_18;
in
stdenv.mkDerivation {
pname = "creduce";
@@ -44,14 +46,14 @@ stdenv.mkDerivation {
nativeBuildInputs = [
cmake
makeWrapper
llvm.dev
llvmPackages.llvm.dev
];
buildInputs = [
# Ensure stdenv's CC is on PATH before clang-unwrapped
stdenv.cc
# Actual deps:
llvm
libclang
llvmPackages.llvm
llvmPackages.libclang
flex
zlib
]

View File

@@ -5542,10 +5542,6 @@ with pkgs;
credstash = with python3Packages; toPythonApplication credstash;
creduce = callPackage ../development/tools/misc/creduce {
inherit (llvmPackages_18) llvm libclang;
};
css-html-js-minify = with python3Packages; toPythonApplication css-html-js-minify;
cvise = python3Packages.callPackage ../development/tools/misc/cvise {