xmonad-config/flake.nix

20 lines
606 B
Nix
Raw Permalink Normal View History

2022-12-07 13:58:01 +01:00
{
description = "Build my xmonad config";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
devShells.default = import ./shell.nix { inherit pkgs; };
}) // {
2024-08-28 08:24:27 +02:00
packages.aarch64-linux.default =
2022-12-07 13:58:01 +01:00
# Notice the reference to nixpkgs here.
2024-08-28 08:24:27 +02:00
with import nixpkgs { system = "aarch64-linux"; };
2022-12-07 13:58:01 +01:00
haskellPackages.callCabal2nix "xmonad-config" ./. {};
};
}