this repo has no description

refactor: remove needless details, use more callPackage

+80 -71
+2 -2
c/default.nix
··· 9 9 10 10 meta = { 11 11 description = "A example C/C++ project using nix"; 12 - homepage = "https://github.com/isabelroses/example-c-cpp"; 12 + homepage = "https://github.com/"; 13 13 license = lib.licenses.mit; 14 - maintainers = with lib.maintainers; [ isabelroses ]; 14 + maintainers = with lib.maintainers; [ ]; 15 15 mainPackage = "example"; 16 16 }; 17 17 }
+2 -2
c/flake.nix
··· 6 6 }; 7 7 8 8 outputs = 9 - { self, nixpkgs }@inputs: 9 + { self, nixpkgs }: 10 10 let 11 11 forAllSystems = 12 12 function: ··· 21 21 }); 22 22 23 23 devShells = forAllSystems (pkgs: { 24 - default = pkgs.callPackage ./shell.nix { inherit inputs; }; 24 + default = pkgs.callPackage ./shell.nix { }; 25 25 }); 26 26 27 27 overlays.default = final: _: { example = final.callPackage ./default.nix { }; };
+5 -5
c/shell.nix
··· 1 1 { 2 - stdenv, 3 2 mkShellNoCC, 3 + callPackage, 4 4 5 5 # extra tooling 6 6 libcxx, 7 7 gnumake, 8 8 cppcheck, 9 9 clang-tools, 10 - 11 - inputs, # our inputs 12 - self ? inputs.self, 13 10 }: 11 + let 12 + defaultPackage = callPackage ./default.nix { }; 13 + in 14 14 mkShellNoCC { 15 - inputsFrom = [ self.packages.${stdenv.hostPlatform.system}.default ]; 15 + inputsFrom = [ defaultPackage ]; 16 16 17 17 packages = [ 18 18 libcxx # stdlib for cpp
+5
flake.nix
··· 33 33 description = "A Python template"; 34 34 }; 35 35 36 + rough-base = { 37 + path = ./rough-base; 38 + description = "A Rough template"; 39 + }; 40 + 36 41 rust = { 37 42 path = ./rust; 38 43 description = "A Rust template";
+2 -2
go/default.nix
··· 18 18 19 19 meta = { 20 20 description = "A example go project using nix"; 21 - homepage = "https://github.com/isabelroses/example-go"; 21 + homepage = "https://github.com/"; 22 22 license = lib.licenses.mit; 23 - maintainers = with lib.maintainers; [ isabelroses ]; 23 + maintainers = with lib.maintainers; [ ]; 24 24 mainPackage = "example"; 25 25 }; 26 26 }
+2 -2
go/flake.nix
··· 6 6 }; 7 7 8 8 outputs = 9 - { self, nixpkgs }@inputs: 9 + { self, nixpkgs }: 10 10 let 11 11 forAllSystems = 12 12 function: ··· 21 21 }); 22 22 23 23 devShells = forAllSystems (pkgs: { 24 - default = pkgs.callPackage ./shell.nix { inherit inputs; }; 24 + default = pkgs.callPackage ./shell.nix { }; 25 25 }); 26 26 27 27 overlays.default = final: _: { example = final.callPackage ./default.nix { }; };
+5 -5
go/shell.nix
··· 1 1 { 2 - stdenv, 3 2 mkShellNoCC, 3 + callPackage, 4 4 5 5 # extra tooling 6 6 go, 7 7 gopls, 8 8 goreleaser, 9 - 10 - inputs, # our inputs 11 - self ? inputs.self, 12 9 }: 10 + let 11 + defaultPackage = callPackage ./default.nix { }; 12 + in 13 13 mkShellNoCC { 14 - inputsFrom = [ self.packages.${stdenv.hostPlatform.system}.default ]; 14 + inputsFrom = [ defaultPackage ]; 15 15 16 16 packages = [ 17 17 go
+2 -2
haskell/default.nix
··· 12 12 executableHaskellDepends = with haskellPackages; [ ]; 13 13 14 14 description = "A example haskell project using nix"; 15 - homepage = "https://github.com/isabelroses/example-haskell"; 16 - maintainers = with lib.maintainers; [ isabelroses ]; 15 + homepage = "https://github.com/"; 16 + maintainers = with lib.maintainers; [ ]; 17 17 license = lib.licenses.mit; 18 18 mainProgram = "example"; 19 19 }
+2 -2
latex/default.nix
··· 42 42 43 43 meta = { 44 44 description = "A example latex project using nix"; 45 - homepage = "https://github.com/isabelroses/example-latex"; 45 + homepage = "https://github.com/"; 46 46 license = lib.licenses.mit; 47 - maintainers = with lib.maintainers; [ isabelroses ]; 47 + maintainers = with lib.maintainers; [ ]; 48 48 mainPackage = "example"; 49 49 }; 50 50 }
+2 -2
latex/flake.nix
··· 6 6 }; 7 7 8 8 outputs = 9 - { self, nixpkgs }@inputs: 9 + { self, nixpkgs }: 10 10 let 11 11 forAllSystems = 12 12 function: ··· 21 21 }); 22 22 23 23 devShells = forAllSystems (pkgs: { 24 - default = pkgs.callPackage ./shell.nix { inherit inputs; }; 24 + default = pkgs.callPackage ./shell.nix { }; 25 25 }); 26 26 27 27 overlays.default = final: _: { example = final.callPackage ./default.nix { }; };
+5 -5
latex/shell.nix
··· 1 1 { 2 - stdenv, 3 2 mkShellNoCC, 3 + callPackage, 4 4 5 5 # extra tooling 6 6 just, 7 7 texlive, 8 - 9 - inputs, # our inputs 10 - self ? inputs.self, 11 8 }: 9 + let 10 + defaultPackage = callPackage ./default.nix { }; 11 + in 12 12 mkShellNoCC { 13 - inputsFrom = [ self.packages.${stdenv.hostPlatform.system}.default ]; 13 + inputsFrom = [ defaultPackage ]; 14 14 15 15 packages = [ 16 16 just
+3 -3
nix/default.nix rough-base/default.nix
··· 1 1 { lib, stdenv }: 2 2 stdenv.mkDerivation { 3 - pname = "example-nix"; 3 + pname = "example-rough-base"; 4 4 version = "0.1.0"; 5 5 6 6 src = lib.fileset.toSource { ··· 13 13 }; 14 14 15 15 meta = { 16 - homepage = "https://github.com/isabelroses/example-nix"; 16 + homepage = "https://github.com/"; 17 17 description = "An example Nix project"; 18 18 license = lib.licenses.mit; 19 - maintainers = with lib.maintainers; [ isabelroses ]; 19 + maintainers = with lib.maintainers; [ ]; 20 20 mainPackage = "example"; 21 21 }; 22 22 }
+2 -2
nix/flake.nix rough-base/flake.nix
··· 6 6 }; 7 7 8 8 outputs = 9 - { self, nixpkgs }@inputs: 9 + { self, nixpkgs }: 10 10 let 11 11 forAllSystems = 12 12 function: ··· 21 21 }); 22 22 23 23 devShells = forAllSystems (pkgs: { 24 - default = pkgs.callPackage ./shell.nix { inherit inputs; }; 24 + default = pkgs.callPackage ./shell.nix { }; 25 25 }); 26 26 27 27 overlays.default = final: _: { example = final.callPackage ./default.nix { }; };
-16
nix/shell.nix
··· 1 - { 2 - stdenv, 3 - mkShellNoCC, 4 - 5 - inputs, # our inputs 6 - self ? inputs.self, 7 - }: 8 - mkShellNoCC { 9 - inputsFrom = [ self.packages.${stdenv.hostPlatform.system}.default ]; 10 - 11 - packages = [ ]; 12 - 13 - shellHook = '' 14 - echo "Hello, world!" 15 - ''; 16 - }
+2 -2
node/default.nix
··· 9 9 10 10 meta = { 11 11 description = "A example nodejs project using nix"; 12 - homepage = "https://github.com/isabelroses/example-nodejs"; 12 + homepage = "https://github.com/"; 13 13 license = lib.licenses.mit; 14 - maintainers = with lib.maintainers; [ isabelroses ]; 14 + maintainers = with lib.maintainers; [ ]; 15 15 mainPackage = "example"; 16 16 }; 17 17 }
+2 -2
node/flake.nix
··· 6 6 }; 7 7 8 8 outputs = 9 - { self, nixpkgs }@inputs: 9 + { self, nixpkgs }: 10 10 let 11 11 forAllSystems = 12 12 function: ··· 21 21 }); 22 22 23 23 devShells = forAllSystems (pkgs: { 24 - default = pkgs.callPackage ./shell.nix { inherit inputs; }; 24 + default = pkgs.callPackage ./shell.nix { }; 25 25 }); 26 26 27 27 overlays.default = final: _: { example = final.callPackage ./default.nix { }; };
+5 -4
node/shell.nix
··· 1 1 { 2 - stdenv, 3 2 mkShellNoCC, 4 3 5 4 # extra tooling ··· 7 6 prettierd, 8 7 typescript, 9 8 10 - inputs, # our inputs 11 - self ? inputs.self, 9 + callPackage, 12 10 }: 11 + let 12 + defaultPackage = callPackage ./default.nix { }; 13 + in 13 14 mkShellNoCC { 14 - inputsFrom = [ self.packages.${stdenv.hostPlatform.system}.default ]; 15 + inputsFrom = [ defaultPackage ]; 15 16 16 17 packages = [ 17 18 eslint_d
+2 -2
python/default.nix
··· 15 15 16 16 meta = { 17 17 description = "A example python project using nix"; 18 - homepage = "https://github.com/isabelroses/example-python"; 18 + homepage = "https://github.com/"; 19 19 license = lib.licenses.mit; 20 - maintainers = with lib.maintainers; [ isabelroses ]; 20 + maintainers = with lib.maintainers; [ ]; 21 21 mainPackage = "example"; 22 22 }; 23 23 }
+3 -1
python/shell.nix
··· 7 7 let 8 8 defaultPackage = callPackage ./default.nix; 9 9 in 10 - mkShellNoCC { packages = [ (python3.withPackages defaultPackage.propagatedBuildInputs) ]; } 10 + mkShellNoCC { 11 + packages = [ (python3.withPackages defaultPackage.propagatedBuildInputs) ]; 12 + }
+17
rough-base/shell.nix
··· 1 + { 2 + mkShellNoCC, 3 + 4 + callPackage, 5 + }: 6 + let 7 + defaultPackage = callPackage ./default.nix { }; 8 + in 9 + mkShellNoCC { 10 + inputsFrom = [ defaultPackage ]; 11 + 12 + packages = [ ]; 13 + 14 + shellHook = '' 15 + echo "Hello, world!" 16 + ''; 17 + }
+2 -2
rust/Cargo.toml
··· 3 3 version = "0.0.1" 4 4 license = "MIT" 5 5 description = "A example rust project using nix" 6 - homepage = "https://github.com/isabelroses/example-rust" 7 - authors = ["Isabel Roses <isabel@isabelroses.com>"] 6 + homepage = "https://github.com/" 7 + authors = [] 8 8 edition = "2021"
+1 -1
rust/default.nix
··· 22 22 meta = { 23 23 inherit (toml) homepage description; 24 24 license = lib.licenses.mit; 25 - maintainers = with lib.maintainers; [ isabelroses ]; 25 + maintainers = with lib.maintainers; [ ]; 26 26 mainPackage = "example"; 27 27 }; 28 28 }
+2 -2
rust/flake.nix
··· 6 6 }; 7 7 8 8 outputs = 9 - { self, nixpkgs }@inputs: 9 + { self, nixpkgs }: 10 10 let 11 11 forAllSystems = 12 12 function: ··· 21 21 }); 22 22 23 23 devShells = forAllSystems (pkgs: { 24 - default = pkgs.callPackage ./shell.nix { inherit inputs; }; 24 + default = pkgs.callPackage ./shell.nix { }; 25 25 }); 26 26 27 27 overlays.default = final: _: { example = final.callPackage ./default.nix { }; };
+5 -5
rust/shell.nix
··· 1 1 { 2 - stdenv, 3 2 mkShell, 3 + callPackage, 4 4 5 5 # extra tooling 6 6 clippy, 7 7 rustfmt, 8 8 rust-analyzer, 9 - 10 - inputs, # our inputs 11 - self ? inputs.self, 12 9 }: 10 + let 11 + defaultPackage = callPackage ./default.nix { }; 12 + in 13 13 mkShell { 14 - inputsFrom = [ self.packages.${stdenv.hostPlatform.system}.default ]; 14 + inputsFrom = [ defaultPackage ]; 15 15 16 16 packages = [ 17 17 clippy