Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodePackages.clean-css is the wrong package #82527

Closed
justinlovinger opened this issue Mar 14, 2020 · 3 comments
Closed

nodePackages.clean-css is the wrong package #82527

justinlovinger opened this issue Mar 14, 2020 · 3 comments

Comments

@justinlovinger
Copy link
Contributor

Describe the bug
clean-css is the NodeJS library for clean-css. clean-css-cli is the package for the clean-css cli.

To Reproduce
Steps to reproduce the behavior:

  1. nix run nixpkgs.nodePackages.clean-css
  2. cleancss ...

Expected behavior
The cleancss command should be available.

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.5.8, NixOS, 20.03beta529.da92e0566d1 (Markhor)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.2
  • channels(jlove): ""
  • channels(root): "nixos-20.03beta529.da92e0566d1"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: nodePackages.clean-css
# a list of nixos modules affected by the problem
module:
@doronbehar
Copy link
Contributor

What's wrong with this? The attributes you describe correspond to the clean-css and clean-css-cli npm packages...

@justinlovinger
Copy link
Contributor Author

What's wrong with this? The attributes you describe correspond to the clean-css and clean-css-cli npm packages...

clean-css no longer contains the command line tool to run clean-css. It was split into the separate package clean-css-cli. clean-css just contains the library, but nixpkgs.nodePackages is supposed to contain command like tools (the kind of stuff you would install with npm install -g), not libraries.

@doronbehar
Copy link
Contributor

Fixed a long time ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants