FetchGit Nixpkgs from nix-shell
This commit is contained in:
parent
3d68a520cb
commit
0797619d29
15
default.nix
15
default.nix
|
@ -1,7 +1,14 @@
|
|||
{ system ? "x86_64-genode", self ? { }, nixpkgs ? import <nixpkgs> {
|
||||
localSystem = "x86_64-linux";
|
||||
crossSystem = "x86_64-genode";
|
||||
} }:
|
||||
let
|
||||
nixpkgsGit = builtins.fetchGit {
|
||||
url = "https://gitea.c3d2.de/ehmry/nixpkgs.git";
|
||||
ref = "genode";
|
||||
};
|
||||
pinnedNixpkgs = import nixpkgsGit {
|
||||
localSystem = "x86_64-linux";
|
||||
crossSystem = "x86_64-genode";
|
||||
};
|
||||
|
||||
in { system ? "x86_64-genode", self ? { }, nixpkgs ? pinnedNixpkgs }:
|
||||
let
|
||||
inherit (nixpkgs) stdenv buildPackages fetchgit llvmPackages;
|
||||
|
||||
|
|
Loading…
Reference in New Issue