comma/flake.nix
Artturin cd0f4852ea remove prebuilt cache
it increases the closure size and limits the system we support
in the future we can implement this better in the script
2022-04-15 15:07:30 +03:00

29 lines
612 B
Nix

{
description = "Comma runs software without installing it";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, }:
let
b = builtins;
lib = nixpkgs.lib;
supportedSystems = lib.systems.supported.hydra;
forAllSystems = f: lib.genAttrs supportedSystems
(system: f system (import nixpkgs { inherit system; }));
in
rec {
packages = forAllSystems
(system: pkgs: {
comma = import ./default.nix {
inherit pkgs;
};
});
defaultPackage = forAllSystems (system: pkgs: packages."${system}".comma);
};
}