Nix Flakes | 892 Members | |
| 180 Servers |
| Sender | Message | Time |
|---|---|---|
| 16 Apr 2024 | ||
in flake.nix | 14:25:29 | |
I did this, but I get an error that "packages" does not exist. | 14:34:29 | |
| The packages expression goes further up, alongside the nixosConfigurations. It is a top-level flake output. Now, you seem to want to add this to your NixOS configuration as well. I recommend you do this in steps, to help understand how things are wired up. First figure out how to just build that package (using "nix build", not "nixos-rebuild"). Then learn enough about overlays to incorporate the package into your config. | 14:44:32 | |
| tomberek: as suggested I tried to build the package first. But I think I hit a wall and don't I will be able to get this working. I got an error "cannot execute: required file not found". After reading some more it's probably because the binary is not made for nixos filesystem structure. | 16:19:21 | |
| I tried just downloading the binary and running it and I get the same issue. | 16:19:58 | |
| It looks like you are taking a pre-built binary that has dependencies, dynamic loader, etc that will not work as-is on NixOS. This is on purpose, as the Nix reliability benefits come from having these things being tracked rather than accidentally working "most of the time". I recommend reading through: https://nixos.wiki/wiki/Packaging/Binaries | 16:28:33 | |
| Hello again. Thanks for this. I've gotten the app to launch. But I'm still having some problems with the derivation. | 19:36:33 | |
| I did this:
But I'm getting an error of "No such file or directory" It produces the following, which has a prefix for the file name.
and in the patchelf I'm referencing So I think there is a mismatch happening there. | 19:41:07 | |
| Redacted or Malformed Event | 19:42:30 | |
| * I did this:
But I'm getting an error of "No such file or directory" It produces the following, which has a prefix for the file name.
and in the patchelf I'm referencing So I think there is a mismatch happening there. | 19:43:28 | |
| 19:51:13 | |
| gdarends: in your original where you have "cp $src $out/bin" you should do something more like: "cp $src $out/bin/stereo_tool_gui_jack_64" | 19:54:01 | |
| 19:59:20 | ||
| Redacted or Malformed Event | 20:09:14 | |
| tomberek: Great! Build succeeded. Now for the next part to add to nixOS configuration. | 20:16:04 | |
| * tomberek: Great! Build succeeded. Now for the next part... add to nixOS configuration. | 20:16:26 | |
| almost there..... now you use an overlay to add your package to the "pkgs" available in your NixOS config.... something close to this:
| 21:12:39 | |
| please correct me if I'm wrong, but maybe I should make an overlay when installing papis, so that it includes papis-zotero, then? | 21:24:51 | |
| since the papis-zotero sitedir needs to be patched in papis, right? | 21:25:36 | |
| 17 Apr 2024 | ||
| 04:36:32 | ||
| 05:34:01 | ||
| 15:23:58 | ||
| 16:21:40 | ||
| 17:10:13 | ||
| 18 Apr 2024 | ||
| 02:36:53 | ||
| 19 Apr 2024 | ||
| 08:00:19 | ||
| 12:19:27 | ||
| 14:20:55 | ||
| 20 Apr 2024 | ||
| 03:01:54 | ||
| 21 Apr 2024 | ||
| Hi everyone, I'm facing an issue when trying to add more nixpkgs urls to my https://codeberg.org/dminca/nix-config/commit/e3802ac776b6829dcf1427581d1e02af05123339 Does anyone know what might've caused this? you think pinning the | 10:24:04 | |