Hacker News new | past | comments | ask | show | jobs | submit login

I am reluctant to refer you to aws-cli V2 because it is way more involved to install. No idea why aws moved away from their original distribution method... However, the V2 is going to be the way to go moving forwards :/



>No idea why aws moved away from their original distribution method

Didn't they move away exactly because of issues like this? As I understand it, aws-cli v2 is still written in Python but ships everything it needs self-contained so it can avoid Python dependency hell[1]

1: https://www.youtube.com/watch?v=U5y7JI_mHk8#t=3m40


Funnily enough, I didn’t have issues with Python’s dependency hell before working for AWS, not because we have more dependencies, but because… reasons.


Is it special files that begin with a capital letter, version sets, version filter instances, and massive symlink farms?


If you already know that much then you don’t need a response ;)


Indeed!


    cat -n shell.nix
    { pkgs ? import <nixpkgs> {}
    }:
    pkgs.mkShell {
        name  = "dev-env";
        buildInputs = with pkgs; [
            awscli2
        ];
   }
And then you can have it available when entering shell with nix-shell.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: