about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/bcache-tools
AgeCommit message (Collapse)AuthorFilesLines
2023-12-14bcache-tools: don't patch path to /bin/shFlorian Klink1-4/+0
This will make these udev rules not work in the systemd-based initrd, which only has /bin/sh.
2021-09-22bcache-tools: switch to fetchFromGitHubFelix Buehler1-5/+6
2021-01-20treewide: editorconfig fixeszowoq1-1/+1
- remove trailing whitespace - use spaces for indentation
2021-01-17pkgs/tools: pkgconfig -> pkg-config (2)Ben Siraphob1-2/+2
2021-01-11treewide: with stdenv.lib; in meta -> with lib;Profpatsch1-2/+2
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2020-11-24utillinux: rename to util-linuxGraham Christensen1-2/+2
2020-06-19bcache-tools: Fix the cross compilationMichael Weiss1-1/+6
Fix #90726.
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly1-1/+1
2019-08-15treewide: name -> pname (easy cases) (#66585)volth1-2/+2
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
2017-09-21misc pkgs: Basic sed to get fix `pkgconfig` and `autoreconfHook` `buildInputs`John Ericson1-1/+2
Only acts on one-line dependency lists.
2017-08-03Update homepage attributes: http -> httpsmimadrid1-1/+1
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated https://repology.org/repository/nix_stable/problems
2017-06-10nixos/bcache: /bin/sh -> ${bash}/bin/shBjørn Forsman1-1/+2
Or else `services.udev.packages = [ bcache-tools ]` cannot be used. To not break bcache in the initrd I'm modifying this in stage-1.nix: - --replace /bin/sh ${extraUtils}/bin/sh + --replace ${bash}/bin/sh ${extraUtils}/bin/sh Reasoning behind that change: * If not modifying the /bin/sh pattern in any way, it will also match ${bash}/bin/sh, creating a broken path like /nix/store/HASH-bash/nix/store/HASH-bash/bin/sh in the udev rule file. * The addition of /bin/sh was done in 775f381a9e34 ("stage-1: add bcache support"). It seems somewhat plausible that no new users have appeared since then and we can take this opportunity to back out of this change without much fear of regressions. If there _are_ regressions, they should be in the form of build time errors, not runtime (boot), due to how the udev rule output is checked for invalid path references. So low risk, IMHO. * An alternative approach could be to copy the /bin/sh substitute rule over to the non-initrd udev rules implementation in NixOS, but I think this way is better: - The rules file comes with a working path out of the box. - We can use more precise pattern matching when modifying the udev rules for the initrd.
2017-06-10bcache-tools: add name to the source store pathBjørn Forsman1-0/+1
So that $ nix-build -A bcache-tools.src gives /nix/store/HASH-bcache-tools-1.0.7.tar.gz instead of /nix/store/HASH-v1.0.7.tar.gz
2016-08-14bcache-tools: remove kmod from argumentsNikolay Amiantov1-1/+1
2015-06-12bcache-tools: Add gcc5 compatability patchWilliam A. Kennington III2-1/+26
2014-11-02bcache-tools: don't use probe-bcache and bcache-registerNikolay Amiantov2-2/+54
This allows us not to include any additional binaries for bcache support in initrd; just an udev rule.
2014-05-25bcache-tools: update 1.0.5 -> 1.0.7Bjørn Forsman1-2/+2
2014-02-01bcache-tools: new packageBjørn Forsman1-0/+51
Bcache is a Linux kernel block layer cache. It allows one or more fast disk drives such as flash-based solid state drives (SSDs) to act as a cache for one or more slower hard disk drives. This package contains the required user-space tools. User documentation is in Documentation/bcache.txt in the Linux kernel tree. http://bcache.evilpiepirate.org/