Provide example in README for using `nix (shell|build) mach-nix#gen.(python|docker).package1`
See original GitHub issueThank you for your work, I am sure as soon as I get it working it’s gonna be super helpful! I am new to Nix, so maybe this is an obvious thing
I was really intrigued by the usage of nix (shell|build) mach-nix#gen.python.package1
as a way of diving into a shell with package1
installed.
I have tried to substitute package1
with:
-
The name in Pypi: So the command becomes
nix shell mach-nix#gen.python.requests
. And I get the following output message:error: packages.x86_64-linux.gen.python.requests.meta.priority is not an Integer
. -
The name of the package in
nixpkgs
: So the command becomesnix shell mach-nix#gen.python.python39Packages\.requests
. And I get a similar error saying that such attribute is not provided byflake:mach-nix
.
Hence, could you provide an example in the README.md for helpless souls like me that are just getting into Nix?
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top GitHub Comments
Thank you for your time!
I made sure to update my
mach-nix
copy vianix flake update
and I had the same output. I tried to run the flake directly from github as you said it worked for you, and still got the same error:I shall start digging into the source code to see if I find something
Does #503 fix it ?