chore: add nix flake

This commit is contained in:
Ashley Wulber 2023-08-29 10:12:18 -04:00 committed by Ashley Wulber
parent 9d323de95c
commit c5be99a591
2 changed files with 46 additions and 0 deletions

19
flake.nix Normal file
View file

@ -0,0 +1,19 @@
{
description = "Icons for the COSMIC desktop environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs }: {
packages.x86_64-linux.default =
with import nixpkgs { system = "x86_64-linux"; };
stdenv.mkDerivation {
nativeBuildInputs = [ just ];
name = "cosmic-icons";
src = self;
installPhase = "just prefix=$out install";
};
};
}