about summary refs log tree commit diff
path: root/pkgs/by-name/mo
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2024-01-22 10:11:44 +0100
committerGitHub <noreply@github.com>2024-01-22 10:11:44 +0100
commit18e517662107874602de67a10d2265a021d2e693 (patch)
tree2b53671bd88e744ff7203cbfe9eea6d0947f2ae5 /pkgs/by-name/mo
parent9ed792777ae7967fee22dae2e88fdb6cb965b193 (diff)
parent1f65b34e999760470208af94cd208ea3f9da0c47 (diff)
Merge pull request #270727 from nikstur/nixos-perlless-activation
Perlless Activation
Diffstat (limited to 'pkgs/by-name/mo')
-rw-r--r--pkgs/by-name/mo/move-mount-beneath/package.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/by-name/mo/move-mount-beneath/package.nix b/pkgs/by-name/mo/move-mount-beneath/package.nix
new file mode 100644
index 0000000000000..2e2e058eec977
--- /dev/null
+++ b/pkgs/by-name/mo/move-mount-beneath/package.nix
@@ -0,0 +1,29 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+}:
+
+stdenv.mkDerivation {
+  pname = "move-mount-beneath";
+  version = "unstable-2023-11-26";
+
+  src = fetchFromGitHub {
+    owner = "brauner";
+    repo = "move-mount-beneath";
+    rev = "d3d16c0d7766eb1892fcc24a75f8d35df4b0fe45";
+    hash = "sha256-hUboFthw9ABwK6MRSNg7+iu9YbiJALNdsw9Ub3v43n4=";
+  };
+
+  installPhase = ''
+    runHook preInstall
+    install -D move-mount $out/bin/move-mount
+    runHook postInstall
+  '';
+
+  meta = {
+    description = "Toy binary to illustrate adding a mount beneath an existing mount";
+    homepage = "https://github.com/brauner/move-mount-beneath";
+    license = lib.licenses.mit0;
+    maintainers = with lib.maintainers; [ nikstur ];
+  };
+}