parent
af9adc909c
commit
0f1430227d
3 changed files with 10 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: nix
|
||||
runs-on: nix
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: nix --version
|
||||
- uses: actions/checkout@v4
|
||||
- run: nix run github:Mic92/nix-fast-build -- --no-nom
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
{
|
||||
perSystem = {config, ...}: {
|
||||
perSystem = {config, pkgs, ...}: {
|
||||
checks = {
|
||||
inherit (config.packages) ccrEmacs;
|
||||
test = pkgs.hello.overrideDerivation (_: {
|
||||
name = "test";
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -49,10 +49,12 @@
|
|||
cp $f $out/"libtree-sitter-$(basename $f)"
|
||||
done
|
||||
'';
|
||||
ccrEmacsWithoutPackages = pkgs.emacs-git.override {
|
||||
ccrEmacsWithoutPackages = (pkgs.emacs-git.override {
|
||||
withSQLite3 = true;
|
||||
withWebP = true;
|
||||
withPgtk = true;
|
||||
}).overrideAttrs {
|
||||
name = "test";
|
||||
};
|
||||
ccrEmacs =
|
||||
(pkgs.emacsPackagesFor config.packages.ccrEmacsWithoutPackages).emacsWithPackages
|
||||
|
|
Reference in a new issue