!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

892 Members
180 Servers

Load older messages


SenderMessageTime
1 Jun 2024
@industrial:matrix.orgIndustrial Hi. I'm using github:nixos/nixpkgs/nixpkgs-23.11-darwin. Is there an unstable channel? Where can I find a list of these? I don't find darwin in https://github.com/NixOS/nixpkgs/branches/active 16:58:12
@tomberek:matrix.orgtomberekhttps://status.nixos.org/ and https://channels.nixos.org/18:20:36
@abmantis:abcosta.com@abmantis:abcosta.com
In reply to @bryan.bennett:matrix.org

Abílio Costa: I missed your reply here. I am sorry for that! Both nix-direnv and flakeenv take a flake specifier for the flake you want to use: use flake /home/acosta/dev/thirdparty/nix-environments#home-assistant or use flake_env /home/acosta/dev/thirdparty/nix-environments#home-assistant should work, I would think!

I wrote and maintain flakeenv and am a maintainer of nix-direnv, so if you have trouble - please ping me here or (preferably) on the repo for the tool in question :)

thanks for the followup (which I also missed! matrix threads are not there yet 😅)
22:14:36
@abmantis:abcosta.com@abmantis:abcosta.comI've started using direnv now and it is really nice! and is working perfectly!22:15:01
2 Jun 2024
@tengkuizdihar:matrix.orgtengkuizdiharhttps://status.nixos.org/ and there's a link for nixpkgs-24.05-darwin 05:27:03
@bumperboat:matrix.org@bumperboat:matrix.org changed their display name from bumperboat (UTC+7) to bumperboat (UTC+1).05:28:57
@tennox:matrix.orgManu [tennox]
In reply to @thatoo:matrix.org
Any idea how to solve this issue?
I think in this case option c) is applicable. (from the build command output)
07:05:28
@industrial:matrix.orgIndustrial
In reply to@tomberek:matrix.org
https://status.nixos.org/ and https://channels.nixos.org/
thanks!
16:04:48
@aloisw:kde.org@aloisw:kde.org set a profile picture.18:01:48
@aloisw:kde.org@aloisw:kde.org changed their profile picture.18:23:56
@tim:stratum0.orgdadada (they/them) changed their profile picture.23:02:56
@tim:stratum0.orgdadada (they/them) changed their profile picture.23:04:32
@tim:stratum0.orgdadada (they/them) changed their profile picture.23:09:28
3 Jun 2024
@red:ha.redcatho.de@red:ha.redcatho.de left the room.00:12:26
@thatoo:matrix.orgThatoo
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
@tennox:matrix.orgManu [tennox]It's all in the build output help you posted 😜 `{ allowUnfree = true; }`09:07:08
@tennox:matrix.orgManu [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:

  1. comment the unfree packages
  2. set the { nixpkgs.config.allowUnfree = true; }
  3. rebuild switch
  4. add the unfree packages
  5. rebuild switch

I have to admit I haven't sussed the whole thing out either

09:13:49
@tennox:matrix.orgManu [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:

  1. comment the unfree packages
  2. set the { nixpkgs.config.allowUnfree = true; }
  3. rebuild switch
  4. add the unfree packages
  5. rebuild switch

I have to admit I haven't sussed the whole thing out either

09:14:15
@rager:lolrav.esrager joined the room.17:01:10
4 Jun 2024
@tanja:catgirl.cloudTanja (she/her) changed their display name from Tanja (☎️ 6920 at GPN22, she/her) to Tanja (she/her).18:51:36
5 Jun 2024
@zoriot:tchncs.deZoriot joined the room.15:05:50
@lehmanator:tchncs.deSam 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:matrix.orgtomberekYou 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
@tennox:matrix.orgManu [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@aidalgol:matrix.org left the room.19:23:33
7 Jun 2024
@abmantis:abcosta.com@abmantis:abcosta.com left the room.01:02:04
@codebam:fedora.imSean joined the room.15:17:50
10 Jun 2024
@clvxaz:matrix.org@clvxaz:matrix.org joined the room.17:29:27
@clvxaz:matrix.org@clvxaz:matrix.org left the room.17:29:43
@dvd:beeper.comdvd joined the room.19:57:41

Show newer messages


Back to Room ListRoom Version: 6