Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #53919 from dtzWill/update/bcachefs-tools-2019-01-13

bcachefs-tools: 2018-10-12 -> 2019-01-13 (fix w/attr bump, touchups)

authored by

Tor Hedin Brønner and committed by
GitHub
9093155a 5c2f09a8

+8 -6
+8 -6
pkgs/tools/filesystems/bcachefs-tools/default.nix
··· 2 , liburcu, zlib, libaio, zstd, lz4 }: 3 4 stdenv.mkDerivation rec { 5 - name = "bcachefs-tools-unstable-2018-10-12"; 6 7 src = fetchgit { 8 url = "https://evilpiepirate.org/git/bcachefs-tools.git"; 9 - rev = "55fbb25501330038e1714905b9ddeb25d875c11c"; 10 - sha256 = "0cwzbyf133jc0fkc8nmjcvv3wmglqhyxda1hh10hgxrbq5vm39wx"; 11 }; 12 13 enableParallelBuilding = true; 14 nativeBuildInputs = [ pkgconfig ]; 15 buildInputs = [ attr libuuid libscrypt libsodium keyutils liburcu zlib libaio zstd lz4 ]; 16 - installFlags = [ "PREFIX=$(out)" ]; 17 18 preInstall = '' 19 - sed -i \ 20 - "s,INITRAMFS_DIR=/etc/initramfs-tools,INITRAMFS_DIR=$out/etc/initramfs-tools,g" Makefile 21 ''; 22 23 meta = with stdenv.lib; {
··· 2 , liburcu, zlib, libaio, zstd, lz4 }: 3 4 stdenv.mkDerivation rec { 5 + pname = "bcachefs-tools"; 6 + version = "2019-01-13"; 7 8 src = fetchgit { 9 url = "https://evilpiepirate.org/git/bcachefs-tools.git"; 10 + rev = "47bd483d27ec13418978b24ec5951661d564ba35"; 11 + sha256 = "0h0mi68f8hxjplh0f8yw9h1ax9y6cz9c9hlvl95nqhs352lkdrfj"; 12 }; 13 14 enableParallelBuilding = true; 15 nativeBuildInputs = [ pkgconfig ]; 16 buildInputs = [ attr libuuid libscrypt libsodium keyutils liburcu zlib libaio zstd lz4 ]; 17 + installFlags = [ "PREFIX=${placeholder "out"}" ]; 18 19 preInstall = '' 20 + substituteInPlace Makefile \ 21 + --replace "INITRAMFS_DIR=/etc/initramfs-tools" \ 22 + "INITRAMFS_DIR=${placeholder "out"}/etc/initramfs-tools" 23 ''; 24 25 meta = with stdenv.lib; {