feat(direnv): init #11

Merged
aemogie merged 7 commits from feat/direnv-init into main 2024-05-03 13:01:37 +00:00
Showing only changes of commit 0d02eb962d - Show all commits

View file

@ -17,7 +17,7 @@
getchoo commented 2024-05-02 22:53:04 +00:00 (Migrated from github.com)
Review
      forAllSystems =
        function:
        nixpkgs.lib.genAttrs [
          "x86_64-linux"
          "aarch64-linux"
          "x86_64-darwin"
          "aarch64-darwin"
        ] (system: function nixpkgs.legacyPackages.${system});
    in
    {
      devShells = forAllSystems (pkgs: {
        default = pkgs.mkShellNoCC {
          packages = [ pkgs.hello ];
          IN_SHELL = "yes!";
        };
      });
    };

we can follow our own flake here. mkShellNoCC should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command echo $IN_SHELL in a tutorial

```suggestion forAllSystems = function: nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ] (system: function nixpkgs.legacyPackages.${system}); in { devShells = forAllSystems (pkgs: { default = pkgs.mkShellNoCC { packages = [ pkgs.hello ]; IN_SHELL = "yes!"; }; }); }; ``` we can follow our own flake here. `mkShellNoCC` should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command `echo $IN_SHELL` in a tutorial
getchoo commented 2024-05-02 22:53:04 +00:00 (Migrated from github.com)
Review
      forAllSystems =
        function:
        nixpkgs.lib.genAttrs [
          "x86_64-linux"
          "aarch64-linux"
          "x86_64-darwin"
          "aarch64-darwin"
        ] (system: function nixpkgs.legacyPackages.${system});
    in
    {
      devShells = forAllSystems (pkgs: {
        default = pkgs.mkShellNoCC {
          packages = [ pkgs.hello ];
          IN_SHELL = "yes!";
        };
      });
    };

we can follow our own flake here. mkShellNoCC should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command echo $IN_SHELL in a tutorial

```suggestion forAllSystems = function: nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ] (system: function nixpkgs.legacyPackages.${system}); in { devShells = forAllSystems (pkgs: { default = pkgs.mkShellNoCC { packages = [ pkgs.hello ]; IN_SHELL = "yes!"; }; }); }; ``` we can follow our own flake here. `mkShellNoCC` should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command `echo $IN_SHELL` in a tutorial
in
{
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
getchoo commented 2024-05-02 22:53:04 +00:00 (Migrated from github.com)
Review
      forAllSystems =
        function:
        nixpkgs.lib.genAttrs [
          "x86_64-linux"
          "aarch64-linux"
          "x86_64-darwin"
          "aarch64-darwin"
        ] (system: function nixpkgs.legacyPackages.${system});
    in
    {
      devShells = forAllSystems (pkgs: {
        default = pkgs.mkShellNoCC {
          packages = [ pkgs.hello ];
          IN_SHELL = "yes!";
        };
      });
    };

we can follow our own flake here. mkShellNoCC should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command echo $IN_SHELL in a tutorial

```suggestion forAllSystems = function: nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ] (system: function nixpkgs.legacyPackages.${system}); in { devShells = forAllSystems (pkgs: { default = pkgs.mkShellNoCC { packages = [ pkgs.hello ]; IN_SHELL = "yes!"; }; }); }; ``` we can follow our own flake here. `mkShellNoCC` should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command `echo $IN_SHELL` in a tutorial
default = pkgs.mkShellNoCC {
getchoo commented 2024-05-02 22:53:04 +00:00 (Migrated from github.com)
Review
      forAllSystems =
        function:
        nixpkgs.lib.genAttrs [
          "x86_64-linux"
          "aarch64-linux"
          "x86_64-darwin"
          "aarch64-darwin"
        ] (system: function nixpkgs.legacyPackages.${system});
    in
    {
      devShells = forAllSystems (pkgs: {
        default = pkgs.mkShellNoCC {
          packages = [ pkgs.hello ];
          IN_SHELL = "yes!";
        };
      });
    };

we can follow our own flake here. mkShellNoCC should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command echo $IN_SHELL in a tutorial

```suggestion forAllSystems = function: nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ] (system: function nixpkgs.legacyPackages.${system}); in { devShells = forAllSystems (pkgs: { default = pkgs.mkShellNoCC { packages = [ pkgs.hello ]; IN_SHELL = "yes!"; }; }); }; ``` we can follow our own flake here. `mkShellNoCC` should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command `echo $IN_SHELL` in a tutorial
packages = [ pkgs.hello ];
IN_SHELL = "yes!";
};

getchoo commented 2024-05-02 22:53:04 +00:00 (Migrated from github.com)
Review
      forAllSystems =
        function:
        nixpkgs.lib.genAttrs [
          "x86_64-linux"
          "aarch64-linux"
          "x86_64-darwin"
          "aarch64-darwin"
        ] (system: function nixpkgs.legacyPackages.${system});
    in
    {
      devShells = forAllSystems (pkgs: {
        default = pkgs.mkShellNoCC {
          packages = [ pkgs.hello ];
          IN_SHELL = "yes!";
        };
      });
    };

we can follow our own flake here. mkShellNoCC should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command echo $IN_SHELL in a tutorial

```suggestion forAllSystems = function: nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ] (system: function nixpkgs.legacyPackages.${system}); in { devShells = forAllSystems (pkgs: { default = pkgs.mkShellNoCC { packages = [ pkgs.hello ]; IN_SHELL = "yes!"; }; }); }; ``` we can follow our own flake here. `mkShellNoCC` should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command `echo $IN_SHELL` in a tutorial
getchoo commented 2024-05-02 22:53:04 +00:00 (Migrated from github.com)
Review
      forAllSystems =
        function:
        nixpkgs.lib.genAttrs [
          "x86_64-linux"
          "aarch64-linux"
          "x86_64-darwin"
          "aarch64-darwin"
        ] (system: function nixpkgs.legacyPackages.${system});
    in
    {
      devShells = forAllSystems (pkgs: {
        default = pkgs.mkShellNoCC {
          packages = [ pkgs.hello ];
          IN_SHELL = "yes!";
        };
      });
    };

we can follow our own flake here. mkShellNoCC should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command echo $IN_SHELL in a tutorial

```suggestion forAllSystems = function: nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ] (system: function nixpkgs.legacyPackages.${system}); in { devShells = forAllSystems (pkgs: { default = pkgs.mkShellNoCC { packages = [ pkgs.hello ]; IN_SHELL = "yes!"; }; }); }; ``` we can follow our own flake here. `mkShellNoCC` should also be used as to avoid any massive download of toolchains. as for the env var, we could put the command `echo $IN_SHELL` in a tutorial