Unverified Commit c67bf60f authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

move-mount-beneath: unstable-2023-11-26 -> 0-unstable-2025-09-24 (#445778)

parents c65a2a6c 6bc2f885
Loading
Loading
Loading
Loading
+3 −13
Original line number Diff line number Diff line
@@ -2,18 +2,17 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
}:

stdenv.mkDerivation {
  pname = "move-mount-beneath";
  version = "unstable-2023-11-26";
  version = "0-unstable-2025-09-24";

  src = fetchFromGitHub {
    owner = "brauner";
    repo = "move-mount-beneath";
    rev = "d3d16c0d7766eb1892fcc24a75f8d35df4b0fe45";
    hash = "sha256-hUboFthw9ABwK6MRSNg7+iu9YbiJALNdsw9Ub3v43n4=";
    rev = "f8773d1f99f9cfa2f5bf173e1b1d1b21eb1ee446";
    hash = "sha256-C7QiClwFTKBcdmGilwZSCAsaVoEDXTO9384Y/47JrPk=";
  };

  installPhase = ''
@@ -22,15 +21,6 @@ stdenv.mkDerivation {
    runHook postInstall
  '';

  patches = [
    # Fix uninitialized variable in flags_attr, https://github.com/brauner/move-mount-beneath/pull/2
    (fetchpatch {
      name = "aarch64";
      url = "https://github.com/brauner/move-mount-beneath/commit/0bd0b863f7b98608514d90d4f2a80a21ce2e6cd3.patch";
      hash = "sha256-D3TttAT0aFqpYC8LuVnrkLwDcfVFOSeYzUDx6VqPu1Q=";
    })
  ];

  meta = {
    description = "Toy binary to illustrate adding a mount beneath an existing mount";
    mainProgram = "move-mount";