Something went wrong. Try again.
PDS software with bells & whistles you didn’t even know you needed. will move this to its own account when ready.
Something went wrong. Try again.
bspds-sandbox shell.nix
1.2 kB · 62 lines
Nix
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, mkShell, callPackage, rustPlatform,
# repo tooling just, podman, podman-compose,
# rust tooling clippy, rustfmt, rust-analyzer, sqlx-cli,
# frontend tooling deno, svelte-language-server, typescript-language-server,}: let defaultPackage = callPackage ./default.nix { };in mkShell { inputsFrom = [ defaultPackage ];
env = { RUST_SRC_PATH = rustPlatform.rustLibSrc; } # isabel if this is like a horrible way to do this forgive me for my sins ig # if you can make this better go do it and tell me how or something :3 // builtins.fromTOML ( (s: if s == "" then s else s + "\"") (lib.replaceStrings [ "\n" "=" "\"" ] [ "\"\n" "=\"" "\\\"" ] (lib.concatStringsSep "\n" (lib.filter (line: !lib.hasPrefix "#" line && line != "") (lib.splitString "\n" (if lib.pathIsRegularFile ./.env then (lib.readFile ./.env) else "" ) ) ) ) ) );
packages = [ just podman podman-compose
clippy rustfmt rust-analyzer sqlx-cli deno svelte-language-server typescript-language-server ];}