armijnhemel / binaryanalysis-ng

Binary Analysis Next Generation (BANG)
GNU Affero General Public License v3.0
471 stars 66 forks source link

Execution of `nix-shell analysis.nix` fails #348

Open CsatariGergely opened 1 year ago

CsatariGergely commented 1 year ago

I'm trying out BANG for the first time. Executing nix-shell analysis.nix results in the following error message:

error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)

I'm using an Ubuntu 22.04.2 LTS.

armijnhemel commented 1 year ago

That is strange. I will try to reproduce it. By the way, the analysis scripts are currently broken, so I would not recommend using them. Right now BANG is only for unpacking files. This will change in the coming few months though.

oneevil commented 1 year ago
# nix-channel --add https://nixos.org/channels/nixpkgs-unstable
# nix-channel --update

or delete old nix through apt and install new version nix:

sh <(curl -L https://nixos.org/nix/install) --no-daemon