forked from Fediversity/Fediversity
set nix.nixPath
to allow imperatively installing packages
This commit is contained in:
parent
486b316885
commit
d9135735b8
2 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,7 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install npins
|
||||
- name: Update dependencies
|
||||
run: nix-shell --run "npins update"
|
||||
- name: Create PR
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
let
|
||||
inherit (lib) mkDefault;
|
||||
sources = import ../../../npins;
|
||||
|
||||
in
|
||||
{
|
||||
|
@ -22,4 +23,6 @@ in
|
|||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
nix.nixPath = lib.mapAttrsToList (k: v: k + "=" + v) sources;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue