-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This improves composability and API for all non-Flake cases.
- Loading branch information
Showing
6 changed files
with
21 additions
and
45 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
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,10 +1,11 @@ | ||
(import | ||
( | ||
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in | ||
fetchTarball { | ||
url = lock.nodes.flake-compat.locked.url or "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; | ||
sha256 = lock.nodes.flake-compat.locked.narHash; | ||
} | ||
) | ||
{ src = ./.; } | ||
).defaultNix | ||
{ pkgs }: rec { | ||
|
||
transformer = pkgs.callPackage ./nix/packages/transformer.nix { }; | ||
|
||
buildBom = pkgs.callPackage ./nix/build-bom.nix { | ||
inherit transformer; | ||
buildtimeDependencies = pkgs.callPackage ./nix/buildtime-dependencies.nix { }; | ||
runtimeDependencies = pkgs.callPackage ./nix/runtime-dependencies.nix { }; | ||
}; | ||
|
||
} |
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,7 +1,6 @@ | ||
let | ||
sources = import ./nix/sources.nix { }; | ||
pkgs = import sources.nixpkgs { }; | ||
bombon = import sources.bombon; | ||
system = "x86_64-linux"; | ||
bombon = import sources.bombon { inherit pkgs; }; | ||
in | ||
bombon.lib.${system}.buildBom pkgs.hello { } | ||
bombon.buildBom pkgs.hello { } |
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
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