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; [
|
nbi = with pkgs; [
|
||||||
# ffmpeg
|
# ffmpeg
|
||||||
alejandra
|
alejandra
|
||||||
(pkgs.fenix.stable.withComponents [
|
(pkgs.fenix.stable.withComponents [
|
||||||
"cargo"
|
"cargo"
|
||||||
"clippy"
|
"clippy"
|
||||||
"rust-src"
|
"rust-src"
|
||||||
"rustc"
|
"rustc"
|
||||||
"rustfmt"
|
"rustfmt"
|
||||||
])
|
])
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
];
|
];
|
||||||
|
|
||||||
bi = with pkgs; [
|
bi = with pkgs; [
|
||||||
|
@ -109,13 +109,14 @@
|
||||||
|
|
||||||
# This creates the proper qt env so that plugins are found right.
|
# This creates the proper qt env so that plugins are found right.
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
setQtEnvironment=$(mktemp --suffix .setQtEnvironment.sh)
|
setQtEnvironment=$(mktemp --suffix .setQtEnvironment.sh)
|
||||||
echo "shellHook: setQtEnvironment = $setQtEnvironment"
|
echo "shellHook: setQtEnvironment = $setQtEnvironment"
|
||||||
makeQtWrapper "/bin/sh" "$setQtEnvironment" "''${qtWrapperArgs[@]}"
|
makeQtWrapper "/bin/sh" "$setQtEnvironment" "''${qtWrapperArgs[@]}"
|
||||||
sed "/^exec/d" -i "$setQtEnvironment"
|
sed "/^exec/d" -i "$setQtEnvironment"
|
||||||
source "$setQtEnvironment"
|
source "$setQtEnvironment"
|
||||||
'';
|
'';
|
||||||
DATABASE_URL = "sqlite:///home/chris/.local/share/lumina/library-db.sqlite3";
|
DATABASE_URL =
|
||||||
|
"sqlite:///home/chris/.local/share/lumina/library-db.sqlite3";
|
||||||
};
|
};
|
||||||
# devShell = import ./shell.nix { inherit pkgs; };
|
# devShell = import ./shell.nix { inherit pkgs; };
|
||||||
# defaultPackage = pkgs.libsForQt5.callPackage ./default.nix { };
|
# defaultPackage = pkgs.libsForQt5.callPackage ./default.nix { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue