lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

nodePackages.postcss-cli: drop

It fails to build with

trying https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.1.tgz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4246k 100 4246k 0 0 3381k 0 0:00:01 0:00:01 --:--:-- 3380k
error: hash mismatch in fixed-output derivation '/nix/store/5pf4yg3grgzwqcjf0s1gy8lf9zh7qjdl-linux-x64-0.25.1.tgz.drv':
likely URL: https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.1.tgz
specified: sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==
got: sha512-xbfUhu/gnvSEg+EGovRc+kjBAkrvtk38RlerAzQxvMzlB4fXpCFCeUAYzJvrnhFtdeyVCDANSjJvOvGYoeKzFA==
error: 1 dependencies of derivation '/nix/store/ypcyrc6mxydrzd95v09bifxdy7zqnp6d-postcss-cli-11.0.1.drv' failed to build

+2 -206
+1
pkgs/development/node-packages/aliases.nix
··· 173 173 pkg = pkgs.vercel-pkg; # added 2023-10-04 174 174 inherit (pkgs) pm2; # added 2024-01-22 175 175 inherit (pkgs) pnpm; # added 2024-06-26 176 + postcss-cli = throw "postcss-cli has been removed because it was broken"; # added 2025-03-24 176 177 prettier_d_slim = pkgs.prettier-d-slim; # added 2023-09-14 177 178 prettier-plugin-toml = throw "prettier-plugin-toml was removed because it provides no executable"; # added 2025-03-23 178 179 inherit (pkgs) prisma; # added 2024-08-31
-1
pkgs/development/node-packages/main-programs.nix
··· 34 34 lua-fmt = "luafmt"; 35 35 parsoid = "parse.js"; 36 36 poor-mans-t-sql-formatter-cli = "sqlformat"; 37 - postcss-cli = "postcss"; 38 37 prettier = "prettier"; 39 38 pulp = "pulp"; 40 39 purescript-language-server = "purescript-language-server";
-1
pkgs/development/node-packages/node-packages.json
··· 129 129 , "peerflix-server" 130 130 , "poor-mans-t-sql-formatter-cli" 131 131 , "postcss" 132 - , "postcss-cli" 133 132 , "prebuild-install" 134 133 , "prettier" 135 134 , "pscid"
-89
pkgs/development/node-packages/node-packages.nix
··· 61402 61402 bypassCache = true; 61403 61403 reconstructLock = true; 61404 61404 }; 61405 - postcss-cli = nodeEnv.buildNodePackage { 61406 - name = "postcss-cli"; 61407 - packageName = "postcss-cli"; 61408 - version = "11.0.1"; 61409 - src = fetchurl { 61410 - url = "https://registry.npmjs.org/postcss-cli/-/postcss-cli-11.0.1.tgz"; 61411 - sha512 = "0UnkNPSayHKRe/tc2YGW6XnSqqOA9eqpiRMgRlV1S6HdGi16vwJBx7lviARzbV1HpQHqLLRH3o8vTcB0cLc+5g=="; 61412 - }; 61413 - dependencies = [ 61414 - sources."ansi-regex-5.0.1" 61415 - sources."ansi-styles-4.3.0" 61416 - sources."anymatch-3.1.3" 61417 - sources."binary-extensions-2.3.0" 61418 - sources."braces-3.0.3" 61419 - sources."chokidar-3.6.0" 61420 - sources."cliui-8.0.1" 61421 - sources."color-convert-2.0.1" 61422 - sources."color-name-1.1.4" 61423 - sources."dependency-graph-1.0.0" 61424 - sources."emoji-regex-8.0.0" 61425 - sources."esbuild-0.25.1" 61426 - sources."escalade-3.2.0" 61427 - ( 61428 - sources."fdir-6.4.3" 61429 - // { 61430 - dependencies = [ 61431 - sources."picomatch-4.0.2" 61432 - ]; 61433 - } 61434 - ) 61435 - sources."fill-range-7.1.1" 61436 - sources."fs-extra-11.3.0" 61437 - sources."get-caller-file-2.0.5" 61438 - sources."get-tsconfig-4.10.0" 61439 - sources."glob-parent-5.1.2" 61440 - sources."graceful-fs-4.2.11" 61441 - sources."is-binary-path-2.1.0" 61442 - sources."is-extglob-2.1.1" 61443 - sources."is-fullwidth-code-point-3.0.0" 61444 - sources."is-glob-4.0.3" 61445 - sources."is-number-7.0.0" 61446 - sources."jiti-2.4.2" 61447 - sources."jsonfile-6.1.0" 61448 - sources."lilconfig-3.1.3" 61449 - sources."nanoid-3.3.9" 61450 - sources."normalize-path-3.0.0" 61451 - sources."picocolors-1.1.1" 61452 - sources."picomatch-2.3.1" 61453 - sources."pify-2.3.0" 61454 - sources."postcss-8.5.3" 61455 - sources."postcss-load-config-5.1.0" 61456 - sources."postcss-reporter-7.1.0" 61457 - sources."pretty-hrtime-1.0.3" 61458 - sources."read-cache-1.0.0" 61459 - sources."readdirp-3.6.0" 61460 - sources."require-directory-2.1.1" 61461 - sources."resolve-pkg-maps-1.0.0" 61462 - sources."slash-5.1.0" 61463 - sources."source-map-js-1.2.1" 61464 - sources."string-width-4.2.3" 61465 - sources."strip-ansi-6.0.1" 61466 - sources."thenby-1.3.4" 61467 - ( 61468 - sources."tinyglobby-0.2.12" 61469 - // { 61470 - dependencies = [ 61471 - sources."picomatch-4.0.2" 61472 - ]; 61473 - } 61474 - ) 61475 - sources."to-regex-range-5.0.1" 61476 - sources."tsx-4.19.3" 61477 - sources."universalify-2.0.1" 61478 - sources."wrap-ansi-7.0.0" 61479 - sources."y18n-5.0.8" 61480 - sources."yaml-2.7.0" 61481 - sources."yargs-17.7.2" 61482 - sources."yargs-parser-21.1.1" 61483 - ]; 61484 - buildInputs = globalBuildInputs; 61485 - meta = { 61486 - description = "CLI for PostCSS"; 61487 - homepage = "https://github.com/postcss/postcss-cli#readme"; 61488 - license = "MIT"; 61489 - }; 61490 - production = true; 61491 - bypassCache = true; 61492 - reconstructLock = true; 61493 - }; 61494 61405 prebuild-install = nodeEnv.buildNodePackage { 61495 61406 name = "prebuild-install"; 61496 61407 packageName = "prebuild-install";
-69
pkgs/development/node-packages/overrides.nix
··· 177 177 ''; 178 178 }; 179 179 180 - postcss-cli = prev.postcss-cli.override ( 181 - oldAttrs: 182 - let 183 - esbuild-version = (lib.findFirst (dep: dep.name == "esbuild") null oldAttrs.dependencies).version; 184 - esbuild-linux-x64 = { 185 - name = "_at_esbuild_slash_esbuild-linux-x64"; 186 - packageName = "@esbuild/linux-x64"; 187 - version = esbuild-version; 188 - src = fetchurl { 189 - url = "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-${esbuild-version}.tgz"; 190 - sha512 = "sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw=="; 191 - }; 192 - }; 193 - esbuild-linux-arm64 = { 194 - name = "_at_esbuild_slash_esbuild-linux-arm64"; 195 - packageName = "@esbuild/linux-arm64"; 196 - version = esbuild-version; 197 - src = fetchurl { 198 - url = "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-${esbuild-version}.tgz"; 199 - sha512 = "sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg=="; 200 - }; 201 - }; 202 - esbuild-darwin-x64 = { 203 - name = "_at_esbuild_slash_esbuild-darwin-x64"; 204 - packageName = "@esbuild/darwin-x64"; 205 - version = esbuild-version; 206 - src = fetchurl { 207 - url = "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-${esbuild-version}.tgz"; 208 - sha512 = "sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg=="; 209 - }; 210 - }; 211 - esbuild-darwin-arm64 = { 212 - name = "_at_esbuild_slash_esbuild-darwin-arm64"; 213 - packageName = "@esbuild/darwin-arm64"; 214 - version = esbuild-version; 215 - src = fetchurl { 216 - url = "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-${esbuild-version}.tgz"; 217 - sha512 = "sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw=="; 218 - }; 219 - }; 220 - in 221 - { 222 - nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ]; 223 - dependencies = 224 - oldAttrs.dependencies 225 - ++ lib.optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64) esbuild-linux-x64 226 - ++ lib.optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) esbuild-linux-arm64 227 - ++ lib.optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) esbuild-darwin-x64 228 - ++ lib.optional ( 229 - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 230 - ) esbuild-darwin-arm64; 231 - postInstall = '' 232 - wrapProgram "$out/bin/postcss" \ 233 - --prefix NODE_PATH : ${final.postcss}/lib/node_modules \ 234 - --prefix NODE_PATH : ${pkgs.autoprefixer}/node_modules 235 - ln -s '${final.postcss}/lib/node_modules/postcss' "$out/lib/node_modules/postcss" 236 - ''; 237 - passthru.tests = { 238 - simple-execution = callPackage ./package-tests/postcss-cli.nix { 239 - inherit (final) postcss-cli; 240 - }; 241 - }; 242 - meta = oldAttrs.meta // { 243 - maintainers = with lib.maintainers; [ Luflosi ]; 244 - license = lib.licenses.mit; 245 - }; 246 - } 247 - ); 248 - 249 180 pulp = prev.pulp.override { 250 181 # tries to install purescript 251 182 npmFlags = builtins.toString [ "--ignore-scripts" ];
-44
pkgs/development/node-packages/package-tests/postcss-cli.nix
··· 1 - { runCommand, postcss-cli }: 2 - 3 - let 4 - inherit (postcss-cli) packageName version; 5 - in 6 - 7 - runCommand "${packageName}-tests" { meta.timeout = 60; } '' 8 - # get version of installed program and compare with package version 9 - claimed_version="$(${postcss-cli}/bin/postcss --version)" 10 - if [[ "$claimed_version" != "${version}" ]]; then 11 - echo "Error: program version does not match package version ($claimed_version != ${version})" 12 - exit 1 13 - fi 14 - 15 - # run basic help command 16 - ${postcss-cli}/bin/postcss --help > /dev/null 17 - 18 - # basic autoprefixer test 19 - config_dir="$(mktemp -d)" 20 - clean_up() { 21 - rm -rf "$config_dir" 22 - } 23 - trap clean_up EXIT 24 - echo " 25 - module.exports = { 26 - plugins: { 27 - 'autoprefixer': { overrideBrowserslist: 'chrome 40' }, 28 - }, 29 - } 30 - " > "$config_dir/postcss.config.js" 31 - input='a{ user-select: none; }' 32 - expected_output='a{ -webkit-user-select: none; user-select: none; }' 33 - actual_output="$(echo $input | ${postcss-cli}/bin/postcss --no-map --config $config_dir)" 34 - if [[ "$actual_output" != "$expected_output" ]]; then 35 - echo "Error: autoprefixer did not output the correct CSS:" 36 - echo "$actual_output" 37 - echo "!=" 38 - echo "$expected_output" 39 - exit 1 40 - fi 41 - 42 - # needed for Nix to register the command as successful 43 - touch $out 44 - ''
+1
pkgs/top-level/aliases.nix
··· 1393 1393 pgroonga = postgresqlPackages.pgroonga; 1394 1394 pgtap = postgresqlPackages.pgtap; 1395 1395 plv8 = postgresqlPackages.plv8; 1396 + postcss-cli = throw "postcss-cli has been removed because it was broken"; # added 2025-03-24 1396 1397 postgis = postgresqlPackages.postgis; 1397 1398 tex-match = throw "'tex-match' has been removed due to lack of maintenance upstream. Consider using 'hieroglyphic' instead"; # Added 2024-09-24 1398 1399 texinfo5 = throw "'texinfo5' has been removed from nixpkgs"; # Added 2024-09-10
-2
pkgs/top-level/all-packages.nix
··· 8671 8671 8672 8672 polar = callPackage ../tools/misc/polar { }; 8673 8673 8674 - inherit (nodePackages) postcss-cli; 8675 - 8676 8674 pyprof2calltree = with python3Packages; toPythonApplication pyprof2calltree; 8677 8675 8678 8676 premake3 = callPackage ../development/tools/misc/premake/3.nix { };