forked from blynn/compiler
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
101 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
{ sources ? import ./nix/sources.nix { } | ||
, pkgs ? import sources.nixpkgs { } | ||
}: | ||
let | ||
# Nixpkgs extended with bootstrappable related packages | ||
bootstrappable-pkgs = import ./pkgs { }; | ||
in | ||
bootstrappable-pkgs | ||
(import ( | ||
let | ||
lock = builtins.fromJSON (builtins.readFile ./flake.lock); | ||
in fetchTarball { | ||
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; | ||
sha256 = lock.nodes.flake-compat.locked.narHash; } | ||
) { | ||
src = ./.; | ||
}).defaultNix |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
description = "blynn-compiler"; | ||
inputs = { | ||
nixpkgs.url = "nixpkgs/release-20.09"; | ||
utils.url = "github:numtide/flake-utils"; | ||
flake-compat = { | ||
url = "github:edolstra/flake-compat"; | ||
flake = false; | ||
}; | ||
}; | ||
|
||
outputs = { self, nixpkgs, utils, ... }: | ||
utils.lib.eachSystem [ "x86_64-linux" ] (system: | ||
let | ||
overlay = import ./overlay.nix; | ||
pkgs = import nixpkgs { inherit system; overlays = [ overlay ]; }; | ||
in { | ||
inherit overlay; | ||
inherit (pkgs) blynn-compiler; | ||
defaultPackage = pkgs.blynn-compiler; | ||
}); | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Bootstrappable packages as a Nixpkgs overlay | ||
final: prev: | ||
|
||
{ | ||
blynn-compiler = prev.callPackage ./pkgs/blynn-compiler.nix { }; | ||
kaem = prev.callPackage ./pkgs/kaem.nix { }; | ||
m2-planet = prev.callPackage ./pkgs/m2-planet.nix { }; | ||
mes-m2 = prev.callPackage ./pkgs/mes-m2.nix { }; | ||
mescc-tools = prev.callPackage ./pkgs/mescc-tools.nix { }; | ||
mescc-tools-seed = prev.callPackage ./pkgs/mescc-tools-seed.nix { }; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.