Skip to content

Commit

Permalink
build: remove redundant input
Browse files Browse the repository at this point in the history
  • Loading branch information
nullishamy committed May 9, 2024
1 parent f297b6a commit 8949511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
19 changes: 1 addition & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
pxalarm-repo = {
url = "github:iruzo/pxalarm";
flake = false;
};
};

outputs = {
self,
nixpkgs,
pxalarm-repo,
...
} @ inputs: let
systems = [
Expand All @@ -31,7 +26,7 @@

packages = forAllSystems (system: let
pkgs = nixpkgs.legacyPackages.${system};
pkgs-pxalarm = pkgs.writeShellScriptBin "pxalarm" (builtins.readFile "${pxalarm-repo}/pxalarm");
pkgs-pxalarm = pkgs.writeShellScriptBin "pxalarm" (builtins.readFile ./pxalarm);
in rec {
pxalarm = pkgs-pxalarm;
default = pxalarm;
Expand Down

0 comments on commit 8949511

Please sign in to comment.