diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..8f9652d --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1693145325, + "narHash": "sha256-Gat9xskErH1zOcLjYMhSDBo0JTBZKfGS0xJlIRnj6Rc=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "cddebdb60de376c1bdb7a4e6ee3d98355453fe56", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..f59a52e --- /dev/null +++ b/flake.nix @@ -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"; + }; + + }; +}