| 26 Dec 2024 |
| @10leej:matrix.org joined the room. | 01:41:09 |
| @10leej:matrix.org left the room. | 01:41:56 |
| elikoga changed their display name from elikoga to elikoga (@38c3 📞448{0,1}. | 15:21:55 |
| elikoga changed their display name from elikoga (@38c3 📞448{0,1} to elikoga (@38c3 📞448{0,1}). | 15:26:10 |
| elikoga changed their display name from elikoga (@38c3 📞448{0,1}) to elikoga (@38c3 📞488{0,1}). | 15:26:51 |
| Tommy changed their display name from Tommy to Tommy (3841). | 16:06:44 |
| phaer changed their display name from phaer to phaer (8650 at 38c3). | 17:41:37 |
| Lorenz Leutgeb changed their display name from Lorenz Leutgeb to Lorenz Leutgeb (📞6343). | 19:33:13 |
| Lorenz Leutgeb changed their display name from Lorenz Leutgeb (📞6343) to Lorenz Leutgeb 📞6343. | 19:36:26 |
| pierre joined the room. | 20:16:15 |
| 27 Dec 2024 |
| tilpner changed their display name from tilpner to tilpner (38c3 3209). | 09:40:59 |
| Dimitar set a profile picture. | 11:41:24 |
| Dimitar changed their display name from dimitarnestorov to Dimitar. | 11:42:16 |
| pinpox changed their display name from pinpox to pinpox [DECT: 7170]. | 15:22:52 |
f44 | Hi! I try to load a flake into the nix repl and encounter the following error: nix-repl> :lf .
error:
… while updating the lock file of flake 'git+file:///home/user/dev/nix-config?dir=config&ref=refs/heads/main&rev=f4283050582a3d34aee1f91780a3a64d5ab46ddb'
error: flake 'git+file:///home/user/dev/nix-config?dir=config' requires lock file changes but they're not allowed due to '--no-update-lock-file
This worked a few weeks back without any issues. Any idea what's causing this? I'm not using this flag anywhere. | 15:33:21 |
f44 | Seems like this is caused by a local flake I've added and imported recently. When I remove it, the problem vanishes. I can work with that, ignore me :) | 15:58:43 |
| 28 Dec 2024 |
| t2elsewhere joined the room. | 15:36:49 |
| brouny joined the room. | 15:40:30 |
laauurraa | Hi! How do I make my flake executable so it can run on another machine? | 17:15:54 |
laauurraa | I have a flake that I can use, it works on my machine, but now I want to be able to do
$ nix run github:<my-github-user>:<my-repo>
| 17:16:39 |
laauurraa | {
description = "Remarks ..."
outputs = { self, nixpkgs, flake-utils, poetry2nix }:
flake-utils.lib.eachDefaultSystem (system:
let
# ...
# .......
in {
packages = {
default = remarksBin;
remarks = remarksBin;
};
apps.default = {
type = "app";
program = "${remarksBin}/bin/remarks";
};
devShells.default = environment;
});
}
| 17:18:22 |
laauurraa | * {
description = "Remarks ..."
outputs = { self, nixpkgs, flake-utils, poetry2nix }:
flake-utils.lib.eachDefaultSystem (system:
let
# ...
# .......
remarksBin = mkPoetryApplication {
# ...
};
in {
packages = {
default = remarksBin;
remarks = remarksBin;
};
apps.default = {
type = "app";
program = "${remarksBin}/bin/remarks";
};
devShells.default = environment;
});
}
| 17:19:23 |
laauurraa | But now I'm getting an error
$ nix run github:Azeirah/remarks
error: unable to execute '/nix/store/sf1dlqvx5lqr2sg5jmvcwlrpa6bg9hrk-python3.10-remarks-0.3.10/bin/remarks': No such file or directory
Whereas, if I run
$ nix run #.
In the git repo itself, it does work
| 17:22:26 |
| @ronnypfannschmidt:matrix.org left the room. | 17:57:41 |
samasaur | uhh when you run it locally are you running nix run .# or nix run #. | 18:20:13 |
samasaur | actually nvm it shouldn't matter | 18:21:23 |
samasaur | do you have any local changes? I can't get anything to run with or without a local clone | 18:21:52 |
samasaur | and it appears to be because your package doesn't produce a bin output | 18:22:07 |
| 29 Dec 2024 |
laauurraa | OH, it was totally the local change | 01:04:33 |
laauurraa | The part that generates the bin was missing in the pyproject.toml on the github repository, but I did have it locally | 01:04:52 |