๐Ÿ“๐Ÿ–ผ๏ธ๐Ÿน A small thing where I can upload a file and get a link back. https://media.strawmelonjuice.com/
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Switch to Fenix

+55 -6
+39
flake.lock
··· 1 1 { 2 2 "nodes": { 3 + "fenix": { 4 + "inputs": { 5 + "nixpkgs": [ 6 + "nixpkgs" 7 + ], 8 + "rust-analyzer-src": "rust-analyzer-src" 9 + }, 10 + "locked": { 11 + "lastModified": 1769496861, 12 + "narHash": "sha256-k9DQImIOzSThTs+LNWGOvHCqbONCufULz1SgFjNJfa0=", 13 + "owner": "nix-community", 14 + "repo": "fenix", 15 + "rev": "527e6953a8c12619acc11ca43b2a23240b3c32c6", 16 + "type": "github" 17 + }, 18 + "original": { 19 + "owner": "nix-community", 20 + "repo": "fenix", 21 + "type": "github" 22 + } 23 + }, 3 24 "nixpkgs": { 4 25 "locked": { 5 26 "lastModified": 1769170682, ··· 18 39 }, 19 40 "root": { 20 41 "inputs": { 42 + "fenix": "fenix", 21 43 "nixpkgs": "nixpkgs", 22 44 "utils": "utils" 45 + } 46 + }, 47 + "rust-analyzer-src": { 48 + "flake": false, 49 + "locked": { 50 + "lastModified": 1769441130, 51 + "narHash": "sha256-0NHoMBB8M/420szPe/B5rtDz3q0qsqfWyuAmkJGWX/s=", 52 + "owner": "rust-lang", 53 + "repo": "rust-analyzer", 54 + "rev": "e2ab48898ed0f91b969e699abc5cec4ebbb0ac0e", 55 + "type": "github" 56 + }, 57 + "original": { 58 + "owner": "rust-lang", 59 + "ref": "nightly", 60 + "repo": "rust-analyzer", 61 + "type": "github" 23 62 } 24 63 }, 25 64 "systems": {
+16 -6
flake.nix
··· 4 4 inputs = { 5 5 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 6 6 utils.url = "github:numtide/flake-utils"; 7 + fenix = { 8 + url = "github:nix-community/fenix"; 9 + inputs.nixpkgs.follows = "nixpkgs"; 10 + }; 7 11 }; 8 12 9 13 outputs = ··· 11 15 self, 12 16 nixpkgs, 13 17 utils, 18 + fenix, 14 19 ... 15 20 }: 16 21 utils.lib.eachDefaultSystem ( 17 22 system: 18 23 let 19 24 pkgs = import nixpkgs { inherit system; }; 25 + # Define the Rust toolchain using Fenix 26 + rustToolchain = fenix.packages.${system}.stable.withComponents [ 27 + "cargo" 28 + "rustc" 29 + "rustfmt" 30 + "clippy" 31 + "rust-analyzer" 32 + "rust-src" 33 + ]; 20 34 in 21 35 { 22 36 devShells.default = pkgs.mkShell { 23 37 buildInputs = with pkgs; [ 38 + rustToolchain 24 39 25 40 bun 26 41 gleam 27 - rustc 28 - cargo 29 42 nodePackages.typescript 30 43 nodePackages.prettier 31 - 32 44 tailwindcss 33 45 pkg-config 34 46 dbus 35 - # task runner 36 47 just 37 48 ]; 38 49 39 50 shellHook = '' 40 51 export LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH" 41 - echo "โ„๏ธ Strawmediajuice dev environment loaded!" 52 + echo "โ„๏ธ Strawmediajuice dev environment loaded (with Fenix)!" 42 53 just --list 43 - echo "Use just to run them." 44 54 ''; 45 55 }; 46 56 }