Compare commits

...

5 Commits

Author SHA1 Message Date
foo-dogsquared
1818fe43ac npins: update lockfile as of 2024-12-01 2024-12-01 01:24:32 +00:00
dependabot[bot]
1bb6e45eb3
ci: bump DeterminateSystems/nix-installer-action from 15 to 16 (#2)
Some checks failed
Check test suite / Check outputs (push) Has been cancelled
Deploy documentation site / Build website (push) Has been cancelled
Deploy documentation site / Deploy website (push) Has been cancelled
Update Nix dependencies / update-nix-deps (push) Has been cancelled
Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 15 to 16.
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v15...v16)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 05:42:18 +00:00
7eee12ff7e
docs/website: update Hugo modules 2024-11-21 13:40:06 +08:00
628952542e
wrapper-manager-fds/modules: add package installation option for common integration module 2024-11-21 13:40:01 +08:00
github-actions[bot]
1542702317
npins: update lockfile as of 2024-11-19 (#3)
Co-authored-by: foo-dogsquared <34962634+foo-dogsquared@users.noreply.github.com>
2024-11-19 02:29:53 +00:00
12 changed files with 174 additions and 218 deletions

View File

@ -11,5 +11,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v15
- uses: DeterminateSystems/nix-installer-action@v16
- run: make check

View File

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v15
- uses: DeterminateSystems/nix-installer-action@v16
- run: make build
- name: Upload artifact
id: deployment

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v15
- uses: DeterminateSystems/nix-installer-action@v16
- run: nix develop --command make update
- id: datetime
run: |

View File

@ -110,7 +110,7 @@ in
buildHugoSite {
pname = "wrapper-manager-docs";
version = "2024-07-13";
version = "2024-11-21";
src = lib.fileset.toSource {
root = ./website;
@ -124,7 +124,7 @@ in
];
};
vendorHash = "sha256-qsmXolxEcYjY2jwIlPRqir5gE8TeVknPGIGF4g89x54=";
vendorHash = "sha256-UDDCYQB/kdYT63vRlRzL6lOePl9F7j3eUIHX/m6rwEs=";
buildFlags = [ "--baseURL" baseUrl ];

View File

@ -1,421 +1,339 @@
{
asciidoctor = {
groups = [ "default" ];
platforms = [ ];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "1wyxgwmnz9bw377r3lba26b090hbsq9qnbw8575a1prpy83qh82j";
type = "gem";
};
version = "2.0.23";
};
asciidoctor-diagram = {
dependencies = [
"asciidoctor"
"asciidoctor-diagram-ditaamini"
"asciidoctor-diagram-plantuml"
"rexml"
];
groups = [ "default" ];
platforms = [ ];
dependencies = ["asciidoctor" "asciidoctor-diagram-ditaamini" "asciidoctor-diagram-plantuml" "rexml"];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "1214scxm36k409gfy3wilfqx3akrm52r530zmra6cmmf6d22c5q4";
type = "gem";
};
version = "2.3.1";
};
asciidoctor-diagram-batik = {
groups = [ "default" ];
platforms = [ ];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0220xqxmkmimxmhsqhlbr0hslijvnhzdds3s6h6fxbxqrrmm0jrl";
type = "gem";
};
version = "1.17";
};
asciidoctor-diagram-ditaamini = {
groups = [ "default" ];
platforms = [ ];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "13h65bfbq7hc7z3kqn0m28w9c6ap7fikpjcvsdga6jg01slb4c56";
type = "gem";
};
version = "1.0.3";
};
asciidoctor-diagram-plantuml = {
dependencies = [ "asciidoctor-diagram-batik" ];
groups = [ "default" ];
platforms = [ ];
dependencies = ["asciidoctor-diagram-batik"];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "1ppl5nsq40x11731ciahi89k5yvszlm12pml1pqaj0lwbi7ww6x0";
type = "gem";
};
version = "1.2024.5";
};
asciidoctor-foodogsquared-extensions = {
dependencies = [
"asciidoctor"
"rugged"
];
groups = [ "default" ];
platforms = [ ];
dependencies = ["asciidoctor" "rugged"];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0fm6shyysj51wi4s7nnb643j2mphp68fh44gmr83x8n613hg9a4l";
type = "gem";
};
version = "1.2.1";
};
ast = {
groups = [
"default"
"lint"
];
platforms = [ ];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "04nc8x27hlzlrr5c2gn7mar4vdr0apw5xg22wp6m8dx3wqr04a0y";
type = "gem";
};
version = "2.4.2";
};
concurrent-ruby = {
groups = [ "default" ];
platforms = [ ];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0skwdasxq7mnlcccn6aqabl7n9r3jd7k19ryzlzzip64cn4x572g";
type = "gem";
};
version = "1.3.3";
};
json = {
groups = [
"default"
"lint"
];
platforms = [ ];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0b4qsi8gay7ncmigr0pnbxyb17y3h8kavdyhsh7nrlqwr35vb60q";
type = "gem";
};
version = "2.7.2";
};
language_server-protocol = {
groups = [
"default"
"development"
"lint"
];
platforms = [ ];
groups = ["default" "development" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0gvb1j8xsqxms9mww01rmdl78zkd72zgxaap56bhv8j45z05hp1x";
type = "gem";
};
version = "3.17.0.3";
};
logger = {
groups = [
"default"
"development"
];
platforms = [ ];
groups = ["default" "development"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0gpg8gzi0xwymw4aaq2iafcbx31i3xzkg3fb30mdxn1d4qhc3dqa";
type = "gem";
};
version = "1.6.0";
};
open-uri-cached = {
groups = [ "default" ];
platforms = [ ];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "03v0if3jlvbclnd6jgjk94fbhf0h2fq1wxr0mbx7018sxzm0biwr";
type = "gem";
};
version = "1.0.0";
};
parallel = {
groups = [
"default"
"lint"
];
platforms = [ ];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "145bn5q7ysnjj02jdf1x4nc1f0xxrv7ihgz9yr1j7sinmawqkq0j";
type = "gem";
};
version = "1.25.1";
};
parser = {
dependencies = [
"ast"
"racc"
];
groups = [
"default"
"lint"
];
platforms = [ ];
dependencies = ["ast" "racc"];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "10ly2wind06nylyqa5724ld2l0l46d3ag4fm04ifjgw7qdlpf94d";
type = "gem";
};
version = "3.3.4.0";
};
prism = {
groups = [
"default"
"development"
];
platforms = [ ];
groups = ["default" "development"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "05j9bcxdz6wfnrjn32zvdwj1qsbp88mwx3rv7g256gziya6avc2r";
type = "gem";
};
version = "0.30.0";
};
racc = {
groups = [
"default"
"lint"
];
platforms = [ ];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "021s7maw0c4d9a6s07vbmllrzqsj2sgmrwimlh8ffkvwqdjrld09";
type = "gem";
};
version = "1.8.0";
};
rainbow = {
groups = [
"default"
"lint"
];
platforms = [ ];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0smwg4mii0fm38pyb5fddbmrdpifwv22zv3d3px2xx497am93503";
type = "gem";
};
version = "3.1.1";
};
rake = {
groups = [ "development" ];
platforms = [ ];
groups = ["development"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "17850wcwkgi30p7yqh60960ypn7yibacjjha0av78zaxwvd3ijs6";
type = "gem";
};
version = "13.2.1";
};
rbs = {
dependencies = [ "logger" ];
groups = [
"default"
"development"
];
platforms = [ ];
dependencies = ["logger"];
groups = ["default" "development"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "1fzk0a3d68fglnkwpaz07npi929y1kh2hh1j63y04943vvshyjmc";
type = "gem";
};
version = "3.5.2";
};
regexp_parser = {
groups = [
"default"
"lint"
];
platforms = [ ];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0ik40vcv7mqigsfpqpca36hpmnx0536xa825ai5qlkv3mmkyf9ss";
type = "gem";
};
version = "2.9.2";
};
rexml = {
dependencies = [ "strscan" ];
groups = [
"default"
"lint"
];
platforms = [ ];
dependencies = ["strscan"];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "09f3sw7f846fpcpwdm362ylqldwqxpym6z0qpld4av7zisrrzbrl";
type = "gem";
};
version = "3.3.1";
};
rouge = {
groups = [ "default" ];
platforms = [ ];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "072qvvrcqj0yfr3b0j932mlhvn41i38bq37z7z07i3ikagndkqwy";
type = "gem";
};
version = "4.3.0";
};
rubocop = {
dependencies = [
"json"
"language_server-protocol"
"parallel"
"parser"
"rainbow"
"regexp_parser"
"rexml"
"rubocop-ast"
"ruby-progressbar"
"unicode-display_width"
];
groups = [ "lint" ];
platforms = [ ];
dependencies = ["json" "language_server-protocol" "parallel" "parser" "rainbow" "regexp_parser" "rexml" "rubocop-ast" "ruby-progressbar" "unicode-display_width"];
groups = ["lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "18g462bccr0rvszc7kirr89laggdf6254p7pqsckk3izg901chv2";
type = "gem";
};
version = "1.65.0";
};
rubocop-ast = {
dependencies = [ "parser" ];
groups = [
"default"
"lint"
];
platforms = [ ];
dependencies = ["parser"];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "063qgvqbyv354icl2sgx758z22wzq38hd9skc3n96sbpv0cdc1qv";
type = "gem";
};
version = "1.31.3";
};
ruby-lsp = {
dependencies = [
"language_server-protocol"
"prism"
"rbs"
"sorbet-runtime"
];
groups = [ "development" ];
platforms = [ ];
dependencies = ["language_server-protocol" "prism" "rbs" "sorbet-runtime"];
groups = ["development"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "1kvyk0cald1cw6fqxy5w68la1gnc1nv2mqx8myijjsbcf9npjbp8";
type = "gem";
};
version = "0.17.7";
};
ruby-progressbar = {
groups = [
"default"
"lint"
];
platforms = [ ];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0cwvyb7j47m7wihpfaq7rc47zwwx9k4v7iqd9s1xch5nm53rrz40";
type = "gem";
};
version = "1.13.0";
};
rugged = {
groups = [ "default" ];
platforms = [ ];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "1sccng15h8h3mcjxfgvxy85lfpswbj0nhmzwwsqdffbzqgsb2jch";
type = "gem";
};
version = "1.7.2";
};
slim = {
dependencies = [
"temple"
"tilt"
];
groups = [ "default" ];
platforms = [ ];
dependencies = ["temple" "tilt"];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "1rqk7jn66wgx50b18ndhbppjq55rbcwgqg1rbhnhxwiggvzisdbj";
type = "gem";
};
version = "5.2.1";
};
sorbet-runtime = {
groups = [
"default"
"development"
];
platforms = [ ];
groups = ["default" "development"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "122702d5cmrbaydcqfjksh1d78g0mq69h77zd4yljwjrc50jz70b";
type = "gem";
};
version = "0.5.11481";
};
strscan = {
groups = [
"default"
"lint"
];
platforms = [ ];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0mamrl7pxacbc79ny5hzmakc9grbjysm3yy6119ppgsg44fsif01";
type = "gem";
};
version = "3.1.0";
};
temple = {
groups = [ "default" ];
platforms = [ ];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0fwia5hvc1xz9w7vprzjnsym3v9j5l9ggdvy70jixbvpcpz4acfz";
type = "gem";
};
version = "0.10.3";
};
tilt = {
groups = [ "default" ];
platforms = [ ];
groups = ["default"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "0kds7wkxmb038cwp6ravnwn8k65ixc68wpm8j5jx5bhx8ndg4x6z";
type = "gem";
};
version = "2.4.0";
};
unicode-display_width = {
groups = [
"default"
"lint"
];
platforms = [ ];
groups = ["default" "lint"];
platforms = [];
source = {
remotes = [ "https://rubygems.org" ];
remotes = ["https://rubygems.org"];
sha256 = "1d0azx233nags5jx3fqyr23qa2rhgzbhv8pxp46dgbg1mpf82xky";
type = "gem";
};

View File

@ -3,10 +3,10 @@ module github.com/foo-dogsquared/wrapper-manager-fds
go 1.23.2
require (
github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20241028022226-7f7e0be42a95 // indirect
github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20241120232120-e36cafefea29 // indirect
github.com/foo-dogsquared/hugo-mod-web-feeds v0.0.3-0.20220613123653-e0bc8e58159d // indirect
github.com/foo-dogsquared/hugo-theme-more-contentful v0.7.1 // indirect
github.com/foo-dogsquared/website v0.0.0-20241103012127-eed6eb26f100 // indirect
github.com/refactoringui/heroicons v2.1.5+incompatible // indirect
github.com/foo-dogsquared/hugo-theme-more-contentful v0.7.2-0.20241119041335-143341838df0 // indirect
github.com/foo-dogsquared/website v0.0.0-20241121041746-6b5744c9aee7 // indirect
github.com/refactoringui/heroicons v2.2.0+incompatible // indirect
github.com/simple-icons/simple-icons v0.0.0-20241027003233-9d720b26a17d // indirect
)

View File

@ -1,16 +1,25 @@
github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20231025231637-36998f86bbf2/go.mod h1:8HnVc0SlzI7LCEU4sITYS5MQTq0Bct/nFr/7LdsHYVQ=
github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20241028022226-7f7e0be42a95 h1:knvsLW0kTmLxZ7tCKAQgK9M6e8ggjU6NPcmP3HOFKHc=
github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20241028022226-7f7e0be42a95/go.mod h1:R9tJ1WSUnZf0R12SAmI9I/x9IQQbwPGek2FQyGJOC0g=
github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20241113232057-c42b53cd0165/go.mod h1:R9tJ1WSUnZf0R12SAmI9I/x9IQQbwPGek2FQyGJOC0g=
github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20241120232120-e36cafefea29 h1:tW39wPtZJTjpaK7+QshbQFYeLQA1airNi547vXMoy7c=
github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20241120232120-e36cafefea29/go.mod h1:R9tJ1WSUnZf0R12SAmI9I/x9IQQbwPGek2FQyGJOC0g=
github.com/foo-dogsquared/hugo-mod-web-feeds v0.0.3-0.20220613123653-e0bc8e58159d h1:IvFDTSoQiK3BsbdJxvXEqjuRxwcYo2dMHgUxGmhdYes=
github.com/foo-dogsquared/hugo-mod-web-feeds v0.0.3-0.20220613123653-e0bc8e58159d/go.mod h1:V7UXom6wuFrWj1lBUCXQA3HguwfDhQA+tQNxyRxdClk=
github.com/foo-dogsquared/hugo-theme-more-contentful v0.7.1-0.20240829055539-b7c3b8878050/go.mod h1:Rbsgp6Kdi2jVmAILYZTgCysqU4xvoLFwvrR0nvpSr4I=
github.com/foo-dogsquared/hugo-theme-more-contentful v0.7.1 h1:5Mu2OBMVHHp1nytCUUFz9EEQ3gTQCBUHsovzaQssnmc=
github.com/foo-dogsquared/hugo-theme-more-contentful v0.7.1/go.mod h1:HV3pnAPBJNG6k9bo10wDOkl6rYFib+um2IURlRIlXkg=
github.com/foo-dogsquared/hugo-theme-more-contentful v0.7.2-0.20241119041335-143341838df0 h1:ck2aC9kc4/EUH9mqKzs+bltbJ5LOwC8LlYvqns1KgB4=
github.com/foo-dogsquared/hugo-theme-more-contentful v0.7.2-0.20241119041335-143341838df0/go.mod h1:HV3pnAPBJNG6k9bo10wDOkl6rYFib+um2IURlRIlXkg=
github.com/foo-dogsquared/website v0.0.0-20241103012127-eed6eb26f100 h1:+OSuIHC1ARQGEMihMeB8Xc5BE6Be5xgdban3RxbIcz4=
github.com/foo-dogsquared/website v0.0.0-20241103012127-eed6eb26f100/go.mod h1:AkVVnWQg95UIzQEN7OuMgupRG6Mi2gAsxuaK81/DyUc=
github.com/foo-dogsquared/website v0.0.0-20241121041746-6b5744c9aee7 h1:FJK0BK/43bHbPHB5jFI/8YuICPOptq3QDTupfDGCE2M=
github.com/foo-dogsquared/website v0.0.0-20241121041746-6b5744c9aee7/go.mod h1:WzxWNpb3eNVQiqnnJTR66ptffyoK/SpZcw8efzOO12g=
github.com/refactoringui/heroicons v2.0.18+incompatible/go.mod h1:82HsLWQga7MkEl5aK8TctxPPIBlXrsyWcVTB57uipuk=
github.com/refactoringui/heroicons v2.1.5+incompatible h1:XzZpX6BwR5eYel3Owrw6u0e11/pj1FTXA3MSiN3OOvE=
github.com/refactoringui/heroicons v2.1.5+incompatible/go.mod h1:82HsLWQga7MkEl5aK8TctxPPIBlXrsyWcVTB57uipuk=
github.com/refactoringui/heroicons v2.2.0+incompatible h1:EKlvN4FK+3SgKcO9qy8Y30Up+SYypBifKCaOynG9Sh8=
github.com/refactoringui/heroicons v2.2.0+incompatible/go.mod h1:82HsLWQga7MkEl5aK8TctxPPIBlXrsyWcVTB57uipuk=
github.com/simple-icons/simple-icons v0.0.0-20231022005333-fdbaaa2d5f99/go.mod h1:oOgUUt8yVYOso/wEBi2ojfZP2MU/xxiNccIpaE+jCvE=
github.com/simple-icons/simple-icons v0.0.0-20241027003233-9d720b26a17d h1:hkrcJOSlWIPEaFLPeE82iyslQkhnyH4aheEtIushCQg=
github.com/simple-icons/simple-icons v0.0.0-20241027003233-9d720b26a17d/go.mod h1:oOgUUt8yVYOso/wEBi2ojfZP2MU/xxiNccIpaE+jCvE=

View File

@ -58,7 +58,7 @@
devPackages = {
manpage-reference = docs.outputs.manpage;
html-reference = docs.outputs.html;
website = docs.website;
website = docs.website { };
};
checks =

View File

@ -21,6 +21,17 @@ let
config._module.args.pkgs = lib.mkDefault pkgs;
}
)
(
{ lib, ... }: {
options.enableInstall = lib.mkOption {
type = lib.types.bool;
default = cfg.enableInstall;
description = "Install the package to the wider-scoped environment.";
example = false;
};
}
)
] ++ cfg.sharedModules;
};
in
@ -33,6 +44,17 @@ in
];
options.wrapper-manager = {
enableInstall = lib.mkOption {
type = lib.types.bool;
description = ''
Enable installing the package to the wider-scoped environment list
of packages. This is to be set as the default value of
{option}`enableInstall` in the wrapper-manager package environment.
'';
default = true;
example = false;
};
sharedModules = lib.mkOption {
type = with lib.types; listOf deferredModule;
default = [ ];

View File

@ -35,7 +35,11 @@ in
})
(lib.mkIf (cfg.packages != { }) {
home.packages = lib.mapAttrsToList (_: wrapper: wrapper.build.toplevel) cfg.packages;
home.packages =
let
validPackages = lib.filterAttrs (_: wrapper: wrapper.enableInstall) cfg.packages;
in
lib.mapAttrsToList (_: wrapper: wrapper.build.toplevel) validPackages;
})
];
}

View File

@ -34,7 +34,10 @@ in
(lib.mkIf (cfg.packages != { }) {
environment.systemPackages =
lib.mapAttrsToList (_: wrapper: wrapper.build.toplevel) cfg.packages;
let
validPackages = lib.filterAttrs (_: wrapper: wrapper.enableInstall) cfg.packages;
in
lib.mapAttrsToList (_: wrapper: wrapper.build.toplevel) validPackages;
})
];
}

View File

@ -8,9 +8,9 @@
"repo": "home-manager"
},
"branch": "release-24.05",
"revision": "e1391fb22e18a36f57e6999c7a9f966dc80ac073",
"url": "https://github.com/nix-community/home-manager/archive/e1391fb22e18a36f57e6999c7a9f966dc80ac073.tar.gz",
"hash": "0c83di08nhkzq0cwc3v7aax3x8y5m7qahyzxppinzwxi3r8fnjq3"
"revision": "2f23fa308a7c067e52dfcc30a0758f47043ec176",
"url": "https://github.com/nix-community/home-manager/archive/2f23fa308a7c067e52dfcc30a0758f47043ec176.tar.gz",
"hash": "00wp0s9b5nm5rsbwpc1wzfrkyxxmqjwsc1kcibjdbfkh69arcpsn"
},
"home-manager-unstable": {
"type": "Git",
@ -20,9 +20,9 @@
"repo": "home-manager"
},
"branch": "master",
"revision": "471e3eb0a114265bcd62d11d58ba8d3421ee68eb",
"url": "https://github.com/nix-community/home-manager/archive/471e3eb0a114265bcd62d11d58ba8d3421ee68eb.tar.gz",
"hash": "1smfj6fb3jc80gbavdf603nz782fb96d9k5w36g61zliw5g2qfvz"
"revision": "819f682269f4e002884702b87e445c82840c68f2",
"url": "https://github.com/nix-community/home-manager/archive/819f682269f4e002884702b87e445c82840c68f2.tar.gz",
"hash": "190vjwgni3anaxfdbfr9dn1bp86ls11y0ad5sp9hdgzbg53zmj5g"
},
"nixos-stable": {
"type": "Git",
@ -32,9 +32,9 @@
"repo": "nixpkgs"
},
"branch": "nixos-24.05",
"revision": "6e99f2a27d600612004fbd2c3282d614bfee6421",
"url": "https://github.com/NixOS/nixpkgs/archive/6e99f2a27d600612004fbd2c3282d614bfee6421.tar.gz",
"hash": "1qwbrn2cb1x9clkhqmdnx5r8v11168p3nx14h3r9wcml0bgblpvr"
"revision": "0c5b4ecbed5b155b705336aa96d878e55acd8685",
"url": "https://github.com/NixOS/nixpkgs/archive/0c5b4ecbed5b155b705336aa96d878e55acd8685.tar.gz",
"hash": "1mhbyl6r54p0nccd244f8imcvz52kxfyyxaky165w19lx100azsg"
},
"nixos-unstable": {
"type": "Git",
@ -44,9 +44,9 @@
"repo": "nixpkgs"
},
"branch": "nixos-unstable",
"revision": "12228ff1752d7b7624a54e9c1af4b222b3c1073b",
"url": "https://github.com/NixOS/nixpkgs/archive/12228ff1752d7b7624a54e9c1af4b222b3c1073b.tar.gz",
"hash": "1dmng7f5rv4hgd0b61chqx589ra7jajsrzw21n8gp8makw5khvb2"
"revision": "970e93b9f82e2a0f3675757eb0bfc73297cc6370",
"url": "https://github.com/NixOS/nixpkgs/archive/970e93b9f82e2a0f3675757eb0bfc73297cc6370.tar.gz",
"hash": "10ah2w7wvjlsjihwbilzz0nal7ad3lw8msmad4qf52jliyplvm4c"
},
"website": {
"type": "Git",
@ -56,9 +56,9 @@
"repo": "website"
},
"branch": "master",
"revision": "1195855a64b2fe010caad45fe518af986db7afb7",
"url": "https://github.com/foo-dogsquared/website/archive/1195855a64b2fe010caad45fe518af986db7afb7.tar.gz",
"hash": "1dhai90in478d2ax2s927nsf95cf7xngkmfy55ws3hl2pfycan5f"
"revision": "60b54b8fec5d16308b1bc5ac8cd8a80c70b90df4",
"url": "https://github.com/foo-dogsquared/website/archive/60b54b8fec5d16308b1bc5ac8cd8a80c70b90df4.tar.gz",
"hash": "1lyrbabkij7n747pac4k9cdyxyv91mf5jg06id9m94039h9zm0wx"
}
},
"version": 3