nodePackages.readability-cli: use srcOnly (thanks to @marsam)
This commit is contained in:
parent
ee2571e8fe
commit
dfac3e29cb
@ -450,11 +450,10 @@ final: prev: {
|
||||
#
|
||||
# Need to wrap the source, instead of patching in patchPhase, because
|
||||
# buildNodePackage only unpacks sources in the installPhase.
|
||||
src = stdenv.mkDerivation {
|
||||
src = pkgs.srcOnly {
|
||||
src = oldAttrs.src;
|
||||
name = oldAttrs.name + "-src";
|
||||
name = oldAttrs.name;
|
||||
patchPhase = "chmod a-x readable.ts";
|
||||
installPhase = ''cp -r . "$out"'';
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgs.pkg-config ];
|
||||
|
Loading…
Reference in New Issue
Block a user