feat: C template #27

Merged
Sigmanificient merged 7 commits from c into main 2024-05-14 20:24:13 +00:00
2 changed files with 17 additions and 13 deletions
Showing only changes of commit 57769ca9ed - Show all commits

13
c/default.nix Normal file
View file

@ -0,0 +1,13 @@
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
{ stdenv, gnumake }:
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
stdenv.mkDerivation {
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
name = "hello";
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
src = ./.;
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
nativeBuildInputs = [ gnumake ];
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
enableParallelBuilding = true;
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
installPhase = ''
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
install -D hello $out/bin/hello --mode 0755
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
'';
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required
}
getchoo commented 2024-05-07 06:31:09 +00:00 (Migrated from github.com)
Review

make is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ meson ninja ];
```suggestion ``` `make` is in stdenv, so i'm not sure we need this? also if you were to switch to meson/cmake, this would need to be replaced with one of these instead ```nix nativeBuildInputs = [ cmake ]; ``` ```nix nativeBuildInputs = [ meson ninja ]; ```
getchoo commented 2024-05-07 06:33:08 +00:00 (Migrated from github.com)
Review
  installPhase = ''
    runHook preInstall

    install -Dm755 hello $out/bin/hello
    
    runHook postInstall
  '';

this is also another reason to use cmake or meson: this phase wouldn't be required

```suggestion installPhase = '' runHook preInstall install -Dm755 hello $out/bin/hello runHook postInstall ''; ``` this is also another reason to use cmake or meson: this phase wouldn't be required

View file

@ -1,5 +1,5 @@
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
{
description = "Templates for getting started with Aux";
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
description = "Aux template for C project";
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
inputs.nixpkgs.url = "github:auxolotl/nixpkgs/nixos-unstable";
getchoo commented 2024-05-07 06:35:48 +00:00 (Migrated from github.com)
Review
  inputs.nixpkgs.url = "github:auxolotl/nixpkgs";

we aren't actually updating branches besides master currently

```suggestion inputs.nixpkgs.url = "github:auxolotl/nixpkgs"; ``` we aren't actually updating branches besides master currently
Sigmanificient commented 2024-05-07 08:02:20 +00:00 (Migrated from github.com)
Review

master template use it too.

master template use it too.
getchoo commented 2024-05-07 09:51:25 +00:00 (Migrated from github.com)
Review

this should changed as well

this should changed as well
Sigmanificient commented 2024-05-07 21:30:30 +00:00 (Migrated from github.com)
Review

This might need it's own dedicated issue

This might need it's own dedicated issue
@ -28,20 +28,11 @@
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
packages = forAllSystems (pkgs: rec {
default = hello;
hello = pkgs.stdenv.mkDerivation rec {
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
name = "hello";
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
src = ./.;
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
nativeBuildInputs = [ pkgs.gnumake ];
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
enableParallelBuilding = true;
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
V = 1;
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
installPhase = ''
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
install -D ${name} $out/bin/${name} --mode 0755
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
'';
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
};
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
hello = pkgs.callPackage ./default.nix { };
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
});
overlays.default = final: prev: { hello = final.callPackage ./default.nix { }; };
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
apps = forAllSystems (pkgs: rec {
default = hello;
hello = {

isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`
isabelroses commented 2024-05-06 22:13:05 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

        hello = pkgs.stdenv.mkDerivation {
          pname = "hello";

          src = ./.;
          nativeBuildInputs = [ pkgs.gnumake ];

          enableParallelBuilding = true;
          V = 1;
          installPhase = ''
            install -D hello $out/bin/hello --mode 0755
          '';
I would prefer to not have rec, also i believe it is pname, not name ```suggestion hello = pkgs.stdenv.mkDerivation { pname = "hello"; src = ./.; nativeBuildInputs = [ pkgs.gnumake ]; enableParallelBuilding = true; V = 1; installPhase = '' install -D hello $out/bin/hello --mode 0755 ''; ```
isabelroses commented 2024-05-06 22:16:46 +00:00 (Migrated from github.com)
Review
        hello = pkgs.callPackage ./default.nix {};
```suggestion hello = pkgs.callPackage ./default.nix {}; ```
TheCodedProf commented 2024-05-06 22:15:23 +00:00 (Migrated from github.com)
Review

Please change the description to something more related to C

Please change the description to something more related to C
Sigmanificient commented 2024-05-06 22:19:31 +00:00 (Migrated from github.com)
Review

I would prefer to not have rec, also i believe it is pname, not name

for mkDerivation it's name: otherwise it would throw error: attribute 'name' missing

> I would prefer to not have rec, also i believe it is pname, not name for `mkDerivation` it's name: otherwise it would throw `error: attribute 'name' missing`
getchoo commented 2024-05-07 06:24:08 +00:00 (Migrated from github.com)
Review
        nixpkgs.lib.genAttrs
        nixpkgs.lib.systems.flakeExposed
        (system: function nixpkgs.legacyPackages.${system});
```suggestion nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); ```
getchoo commented 2024-05-07 06:24:50 +00:00 (Migrated from github.com)
Review

im not really sure why this is set?

im not really sure why this is set?
getchoo commented 2024-05-07 06:25:15 +00:00 (Migrated from github.com)
Review
          inputsFrom = [ packages.${pkgs.system}.hello ];
```suggestion inputsFrom = [ packages.${pkgs.system}.hello ]; ```
getchoo commented 2024-05-07 06:26:34 +00:00 (Migrated from github.com)
Review
      overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; };

we really only need to use final when passing arguments to callPackage

```suggestion overlays.default = final: prev: { hello = prev.callPackage ./default.nix { }; }; ``` we really only need to use `final` when passing arguments to callPackage
getchoo commented 2024-05-07 06:27:21 +00:00 (Migrated from github.com)
Review

this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use nix run and nix run .#hello without this

```suggestion ``` this isn't what the app output is really meant for, and doesn't actually introduce anything new. users can still use `nix run` and `nix run .#hello` without this
Sigmanificient commented 2024-05-07 08:25:22 +00:00 (Migrated from github.com)
Review

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

To me it would make more sense for this to be dynamic, because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell
getchoo commented 2024-05-07 09:49:10 +00:00 (Migrated from github.com)
Review

because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell

slightly different builds of the same package. this is done in prismlauncher for example

this also duplicates inputs due to the default package (which only really slows eval time a bit, but still) and currently doesn't work at all

lib.attrValues packages evaluates to [ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]

> because i cant think of a scenario where you wouldn't add the build inputs of a package within the dev shell slightly different builds of the same package. this is done in [prismlauncher](https://github.com/prismlauncher/prismlauncher) for example this also duplicates inputs due to the `default` package (which only really slows eval time a bit, but still) and currently doesn't work at all `lib.attrValues packages` evaluates to `[ { default = { ... }; hello = { ... }; } { default = { ... }; hello = { ... }; } { ... } ]`