pymks icon indicating copy to clipboard operation
pymks copied to clipboard

How to use nix to install pymks

Open CGH20171006 opened this issue 1 year ago • 1 comments

I find that the nix changes the location of the repository. So this code didn't work; can you update the readme file?

nix-shell \
    -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/21.05.tar.gz \
    -I pymks=https://github.com/materialsinnovation/pymks/archive/${PYMKS_VERSION}.tar.gz \
    -E 'with (import <nixpkgs> {}); mkShell { buildInputs = [ (python3Packages.callPackage <pymks> { }) ]; }'

CGH20171006 avatar Dec 10 '24 01:12 CGH20171006

Thanks for generating an issue. I'm not sure what you mean by "changes the location of the repository". Do you mean that executing the nix-shell command changes the location of your own cloned working copy?

wd15 avatar Dec 16 '24 16:12 wd15