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

feat(m): package for nix #135

merged opened by freshlybakedca.ke targeting main from private/minion/push-mmztworysmow

If we want to use menu on teal, it needs to be packaged for Nix. Let's do that!

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:k2zmz2l3hvfr44tmlhewol2j/sh.tangled.repo.pull/3mbjwqfxv2q22
+40
Diff #6
+5
.gitignore
··· 1 + # SPDX-FileCopyrightText: 2026 Freshly Baked Cake 2 + # 3 + # SPDX-License-Identifier: CC0-1.0 4 + 5 + result
+35
menu/project.nix
··· 5 5 { config, lib }: 6 6 { 7 7 config = { 8 + packages.default = config.packages.menu; 9 + packages.menu = { 10 + systems = [ 11 + "x86_64-linux" 12 + "aarch64-linux" 13 + ]; 14 + 15 + package = 16 + { 17 + fenix, 18 + makeRustPlatform, 19 + lib, 20 + ... 21 + }: 22 + let 23 + toolchain = fenix.complete.toolchain; 24 + 25 + manifest = (lib.importTOML ./Cargo.toml).package; 26 + 27 + platform = makeRustPlatform { 28 + cargo = toolchain; 29 + rustc = toolchain; 30 + }; 31 + in 32 + platform.buildRustPackage { 33 + meta.mainProgram = "menu"; 34 + pname = manifest.name; 35 + version = manifest.version; 36 + 37 + src = ./.; 38 + 39 + cargoLock.lockFile = ./Cargo.lock; 40 + }; 41 + }; 42 + 8 43 shells.default = config.shells.menu; 9 44 shells.menu = { 10 45 systems = [ "x86_64-linux" ];

History

7 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
feat(m): package for nix
5/5 success
expand
expand 0 comments
pull request successfully merged
1 commit
expand
feat(m): package for nix
5/5 success
expand
expand 0 comments
1 commit
expand
feat(m): package for nix
5/5 success
expand
expand 0 comments
1 commit
expand
feat(m): package for nix
5/5 success
expand
expand 0 comments
1 commit
expand
feat(m): package for nix
5/5 success
expand
expand 0 comments
1 commit
expand
feat(m): package for nix
5/5 success
expand
expand 0 comments
1 commit
expand
feat(m): package for nix
expand 0 comments