Skip to content

Instantly share code, notes, and snippets.

@siers
Created August 27, 2024 14:08
Show Gist options
  • Save siers/63df7694c42062349c57c89969a9fbc7 to your computer and use it in GitHub Desktop.
Save siers/63df7694c42062349c57c89969a9fbc7 to your computer and use it in GitHub Desktop.
nix-shell --run 'python -m uploadserver' oneliner
nix-shell -E 'with (import <nixpkgs> {}); with python3; mkShell { buildInputs = [ (withPackages (p: [(pkgs.buildPythonPackage rec { pname = "uploadserver"; version = "5.2.1"; src = fetchPypi { inherit pname version; hash = "sha256-qp2xkzLvnrnx8dHZpwlF3RjRg8jYC7WAaVS4ltJFZaU="; }; })]) ) ]; }' --run "python -m uploadserver 65353"
# you're welcome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment