Reorganize nix files

This commit is contained in:
heyarne 2022-02-11 21:53:48 +01:00
commit f0e6a9f195
3 changed files with 13 additions and 12 deletions

View file

@ -8,16 +8,7 @@
pkgs = nixpkgs.legacyPackages.${system};
lib = pkgs.lib;
in {
devShell.${system} = pkgs.mkShell rec {
buildInputs = with pkgs; [
go
gopls
stdenv
glibc.static
];
CFLAGS="-I${pkgs.glibc.dev}/include";
LDFLAGS="-L${pkgs.glibc}/lib";
};
defaultPackage.${system} = pkgs.callPackage ./default.nix {};
devShell.${system} = pkgs.callPackage ./shell.nix {};
};
}