first attempt at making nix build work

This commit is contained in:
Chris Cochrun 2022-09-22 15:06:52 -05:00
parent 31d668b1e3
commit ff4c301325
4 changed files with 30 additions and 9 deletions

View file

@ -7,10 +7,13 @@
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system:
let pkgs = nixpkgs.legacyPackages.${system}; in
let
pkgs = nixpkgs.legacyPackages.${system};
src = ./.;
in
{
devShell = import ./shell.nix { inherit pkgs; };
defaultPackage = import ./default.nix { inherit pkgs; };
defaultPackage.x86_64-linux = import ./default.nix { inherit pkgs; };
}
);
}