, cowsay "it just works"
, cowsay "it just works"
, cowsay "it just works"
$ nix-locate 'bin/hello'
hello.out 29,488 x /nix/store/bdjyhh70...-hello-2.10/bin/hello
$ nix-locate 'bin/hello'
hello.out 29,488 x /nix/store/bdjyhh70...-hello-2.10/bin/hello
$ nix-locate 'bin/hello'
hello.out 29,488 x /nix/store/bdjyhh70...-hello-2.10/bin/hello
$ nurl https://github.com/nix-community/patsh v0.2.0
fetchFromGitHub { owner = "nix-community"; repo = "patsh"; tag = "v0.2.0"; hash = "sha256-7HXJspebluQeejKYmVA7sy/F3dtU1gc4eAbKiPexMMA=";
}
$ nurl https://github.com/nix-community/patsh v0.2.0
fetchFromGitHub { owner = "nix-community"; repo = "patsh"; tag = "v0.2.0"; hash = "sha256-7HXJspebluQeejKYmVA7sy/F3dtU1gc4eAbKiPexMMA=";
}
$ nurl https://github.com/nix-community/patsh v0.2.0
fetchFromGitHub { owner = "nix-community"; repo = "patsh"; tag = "v0.2.0"; hash = "sha256-7HXJspebluQeejKYmVA7sy/F3dtU1gc4eAbKiPexMMA=";
}
$ statix check tests/c.nix
[W04] Warning: Assignment instead of inherit from ╭─[tests/c.nix:2:3] │ 2 │ mtl = pkgs.haskellPackages.mtl; · ─────────── This assignment is better written with inherit
$ statix check tests/c.nix
[W04] Warning: Assignment instead of inherit from ╭─[tests/c.nix:2:3] │ 2 │ mtl = pkgs.haskellPackages.mtl; · ─────────── This assignment is better written with inherit
$ statix check tests/c.nix
[W04] Warning: Assignment instead of inherit from ╭─[tests/c.nix:2:3] │ 2 │ mtl = pkgs.haskellPackages.mtl; · ─────────── This assignment is better written with inherit
$ statix fix --dry-run tests/c.nix
- mtl = pkgs.haskellPackages.mtl;
+ inherit (pkgs.haskellPackages) mtl;
$ statix fix --dry-run tests/c.nix
- mtl = pkgs.haskellPackages.mtl;
+ inherit (pkgs.haskellPackages) mtl;
$ statix fix --dry-run tests/c.nix
- mtl = pkgs.haskellPackages.mtl;
+ inherit (pkgs.haskellPackages) mtl;
programs.direnv = { enable = true; nix-direnv.enable = true;
};
programs.direnv = { enable = true; nix-direnv.enable = true;
};
programs.direnv = { enable = true; nix-direnv.enable = true;
};
outputs = inputs@{ flake-parts, ... }: flake-parts.lib.mkFlake { inherit inputs; } { systems = [ "x86_64-linux" "aarch64-linux" ]; # perSystem and other modules go here };
outputs = inputs@{ flake-parts, ... }: flake-parts.lib.mkFlake { inherit inputs; } { systems = [ "x86_64-linux" "aarch64-linux" ]; # perSystem and other modules go here };
outputs = inputs@{ flake-parts, ... }: flake-parts.lib.mkFlake { inherit inputs; } { systems = [ "x86_64-linux" "aarch64-linux" ]; # perSystem and other modules go here };
hjem = { users.k1ng = { enable = true; files = { ".foo".text = "bar"; ".config/something.json" = { generator = lib.generators.toJSON { }; value = { foo = 1; bar = "hello"; }; }; }; };
};
hjem = { users.k1ng = { enable = true; files = { ".foo".text = "bar"; ".config/something.json" = { generator = lib.generators.toJSON { }; value = { foo = 1; bar = "hello"; }; }; }; };
};
hjem = { users.k1ng = { enable = true; files = { ".foo".text = "bar"; ".config/something.json" = { generator = lib.generators.toJSON { }; value = { foo = 1; bar = "hello"; }; }; }; };
};