fixing formatting
This commit is contained in:
parent
26975c2004
commit
fbcb6afc7a
1 changed files with 17 additions and 16 deletions
33
flake.nix
33
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 { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue