···11{
22+ lib,
23 mkShell,
34 callPackage,
45 rustPlatform,
···25262627 env = {
2728 RUST_SRC_PATH = rustPlatform.rustLibSrc;
2828- };
2929+ }
3030+ # isabel if this is like a horrible way to do this forgive me for my sins ig
3131+ # if you can make this better go do it and tell me how or something :3
3232+ // builtins.fromTOML (
3333+ (s: if s == "" then s else s + "\"") (lib.replaceStrings [ "\n" "=" "\"" ] [ "\"\n" "=\"" "\\\"" ]
3434+ (lib.concatStringsSep "\n"
3535+ (lib.filter (line: !lib.hasPrefix "#" line && line != "")
3636+ (lib.splitString "\n"
3737+ (if lib.pathIsRegularFile ./.env
3838+ then (lib.readFile ./.env)
3939+ else ""
4040+ )
4141+ )
4242+ )
4343+ )
4444+ )
4545+ );
29463047 packages = [
3148 just