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:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Install npins
|
- name: Update dependencies
|
||||||
run: nix-shell --run "npins update"
|
run: nix-shell --run "npins update"
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
uses: peter-evans/create-pull-request@v7
|
uses: peter-evans/create-pull-request@v7
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkDefault;
|
inherit (lib) mkDefault;
|
||||||
|
sources = import ../../../npins;
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -22,4 +23,6 @@ in
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nix.nixPath = lib.mapAttrsToList (k: v: k + "=" + v) sources;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue