Merge pull request #166804 from Luflosi/fix-postcss-cli

This commit is contained in:
Sandro 2022-04-06 14:21:06 +02:00 committed by GitHub
commit 93a139dac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -343,13 +343,17 @@ let
wrapProgram "$out/bin/postcss" \
--prefix NODE_PATH : ${self.postcss}/lib/node_modules \
--prefix NODE_PATH : ${self.autoprefixer}/lib/node_modules
ln -s '${self.postcss}/lib/node_modules/postcss' "$out/lib/node_modules/postcss"
'';
passthru.tests = {
simple-execution = pkgs.callPackage ./package-tests/postcss-cli.nix {
inherit (self) postcss-cli;
};
};
meta.mainProgram = "postcss";
meta = {
mainProgram = "postcss";
maintainers = with lib.maintainers; [ Luflosi ];
};
};
# To update prisma, please first update prisma-engines to the latest