-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Description
I began to work on packaging PeerTube.
But I am new to packaging Yarn applications and I can't figure how to use yarn2nix properly for this one.
For now I tried to create a default.nix :
with (import <nixos-unstable> {});
rec {
peertube = mkYarnPackage {
name = "peertube";
src = ./.;
packageJson = ./package.json;
yarnLock = ./yarn.lock;
};
}
But when I do a nix-build I get the error found changes in the lockfile. I can get past it by generating the yarn.nix file manually with yarn2nix > yarn.nix, but then I get a mismatch hash error on one of the packets :
fixed-output derivation produced path '/nix/store/rpn43kya4gyk9g9izc365ijd0bc0z2gi-jsonld-signatures' with sha1 hash 'g5np5r3shqhib0l1hkr39r611zw4ibyi' instead of the expected hash 'bxk2jqr1skczjmfjs90lbsr2wxihjrkp'
So if someone with interest in packaging this application could help me, I am ready to take advices
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md