mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
fix nix fmt
This commit is contained in:
parent
701ee8f205
commit
b1c13f4914
5 changed files with 7 additions and 7 deletions
|
|
@ -43,7 +43,7 @@ _:
|
|||
|
||||
inherit (pkgs.wineWowPackages) unstableFull;
|
||||
inherit (pkgs.libsForQt5) kdenlive;
|
||||
librewolf = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; };
|
||||
librewolf = pkgs.librewolf.override {cfg.speechSynthesisSupport = false;};
|
||||
};
|
||||
etc = {
|
||||
"jdks/17".source = "${pkgs.openjdk17}/bin";
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
;
|
||||
inherit (nvim-flake.packages) neovim;
|
||||
inherit (self.packages) lint nixfmt;
|
||||
librewolf = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; };
|
||||
librewolf = pkgs.librewolf.override {cfg.speechSynthesisSupport = false;};
|
||||
};
|
||||
etc = {
|
||||
"jdks/17".source = "${pkgs.openjdk17}/bin";
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ rec {
|
|||
callPackage = lib.callPackageWith (
|
||||
pkgs
|
||||
// {
|
||||
inputs = constructInputs' pkgs.stdenv.hostPlatform.system inputs;
|
||||
inputs = constructInputs' pkgs.stdenv.hostPlatform.system inputs;
|
||||
# maybe add self?
|
||||
# inherit self;
|
||||
# npins sources if i need them
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ writeShellApplication {
|
|||
fd
|
||||
];
|
||||
text = ''
|
||||
if [ -z "''${1:-""}" ]; then
|
||||
if [ -z "''${1:-""}" ] || [ "$1" == "." ]; then
|
||||
fd '.*\.nix' . -x statix fix -- {} \;
|
||||
fd '.*\.nix' . -X deadnix -e -- {} \; -X nixfmt {} \;
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{inputs, nixfmt}:
|
||||
(nixfmt.overrideAttrs {
|
||||
version = "0.6.0-${inputs.nixfmt.shortRev}";
|
||||
version = "0.6.0-${inputs.nixfmt.shortRev}";
|
||||
|
||||
src = inputs.nixfmt;
|
||||
})
|
||||
src = inputs.nixfmt;
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue