mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
move-mount-beneath: fix build on aarch64
This commit is contained in:
parent
36d1047ddd
commit
6b71621423
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -20,6 +21,15 @@ 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";
|
||||
|
|
Loading…
Reference in a new issue