Where is cwcp from unixcw?

Looking at the unixcw package, it says it includes cwcp and xcwcp.

I do find xcwcp in my path, but not cwcp.

How can that be?:wink:

https://search.nixos.org/packages?channel=unstable&show=unixcw&from=0&size=50&sort=relevance&type=packages&query=unixcw

says cw cwgen xcwcp are available in path. maybe cw is the cwcp you’re looking for?

I am not familiar with unixcw.

1 Like

There’s no package in nixpkgs that includes a command cwcp.
If the nixpkgs package should have cwcp per upstream docs, then I guess file a bug for it.

1 Like

Thanks; that seems like a fix, it seems, but how can I use it?:wink:

I guess I can’t use unstable.unixcw, since it’s not in unstable, yet.

nix shell --option experimental-features 'nix-command flakes' github:eclairevoyant/nixpkgs-contrib/unixcw-fix#unixcw

you’ll now have all the unixcw commands in your current shell.

1 Like

Yup; that works; thanks a bunch;)

ok, now it doesn’t work anymore;)

warning: error: unable to download 'https://api.github.com/repos/eclairevoyant/nixpkgs-contrib/commits/unixcw-fix': HTTP error 422

       response body:

       {
         "message": "No commit found for SHA: unixcw-fix",
         "documentation_url": "https://docs.github.com/rest/commits/commits#get-a-commit",
         "status": "422"
       }; using cached version

I know it’s merged, but shouldn’t this still work?

No, the PR branch is deleted. And why do you want to fetch a patch that’s already on your branch??

You should remove the patch if you are on unstable or 25.05, or change the patch url to https://github.com/NixOS/nixpkgs/pull/381948.patch if you are still on 24.11, or better yet update your system to 25.05