Skip to content

Commit

Permalink
Fix default.nix after nixpkgs vulnix path changed (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrirosten authored Nov 22, 2024
1 parent afd1a72 commit 8464528
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
, pkgs ? import nixpkgs {}
, lib ? pkgs.lib
}:

# uses build in upstream nixpkgs
(pkgs.callPackage "${nixpkgs}/pkgs/tools/security/vulnix" {
python3Packages = pkgs.python311Packages;
}).overrideAttrs (
(pkgs.vulnix).overrideAttrs (
old: rec {
src = lib.cleanSource ./.;
version = lib.removeSuffix "\n" (builtins.readFile ./VERSION);
Expand Down

0 comments on commit 8464528

Please sign in to comment.