musicmatze :rust: :nixos: on Nostr: Just my 2ct, but why can't I specify a tag in a #nix #flakes input? Not like in the ...
Just my 2ct, but why can't I specify a tag in a #nix #flakes input?
Not like in the URL tho (in my flake.nix) but rather in the lockfile? So that I can update the git dependency via `nix flake update`?
Not that I want it to update automatically, but I would like to see something like
```
$ nix flake update
# Warning: Not updating github:foo/bar from 1.0.0, available versions: 1.0.0, 1.1.0, 2.0.0
```
And then I would
`nix flake update github:foo/bar --version 2.0.0` or something like this.
Having tags in my flake.nix is tedious, because I have to think about updating it.
Published at
2025-02-02 08:45:28 UTCEvent JSON
{
"id": "8855dec8198b4cd55aef49e2ba64a92dc346ed73616a0a6f91aa04f4d0dafe75",
"pubkey": "9774fa73d93e8079d02b61097a0aae23f9890f35ef99040aec95d0def2f24e27",
"created_at": 1738485928,
"kind": 1,
"tags": [
[
"t",
"nix"
],
[
"t",
"flakes"
],
[
"proxy",
"https://social.linux.pizza/users/musicmatze/statuses/113933413798208177",
"activitypub"
]
],
"content": "Just my 2ct, but why can't I specify a tag in a #nix #flakes input?\n\nNot like in the URL tho (in my flake.nix) but rather in the lockfile? So that I can update the git dependency via `nix flake update`?\nNot that I want it to update automatically, but I would like to see something like\n\n```\n$ nix flake update\n# Warning: Not updating github:foo/bar from 1.0.0, available versions: 1.0.0, 1.1.0, 2.0.0\n```\n\nAnd then I would\n\n`nix flake update github:foo/bar --version 2.0.0` or something like this.\n\nHaving tags in my flake.nix is tedious, because I have to think about updating it.",
"sig": "ed294114dcdc803840ce9ecb6e0caf2fecf6d1df22fa54d4abaeb7078aa5616f4ef1bbb429a34999cd65d9e712e45ab8d09545ab4b687ced43e5721dfb4170d9"
}