20 lines
415 B
Nix
20 lines
415 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in
|
|
{
|
|
packages.${system}.default = pkgs.callPackage ./default.nix { };
|
|
devShells.${system}.default = with pkgs; mkShell {
|
|
inputsFrom = [ self.packages.${system}.default ];
|
|
};
|
|
};
|
|
}
|