uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
32
pkgs/development/tools/haskell/dconf2nix/default.nix
Normal file
32
pkgs/development/tools/haskell/dconf2nix/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ haskell, haskellPackages, lib, runCommand }:
|
||||
|
||||
let
|
||||
dconf2nix =
|
||||
haskell.lib.compose.justStaticExecutables
|
||||
(haskell.lib.compose.overrideCabal (oldAttrs: {
|
||||
maintainers = (oldAttrs.maintainers or []) ++ [
|
||||
lib.maintainers.gvolpe
|
||||
];
|
||||
}) haskellPackages.dconf2nix);
|
||||
in
|
||||
|
||||
dconf2nix.overrideAttrs (oldAttrs: {
|
||||
passthru = (oldAttrs.passthru or {}) // {
|
||||
updateScript = ./update.sh;
|
||||
|
||||
# These tests can be run with the following command.
|
||||
#
|
||||
# $ nix-build -A dconf2nix.passthru.tests
|
||||
tests =
|
||||
runCommand
|
||||
"dconf2nix-tests"
|
||||
{
|
||||
nativeBuildInputs = [
|
||||
dconf2nix
|
||||
];
|
||||
}
|
||||
''
|
||||
dconf2nix > $out
|
||||
'';
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue