From fbcb6afc7a926741c08213e4dd291795d4350c41 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 11 Mar 2025 17:25:56 -0500 Subject: [PATCH] fixing formatting --- flake.nix | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/flake.nix b/flake.nix index 66bb2d4..7f8125e 100644 --- a/flake.nix +++ b/flake.nix @@ -23,15 +23,15 @@ nbi = with pkgs; [ # ffmpeg - alejandra - (pkgs.fenix.stable.withComponents [ - "cargo" - "clippy" - "rust-src" - "rustc" - "rustfmt" - ]) - rust-analyzer + alejandra + (pkgs.fenix.stable.withComponents [ + "cargo" + "clippy" + "rust-src" + "rustc" + "rustfmt" + ]) + rust-analyzer ]; bi = with pkgs; [ @@ -109,13 +109,14 @@ # This creates the proper qt env so that plugins are found right. shellHook = '' - setQtEnvironment=$(mktemp --suffix .setQtEnvironment.sh) - echo "shellHook: setQtEnvironment = $setQtEnvironment" - makeQtWrapper "/bin/sh" "$setQtEnvironment" "''${qtWrapperArgs[@]}" - sed "/^exec/d" -i "$setQtEnvironment" - source "$setQtEnvironment" - ''; - DATABASE_URL = "sqlite:///home/chris/.local/share/lumina/library-db.sqlite3"; + setQtEnvironment=$(mktemp --suffix .setQtEnvironment.sh) + echo "shellHook: setQtEnvironment = $setQtEnvironment" + makeQtWrapper "/bin/sh" "$setQtEnvironment" "''${qtWrapperArgs[@]}" + sed "/^exec/d" -i "$setQtEnvironment" + source "$setQtEnvironment" + ''; + DATABASE_URL = + "sqlite:///home/chris/.local/share/lumina/library-db.sqlite3"; }; # devShell = import ./shell.nix { inherit pkgs; }; # defaultPackage = pkgs.libsForQt5.callPackage ./default.nix { };