|
|
|
|
|
by caspar
355 days ago
|
|
Last time I checked,[0] this works great - as long as you don't particularly care which specific versions of imagemagick or cowsay you want. If you do care, then welcome to learning about niv, flakes, etc. [0]: admittedly 3 years ago or so. |
|
For my use case, most things I don't mind tracking mainline, but some things I want to fix (chromium is very large, python changes a lot, or some version broke things)
```
#! nix-shell -i bash -p "cowsay" '(import (fetchTarball { url="https://github.com/NixOS/nixpkgs/archive/eb090f7b923b1226e8b..."; sha256 = "15iglsr7h3s435a04313xddah8vds815i9lajcc923s4yl54aj4j";}) {}).python3'
```
[1] flakes really aren't bad either, especially if you think about it as just doing above, but automatically