aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-12-30 23:18:59 +0100
committerKarel Kočí <cynerd@email.cz>2022-01-02 15:28:44 +0100
commit794ed83a6c840703798b80503643025327e5c24d (patch)
tree5a374ac1f426995caa6d771943943fe5f27be6a0 /pkgs
parente3e7eed22cf5f2db558477a0dfdd90e81e038122 (diff)
downloadnixturris-794ed83a6c840703798b80503643025327e5c24d.tar.gz
nixturris-794ed83a6c840703798b80503643025327e5c24d.tar.bz2
nixturris-794ed83a6c840703798b80503643025327e5c24d.zip
Convert to use flake.nix
The flakes are the future as it seems and thus it makes more sense to use that.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index 576da5b..ea787f4 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -1,8 +1,8 @@
-{ nixpkgs ? import <nixpkgs> {}}:
+{ nixlib, nixpkgs }:
let
pkgs = nixpkgs // turrispkgs;
- callPackage = pkgs.lib.callPackageWith pkgs;
+ callPackage = nixlib.callPackageWith pkgs;
turrispkgs = with pkgs; {
bootstrapHook = callPackage (