Skip to content

Commit

Permalink
chore: remove extra inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomberek committed Aug 26, 2024
1 parent 052f054 commit 26fb083
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 60 deletions.
42 changes: 4 additions & 38 deletions flake.lock

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

29 changes: 7 additions & 22 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,27 +1,12 @@
{
description = "List symbolic links encountered in path traversal.";

inputs = {
nixpkgs.url = "github:flox/nixpkgs";
utils.url = "github:numtide/flake-utils";
};
inputs.nixpkgs.url = "github:flox/nixpkgs";

outputs =
{ nixpkgs, ... }@inputs:
inputs.utils.lib.eachSystem
[
"aarch64-darwin"
"aarch64-linux"
"x86_64-darwin"
"x86_64-linux"
]
(
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
packages.default = pkgs.callPackage ./pkgs/tracelinks/default.nix { };
}
);
outputs = inputs: {
recipes.tracelinks = import ./pkgs/tracelinks;
packages = builtins.mapAttrs (system: pkgs: {
default = pkgs.callPackage inputs.self.recipes.tracelinks { };
}) inputs.nixpkgs.legacyPackages;
};
}

0 comments on commit 26fb083

Please sign in to comment.