feat(npins): Remove nixos-unstable

This commit is contained in:
Tom Hubrecht 2023-12-12 14:45:01 +01:00
parent 86f53a54e6
commit f8443e00d1
3 changed files with 4 additions and 14 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, sources, ... }:
{ config, lib, pkgs, ... }:
let
inherit (lib) mkDefault mkEnableOption mkIf mkOption types;
@ -20,11 +20,7 @@ in {
package = mkOption {
type = types.package;
default = let pkgs = import sources.nixos-unstable { };
in import ./package {
inherit pkgs;
inherit (pkgs) lib;
};
default = import ./package { inherit pkgs; };
};
port = mkOption {

View file

@ -1,7 +1,7 @@
{ lib, pkgs, ... }:
{ pkgs }:
let
callPackage = lib.callPackageWith (pkgs // self);
callPackage = pkgs.lib.callPackageWith (pkgs // self);
self = {
satosa = callPackage ./satosa.nix { };

View file

@ -120,12 +120,6 @@
"url": "https://github.com/NixOS/nixpkgs/archive/b89d6c95e443b1114034ac65c974b2c91fb33db1.tar.gz",
"hash": "106iz6i7b4pppwmhy9xn8ap403vvms0vhbr4z8siz0hffdqildl8"
},
"nixos-unstable": {
"type": "Channel",
"name": "nixos-unstable",
"url": "https://releases.nixos.org/nixos/unstable/nixos-24.05pre553283.8cfef6986adf/nixexprs.tar.xz",
"hash": "0wj0nxz9ymz6jglvszvlnwgdahiyvkp7yggr12j9cpxbai72h4dn"
},
"nixpkgs": {
"type": "Channel",
"name": "nixpkgs-unstable",