diff --git a/cpp/flake.nix b/cpp/flake.nix index cd6b62b..c9227d7 100644 --- a/cpp/flake.nix +++ b/cpp/flake.nix @@ -2,11 +2,13 @@ description = "Central C++ Dev Shell"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small"; - outputs = { self, nixpkgs }: + outputs = + { self, nixpkgs }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; - in { + in + { devShells.${system}.default = pkgs.mkShell { nativeBuildInputs = with pkgs; [ gcc @@ -23,4 +25,4 @@ ''; }; }; -} \ No newline at end of file +}