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
21
pkgs/development/web/cypress/cypress-example-kitchensink/regen-nix
Executable file
21
pkgs/development/web/cypress/cypress-example-kitchensink/regen-nix
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell ./regen-nix.nix
|
||||
#!nix-shell -i bash
|
||||
|
||||
node2nix \
|
||||
--nodejs-12 \
|
||||
--input $src/package.json \
|
||||
--lock $src/package-lock.json \
|
||||
--composition cypress-example-kitchensink.nix \
|
||||
--development \
|
||||
;
|
||||
|
||||
# node2nix produces opinionated expressions that work for in-repo packaging
|
||||
# but aren't ideal for Nixpkgs:
|
||||
sed -i cypress-example-kitchensink.nix \
|
||||
-e 's^fetchgit^fetchgit callPackage^'
|
||||
sed -i node-packages.nix \
|
||||
-e 's^fetchgit, ^fetchgit, callPackage, ^' \
|
||||
-e 's^src = .*/nix/store/.*-source^src = callPackage ./src.nix {}^' \
|
||||
-e 's^nix-gitignore.gitignoreSourcePure^(ignore: src: src)^' \
|
||||
;
|
||||
Loading…
Add table
Add a link
Reference in a new issue