Files
packer/flake.nix

33 lines
752 B
Nix

{
description = "Packer - Clojure application which boosts the luggage packing activity.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
clj-nix.url = "github:jlesquembre/clj-nix";
clj-nix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {
self,
nixpkgs,
clj-nix,
}: let
systems = [
"aarch64-linux"
"i686-linux"
"x86_64-linux"
"aarch64-darwin"
"x86_64-darwin"
];
forAllSystems = nixpkgs.lib.genAttrs systems;
in {
packages = forAllSystems (system: rec {
packer = nixpkgs.legacyPackages.${system}.callPackage ./package.nix {inherit clj-nix;};
default = packer;
});
homeManagerModules.packer = import ./hm.module.nix self;
};
}