testing nix overlay 4
This commit is contained in:
parent
25a07b02bc
commit
6e4772981f
@ -3,14 +3,13 @@
|
|||||||
|
|
||||||
inputs.nixpkgs.url = github:Nixos/nixpkgs/nixos-20.03;
|
inputs.nixpkgs.url = github:Nixos/nixpkgs/nixos-20.03;
|
||||||
|
|
||||||
outputs = { self, nixpkgs }: {
|
outputs = { self, nixpkgs }:
|
||||||
let
|
let
|
||||||
supportedSystems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
|
supportedSystems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
|
||||||
forAllSystems =
|
forAllSystems =
|
||||||
f: nixpkgs.lib.genAttrs supportedSystems (system: f system);
|
f: nixpkgs.lib.genAttrs supportedSystems (system: f system);
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
in {
|
in {
|
||||||
|
|
||||||
overlay = final: prev: {
|
overlay = final: prev: {
|
||||||
swatch = with final; let nix = final.nix; in stdenv.mkDerivation {
|
swatch = with final; let nix = final.nix; in stdenv.mkDerivation {
|
||||||
name = "swatch-${version}";
|
name = "swatch-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user