Skip to content

Commit

Permalink
Add workaround for pak
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jan 7, 2025
1 parent 10a8ec7 commit 9b92609
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ export function doc_to_dcf(doc){
const { _id, _fileid, _type, Distro, ...x } = unpack_deps(doc);
if(_type == 'linux'){
x.Platform = 'x86_64-pc-linux-gnu' //pak likes this to identify binaries
x.Distro = Distro; //workaround for https://github.com/r-lib/pak/issues/733
}
let keys = Object.keys(x);
return keys.map(function(key){
Expand Down

0 comments on commit 9b92609

Please sign in to comment.