Reformat all Nix files
This commit is contained in:
parent
9e0c1102a9
commit
355b63cf73
81 changed files with 2293 additions and 1153 deletions
|
@ -1,5 +1,11 @@
|
|||
# Need nvidia proprietary drivers to work
|
||||
{ pkgs, nixpkgs, config, lib, ... }:
|
||||
{
|
||||
pkgs,
|
||||
nixpkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config = lib.mkIf config.frogeye.cuda {
|
||||
nix.settings = {
|
||||
|
@ -11,7 +17,8 @@
|
|||
];
|
||||
};
|
||||
nixpkgs.overlays = [
|
||||
(self: super:
|
||||
(
|
||||
self: super:
|
||||
let
|
||||
pkgs_uf = import nixpkgs {
|
||||
inherit (super) system;
|
||||
|
@ -19,11 +26,14 @@
|
|||
};
|
||||
in
|
||||
{
|
||||
ctranslate2 = (pkgs_uf.ctranslate2.override {
|
||||
withCUDA = true;
|
||||
withCuDNN = true;
|
||||
});
|
||||
})
|
||||
ctranslate2 = (
|
||||
pkgs_uf.ctranslate2.override {
|
||||
withCUDA = true;
|
||||
withCuDNN = true;
|
||||
}
|
||||
);
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue