| 13 Mar 2025 |
Adam Neverwas | nix flake update
error: path '/nix/store/0ccnxa25whszw7mgbgyzdm4nqc0zwnm8-source/flake.nix' does not exist
What do i do in this case? | 19:18:09 |
Adam Neverwas | I repaired somehow, but i forgot how... | 19:18:31 |
Adam Neverwas | i have the nix file in the root of the project | 19:19:14 |
elikoga | git add . and try again? | 19:20:00 |
Adam Neverwas | :O | 19:20:29 |
Adam Neverwas | Thnakz | 19:20:35 |
robsliwi | LPT: If it's not in version control it's not accessible in the context of the Nix Flake, as the inputs are pure :) | 19:21:57 |
emily | (unless you have no repository. also, it still uses the working directory copy of files, not what's actually committed or staged, even though it uses the staging area for what files to include.) | 19:25:01 |
elikoga | Which the cli tries to indicate to you by describing the repo as "dirty" | 19:25:57 |
Adam Neverwas | thanks, went into the knowedge | 19:42:44 |
| 14 Mar 2025 |
| ehuelsmann joined the room. | 09:31:59 |
| @losh:matrix.cert.ccc.de left the room. | 11:32:39 |
| 15 Mar 2025 |
| aidetechbot joined the room. | 02:51:48 |
| aidetechbot set a profile picture. | 02:52:57 |
| aidetechbot left the room. | 02:55:11 |
| aidetechbot joined the room. | 02:55:29 |
| phaer left the room. | 06:29:25 |
| @rasmus:fricloud.dk joined the room. | 13:02:30 |
| happens.lol changed their profile picture. | 16:23:02 |
| 17 Mar 2025 |
| egrieco joined the room. | 06:49:42 |
| jappie joined the room. | 08:08:18 |
| 18 Mar 2025 |
laauurraa | Hi! I have a possibly kind of dumb question, but when I install something like Zotero via NixOS, I can just run it, right? But when I do the same in a flake, like this for example:
{
description = "zotero2remarkable bridge development tools";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
pythonEnv = pkgs.python312.withPackages (ps: []);
environment = pkgs.mkShell {
buildInputs = [
pkgs.zotero
pkgs.poetry
];
};
in {
devShells.default = environment;
}
);
}
Then I need to install the dynamic libraries myself. I thought the entire idea of Nix was that nixpkgs knows what the dynamic libraries are for zotero and it figures it out for your system?
| 14:18:38 |
elikoga | Works with github:NixOS/nixpkgs/nixos-24.11 this is unrelated to Flakes | 14:29:02 |
elikoga | Should be reported at https://github.com/NixOS/nixpkgs/issues as an issue with zotero on unstable | 14:29:53 |
elikoga | * Should be reported at https://github.com/NixOS/nixpkgs/issues as an issue with the newest zotero version on unstable | 14:30:20 |
laauurraa | Oh huh, you're right. On 24.11 it does launch (although I get a different bug). I didn't realize it was an issue with the zotero package itself | 14:30:42 |
laauurraa | I'm getting a crash with 24.11 though :(
/nix/store/zhj8yr1ykkj7j266v4pcjxfna4qx55ga-zotero-7.0.10/bin/.zotero-wrapped: line 20: 48168 Segmentation fault (core dumped) "$CALLDIR/zotero-bin" -app "$CALLDIR/app/application.ini" "$@"
| 14:31:10 |
elikoga | Can you provide more details? | 14:32:01 |
laauurraa | I'm running NixOS unstable myself. The only thing I changed in the flake was to pin to nixos-24.11 IE, my flake looks like this now:
{
description = "zotero2remarkable bridge development tools";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
pythonEnv = pkgs.python312.withPackages (ps: []);
environment = pkgs.mkShell {
buildInputs = [
pkgs.zotero
pkgs.poetry
pythonEnv
];
};
in {
devShells.default = environment;
}
);
}
| 14:32:47 |
laauurraa | I run nix develop then zotero | 14:32:55 |