use nixpkgs.legacyPackages

This commit is contained in:
Sean Buckley 2021-06-22 10:28:12 -04:00
parent 18404ddb0b
commit 8e69942e17

View file

@ -25,14 +25,14 @@
lib.getHosts = import lib/hosts.nix;
packages."x86_64-linux" =
with (import nixpkgs { system = "x86_64-linux"; });
with nixpkgs.legacyPackages."x86_64-linux";
{
binaryninja = callPackage ./pkgs/binary-ninja-personal { };
packettracer = callPackage ./pkgs/packettracer { };
};
apps."x86_64-linux" =
with (import nixpkgs { system = "x86_64-linux"; });
with nixpkgs.legacyPackages."x86_64-linux";
{
format-luks = writeShellScriptBin "format-luks" ''
set -e