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
|
let
|
||||||
pkgs = let
|
pkgs = import <nixpkgs> { };
|
||||||
hostPkgs = import <nixpkgs> {};
|
|
||||||
pinnedPkgs = hostPkgs.fetchFromGitHub {
|
|
||||||
owner = "NixOS";
|
|
||||||
repo = "nixpkgs";
|
|
||||||
rev = "45c9736ed69800a6ff2164fb4538c9e40dad25d6";
|
|
||||||
hash = "sha256:0q84mvh4liacqv8fdxpkm28233mfm5x1s36wwxhwdq01jivk58xn";
|
|
||||||
};
|
|
||||||
in import pinnedPkgs {};
|
|
||||||
hostPkgs = import <nixpkgs> {};
|
|
||||||
in
|
in
|
||||||
|
|
||||||
self: super: rec {
|
self: super: rec {
|
||||||
|
@ -21,7 +12,7 @@ self: super: rec {
|
||||||
patches = [
|
patches = [
|
||||||
./strawberry-graphql.patch
|
./strawberry-graphql.patch
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = with pkgs.python39Packages; [
|
propagatedBuildInputs = with self.python39Packages; [
|
||||||
typing-extensions
|
typing-extensions
|
||||||
graphql-core
|
graphql-core
|
||||||
python-multipart
|
python-multipart
|
||||||
|
@ -40,12 +31,12 @@ self: super: rec {
|
||||||
};
|
};
|
||||||
pythonPackages = python39.pkgs;
|
pythonPackages = python39.pkgs;
|
||||||
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
|
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
|
||||||
pkgs = hostPkgs;
|
pkgs = pkgs;
|
||||||
pythonPkgs = pythonPackages;
|
pythonPkgs = pythonPackages;
|
||||||
lib = pkgs.lib;
|
lib = pkgs.lib;
|
||||||
};
|
};
|
||||||
selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api {
|
selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api {
|
||||||
pkgs = hostPkgs;
|
pkgs = pkgs;
|
||||||
pythonPkgs = pythonPackages;
|
pythonPkgs = pythonPackages;
|
||||||
lib = pkgs.lib;
|
lib = pkgs.lib;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue