A collection of easily useable/reusable nilla shells

feat: add rust shell #3

merged opened by thecoded.prof targeting main from private/coded/push-ylryrulwsykk
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:t4ifz7bz4cnukxryiqnbgxxr/sh.tangled.repo.pull/3mfsfo43hw722
+44
Diff #0
+31
nilla.nix
··· 8 8 { 9 9 config = { 10 10 inputs = { 11 + fenix = { 12 + src = pins.fenix; 13 + }; 11 14 nixpkgs = { 12 15 src = pins.nixpkgs; 16 + 17 + settings.overlays = [ 18 + config.inputs.fenix.result.overlays.default 19 + ]; 13 20 }; 14 21 treefmt-nix = { 15 22 src = pins.treefmt-nix; ··· 79 86 }; 80 87 }; 81 88 89 + shells.rust = { 90 + systems = [ "x86_64-linux" ]; 91 + 92 + shell = 93 + { 94 + bacon, 95 + fenix, 96 + mkShell, 97 + }: 98 + mkShell { 99 + packages = [ 100 + bacon 101 + (fenix.complete.withComponents [ 102 + "cargo" 103 + "clippy" 104 + "rust-src" 105 + "rustc" 106 + "rustfmt" 107 + "rust-analyzer" 108 + ]) 109 + ]; 110 + }; 111 + }; 112 + 82 113 shells.typst = { 83 114 systems = [ "x86_64-linux" ]; 84 115
+13
npins/sources.json
··· 1 1 { 2 2 "pins": { 3 + "fenix": { 4 + "type": "Git", 5 + "repository": { 6 + "type": "GitHub", 7 + "owner": "nix-community", 8 + "repo": "fenix" 9 + }, 10 + "branch": "main", 11 + "submodules": false, 12 + "revision": "2e634630daa7f0e1e5c7361f2fd152abed885b54", 13 + "url": "https://github.com/nix-community/fenix/archive/2e634630daa7f0e1e5c7361f2fd152abed885b54.tar.gz", 14 + "hash": "sha256-/wg2AldzzgPCxWpTIq3tRq38+drl68SAsgaJqgRjCH8=" 15 + }, 3 16 "nilla": { 4 17 "type": "Git", 5 18 "repository": {

History

1 round 0 comments
sign up or login to add to the discussion
thecoded.prof submitted #0
1 commit
expand
feat: add rust shell
expand 0 comments
pull request successfully merged