mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-26 05:51:30 +00:00
unpin nixpkgs
This commit is contained in:
parent
47384698a0
commit
f991c626f8
17
default.nix
17
default.nix
|
@ -1,14 +1,5 @@
|
|||
let
|
||||
pkgs = let
|
||||
hostPkgs = import <nixpkgs> {};
|
||||
pinnedPkgs = hostPkgs.fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "nixpkgs";
|
||||
rev = "45c9736ed69800a6ff2164fb4538c9e40dad25d6";
|
||||
hash = "sha256:0q84mvh4liacqv8fdxpkm28233mfm5x1s36wwxhwdq01jivk58xn";
|
||||
};
|
||||
in import pinnedPkgs {};
|
||||
hostPkgs = import <nixpkgs> {};
|
||||
pkgs = import <nixpkgs> { };
|
||||
in
|
||||
|
||||
self: super: rec {
|
||||
|
@ -21,7 +12,7 @@ self: super: rec {
|
|||
patches = [
|
||||
./strawberry-graphql.patch
|
||||
];
|
||||
propagatedBuildInputs = with pkgs.python39Packages; [
|
||||
propagatedBuildInputs = with self.python39Packages; [
|
||||
typing-extensions
|
||||
graphql-core
|
||||
python-multipart
|
||||
|
@ -40,12 +31,12 @@ self: super: rec {
|
|||
};
|
||||
pythonPackages = python39.pkgs;
|
||||
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
|
||||
pkgs = hostPkgs;
|
||||
pkgs = pkgs;
|
||||
pythonPkgs = pythonPackages;
|
||||
lib = pkgs.lib;
|
||||
};
|
||||
selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api {
|
||||
pkgs = hostPkgs;
|
||||
pkgs = pkgs;
|
||||
pythonPkgs = pythonPackages;
|
||||
lib = pkgs.lib;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue