Your one-stop-cake-shop for everything Freshly Baked has to offer

chore: bump nillas to testing versions #131

deleted opened by a.starrysky.fyi targeting main from private/minion/push-mlmuvqqtptlt
Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:uuyqs6y3pwtbteet4swt5i5y/sh.tangled.repo.pull/3mbgrtbqqcp22
+4 -5
Interdiff #1 #2
packetmix/modules/nilla-home/home.nix

This file has not been changed.

packetmix/modules/nilla-home/homes-type.nix

This file has not been changed.

+4 -5
packetmix/modules/nilla-home/nixos.nix
··· 30 31 config.modules = 32 let 33 - system = submodule.config.pkgs.stdenv.hostPlatform.system or submodule.config.pkgs.system; 34 warn' = builtins.warn or builtins.trace; # builtins.warn doesn't exist on some versions of nix/lix 35 warnIf = 36 condition: message: value: ··· 51 homeNameParts = builtins.match "([a-z][-a-z0-9]*)(@([-A-Za-z0-9]+))?(:([-_A-Za-z0-9]+))?" homeName; 52 username = builtins.elemAt homeNameParts 0; 53 homeHasHomeManager = !(builtins.isNull home.home-manager); 54 - homeIsValidForSystem = home ? result.${value.pkgs.stdenv.hostPlatform.system or value.pkgs.system}; 55 in 56 - if !hasHomeManager then 57 builtins.throw "You've asked for the home \"${homeName}\" to be activated in the NixOS system \"${name}\", but it needs a home-manager instance, none was provided and \"inputs.home-manager\" does not exist." 58 else if !homeIsValidForSystem then 59 builtins.throw "You've asked for the home \"${homeName}\" to be activated in the NixOS system \"${name}\", but it isn't valid for \"${ 60 - value.pkgs.stdenv.hostPlatform.system or value.pkgs.system 61 }\" systems." 62 else 63 { ··· 67 ( 68 values: 69 let 70 - existingUsernames = builtins.filter (username: value.username != null) values; 71 uniqueUsernames = lib.lists.unique existingUsernames; 72 in 73 if existingUsernames != uniqueUsernames then
··· 30 31 config.modules = 32 let 33 warn' = builtins.warn or builtins.trace; # builtins.warn doesn't exist on some versions of nix/lix 34 warnIf = 35 condition: message: value: ··· 50 homeNameParts = builtins.match "([a-z][-a-z0-9]*)(@([-A-Za-z0-9]+))?(:([-_A-Za-z0-9]+))?" homeName; 51 username = builtins.elemAt homeNameParts 0; 52 homeHasHomeManager = !(builtins.isNull home.home-manager); 53 + homeIsValidForSystem = home ? result.${config.pkgs.stdenv.hostPlatform.system or config.pkgs.system}; 54 in 55 + if !homeHasHomeManager then 56 builtins.throw "You've asked for the home \"${homeName}\" to be activated in the NixOS system \"${name}\", but it needs a home-manager instance, none was provided and \"inputs.home-manager\" does not exist." 57 else if !homeIsValidForSystem then 58 builtins.throw "You've asked for the home \"${homeName}\" to be activated in the NixOS system \"${name}\", but it isn't valid for \"${ 59 + config.pkgs.stdenv.hostPlatform.system or config.pkgs.system 60 }\" systems." 61 else 62 { ··· 66 ( 67 values: 68 let 69 + existingUsernames = builtins.filter (value: value.username != null) values; 70 uniqueUsernames = lib.lists.unique existingUsernames; 71 in 72 if existingUsernames != uniqueUsernames then
packetmix/npins/sources.json

This file has not been changed.

History

7 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
do-not-merge: fix eval warnings
expand 0 comments
This pull has been deleted (possibly by jj abandon or jj squash)
1 commit
expand
do-not-merge: fix eval warnings
expand 0 comments
1 commit
expand
do-not-merge: fix eval warnings
expand 0 comments
1 commit
expand
chore: bump nillas to testing versions
expand 0 comments
1 commit
expand
chore: bump nillas to testing versions
expand 0 comments
1 commit
expand
chore: bump nillas to testing versions
expand 0 comments
1 commit
expand
chore: bump nillas to testing versions
expand 0 comments