summary refs log tree commit diff
path: root/pkgs/tools/misc/arch-install-scripts
diff options
context:
space:
mode:
authorTravis A. Everett <travis.a.everett@gmail.com>2021-09-15 19:58:49 -0500
committerTravis A. Everett <travis.a.everett@gmail.com>2021-09-22 09:54:04 -0500
commit08b791a01b35f693d8bb57322da498a7e04a6b62 (patch)
tree8c60be24794814a4df8e44eab66617b5ae359983 /pkgs/tools/misc/arch-install-scripts
parentefe14e701379666d7fd3c9a7ac6b090c4da9c482 (diff)
downloadnixpkgs-08b791a01b35f693d8bb57322da498a7e04a6b62.tar
nixpkgs-08b791a01b35f693d8bb57322da498a7e04a6b62.tar.gz
nixpkgs-08b791a01b35f693d8bb57322da498a7e04a6b62.tar.bz2
nixpkgs-08b791a01b35f693d8bb57322da498a7e04a6b62.tar.lz
nixpkgs-08b791a01b35f693d8bb57322da498a7e04a6b62.tar.xz
nixpkgs-08b791a01b35f693d8bb57322da498a7e04a6b62.tar.zst
nixpkgs-08b791a01b35f693d8bb57322da498a7e04a6b62.zip
resholve: 0.5.1 -> 0.6.0, refactor, +binlore
A bit going on here.
- Updating resholve from 0.5.1 -> 0.6.0
  - adding a depdendency, `binlore`, to supply ~intel on executables
    that supports new functionality in resholve
  - adding a package, `yallback`, which provides rule-based callbacks
    for YARA rule matches (depdency of `binlore`).
  - automatically generating "lore" for each `input` to a solution in
    `resholvePackage`.
  - update README
- restructuring some nix components to better support
  my local dev and CI workflows.
  - moved package tests into passthru/tests.nix (cuts `bats` out of
    resholve's immediate dependencies, makes it possible to add my
    existing Nix API test).
  - move my oil-dev patches out of resholve into a separate repo (no
    oil rebuild every time resholve's source changes). Also moving
    oil-dev into its own Nix file here, to ~track the default.nix in
    its own repo.
Diffstat (limited to 'pkgs/tools/misc/arch-install-scripts')
-rw-r--r--pkgs/tools/misc/arch-install-scripts/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/tools/misc/arch-install-scripts/default.nix b/pkgs/tools/misc/arch-install-scripts/default.nix
index 0b6984526e4..0df8ae1e733 100644
--- a/pkgs/tools/misc/arch-install-scripts/default.nix
+++ b/pkgs/tools/misc/arch-install-scripts/default.nix
@@ -52,6 +52,18 @@ resholvePackage rec {
 
       # packages resholve should resolve executables from
       inputs = [ coreutils gawk util-linux ];
+
+      # TODO: no good way to resolve mount/umount in Nix builds for now
+      # see https://github.com/abathur/resholve/issues/29
+      fake = {
+        external = [ "mount" "umount" ];
+      };
+
+      # TODO: remove the execer lore override below after
+      # https://github.com/abathur/binlore/issues/1
+      execer = [
+        "cannot:${util-linux}/bin/unshare"
+      ];
     };
   };