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

init(menu): add menu project #133

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

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:k2zmz2l3hvfr44tmlhewol2j/sh.tangled.repo.pull/3mbjgrzgrrr22
+50 -46
Interdiff #4 #5
README.md

This file has not been changed.

-46
menu/nilla.nix
··· 1 - # SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 - # 3 - # SPDX-License-Identifier: MIT 4 - 5 - let 6 - cwd = ./.; 7 - pins = 8 - if builtins.hasAttr "npins" (builtins.readDir cwd) then import "${cwd}/npins" else import ../npins; 9 - 10 - nilla = import pins.nilla; 11 - in 12 - nilla.create ( 13 - { config, lib }: 14 - { 15 - config = { 16 - # With a package set defined, we can create a shell. 17 - shells.default = { 18 - # Declare what systems the shell can be used on. 19 - systems = [ "x86_64-linux" ]; 20 - 21 - # Define our shell environment. 22 - shell = 23 - { 24 - pkgs, 25 - stdenv, 26 - mkShell, 27 - reuse, 28 - ... 29 - }: 30 - mkShell { 31 - packages = [ 32 - config.inputs.nilla-cli.result.packages.nilla-cli.result.${stdenv.hostPlatform.system} 33 - config.inputs.nixpkgs.result.${stdenv.hostPlatform.system}.deadnix 34 - # config.packages.nilla-fmt.result.${stdenv.hostPlatform.system} 35 - # config.packages.treefmt.result.${stdenv.hostPlatform.system} 36 - (config.inputs.npins.result { 37 - inherit pkgs; 38 - inherit (stdenv.hostPlatform) system; 39 - }) 40 - reuse 41 - ]; 42 - }; 43 - }; 44 - }; 45 - } 46 - )
+1
projects/menu/workspace.josh
··· 1 1 ::LICENSES/ 2 2 ::npins/ 3 + ::nilla.nix=projects/nilla.nix 3 4 ::workspace.josh.license=projects/menu/workspace.josh.license 4 5 :/menu
projects/menu/workspace.josh.license

This file has not been changed.

+49
menu/project.nix
··· 1 + # SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 + { config, lib }: 6 + { 7 + config = { 8 + shells.menu = { 9 + systems = [ "x86_64-linux" ]; 10 + 11 + shell = 12 + { 13 + bacon, 14 + fenix, 15 + mkShell, 16 + pkg-config, 17 + pkgs, 18 + reuse, 19 + sqlx-cli, 20 + stdenv, 21 + ... 22 + }: 23 + mkShell { 24 + packages = [ 25 + bacon 26 + config.inputs.nilla-cli.result.packages.nilla-cli.result.${stdenv.hostPlatform.system} 27 + config.inputs.nixpkgs.result.${stdenv.hostPlatform.system}.deadnix 28 + # config.packages.nilla-fmt.result.${stdenv.hostPlatform.system} 29 + # config.packages.treefmt.result.${stdenv.hostPlatform.system} 30 + (config.inputs.npins.result { 31 + inherit pkgs; 32 + inherit (stdenv.hostPlatform) system; 33 + }) 34 + pkg-config 35 + reuse 36 + (fenix.complete.withComponents [ 37 + "cargo" 38 + "clippy" 39 + "rust-src" 40 + "rustc" 41 + "rustfmt" 42 + "rust-analyzer" 43 + ]) 44 + sqlx-cli 45 + ]; 46 + }; 47 + }; 48 + }; 49 + }

History

15 rounds 1 comment
sign up or login to add to the discussion
expand 0 comments
pull request successfully merged
1 commit
expand
init(menu): add menu project
expand 0 comments
1 commit
expand
init(menu): add menu project
expand 0 comments
1 commit
expand
init(menu): add menu project
expand 0 comments
1 commit
expand
init(menu): add menu project
expand 0 comments
1 commit
expand
init(menu): add menu project
expand 0 comments
1 commit
expand
init(menu): add menu project
expand 0 comments
1 commit
expand
init(menu): add menu project
expand 0 comments
1 commit
expand
init(menu): add menu project
expand 1 comment

(was logged into the wrong account - this was me)