From fa441a2e9720615d3733bd2afc1f0875e5f2c12b Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 22 Mar 2025 01:16:36 -0400 Subject: nix flake! --- flake.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..1ee310e --- /dev/null +++ b/flake.nix @@ -0,0 +1,17 @@ +{ + description = "The Unofficial Homestuck Collection Client for NixOS"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/master"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { nixpkgs, flake-utils, ... }@inputs: + flake-utils.lib.eachSystem [ "x86_64-linux" ] (system: let + pkgs = nixpkgs.legacyPackages.${system}; + in rec { + packages.unofficial-homestuck-collection = pkgs.callPackage ./unofficial-homestuck-collection.nix {}; + legacyPackages = packages; + defaultPackage = packages.unofficial-homestuck-collection; + }); +} -- cgit v1.2.3-freya