Browse Source

Move import

main
parent
commit
b1d30cce24
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 39
      README.org
  2. 39
      flake.nix

39
README.org

@ -127,9 +127,8 @@ RUN nix-shell /etc/dotfiles/shell.nix
nixosConfigurations = {
<<host-default>>
};
} // inputs.flake-utils.lib.eachDefaultSystem (system:
} //
<<development-shells>>
);
}
#+END_SRC
@ -189,23 +188,25 @@ The command ~nix develop~ will run a bash shell that provides the build environm
#+NAME: development-shells
#+BEGIN_SRC nix
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
in
rec {
devShells = {
default = import ./shell.nix { inherit pkgs; };
cc = import ./shells/cc.nix { inherit pkgs; };
docker = import ./shells/docker.nix { inherit pkgs; };
go = import ./shells/go.nix { inherit pkgs; };
grpc = import ./shells/grpc.nix { inherit pkgs; };
heroku = import ./shells/heroku.nix { inherit pkgs; };
java = import ./shells/java.nix { inherit pkgs; };
node = import ./shells/node.nix { inherit pkgs; };
python = import ./shells/python.nix { inherit pkgs; };
rust = import ./shells/rust.nix { inherit pkgs; };
};
}
inputs.flake-utils.lib.eachDefaultSystem (system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
in
rec {
devShells = {
default = import ./shell.nix { inherit pkgs; };
cc = import ./shells/cc.nix { inherit pkgs; };
docker = import ./shells/docker.nix { inherit pkgs; };
go = import ./shells/go.nix { inherit pkgs; };
grpc = import ./shells/grpc.nix { inherit pkgs; };
heroku = import ./shells/heroku.nix { inherit pkgs; };
java = import ./shells/java.nix { inherit pkgs; };
node = import ./shells/node.nix { inherit pkgs; };
python = import ./shells/python.nix { inherit pkgs; };
rust = import ./shells/rust.nix { inherit pkgs; };
};
}
);
#+END_SRC
** Nix

39
flake.nix

@ -42,23 +42,24 @@
];
};
};
} // inputs.flake-utils.lib.eachDefaultSystem (system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
in
rec {
devShells = {
default = import ./shell.nix { inherit pkgs; };
cc = import ./shells/cc.nix { inherit pkgs; };
docker = import ./shells/docker.nix { inherit pkgs; };
go = import ./shells/go.nix { inherit pkgs; };
grpc = import ./shells/grpc.nix { inherit pkgs; };
heroku = import ./shells/heroku.nix { inherit pkgs; };
java = import ./shells/java.nix { inherit pkgs; };
node = import ./shells/node.nix { inherit pkgs; };
python = import ./shells/python.nix { inherit pkgs; };
rust = import ./shells/rust.nix { inherit pkgs; };
};
}
);
} //
inputs.flake-utils.lib.eachDefaultSystem (system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
in
rec {
devShells = {
default = import ./shell.nix { inherit pkgs; };
cc = import ./shells/cc.nix { inherit pkgs; };
docker = import ./shells/docker.nix { inherit pkgs; };
go = import ./shells/go.nix { inherit pkgs; };
grpc = import ./shells/grpc.nix { inherit pkgs; };
heroku = import ./shells/heroku.nix { inherit pkgs; };
java = import ./shells/java.nix { inherit pkgs; };
node = import ./shells/node.nix { inherit pkgs; };
python = import ./shells/python.nix { inherit pkgs; };
rust = import ./shells/rust.nix { inherit pkgs; };
};
}
);
}
Loading…
Cancel
Save