Improve flake

This commit is contained in:
Jeremy Baxter 2023-08-03 17:02:17 +12:00
parent 9108a9f707
commit 18597a772e

View file

@ -7,12 +7,12 @@
outputs = { self, nixpkgs }:
let
systems = [
"x86_64-linux"
"aarch64-linux"
];
forAllSystems = fn:
nixpkgs.lib.genAttrs [
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
] (system:
nixpkgs.lib.genAttrs systems (system:
fn (import nixpkgs {
inherit system;
})
@ -23,6 +23,10 @@
default = pkgs.stdenv.mkDerivation {
name = "callisto";
src = ./.;
nativeBuildInputs = with pkgs; [
gcc
binutils
];
buildPhase = ''
make
'';