andi- has quit [Remote host closed the connection]
andi- has joined #nixos-nur
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-nur
Acou_Bass has quit [Ping timeout: 265 seconds]
Acou_Bass has joined #nixos-nur
justanotheruser has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-nur
justanotheruser has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos-nur
justanotheruser has quit [Ping timeout: 276 seconds]
justanotheruser has joined #nixos-nur
justanotheruser has quit [Ping timeout: 246 seconds]
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos-nur
sbrizzu has joined #nixos-nur
<sbrizzu>
I have a couple of questions about how to utilise nur
<sbrizzu>
When I use the example command nix-shell -p nur.repos.mic92.inxi it works, but when I try nix-env -iA nur.repos.mic92.inxi it just says attribute not found
<sbrizzu>
And also how do I update the master.tar.gz? When there is an update in a NUR repository it doesn't get picked up by my local installation because it still has the old fetched tarball
<tilpner>
sbrizzu: Try passing -f '<nixpkgs>'
<tilpner>
sbrizzu: If you're using an unpinned fetchTarball, it will by default cache for 1 hour
<tilpner>
Wait or nuke the cache, or find the option to pass to ignore the cache
<tilpner>
sbrizzu: Perhaps --option tarball-ttl 1 will do it
<sbrizzu>
Really nice, thanks for answering
<sbrizzu>
Last question
<sbrizzu>
If I have two packages with the same name, one from nur and one from nixpkgs, how can I avoid the collision?
<sbrizzu>
Specifically from something like python3.withPackages ['nur numpy, not nixpkgs numpy']
<tilpner>
sbrizzu: In python3.withPackages (ps: [ ps.foo ]), foo should never come from the NUR
<tilpner>
Unless you activated overlays you got from there, which you would know
<tilpner>
A normal NUR repo does not have the power to add to your pythonPackages
<tilpner>
So you want python3.withPackages (ps: [ ps.foo nur.repos.bar.pkgs.foo ])
<sbrizzu>
Yes, I do it like in the last line, but it still gives me collision
<sbrizzu>
If I get what you mean
<tilpner>
Oh, that's a Python question, not an NUR question
<tilpner>
I have no idea how to Python
<tilpner>
What do you expect to happen? Why would they not collide?
<tilpner>
Presumably they provide the same package?
<sbrizzu>
Let's say I have package A-1.0 on nixpkgs, and package A-1.1 on my NUR
<sbrizzu>
When I try to build that environment it just stops because there is a collision of two packages with the same name
<sbrizzu>
I would expect to be able to choose or to be able to specify a version in the nix file
<sbrizzu>
And the code would look like this: python3.withPackages (ps: [ nur.repos.bar.pkgs.A ])
<sbrizzu>
I don't expect to be able to import two identical modules, but I thought that specifying nur.repos... would suffice
<tilpner>
sbrizzu: You'll need to share the exact expression and error
sbrizzu49 has joined #nixos-nur
<sbrizzu49>
Sorry for the username change, I had to change computer
<sbrizzu49>
The error is building '/nix/store/73l19s34n5wvskjss454y8hgmyg717y6-python3-3.7.4-env.drv'...
<sbrizzu49>
for '/nix/store/73l19s34n5wvskjss454y8hgmyg717y6-python3-3.7.4-env.drv' failed with exit code 25