24 lines
612 B
Nix
24 lines
612 B
Nix
{
|
|
description = "SunServer";
|
|
|
|
inputs={
|
|
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
|
};
|
|
outputs = { self, nixpkgs }@inputs:
|
|
let
|
|
supportedSystems = [ "x86_64-linux" ];
|
|
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
|
pkgs = forAllSystems (system:
|
|
import nixpkgs {
|
|
inherit system;
|
|
}
|
|
);
|
|
in {
|
|
packages = forAllSystems (system: {
|
|
default = pkgs.${system}.callPackage ./nix/default.nix { };
|
|
});
|
|
devShells = forAllSystems (system: {
|
|
default = pkgs.${system}.callPackage ./nix/devshell.nix { };
|
|
});
|
|
};
|
|
}
|