Skip to content

Instantly share code, notes, and snippets.

@sestrella

sestrella/output Secret

Created June 3, 2019 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sestrella/ba1107aedd726647e293601d567a6b9e to your computer and use it in GitHub Desktop.
Save sestrella/ba1107aedd726647e293601d567a6b9e to your computer and use it in GitHub Desktop.
these derivations will be built:
/nix/store/fsvia4xqi9gmsq460z6aphkkzlisi24r-backend-dependencies-0.0.0.drv
building '/nix/store/fsvia4xqi9gmsq460z6aphkkzlisi24r-backend-dependencies-0.0.0.drv'...
unpacking sources
unpacking source archive /nix/store/n1w10ai78i5bj375xpaw4yn90z15wrfr-package-lock.json
do not know how to unpack source archive /nix/store/n1w10ai78i5bj375xpaw4yn90z15wrfr-package-lock.json
builder for '/nix/store/fsvia4xqi9gmsq460z6aphkkzlisi24r-backend-dependencies-0.0.0.drv' failed with exit code 1
error: build of '/nix/store/fsvia4xqi9gmsq460z6aphkkzlisi24r-backend-dependencies-0.0.0.drv' failed
{ pkgs ? import <nixpkgs> {} }:
let
package = builtins.fromJSON (builtins.readFile ./package.json);
in with pkgs; stdenv.mkDerivation {
pname = "${package.name}-dependencies";
version = "${package.version}";
srcs = [
./package-lock.json
./package.json
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment