2 Jun 2024 |
| @aloisw:kde.org changed their profile picture. | 18:23:56 |
| dadada changed their profile picture. | 23:02:56 |
| dadada changed their profile picture. | 23:04:32 |
| dadada changed their profile picture. | 23:09:28 |
3 Jun 2024 |
| @red:ha.redcatho.de left the room. | 00:12:26 |
Thatoo | In reply to @tennox:matrix.org I think in this case option c) is applicable. (from the build command output) Would you mind detail for me what I should write inside ~/.config/nixpkgs/config.nix. then? | 08:31:57 |
Manu [tennox] | It's all in the build output help you posted 😜
`{ allowUnfree = true; }` | 09:07:08 |
Manu [tennox] | one thing that might be an issue: the ~/.confix/nixpkgs/config.nix file is probably generated by nixos - so in order to change it, you might need to:
- comment the unfree packages
- set the
{ nixpkgs.config.allowUnfree = true; }
- rebuild switch
- add the unfree packages
- rebuild switch
I have to admit I haven't sussed the whole thing out either
| 09:13:49 |
Manu [tennox] | * one thing that might be an issue if you're on NixOS: the ~/.confix/nixpkgs/config.nix file is probably generated by nixos - so in order to change it, you might need to:
- comment the unfree packages
- set the
{ nixpkgs.config.allowUnfree = true; }
- rebuild switch
- add the unfree packages
- rebuild switch
I have to admit I haven't sussed the whole thing out either
| 09:14:15 |
| rager joined the room. | 17:01:10 |
4 Jun 2024 |
| Tanja (she/her) changed their display name from Tanja (☎️ 6920 at GPN22, she/her) to Tanja (she/her). | 18:51:36 |
5 Jun 2024 |
| Zoriot joined the room. | 15:05:50 |
Sam Lehman | Is there any way to reference a flake input's original flakeRef?
idk why it isn't added to <flakeInput>.sourceInfo , but I'd like to actually know where the original destination of a flake is coming from
| 16:57:12 |
tomberek | You can't get the exact original flakeRef as a Nix value because that is mutable. For example, if you used a tag or branch name, then that can change over time, even with the same locked reference. Yes, it would be convenient to access this information, but it is not locked information, thus impure. | 20:31:00 |
6 Jun 2024 |
Manu [tennox] | If I add this input
repo = {
url = "path:/home/manu/.../repo";
flake = false;
};
I can get the flake contents via
inputs.repo.outPath
| 18:06:46 |
| @aidalgol:matrix.org left the room. | 19:23:33 |
7 Jun 2024 |
| @abmantis:abcosta.com left the room. | 01:02:04 |
| Sean joined the room. | 15:17:50 |
10 Jun 2024 |
| @clvxaz:matrix.org joined the room. | 17:29:27 |
| @clvxaz:matrix.org left the room. | 17:29:43 |
| dvd joined the room. | 19:57:41 |
11 Jun 2024 |
| aos joined the room. | 15:17:28 |
| camzer joined the room. | 23:50:52 |
12 Jun 2024 |
| Lorenz Leutgeb removed their display name Lorenz Leutgeb. | 00:31:04 |
| Lorenz Leutgeb set their display name to Lorenz Leutgeb. | 00:32:37 |
18 Jun 2024 |
| Li-ion joined the room. | 18:13:26 |
19 Jun 2024 |
| gas.station.sushi joined the room. | 00:14:50 |
| qu4pk4 joined the room. | 12:10:17 |
qu4pk4 | Hi guys, I am trying to create a Flake that builds older version of OpenSSL. However, I am getting infinite recursion - I suspect it is because I use fetchurl which depends on OpenSSL (I infer this from this comment: https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/development/libraries/openssl/default.nix#L15). I can send the bare flake.nix if that would help. | 12:23:07 |
qu4pk4 | I am still quite new to flakes and also to overlays in particular. | 12:23:29 |