!vGHaMhifOKgmkJpGAJ:matrix.org

Guix - System Crafters

223 Members
Share tips and tricks about GNU Guix! The official Guix chat is at #guix:libera.chat28 Servers

Load older messages


SenderMessageTime
14 Feb 2024
@branjam:matrix.orgbranjam removed their profile picture.19:29:17
@branjam:matrix.orgbranjam changed their display name from branjam to .branjam.19:41:29
17 Feb 2024
@ryan:ryan77627.xyz@ryan:ryan77627.xyz left the room.05:34:32
18 Feb 2024
@szkl:matrix.orgszkl joined the room.20:23:21
20 Feb 2024
@gerogaga:matrix.orggerogagaIs it possible to make a package definition that always pulls from the latest commit with git-fetch? I remember seeing something like that some time ago but I can't find it again.22:26:06
21 Feb 2024
@dre:imad.nycdre

Hey, does anyone know why I'm getting this error? My home config:

(use-modules (gnu home)
             (gnu packages)
             (guix inferior)
             (guix channels)
             ; (nongnu packages)
             (gnu services)
             (guix gexp)
             (gnu home services shells))

(define hyprland-packages (map specification->packages (list "hyprland" "waybar" "swaylock-effects" "xdg-desktop-portal-hyprland""wofi")))
(define commandline-utils (map specification->packages (list "git" "magic-wormhole" "curl")))


guix-one% guix home container home-configuration.scm
/home/dre/guix-config/home-configuration.scm:10:31: error: specification->packages: unbound variable
hint: Did you forget a `use-modules' form?
05:33:40
@dre:imad.nycdreIt works fine in my system config05:34:16
@dre:imad.nycdre * 05:34:39
@branjam:matrix.orgbranjam
In reply to dre

Hey, does anyone know why I'm getting this error? My home config:

(use-modules (gnu home)
             (gnu packages)
             (guix inferior)
             (guix channels)
             ; (nongnu packages)
             (gnu services)
             (guix gexp)
             (gnu home services shells))

(define hyprland-packages (map specification->packages (list "hyprland" "waybar" "swaylock-effects" "xdg-desktop-portal-hyprland""wofi")))
(define commandline-utils (map specification->packages (list "git" "magic-wormhole" "curl")))


guix-one% guix home container home-configuration.scm
/home/dre/guix-config/home-configuration.scm:10:31: error: specification->packages: unbound variable
hint: Did you forget a `use-modules' form?

Grepping in the gnu packages module there's specification->package and specifications->packages (this one is sugar for the mapping boilerplate), but keep the ending s consistent: specification->packages is not defined.

19:39:20
23 Feb 2024
@ashvith:matrix.org@ashvith:matrix.org joined the room.12:29:00
24 Feb 2024
@ashvith:matrix.org@ashvith:matrix.org left the room.13:56:47
@lambdanil:matrix.orgnil/Lain/Lynn changed their profile picture.20:49:49
26 Feb 2024
@icyp:matrix.orgMari changed their profile picture.14:36:53
@icyp:matrix.orgMari changed their profile picture.14:57:54
27 Feb 2024
@kackerman0102:matrix.orgk-ack changed their profile picture.05:01:23
@gerogaga:matrix.orggerogagaIs an unbound variable error for service normal on reconfigures?19:54:45
28 Feb 2024
@sleep_walker:tchncs.desleep_walkerNormal? It tells you something is no longer valid and it won't work until you fix it...00:46:03
@gerogaga:matrix.orggerogaga
In reply to @sleep_walker:tchncs.de
Normal? It tells you something is no longer valid and it won't work until you fix it...
The problem is, it outputs that with any config, even the base installer-generated one.
01:00:24
@gerogaga:matrix.orggerogagaAnd service should be automatically included in every config and importing (gnu services) doesn't do anything either.01:02:02
@branjam:matrix.orgbranjam changed their display name from .branjam to branjam.18:25:47
29 Feb 2024
@fnz:matrix.orgfnzOne time, nesting a data-type inside the wrong expression gave me that error. The base installer should not be doing that, though. What’s the variable?\04:01:05
@gerogaga:matrix.orggerogagaAll the service declarations in services cause it.04:01:41
@gilganix:matrix.orgMist joined the room.10:51:47
@gilganix:matrix.orgMist

Greetings everyone! I have a question for our fellow guix users (nix user asking) regarding guix, is there a flakes.nix alternative available in guix?

10:52:23
@grimpper:matrix.orgGrimpper
In reply to @gilganix:matrix.org

Greetings everyone! I have a question for our fellow guix users (nix user asking) regarding guix, is there a flakes.nix alternative available in guix?

I think the closest we have is pinning channels. They lock all packages to a particular commit of the channel. If I recall correctly, nix flakes allows pining each package to a particular commit so it is not exactly the same mechanism.
12:26:28
@gilganix:matrix.orgMist

Yeah, having the ability to pin one package to stable and another package to unstable would be nice imo

20:24:45
1 Mar 2024
@grimpper:matrix.orgGrimpperYou can use inferiors for that. But there is no abstraction to make it easy to manage large number of packages with different commits.01:07:28
@gilganix:matrix.orgMist

Hmm.. I wonder if anyone would be interested in having a similar feature in guix

17:15:40
@grimpper:matrix.orgGrimpperIt would be a nice addition20:36:09
3 Mar 2024
@dre:imad.nycdre set a profile picture.22:33:05

There are no newer messages yet.


Back to Room ListRoom Version: 10